-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Using Pure JS+HTML like this:
const exampleImage = some.png;
const worker = Tesseract.createWorker({
logger: m => console.log(m)
});
Tesseract.setLogging(true);
work();
async function work() {
await worker.load();
await worker.loadLanguage('eng');
await worker.initialize('eng');
let result = await worker.detect(exampleImage);
console.log(result.data);
result = await worker.recognize(exampleImage);
console.log(result.data);
await worker.terminate();
}
Expected behavior
Console log "Failed to dectet OS"
Screenshots
Desktop (please complete the following information):
- OS: Windows10
- Browser Chrome
- Version 86
Additional context
Source PNG file URL: http://cn8.frp.cool:12385/upload/1616768763_377_123.png
munsterlander and Heartnett
Metadata
Metadata
Assignees
Labels
No labels