Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ozanyaldir opened this issue Aug 17, 2017 · 2 comments

Comments

@ozanyaldir
Copy link

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 ozanyaldir changed the title doesnt recognize faces on iphone6s bak and iphone7 back and front portrait camera Doesn't recognize faces on iphone6s bak and iphone7 back and front portrait camera Aug 17, 2017
@ozanyaldir ozanyaldir changed the title Doesn't recognize faces on iphone6s bak and iphone7 back and front portrait camera Doesn't recognize faces on iphone6s back and iphone7 back and front portrait camera Aug 17, 2017
@kennylugo
Copy link

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

@da1ssk
Copy link

da1ssk commented Nov 20, 2017

AVCaptureSession.Preset.hd1280x720 also worked on iPhone X.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants