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
When Scanning using the Demo app capacitor-mlkit-plugin-demo and selecting PDF417 and try and scan a US Driver's License or another complex PDF417 barcode the scanner does not return anything and can't scan the barcode.
Expected behavior
Expect the Drivers License PDF417 barcodes can be scanned.
If you have already provided a code snippet and are seeing this message, it is likely that the code snippet was not enough for us to reproduce the issue.
Reading PDF417 codes is not a problem per se (for example, it works with this code). But I was able to reproduce the problem with your code. I think there are two reasons for this:
the demo app uses a square detection area, but the code is obviously not square. You need to adjust this in your code.
because the code is so wide, the device has to be held further away and in my case the image was no longer focused. Here I have to check whether I can implement an autofocus. But I can only do that when I'm back in the office (I'm currently on vacation).
Plugin(s)
Version
6.1.0
Platform(s)
Current behavior
When Scanning using the Demo app capacitor-mlkit-plugin-demo and selecting PDF417 and try and scan a US Driver's License or another complex PDF417 barcode the scanner does not return anything and can't scan the barcode.
Expected behavior
Expect the Drivers License PDF417 barcodes can be scanned.
Reproduction
https://github.com/robingenz/capacitor-mlkit-plugin-demo
Steps to reproduce
Other information
No response
Capacitor doctor
Capacitor Doctor
Latest Dependencies:
@capacitor/cli: 6.1.1
@capacitor/core: 6.1.1
@capacitor/android: 6.1.1
@capacitor/ios: 6.1.1
Installed Dependencies:
@capacitor/cli: 6.0.0
@capacitor/core: 6.0.0
@capacitor/ios: 6.0.0
@capacitor/android: 6.0.0
[success] Android looking great! 👌
[error] Xcode is not installed
Before submitting
The text was updated successfully, but these errors were encountered: