vision-camera-ocr icon indicating copy to clipboard operation
vision-camera-ocr copied to clipboard

Doesn't work in iOS

Open sumi-svmx opened this issue 2 years ago • 8 comments

I tried the project in example folder, while it works in android, it always returns empty data in iOS, and shows this error in logs.

VisionCamera.captureOutput(_:didOutput:from:): The Frame Processor took so long to execute that a frame was dropped.

sumi-svmx avatar May 17 '22 08:05 sumi-svmx

I have the same problem, works good on Android but not on iOS. Any solution?

luismiguelmena avatar May 17 '22 14:05 luismiguelmena

runs perfectly for me on iOS. iPhone XS, using Expo SDK45.

smisaacs avatar May 23 '22 15:05 smisaacs

@smisaacs Which version of iOS did you run it on? For me the text always return empty with iOS v14.1. I have heard it works fine in v15.4.1 Have you set any format/ preset different from the one given in /example?

sumi-svmx avatar May 23 '22 15:05 sumi-svmx

yes. 15.4.1. Only played with framerates and targeting lines vs blocks. Works in all configurations though.

smisaacs avatar May 23 '22 15:05 smisaacs

Interesting, this may be a limitation of your hardware and / or Vision Camera. Can you file a bug with vision camera?

aarongrider avatar Jun 01 '22 01:06 aarongrider

hello @aarongrider please help to check on ios 14, i tried but it not work Thanks

dinhthi1610 avatar Jul 10 '22 01:07 dinhthi1610

Seeing the same. There is an issue with iOS 14 only. Maybe 13 and older as well? There are still people with iOS 14 out there. I played with the orientation but doesn't change anything. Result still empty.

MSchmidt avatar Oct 15 '22 18:10 MSchmidt