Skip to content

Problems in DataMatrix code scanning #15

@taruntyagi946

Description

@taruntyagi946

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions