mat2718 / vision-camera-mrz-scanner

A plugin to recognize MRZ passports using MLKit and the open source project mrz for free.
MIT License
16 stars 11 forks source link

Blurry camera on an iphone #2

Closed Thormeard closed 1 year ago

Thormeard commented 1 year ago

Hi! Im trying to use your plugin and I have very blurry camera (like resolution is set to 400x200 or something) on iphone (x and 13). I managed to fix the camera by changing this line https://github.com/mat2718/vision-camera-mrz-scanner/blob/main/src/components/MRZCamera.tsx#L251 from format={cameraProps?.format ?? format} to format={cameraProps?.format ?? undefined} But then it cannot detect anything. Hold still message blinking and nothing happens. (may be related to the format may be separate problem) Same problem with example app. Works fine on my colleague's android device.

Is possible that you can test it out on an iphone? Let me know if you need some additional information. Would be happy to help. Thanks!

mat2718 commented 1 year ago

if you get a chance. can i get you to load the most recent version of the library to see if this is still an issue

Thormeard commented 1 year ago

Tried last version - fixed! Thank you!