cfculhane / AnkiOCR

Anki Addon to create searchable text from images in notes, using Tesseract OCR
MIT License
17 stars 5 forks source link

Suspends my Anki #11

Closed galantra closed 3 years ago

galantra commented 3 years ago

Hello! I have tried it a bit and always ran into a problem.

First, I tried OCR with many cards. I got a result window immediately. But no cards were OCRed. I could click the result window away. However, my cursor was still looking like an hourglass. It seems like Anki was suspended. I could perform some actions, such as open the add-on window, edit an edit config. I could not resume reviewing my cards. I could not close the browser. I could not close Anki normally. After restarting Anki, I took a look in the browser and found out that no images had OCR results.

Later, I ran the add-on on only one card. This added the OCRed text to the note. But apart from that, it suspended Anki as in the other run.

Maybe it is because I use an older version of Anki.

Win 10 Version 2.1.22 (0ecc189a) Python 3.8.0 Qt 5.14.1 PyQt 5.14.1

cfculhane commented 3 years ago

Hi there, thanks for the bug report - I've pushed an update which now defaults to two threads. Can you let me know if this fixes the issue for you?

cfculhane commented 3 years ago

Closing due to lack of activity

galantra commented 3 years ago

Please excuse my late answer – yes, it does solve the issue. Thank you!