ogkalu2 / comic-translate

Desktop app for automatically translating comics - BDs, Manga, Manhwa, Fumetti and more in a variety of formats (Image, Pdf, Epub, cbr, cbz, etc) and in multiple languages.
Apache License 2.0
534 stars 47 forks source link

Google Cloud Vision sometimes getting an errıor #65

Closed Sterben1579 closed 2 weeks ago

Sterben1579 commented 3 weeks ago

I have been doing a few tests since yesterday, and Google Cloud Vision sometimes randomly gives errors. When it gives an error, the program stops, causing problems. For example, I select 20 images. Sometimes it gives an error on 3-4 images, so it becomes exhausting to constantly find where the program left off. The errors I get are usually as follows: 'An Error occurred: 'y'.' or 'An Error occurred: 'x'.' I think it's having trouble recognizing some texts properly. When I use default OCR on those pages, I can convert the image. However, the default OCR doesn't capture the texts as accurately, so it's not something I can use continuously.

I want to try using Microsoft OCR instead of Cloud Vision, but I don't know how to get the API key. Could you send me a link, like you did for Gemini?

I am attaching a random image that receives an error below: 12

ogkalu2 commented 2 weeks ago

This has been fixed now with the latest update.

As for using Microsoft OCR, unfortunately getting the key for Microsoft OCR is convoluted and i don't remember how to do it. It's not just one click like Gemini.