Tesseract.js version (version number for npm/GitHub release, or specific commit for repo)
4.1.1
Describe the bug
On iOS 17's Safari/WebKit, when Tesseract.recognize
is called, the following runtime error will occur:
Error: RuntimeError: call_indirect to a null table entry (evaluating '(Rf=b._emscripten_bind_TessBaseAPI_Recognize_1= b.asm.Gd).apply(null,arguments)')
This does not occur on devices running iOS 16, or any other desktop OS/browser.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Tesseract will recognize the text in the image and output successfully.
Device Version:
Additional context
I have created a repo to assist in reproduction, available here
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