Skip to content
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

Text detection #81

Open
jadencarver opened this issue Sep 8, 2022 · 2 comments
Open

Text detection #81

jadencarver opened this issue Sep 8, 2022 · 2 comments

Comments

@jadencarver
Copy link

Is your feature request related to a problem? Please describe.

I'm looking for a mechanism to resize images that contain text overlays.

Describe the solution you'd like

I would love if the mechanism for preserving faces could apply to OCR detected text.

Additional context

cover2
output2

@esimov
Copy link
Owner

esimov commented Sep 9, 2022

This is a great suggestions. I was thinking about the implementation and I think it would be possible.

@esimov
Copy link
Owner

esimov commented Sep 9, 2022

I have analyzed the existing possibilities and the most obvious approach would be to use a well established library like tesseract which has a Go binding also: https://github.com/otiai10/gosseract. This is working kind of nice on texts over an uniform background (I need to test it more with different pictures like the sample image you have provided - the text is not recognized 100% accurately here). My only concern is about the tesseract required dependencies. In need to weight it if it's truly worth it of extending the library towards OCR detection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants