You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get a scan using the front-facing camera from an iPad 2 device.
In the CameraViewController.m file, I've changed line 529 from AVCaptureDevicePositionBack to AVCaptureDevicePositionFront
Everything builds successfully and the camera is showing towards the front, as expected, however there is no recognition or focus for the barcode on the front camera.
Any advice on how to achieve this? Thank you.
The text was updated successfully, but these errors were encountered:
It is possible that the front camera has different dimensions for the image and therefore the cropping logic wouldn't be the same. You will have to look more into how the image is cropped from the actual capture and the cropped image that gets used for detection. Simply changing the cameras will not work.
I'm trying to get a scan using the front-facing camera from an iPad 2 device.
In the CameraViewController.m file, I've changed line 529 from
AVCaptureDevicePositionBack
toAVCaptureDevicePositionFront
Everything builds successfully and the camera is showing towards the front, as expected, however there is no recognition or focus for the barcode on the front camera.
Any advice on how to achieve this? Thank you.
The text was updated successfully, but these errors were encountered: