-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using OCR on an M1 Mac causes "image not found" #34
Comments
The packaged Tesseract can't be used for M1 Mac and you would need to install it separately through brew and then changing the location of tesseract in tools.py to where tesseract is installed. (You can find where tesseract is with 'which tesseract') I have an M1 air that could run Game2text but I didn't package it for an official release because it would crash after a while for no apparent reason and I have yet to figure out the reason. Currently, there are other issues with tkinter and file dialogs on Mac so avoid selecting game scripts from folder or selecting image filter from folder. A migration to using browser file dialogs is a solution but obviously that would then require giving the browser folder access rights. |
How do we go about changing the location of the tesseract? I'm not sure where to find/change tools.py? |
You need to download the entire repository. |
Hey Matthew 👋
Love the project! Such a wonderfully fast and easy-to-use alternative to VN OCR.
Running it on my Windows machine has been a breeze, but when trying it out on my M1 Macbook, it seemed to never replace the body text saying "Drag and encircle the text portion of the game." This occurs using any OCR engine.
The logs appear to say that an image is not being found, which I assume is related to #32, but wanted to make an issue to be sure.
Here is the full trace, if it helps you troubleshoot:
I'm happy to try anything on my end if you don't have the necessary hardware. Let me know! 😄
The text was updated successfully, but these errors were encountered: