kha-white / manga-ocr

Optical character recognition for Japanese text, with the main focus being Japanese manga
Apache License 2.0
1.76k stars 89 forks source link

How to get bounding boxes #77

Open chashimo opened 4 months ago

chashimo commented 4 months ago

Is it possible to get bounding boxes from OCR results?

kha-white commented 3 months ago

What do you mean? This model does only image-to-text, there are no bounding boxes to speak about.

duyddwcs commented 3 months ago

I think what he means is the bounding box of the text, something like text detection rather than image-to-text

HighLiuk commented 3 months ago

@chashimo this is not the purpose of this repo. You can use Comic Text Detector for getting bounding boxes (also, that's 80% lighter than Manga OCR model)