Merged master to feature/image-source
|
After Width: | Height: | Size: 174 KiB |
|
After Width: | Height: | Size: 178 KiB |
|
After Width: | Height: | Size: 171 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 164 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 168 KiB |
|
After Width: | Height: | Size: 156 KiB |
|
After Width: | Height: | Size: 183 KiB |
|
After Width: | Height: | Size: 173 KiB |
|
After Width: | Height: | Size: 169 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 143 KiB |
|
After Width: | Height: | Size: 160 KiB |
|
After Width: | Height: | Size: 151 KiB |
|
After Width: | Height: | Size: 128 KiB |
|
After Width: | Height: | Size: 154 KiB |
|
After Width: | Height: | Size: 111 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 121 KiB |
|
After Width: | Height: | Size: 144 KiB |
|
After Width: | Height: | Size: 140 KiB |
@@ -308,4 +308,78 @@ describe('decodeSingle', function () {
|
||||
});
|
||||
_runTestSet(testSet, config);
|
||||
});
|
||||
|
||||
describe("2of5", function() {
|
||||
var config = config = {
|
||||
inputStream: {
|
||||
size: 800,
|
||||
singleChannel: false
|
||||
},
|
||||
locator: {
|
||||
patchSize: "medium",
|
||||
halfSample: true
|
||||
},
|
||||
numOfWorkers: 0,
|
||||
decoder: {
|
||||
readers: ["2of5_reader"]
|
||||
},
|
||||
locate: true,
|
||||
src: null
|
||||
},
|
||||
testSet = [
|
||||
{"name": "image-001.jpg", "result": "9577149002"},
|
||||
{"name": "image-002.jpg", "result": "9577149002"},
|
||||
{"name": "image-003.jpg", "result": "5776158811"},
|
||||
{"name": "image-004.jpg", "result": "0463381455"},
|
||||
{"name": "image-005.jpg", "result": "3261594101"},
|
||||
{"name": "image-006.jpg", "result": "3261594101"},
|
||||
{"name": "image-007.jpg", "result": "3261594101"},
|
||||
{"name": "image-008.jpg", "result": "6730705801"},
|
||||
{"name": "image-009.jpg", "result": "5776158811"},
|
||||
{"name": "image-010.jpg", "result": "5776158811"}
|
||||
];
|
||||
|
||||
testSet.forEach(function(sample) {
|
||||
sample.format = "2of5";
|
||||
});
|
||||
|
||||
_runTestSet(testSet, config);
|
||||
});
|
||||
|
||||
describe("code_93", function() {
|
||||
var config = config = {
|
||||
inputStream: {
|
||||
size: 800,
|
||||
singleChannel: false
|
||||
},
|
||||
locator: {
|
||||
patchSize: "large",
|
||||
halfSample: true
|
||||
},
|
||||
numOfWorkers: 0,
|
||||
decoder: {
|
||||
readers: ["code_93_reader"]
|
||||
},
|
||||
locate: true,
|
||||
src: null
|
||||
},
|
||||
testSet = [
|
||||
{"name": "image-001.jpg", "result": "WIWV8ETQZ1"},
|
||||
{"name": "image-002.jpg", "result": "EH3C-%GU23RK3"},
|
||||
{"name": "image-003.jpg", "result": "O308SIHQOXN5SA/PJ"},
|
||||
{"name": "image-004.jpg", "result": "DG7Q$TV8JQ/EN"},
|
||||
{"name": "image-005.jpg", "result": "DG7Q$TV8JQ/EN"},
|
||||
{"name": "image-006.jpg", "result": "O308SIHQOXN5SA/PJ"},
|
||||
{"name": "image-007.jpg", "result": "VOFD1DB5A.1F6QU"},
|
||||
{"name": "image-008.jpg", "result": "WIWV8ETQZ1"},
|
||||
{"name": "image-009.jpg", "result": "4SO64P4X8 U4YUU1T-"},
|
||||
{"name": "image-010.jpg", "result": "4SO64P4X8 U4YUU1T-"}
|
||||
];
|
||||
|
||||
testSet.forEach(function(sample) {
|
||||
sample.format = "code_93";
|
||||
});
|
||||
|
||||
_runTestSet(testSet, config);
|
||||
});
|
||||
});
|
||||
|
||||