ocr-command-line-tool
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -6,3 +6,3 @@ const Tesseract = require('tesseract.js') | ||
const load = loading("loading text!!").start() | ||
load.frame(["\\", "|", "/", "–",]); | ||
load.frame(["\\", "|", "/", "–"]); | ||
load.color = 'yellow'; | ||
@@ -17,5 +17,7 @@ load.text = ' Loading'; | ||
await fs.writeFile(y, text, function (err) {}); | ||
await fs.unlinkSync('eng.traineddata') | ||
console.log("\nSuccessfully wrote to file."); | ||
} else { | ||
console.log("\n") | ||
await fs.unlinkSync('eng.traineddata') | ||
return text | ||
@@ -22,0 +24,0 @@ } |
{ | ||
"name": "ocr-command-line-tool", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Scan images on CLI", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42716
36