-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Here is the failing command:
% ocrd-cis-ocropy-binarize 2>&1|perl -pe s,/Users/stweil/src/github/OCR-D,,g
Traceback (most recent call last):
File "/venv3.12_20250409/bin/ocrd-cis-ocropy-binarize", line 5, in <module>
from ocrd_cis.ocropy.cli import ocrd_cis_ocropy_binarize
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/cli.py", line 4, in <module>
from ocrd_cis.ocropy.binarize import OcropyBinarize
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/binarize.py", line 23, in <module>
from . import common
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/common.py", line 14, in <module>
from . import ocrolib
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/ocrolib/__init__.py", line 11, in <module>
from . import default, common
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/ocrolib/common.py", line 32, in <module>
from . import morph
File "/venv3.12_20250409/lib/python3.12/site-packages/ocrd_cis/ocropy/ocrolib/morph.py", line 346, in <module>
def all_neighbors(image, dist=1, bg=NaN):
^^^
NameError: name 'NaN' is not defined. Did you mean: 'nan'?
See also issue #458.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working