NSDictionary *dict = @{
@"data":weakSelf.sweepDataArr,
@"image":weakSelf.dataImgage
};
[[NSNotificationCenter defaultCenter]postNotificationName:@"sweepData" object:nil userInfo:dict];
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sweepData:) name:@"sweepData" object:nil];
-(void)sweepData:(NSNotification *)notification{
NSDictionary *theData = [notification userInfo];
NSArray *sweepDataArr = [theData objectForKey:@"data"];
NSLog(@"sweepDataArr ----- >>>>>%@",sweepDataArr);
UIImage *pushimage = [theData objectForKey:@"image"];
RecognitionResultViewController *recogVC = [[RecognitionResultViewController alloc]init];
recogVC.sweepDataArr = sweepDataArr;
recogVC.pushImag = pushimage;
[self.navigationController pushViewController:recogVC animated:YES];
}