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
def select_regions(binary,f,min=0,nbest=100000)
Robust Binarization of Stereo and Monocular Document Images Using Percentile Filter In this paper, there is a text area detection phase (figure 2f).
The text was updated successfully, but these errors were encountered:
It looks that the function select_regions is defined two times:
select_regions
ocropus-nlbin
ocrolib/morph.py
The second one is also used in ocropus-gpageseg, see https://github.com/tmbdev/ocropy/search?utf8=%E2%9C%93&q=select_regions .
ocropus-gpageseg
What would you suggest to do?
Sorry, something went wrong.
Hi Philipp!
Assuming the two select_regions are identical, you can remove the one in ocropus-nlbin.
To solve the original issue I reported, in ocropus-nlbin you should import morph and call the function somewhere.
morph
Unused function select_regions in ocropus-nlbin
901a975
* see also #137 * the other two lines contained strange symbols coded as FF
No branches or pull requests
def select_regions(binary,f,min=0,nbest=100000)
Robust Binarization of Stereo and Monocular Document Images Using Percentile Filter
In this paper, there is a text area detection phase (figure 2f).
The text was updated successfully, but these errors were encountered: