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

Is there a limit for number of letters to be present in the word in order to get it detected? #21

Closed
vijay1131 opened this issue Jan 21, 2017 · 7 comments

Comments

@vijay1131
Copy link

First of all thanks for sharing this project.
I have tried with the project on the images of documents, it detect every text except for those word having letter 2 or less than 2.

Is there any option in the cfg.py which i could change in order to detect those too?

@tianzhi0549
Copy link
Owner

@vijay1131 You can set MIN_NUM_PROPOSALS and MIN_RATIO as 0. Thank you:-).

@vijay1131
Copy link
Author

@tianzhi0549 Thanks! that solves it.

@vijay1131 vijay1131 reopened this Feb 4, 2017
@vijay1131
Copy link
Author

Hi @tianzhi0549

would it be possible to use the the model. without actually resizing the image.

can it be applied to the whole image. What should i change in cfg.py.

@tianzhi0549
Copy link
Owner

@vijay1131 You can simply remove this line https://github.com/tianzhi0549/CTPN/blob/master/tools/demo.py#L54. Thank you:-).

@vijay1131
Copy link
Author

@tianzhi0549
I tried this approach.
But unfortunately i get this error.
Check failed: shape[i] <= 2147483647 / count_ (1408 vs. 1287) blob size exceeds INT_MAX

@tianzhi0549
Copy link
Owner

@vijay1131 The reason is that the input image is too large. Please zoom it out until the error disappears.

@vijay1131
Copy link
Author

Thanks @tianzhi0549 that helped!

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