Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems in DataMatrix code scanning #15

Closed
taruntyagi946 opened this issue Jun 16, 2020 · 3 comments
Closed

Problems in DataMatrix code scanning #15

taruntyagi946 opened this issue Jun 16, 2020 · 3 comments
Labels
bug-sample Bug in the sample ios

Comments

@taruntyagi946
Copy link

Steps:

  1. Clone googlesamples/mlkit/ios and install pods.
    At the time of these tests, project is using GoogleMLKit/BarcodeScanning (0.60.0)
    It is being run using Xcode 11.5 on macOS Catalina 10.15.4.

  2. Run the barcode detector sample code on this image -
    DataMatrix

Results:

Actual: It does not recognize this DataMatrix code.
Expected: It recognizes this DataMatrix code. The code has valid data -
HP ProBook 440 G4,Z1Z83UT#ABA,5CD712BZVJ,1y1y0y

Verification:

Use an online decoder service - https://online-barcode-reader.inliteresearch.com/
Verification

Additional Info:

  1. It is reproducible with ML Kit for Firebase sample as well.
  2. I tried to change the image sharpness / contrast / exposure & color settings in Preview.app on macOS to no avail.
  3. I also tried to run the camera mode on this image being in focus (while trying to change color settings mentioned in step 2) and it didn't help either.
@calren calren added ios bug-library Potential bug in one of the ML Kit libraries bug-sample Bug in the sample and removed bug-library Potential bug in one of the ML Kit libraries labels Jun 16, 2020
@taruntyagi946
Copy link
Author

Hi Team,

It's been over 2 months since this issue was reported.

Is there any way to know whether -

  1. this is considered invalid bug and not being worked on
  2. this is considered valid bug and will be fixed in an upcoming release
    ?

Thanks.

@twellsrez
Copy link

Hi all,

Any updates here? This ticket has been open 4.5 months now with no response. I have customers who can't perform scanning actions on valid DM codes that other tools can scan easily. I'd really like to be able to find a solution for them.

Thanks!

@miworking3
Copy link
Collaborator

miworking3 commented Jan 23, 2021

Hi, we just got back from our research team:
The blurriness and the pixel size of the given image lead to the limitation of the barcode recognition on it:

Datamatrix size is 26 x 26 and image size is 90 x 78. Considering actual area of DM, every smallest square is of size 1.35 pixel, which is smaller than 3 pixel size criteria we have.

Please note that up-scaling same image will not work here because original image is blurry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-sample Bug in the sample ios
Projects
None yet
Development

No branches or pull requests

5 participants