Posts

Post not yet marked as solved
1 Replies
578 Views
Hello, I found a bug using Vision for face detection on iPhone SE second generation. When I execute the Apple demo project for face detection (https://developer.apple.com/documentation/vision/tracking_the_user_s_face_in_real_time) I have no face detected and the following error logs : 2021-04-16 10:36:29.110317+0200 VisionFaceTrack[2899:16783309] Metal API Validation Enabled 2021-04-16 10:36:29.443963+0200 VisionFaceTrack[2899:16783492] [espresso] [Espresso::handle_ex_plan] exception=ANECF error: loadModel:sandboxExtension:options:qos:withReply:: Program load failure FaceDetection error: Optional(Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error}). 2021-04-16 10:36:29.445968+0200 VisionFaceTrack[2899:16783492] Failed to perform FaceRectangleRequest: Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error} 2021-04-16 10:36:29.460822+0200 VisionFaceTrack[2899:16783492] [espresso] [Espresso::handle_ex_plan] exception=ANECF error: loadModel:sandboxExtension:options:qos:withReply:: Program load failure FaceDetection error: Optional(Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error}). 2021-04-16 10:36:29.461645+0200 VisionFaceTrack[2899:16783492] Failed to perform FaceRectangleRequest: Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error} 2021-04-16 10:36:29.482482+0200 VisionFaceTrack[2899:16783492] [espresso] [Espresso::handle_ex_plan] exception=ANECF error: loadModel:sandboxExtension:options:qos:withReply:: Program load failure FaceDetection error: Optional(Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error}). 2021-04-16 10:36:29.483395+0200 VisionFaceTrack[2899:16783492] Failed to perform FaceRectangleRequest: Error Domain=com.apple.vis Code=9 "encountered an unexpected condition: Unspecified error" UserInfo={NSLocalizedDescription=encountered an unexpected condition: Unspecified error} This bug is very annoying because it brokes all apps using Vision at least on this iPhone and iOS version. I have an app using this technology on the AppStore, that's how I firstly discover the problem and am hopping for a quick fix. iOS version : 14.4 (18D52) iPhone SE second generation Xcode version 12.4 (12D4e) Edit : this seem to be solved with iOS 14.4.2. Can we have more information about this bug ? Is it device model relative or all device with iOS 14.4 will have this bug ?
Posted
by Hschou.
Last updated
.