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 tried to add a card. When I tapped "Scan card" button, I got an error immediately. It failed to create VNRecognizeTextRequest.
NSError * domain: @"com.apple.vis" - code: 3 0x00000002803d40c0
@"NSLocalizedDescription" : @"Operation failed due to attempt to crop zero or near zero dimensioned area"
Thanks for the report! I think I see the problem: We're not setting up the cropping rect properly when the device orientation is UIDeviceOrientationUnknown. I'll put out a patch soon. Does it work when you rotate the device to landscape?
If that's not it, it could help if we had more information about your configuration:
Thanks! The UI only supports portrait mode and it was in portrait mode.
What device are you running this on? iPhone XR
Does the app have camera permissions? Yes
Do other camera-using apps work? Yes
Summary
I tried to add a card. When I tapped "Scan card" button, I got an error immediately. It failed to create VNRecognizeTextRequest.
NSError * domain: @"com.apple.vis" - code: 3 0x00000002803d40c0
@"NSLocalizedDescription" : @"Operation failed due to attempt to crop zero or near zero dimensioned area"
Code to reproduce
STPCardScanner.m
iOS version
iOS 14.1
Installation method
Swift Package Manager
SDK version
20.0.0
Other information
The text was updated successfully, but these errors were encountered: