I've just switched to node-tesseract-ocr from the much slower Tesseract.js. Unfortunately I started consistently getting the following error. It occurs at about, but not exactly, the same place in a batch of images. I've tried OCRing them all individually, and in that case it does not crash.
`Fatal error in , line 0
Check failed: result.second.
I've just switched to node-tesseract-ocr from the much slower Tesseract.js. Unfortunately I started consistently getting the following error. It occurs at about, but not exactly, the same place in a batch of images. I've tried OCRing them all individually, and in that case it does not crash.
`Fatal error in , line 0 Check failed: result.second.
FailureMessage Object: 0x7ffd149a3550 1: 0xb6f151 [node] 2: 0x1bf56f4 V8_Fatal(char const, ...) [node] 3: 0xfc3f61 v8::internal::GlobalBackingStoreRegistry::Register(std::shared_ptr) [node]
4: 0xd151c8 v8::ArrayBuffer::GetBackingStore() [node]
5: 0xb1df77 [node]
6: 0xd4a18e [node]
7: 0xd4b5af v8::internal::Builtin_HandleApiCall(int, unsigned long , v8::internal::Isolate*) [node]
8: 0x15e7959 [node]
Trace/breakpoint trap (core dumped)`
Node version v16.13.0. node-tesseract-ocr version 2.2.1
tesseract --version tesseract 4.1.1 leptonica-1.79.0 libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 2.0.3) : libpng 1.6.37 : libtiff 4.1.0 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.1 Found AVX2 Found AVX Found FMA Found SSE Found libarchive 3.4.0 zlib/1.2.11 liblzma/5.2.4 bz2lib/1.0.8 liblz4/1.9.2 libzstd/1.4.4