mirror of
https://github.com/mikegerber/ocrd_calamari.git
synced 2025-06-09 03:39:55 +02:00
🐛 Use line id for debug message
This commit is contained in:
parent
5b6d8b3f41
commit
cd8f6a5fcb
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class CalamariRecognize(Processor):
|
|||
textlines = region.get_TextLine()
|
||||
log.info("About to recognize %i lines of region '%s'", len(textlines), region.id)
|
||||
for (line_no, line) in enumerate(textlines):
|
||||
log.debug("Recognizing line '%s' in region '%s'", line_no, region.id)
|
||||
log.debug("Recognizing line '%s' in region '%s'", line.id, region.id)
|
||||
|
||||
line_image, line_coords = self.workspace.image_from_segment(line, region_image, region_xywh)
|
||||
line_image_np = np.array(line_image, dtype=np.uint8)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue