-
Notifications
You must be signed in to change notification settings - Fork 30
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
Expected Ptr<cv::UMat> for argument 'contour' #110
Comments
Did build a new ocrd.sif from actual ocrd/all:maximum, still the same error:
|
I can confirm this is already fixed in main but there are other changes that broke the OCR-D CLI and are currently blocking this from integration in OCR-D. We will try to resolve and include these in a new release asap. $ eynollah -i ./duerer1527--aa--deskew.png -o . -m ~/models/models_eynollah
23:35:14.667 INFO eynollah - Resizing and enhancing image...
23:35:14.667 INFO eynollah - Detected 230 DPI
23:35:31.629 INFO eynollah - Found 1 columns ([[1. 0. 0. 0. 0. 0.]])
23:35:53.642 INFO eynollah - Image was enhanced.
23:35:53.685 INFO eynollah - Enhancing took 39.0s
23:37:38.153 INFO eynollah - ratio_of_two_models: 99.9265450462504
23:37:38.398 INFO eynollah - Textregion detection took 104.7s
23:37:39.060 INFO eynollah - Graphics detection took 0.7s
23:38:07.196 INFO eynollah - textline detection took 28.1s
23:38:11.427 INFO eynollah - slope_deskew: -0.12°
23:38:11.427 INFO eynollah - deskewing took 4.2s
23:38:11.561 INFO eynollah - detection of marginals took 0.1s
23:38:12.081 INFO eynollah - num_col_classifier: 1
23:38:12.848 INFO eynollah - detecting boxes took 0.8s
23:38:15.595 INFO eynollah - Job done in 180.9s
23:38:15.595 INFO eynollah.writer - output filename: './duerer1527--aa--deskew.xml'
|
Problem is still there: https://digi.ub.uni-heidelberg.de/diglitData/v/christliche_kunstblaetter1862--40a--eynollah.zip (see run.sh for workflow & ocrd.log for log) |
Did build a new singularity image from docker ocrd/all:maximum today, approx. 14:00 CEST.
using this image (with OCR-D): https://digi.ub.uni-heidelberg.de/diglitData/v/duerer1527--aa--deskew.png
and using this command:
ocrd-eynollah-segment -P models default -I OCR-D-004 -O OCR-D-005 # ...004 contains png above
I'll get this error message:
The text was updated successfully, but these errors were encountered: