-
Notifications
You must be signed in to change notification settings - Fork 18
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
OS X support? #6
Comments
Unfortunately the package I'm using to implement external capture only support Windows and Linux systems. For now, you may use this branch to run the program in macOS. Note that this is only a band-aid fix and will disable the shortcut for external captures. |
Thanks for the quick response! I tried out the branch |
When attempting to open a If I unzip it and open one of those folders, it loads fine. See video example: https://www.dropbox.com/s/980azkynwsjkx7t/cbz%20loading.mov?dl=0 |
Text selection OCR as per the README demo videos doesn't work for me at all unfortunately :( Neither with manga ocr or with tesseract vertical or horizontal. Video example: https://www.dropbox.com/s/qs9jevz42dv1v59/ocr%20not%20working.mov?dl=0 |
Other suggestions:
|
Thank you for your efforts on this application so far - it's the first implementation of a GUI that I've seen for manga OCR, which is the best performing OCR I've used to date. With just a few changes and improvements this is something I can see myself using frequently for reading manga. Hope this helps! Let me know if you'd like me to test any future changes or fixes. Thanks! |
You have to hold the mouse button to show the detected text. Releasing the mouse button will hide the preview, which is what's happening here in your video.
This is the default behavior, at least in Windows. Let me know if the text is being copied in the macOS clipboard once you've tried the above method.
You are correct. My understanding of comic book archives is that they contain images only, which is why I implemented it to read only image files from directories/archives.
Oops.. Just tested this on my laptop and I'm getting the same behavior. I completely forgot to test this. I will release a hotfix soon. For now, just use a mouse if you have one.
I'm not sure if this issue is unique to macOS. I will test this once I setup an macOS VM. Not promising anything though. |
Thank you for your suggestions! I will compile them in this comment with some notes.
I will be busy for quite some time so expect these features in a much later date. |
Thanks for your responses and summaries! It's working for me locally after you clarified mouse selection behaviour. Looking forward to future features and improvements :) |
Hello, can you tell me how to run this on mac os? |
@AhnafS follow the developer's guide under installation:
Note that the global shortcut does not work for OSX |
after much trial and error, it seems like this does not completely work with the M1 MacBooks 🥲 |
@AhnafS There should be a branch for OSX. If this doesn't work, then it might be an M1 compatibility issue |
Yes thank you, I found a workaround for M1 users. If you have an M1 mac, then your ARM64 arch won't work on this project with python. Thus, you must create an x86 python env. To do this, I made a conda x86 env with Python 3.9.9. Then you can clone the project and download all the requirements. When downloading and running the project on the branch for OSX, you will still face some issues with a few libraries, but a simple google search can fix that :) |
How did you fix this error with tesserocr on Mac M1 (I am using x86 python)
|
I remember having this same problem, I googled it and this issue thread helped me out a lot. |
I installed these with brew (since these are linux packages, not python), but it still hasn't resolved my issue. Since you got this to compile on M1 Macs would you mind packaging it into an app? You could probably use PyInstaller. |
Im very new to python, so it will take a little while. But I just did a fresh download again, and got this same error. If you do |
I understand, I haven't got this working but I am going to use mokuro as an alternative instead, it OCR's every page and creates html files to read in a browser which works for me, and compiles fine with x86 python. |
Hey there! This looks like a really useful app. I see that there's only an
.exe
release for Windows, so I've tried building it locally on my Mac (Monterey 12.2.1 on a MacBook Pro 16" 2019, python3.9.12
), but I get this error when attempting to runmain.py
in thecode
directory.Note this is after running
pip install -r requirements.txt
as perREADME.md
.I don't care so much about building this locally, I just want to be able to use it. Any chance you could make a release for OS X? Thanks!
The text was updated successfully, but these errors were encountered: