A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/naptha/tesseract.js/issues/804 below:

call_indirect to a null table entry · Issue #804 · naptha/tesseract.js · GitHub

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:

  1. Set up Tesseract on a Nextjs project
  2. Visit Next website on an iOS device running iOS 17
  3. Upload image
  4. See error

Image used to generate error:

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