ecit241 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

Patch for /training/tessopt.cpp #1353

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When training batch boxes and tifs this causes training to fail after 2nd 
iteration. The issue is that the tessopt iterator index is a global. The fix is 
to 1.) reset before each tessopt usage 2.) wrap the iterator state in a 
class/generator. Low priority, but useful if we want to generate a bunch of 
traineddatas in the same process or even multiple threads.

Original issue reported on code.google.com by oriahulr...@microvu.com on 23 Oct 2014 at 10:53

Attachments:

GoogleCodeExporter commented 9 years ago
Migrated to github: https://github.com/tesseract-ocr/tesseract/pull/13

Original comment by joregan on 13 May 2015 at 4:00