mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-12 21:21:42 +08:00
Added test-images for codabar
This commit is contained in:
@@ -137,9 +137,9 @@ define(
|
||||
|
||||
["space", "bar"].forEach(function(key) {
|
||||
var kind = categorization[key];
|
||||
kind.wide.min = (kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2;
|
||||
kind.narrow.max = kind.wide.min;
|
||||
kind.wide.max = (kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts;
|
||||
kind.wide.min = Math.floor((kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2);
|
||||
kind.narrow.max = Math.ceil(kind.wide.min);
|
||||
kind.wide.max = Math.ceil((kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts);
|
||||
});
|
||||
|
||||
return categorization;
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ define(function(){
|
||||
debug: false,
|
||||
controls: false,
|
||||
locate: true,
|
||||
numOfWorkers: 0,
|
||||
numOfWorkers: 4,
|
||||
visual: {
|
||||
show: true
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user