mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 05:31:37 +08:00
Improved recognition of Code 39 barcodes
This commit is contained in:
@@ -139,7 +139,7 @@ define(
|
||||
for (i = 0; i < numCounters && numWideBars > 0; i++) {
|
||||
if (counters[i] > maxNarrowWidth) {
|
||||
numWideBars--;
|
||||
if ((counters[i] * 3) >= wideBarWidth) {
|
||||
if ((counters[i] * 2) >= wideBarWidth) {
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user