Skip to content

Failed to dectet OS #526

@JobberRT

Description

@JobberRT

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

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions