mirror of
https://github.com/qurator-spk/sbb_textline_detection.git
synced 2025-07-27 19:29:57 +02:00
🐛 sbb_textline_detector: Filter cropped images (OCR-D)
This commit is contained in:
parent
020ffbcfde
commit
006c7765b0
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class OcrdSbbTextlineDetectorRecognize(Processor):
|
||||||
page_image, page_coords, page_image_info = \
|
page_image, page_coords, page_image_info = \
|
||||||
self.workspace.image_from_page(
|
self.workspace.image_from_page(
|
||||||
page, page_id,
|
page, page_id,
|
||||||
feature_filter='binarized,grayscale_normalized'
|
feature_filter='cropped,binarized,grayscale_normalized'
|
||||||
)
|
)
|
||||||
|
|
||||||
with tempfile.TemporaryDirectory() as tmp_dirname:
|
with tempfile.TemporaryDirectory() as tmp_dirname:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue