이 코드로 IOS 5IOS 6 얼굴 인식 작동하지 않음
CIImage *cIImage = [CIImage imageWithCGImage:image.CGImage];
CIDetector* detector = [CIDetector detectorOfType:CIDetectorTypeFace context:nil options:[NSDictionary dictionaryWithObject:CIDetectorAccuracyHigh forKey:CIDetectorAccuracy]];
NSArray *features = nil;
features = [detector featuresInImage:cIImage];
if ([features count] == 0)
{
NSDictionary* imageOptions = [NSDictionary dictionaryWithObject:[NSNumber numberWithInt:6] forKey:CIDetectorImageOrientation];
features = [detector featuresInImage:cIImage options:imageOptions];
}
의 얼굴을 검출하기 위해 다음 코드를 사용하고, 나는 IOS 5에서 얼굴을 감지 할 수 있어요,하지만 최근에 우리는 우리를 업그레이드 한 엑스 코드 4.4 IOS 6 시스템은, 이제, 얼굴 인식 기능은 제대로 작동하지 않습니다 내가 IOS에서 얼굴을 검출 할 필요가 어떤 변화
6. 도움말 Anykind 높게 평가되어
, 확인합니다 샘플 code..i을 보내 그것 – Rajneesh071
난 내 프로젝트에 – iYahoo
당신이 문제의 샘플을 만들 수 있습니다 그것을 보내려면 어려운 코드를 구현했습니다 .... – Rajneesh071