Can now operate on scaled/area images

This commit is contained in:
Christoph Oberhofer
2015-09-13 22:31:32 +02:00
parent e65df1d131
commit abe1458c58
4 changed files with 64 additions and 35 deletions
+7 -1
View File
@@ -4,7 +4,13 @@ Quagga.decodeSingle({
src: "../test/fixtures/code_128/image-001.jpg",
numOfWorkers: 0,
inputStream: {
size: 640
size: 800,
area: {
top: "10%",
right: "5%",
left: "5%",
bottom: "10%"
}
}
}, function(result) {
if(result.codeResult) {