mobile_scanner
mobile_scanner copied to clipboard
Scan inverse datamatrix not working
I'm trying to scan datamatrix code on black background and it not working. I think it need to be reverse. How I can do it?
The image itself needs to be rotated? I think your best option is to ensure that the input image is in the correct orientation when it is going to be scanned. I don't think we have options to tell MLKit that the source image is actually rotated.
The image itself needs to be rotated? I think your best option is to ensure that the input image is in the correct orientation when it is going to be scanned. I don't think we have options to tell MLKit that the source image is actually rotated.
No rotate needed. Inverse colors need only. Black -> white, white -> black. I worked with flutter_zxing it has arguments: tryInverse, need argument like it.
I don't think MLKit exposes such a configuration option. You could try opening a feature proposal at MLKit for this.
I don't think MLKit exposes such a configuration option. You could try opening a feature proposal at MLKit for this.
is there an opportunity to do this from flutter? for example, try to invert the colors before transferring the image to MLKit