zweigraf / face-landmarking-ios

👦 Basic face landmarking on iPhone with Dlib via Swift & ObjC++
481 stars 125 forks source link

Open on iphone7, landmark undetectable? #24

Open SosonHuang opened 7 years ago

SosonHuang commented 7 years ago

Open on iphone7, landmark undetectable?

SosonHuang commented 7 years ago

image

zweigraf commented 7 years ago

This might have to do with resolution of the camera, I am not sure. I don't have an iPhone 7 to test this here, sorry.

Aymarick commented 7 years ago

@zweigraf It is exactly the problem. If you add session.sessionPreset = AVCaptureSessionPreset1280x720 just before the session.commitConfiguration() in the SessionHandler.swift it will fix the issue.