Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happens on demo site #833

Closed
stumpykilo opened this issue Oct 3, 2023 · 3 comments
Closed

Nothing happens on demo site #833

stumpykilo opened this issue Oct 3, 2023 · 3 comments

Comments

@stumpykilo
Copy link

I am trying to run the demo on https://tesseract.projectnaptha.com/ and I get an error in the console. This seems to be blocking any processing of the image dropped onto the page regardless of language.

send.js:9 Uncaught (in promise) DOMException: Failed to execute 'postMessage' on 'Worker': function progressUpdate(packet){
	var log = document.getElementById('log');

	const statusLabel = {"initialized...<omitted>...
} could not be cloned.
@Balearica
Copy link
Collaborator

Thank you for reporting. The demo site was written for Tesseract.js v4, however Tesseract.js v5 was being loaded, resulting in the error.

I've updated the site to use Tesseract.js v4 for now, as that is the quickest fix, so the issue should be resolved. (You may have to clear your cache for the site for the change to take effect.)

@Balearica
Copy link
Collaborator

I updated the demo to use Tesseract.js v5, so everything should now be up to date. Closing this issue as resolved.

@farwish
Copy link

farwish commented Nov 1, 2023

a new demo try here, imageocr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants