ooper-shlab / VisionFace

A simple example of face detection using Vision framework. You should better visit the Apple's sample code "Detecting Objects in Still Images", which may be a little behind the latest Swift/Xcode, but is more stable and has more features.
https://developer.apple.com/documentation/vision/detecting_objects_in_still_images
Other
2 stars 1 forks source link

Detection Inaccurate When Orientation Landscape #1

Open DavisAlabaster opened 7 years ago

DavisAlabaster commented 7 years ago

Awesome repo! I'm having an issue with the project, however, when rotating my device to either Landscape Left or Landscape Right orientation. I've chosen to allow all orientations in the sample app, but when rotating the device, the face landmarks are drawn either in the wrong orientation, or in the wrong position. This functions normally in portrait.

ooper-shlab commented 7 years ago

Thanks for having interest in my sample code and reporting the issue. In fact, I did not have enough time to test all orientations when I made this sample code, so I silently made it as Portrait only. And the status has not improved still now... I'll work on it when I can take some time, but I cannot assure you when.

And I really welcome any suggestions or comments to improve my sample codes. Thank your.