Skip to content

CPU OCR fails – Tesseract worker.min.js not loading on GitHub Pages deployment #35

@kalyangupta12

Description

@kalyangupta12

It appears that the Tesseract worker path is incorrect in the GitHub Pages deployment.
The app is hosted at:
https://potatameister.github.io/PaperKnife/
However, the worker is attempting to load from:
https://potatameister.github.io/tesseract/worker.min.js
Since the project is deployed under /PaperKnife/, the worker path may need to include the repository base path.

Image

This results in CPU OCR failing completely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions