ocrservice
Advanced tools
Comparing version 0.1.29 to 0.1.30
@@ -207,3 +207,4 @@ (function() { | ||
} | ||
return xocr.free(); | ||
xocr.free(); | ||
return cropped = null; | ||
}; | ||
@@ -305,2 +306,3 @@ | ||
xocr.free(); | ||
cropped = null; | ||
return this.texts.push(txt); | ||
@@ -307,0 +309,0 @@ }; |
@@ -316,3 +316,6 @@ (function() { | ||
}); | ||
recognizer.on('boxes', me.recognizeBoxes.bind(me)); | ||
recognizer.on('boxes', function(res, codes) { | ||
recognizer = null; | ||
return me.recognizeBoxes(res, codes); | ||
}); | ||
return recognizer.open(path.join(me.pathName, me.files[me.fileIndex])); | ||
@@ -434,2 +437,3 @@ } else { | ||
} else { | ||
recognizer = null; | ||
return setTimeout(me.nextFile.bind(me), 1); | ||
@@ -436,0 +440,0 @@ } |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "0.1.29", | ||
"version": "0.1.30", | ||
"engines": { | ||
@@ -12,0 +12,0 @@ "node": ">=0.12.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
152012
2385