Added test-images for codabar
@@ -6756,9 +6756,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;
|
||||
@@ -7340,7 +7340,7 @@ define('config',[],function(){
|
||||
debug: false,
|
||||
controls: false,
|
||||
locate: true,
|
||||
numOfWorkers: 0,
|
||||
numOfWorkers: 4,
|
||||
visual: {
|
||||
show: true
|
||||
},
|
||||
|
||||
@@ -17,7 +17,7 @@ $(function() {
|
||||
},
|
||||
config: {
|
||||
reader: "codabar",
|
||||
length: 1
|
||||
length: 10
|
||||
},
|
||||
attachListeners: function() {
|
||||
$(".controls").on("click", "button.next", function(e) {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -16,7 +16,7 @@ define(function(){
|
||||
debug: false,
|
||||
controls: false,
|
||||
locate: true,
|
||||
numOfWorkers: 0,
|
||||
numOfWorkers: 4,
|
||||
visual: {
|
||||
show: true
|
||||
},
|
||||
|
||||
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 82 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 77 KiB |
|
After Width: | Height: | Size: 62 KiB |
|
After Width: | Height: | Size: 80 KiB |
|
After Width: | Height: | Size: 76 KiB |
|
After Width: | Height: | Size: 83 KiB |