Added test-images for codabar

pull/28/head
Christoph Oberhofer 10 years ago
parent 50bb3e7627
commit 21aa2058f7

8
dist/quagga.js vendored

@ -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
},

File diff suppressed because one or more lines are too long

@ -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
},

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 83 KiB

Loading…
Cancel
Save