Added test-images for codabar

This commit is contained in:
Christoph Oberhofer
2015-04-16 22:27:59 +02:00
parent 50bb3e7627
commit 21aa2058f7
15 changed files with 10 additions and 10 deletions
+4 -4
View File
@@ -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
}, },
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -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) {
+3 -3
View File
@@ -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;
+1 -1
View File
@@ -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
}, },
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