Added test-images for codabar
@@ -6756,9 +6756,9 @@ define(
|
|||||||
|
|
||||||
["space", "bar"].forEach(function(key) {
|
["space", "bar"].forEach(function(key) {
|
||||||
var kind = categorization[key];
|
var kind = categorization[key];
|
||||||
kind.wide.min = (kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2;
|
kind.wide.min = Math.floor((kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2);
|
||||||
kind.narrow.max = kind.wide.min;
|
kind.narrow.max = Math.ceil(kind.wide.min);
|
||||||
kind.wide.max = (kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts;
|
kind.wide.max = Math.ceil((kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts);
|
||||||
});
|
});
|
||||||
|
|
||||||
return categorization;
|
return categorization;
|
||||||
@@ -7340,7 +7340,7 @@ define('config',[],function(){
|
|||||||
debug: false,
|
debug: false,
|
||||||
controls: false,
|
controls: false,
|
||||||
locate: true,
|
locate: true,
|
||||||
numOfWorkers: 0,
|
numOfWorkers: 4,
|
||||||
visual: {
|
visual: {
|
||||||
show: true
|
show: true
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ $(function() {
|
|||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
reader: "codabar",
|
reader: "codabar",
|
||||||
length: 1
|
length: 10
|
||||||
},
|
},
|
||||||
attachListeners: function() {
|
attachListeners: function() {
|
||||||
$(".controls").on("click", "button.next", function(e) {
|
$(".controls").on("click", "button.next", function(e) {
|
||||||
|
|||||||
@@ -137,9 +137,9 @@ define(
|
|||||||
|
|
||||||
["space", "bar"].forEach(function(key) {
|
["space", "bar"].forEach(function(key) {
|
||||||
var kind = categorization[key];
|
var kind = categorization[key];
|
||||||
kind.wide.min = (kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2;
|
kind.wide.min = Math.floor((kind.narrow.size/kind.narrow.counts + kind.wide.size / kind.wide.counts) / 2);
|
||||||
kind.narrow.max = kind.wide.min;
|
kind.narrow.max = Math.ceil(kind.wide.min);
|
||||||
kind.wide.max = (kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts;
|
kind.wide.max = Math.ceil((kind.wide.size * self.MAX_ACCEPTABLE + self.PADDING) / kind.wide.counts);
|
||||||
});
|
});
|
||||||
|
|
||||||
return categorization;
|
return categorization;
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ define(function(){
|
|||||||
debug: false,
|
debug: false,
|
||||||
controls: false,
|
controls: false,
|
||||||
locate: true,
|
locate: true,
|
||||||
numOfWorkers: 0,
|
numOfWorkers: 4,
|
||||||
visual: {
|
visual: {
|
||||||
show: true
|
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 |