🐛 Use line id for debug message

fix/readme-no-checkpoint
Gerber, Mike 5 years ago
parent 5b6d8b3f41
commit cd8f6a5fcb

@ -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…
Cancel
Save