You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I use the CLI option --gray and no .nrm.png is provided, an UnboundLocalError is thrown.
Possible Solution
In line 380 of ocropus-gpageseg, add one indent level to the checktype test and an error message which complains about the missing grayscale file (since it is a prerequisite for --gray, cf. line 431). Also an update of the CLI option help might be useful.
Current Behavior
If I use the CLI option
--gray
and no.nrm.png
is provided, an UnboundLocalError is thrown.Possible Solution
In line 380 of ocropus-gpageseg, add one indent level to the
checktype
test and an error message which complains about the missing grayscale file (since it is a prerequisite for--gray
, cf. line 431). Also an update of the CLI option help might be useful.I would have liked to create a pull request for that one. But it is not possible to fork the same github project twice (https://stackoverflow.com/questions/6675994/is-it-possible-to-fork-a-fork-in-github) and I already forked the fork
kraken
.The text was updated successfully, but these errors were encountered: