face-landmarking-ios icon indicating copy to clipboard operation
face-landmarking-ios copied to clipboard

Doesn't recognize faces on iphone6s back and iphone7 back and front portrait camera

Open ozanyaldir opened this issue 7 years ago • 2 comments

I think the high resolution causes this issue. on iphone 7, portrait camera does not recognize faces. If anyone solved this please help me too.

ozanyaldir avatar Aug 17 '17 09:08 ozanyaldir

I got it to work on iPhone 7 & iPad Pros

All I had to do was change the sessions input preset with one line of code:

session.sessionPreset = AVCaptureSessionPreset640x480

kennylugo avatar Aug 28 '17 17:08 kennylugo

AVCaptureSession.Preset.hd1280x720 also worked on iPhone X.

da1ssk avatar Nov 20 '17 20:11 da1ssk