Skip to content

fix: Ambiguity between UPC-A and EAN-13#33

Merged
OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-4433/upc_a_and_ean13
Sep 4, 2025
Merged

fix: Ambiguity between UPC-A and EAN-13#33
OS-pedrogustavobilro merged 2 commits into
mainfrom
fix/RMET-4433/upc_a_and_ean13

Conversation

@OS-pedrogustavobilro

Copy link
Copy Markdown
Contributor

Support for hints, introduced in #31, contains some ambiguity in UPC-A and EAN-13 formats, which are very similar (visually they look similar, and both have 13 digits).

There is no .upca symbiology in Apple Vision, so there is no way to distinguish if a scanned barcode is of format UPC-A or EAN-13. What this PR does is check the provided hint, if a barcode of symbiology .ean13 was scanned, if the hint used was .ean13 or .upca, then that hint is returned as format.

@cssecautomation

cssecautomation commented Sep 4, 2025

Copy link
Copy Markdown

Snyk checks have failed. 7 issues have been found so far.

Icon Severity Issues
Critical 0
High 7
Medium 0
Low 0

security/snyk check is complete. 7 issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

code/snyk check is complete. No issues have been found. (View Details)

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@OS-pedrogustavobilro OS-pedrogustavobilro merged commit e6631c6 into main Sep 4, 2025
3 of 5 checks passed
@OS-pedrogustavobilro OS-pedrogustavobilro deleted the fix/RMET-4433/upc_a_and_ean13 branch September 4, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants