-
Notifications
You must be signed in to change notification settings - Fork 592
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
--maxcolseps 0 has no effect; ocropus-gpageseg still performs whitespace column segmentation #240
Comments
--maxcolseps 0
has no effect; ocropus-gpageseg
still performs whitespace column segmentation
As an update: it looks like |
The However, that other lines are not taking the full width, that is connected to the internals of the I see that this is not the desired output in your example. I don't know the reason or details for the implementation of function. Your observation with |
Thanks for your reply, @zuphilip.
I don't know what the actual algorithmic effect of the parameter is, I just arrived at this outcome by experimenting with the various command line options. Sorry I can't provide more info. |
Expected Behavior
I'm expecting
ocropus-gpageseg
to split the below image into rows without doing any column segmentation. To this effect I'm specifying the arguments--maxcolseps 0 --maxseps 0
(of course the latter is default.)The command even registers that I have specified
0
as the value ofmaxcolseps
:Current Behavior
However,
ocropus-gpageseg
is doing column separation.Here are a few examples of rows which should be full bleed, but instead they have been broken into whitespace-separated columns first, then into rows:
Possible Solution
Unsure!
Steps to Reproduce
Image: 5823821_0.png
ocropus-nlbin 5823821_0.png
ocropus-gpageseg -d --maxcolseps 0 5823821_0.png
ocropus-gpageseg -d --maxcolseps 0 --maxseps 0 5823821_0.png
Your Environment
Python 2.7.9
In case it's helpful, I've also included all docker build output, which indicates the versions of the various dependencies in my Docker container: https://gist.github.com/freen/bae76e580237c9f2ec4cf4bdd022e4bd
Debian GNU/Linux 8.6 (jessie)
The text was updated successfully, but these errors were encountered: