Describe the bug
When running Firefox in an incognito browser window/tab, Tesseract image scans do not function. This does not seem to impact Chromium based browsers.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should be shown and the OCR process should complete.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
A failure occurs in my own project as well, both in online mode and offline mode, but I do not see the same error message. In my project, online mode fails during Tesseract.recognize() and neither returns nor throws an exception (the worker is created internally by Tesseract.recognize()). Offline mode fails during createWorker() and throws a "type error" exception indicating "r is null."
In my project, both online and offline methods work properly outside incognito mode. The offline version functions properly when disconnected from the internet as well (as long as the browser is not in incognito mode). The problem only seems to be present in incognito mode regardless of whether the browser has an active connection to the internet.
I have noticed that in a Firefox incognito browser window, the demo on the Tesseract.js homepage also fails.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4