-
Notifications
You must be signed in to change notification settings - Fork 125
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
Problems with image size 1080x1920 #17
Comments
Same issue with me also .... have you solved this problem? |
No, I'm using smaller resolution instead. |
Same issue...could be an AVFoundation issue? |
not perfect point find face ... |
Has anyone figured out why this issue arises yet? It's affecting me as well |
Any solution, guys? |
DlibWrapper.mm L57 worked on ipad pro front camera. (1080x1920) |
There is a strange problem with this lib when working on images with resolution 1080x1920 (WIDTHxHEIGHT). It produces artefacts like this:
Not only drawing is corrupted but also points positions.
To reproduce this bug You only need to add this:
Just before
session.commitConfiguration()
infunc openSession()
. Not every device will be able work in this resolution in front camera, so changing to back camera might help.Smaller images with resolution 720x1280 and 1280x720 works fine (I did not check smaller images than 720x1280). Even 2160x3840 and 3840x2160 works fine, so there is something wrong only with resolution 1080x1920. On other hand resolution 1920x1080 works correctly but it is for landscape and I need portrait orientation. So for now I'm using:
session.sessionPreset = AVCaptureSessionPreset1280x720
Do You know what could be wrong?
The text was updated successfully, but these errors were encountered: