mobile_scanner
mobile_scanner copied to clipboard
ios analyzeImage method Cannot recognize this image QR code
ios analyzeImage method Cannot recognize this image QR code
But a scan can identify it
So analyzeImage()
returns false, but controller.barcodes.listen()
does provide the barcode?
So
analyzeImage()
returns false, butcontroller.barcodes.listen()
does provide the barcode?
controller.barcodes.listen() Do not provide any barcode
If analyzeImage()
returns false and controller.barcodes
does not include it, this is working as intended.
As I said before, I hope to fix the signature of this API, because it is a bit confusing at the moment.
I'll try to test scanning with the given barcode, maybe it has to do with specific options for the scanner.
If
analyzeImage()
returns false andcontroller.barcodes
does not include it, this is working as intended.As I said before, I hope to fix the signature of this API, because it is a bit confusing at the moment.
I'll try to test scanning with the given barcode, maybe it has to do with specific options for the scanner.
Thank you for your reply and have a nice day
you have to convert the generated image, is the solution I found. The error occurs when the QR is generated from the same cell phone on iOS. It is an error specific to the package that generates the qr or ios. So, the solution is that, as soon as you have the path, you convert the image and save it in a temporary path and pass this new path to analyzeImage()
you have to convert the generated image, is the solution I found. The error occurs when the QR is generated from the same cell phone on iOS. It is an error specific to the package that generates the qr or ios. So, the solution is that, as soon as you have the path, you convert the image and save it in a temporary path and pass this new path to analyzeImage()
You are correct. How to create a new file? I use the file copy and save the copied file to the cache, but it does not work. I change the crop a image, and then use the new file to analyze the image, and it succeeds.