geopapyrus / face-recognition-sdk

Add Face Recognition to your apps
34 stars 12 forks source link

The sample is not working in an iPad mini #2

Open mccpower opened 10 years ago

mccpower commented 10 years ago

Hi, I downloaded the framework and the demo app is working fine in the iPhone 4S but i is not working in an iPad mini.

I notice that the issue looks like an incompatibility with the architecture. The problem happens when you are in the FaceViewController and you are trying to register an user. The green square that appears once that the camera detect a face is not appearing and I have seen this message in the logs.

] FaceCore: Throwing runtime error exception: dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find: /System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture 2014-01-20 11:43:23.773 sdk-example[5547:1903] Face detection finding face error: Error Domain=FCRFaceDetectorErrorDomain Code=2 "dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find: /System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture" UserInfo=0x146cf3d0 {NSLocalizedDescription=dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable image found. Did find: /System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture}

Also I would like to ask where those images are stored, as I haven't seen it in the bundle, is it stored in Cache.db? I read in the documentation that it is stored in the NSUserDefaults "Face photos will be saved with the username tag" but I can't see it.

Thanks!

geopapyrus commented 10 years ago

Hi,

Thanks for your interest on our Face Recognition SDK.

The free version does not persist the database. So once you close the app, it won't be able to recognize the faces you have registered again.

It also is not compatible with the 64-bit architecture. Hence your error message.

The paid version would address both issues, by exposing you a completely customizable camera view controller as well as giving you access to the methods to persist the data locally on the phone. The SDK does not require a remote server as the algorithms run 100% on the phone.

If you are interested in the paid version, send us an email on info@arqetype.com

Thank you.