I can't train tesseract with this medical image

70 views
Skip to first unread message

Alex Ortega Muñoz

unread,
Mar 6, 2018, 5:28:24 AM3/6/18
to tesseract-ocr
I get this log when I train it specifying the missed squares with JTessBoxEditor:


[C:\Users\FlcUser\Desktop\JTess\jTessBoxEditor\tesseract-ocr/tesseract, image_part_003.png, image_part_003, box.train]
Tesseract Open Source OCR Engine v3.05.01 with Leptonica
FAIL!
APPLY_BOXES: boxfile line 1/7 ((5,142),(13,154)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 2/0 ((14,141),(22,154)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 3/. ((24,142),(26,145)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 4/0 ((28,141),(36,154)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 5/k ((41,142),(49,154)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 6/V ((49,142),(60,154)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 7/0 ((5,123),(14,136)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 8/. ((15,124),(18,127)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 9/2 ((19,124),(27,136)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 10/0 ((28,123),(36,136)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 11/m ((41,124),(54,133)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 12/A ((55,124),(66,136)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 13/s ((67,123),(75,133)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 14/D ((5,105),(15,117)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 15/: ((18,105),(21,114)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 16/1 ((27,105),(33,117)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 17/. ((36,105),(39,108)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 18/7 ((40,105),(48,117)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 19/9 ((49,104),(57,117)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 20/0 ((58,104),(66,117)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 21/P ((5,87),(14,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 22/h ((16,87),(25,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 23/y ((26,83),(34,96)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 24/s ((35,86),(43,96)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 25/i ((44,87),(47,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 26/c ((48,87),(56,96)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 27/a ((57,87),(65,96)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 28/l ((66,87),(69,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 29/E ((75,87),(84,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 30/X ((85,87),(96,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 31/I ((96,87),(100,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 32/3 ((105,86),(113,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 33/2 ((114,87),(122,99)): FAILURE! Couldn't find a matching blob
FAIL!
APPLY_BOXES: boxfile line 34/8 ((123,86),(131,99)): FAILURE! Couldn't find a matching blob
APPLY_BOXES:
   Boxes read from boxfile:      76
   Boxes failed resegmentation:      34
APPLY_BOXES: Unlabelled word at :Bounding box=(6,84)->(131,154)
   Found 42 good blobs.
   1 remaining unlabelled words deleted.
Generated training data for 7 words

Why I can't get trained files?

Thank you!
image_part_003.png
Reply all
Reply to author
Forward
0 new messages