Tesseract - train with different image format than

2020-05-07 18:25发布

As discussed on this SO Question, tesseract often operates better with .png files than with .tiff files. (I have also experienced this directly myself). Unfortunately, there are fewer box editors available that can handle .png files. I therefore am tempted to train my data using .tiff files but then use .png files for my main OCR work. Will doing so reduce the effectiveness of the training? If so, are there any ways to address it (other than just finding a box editor that can accept .png files)?

标签: tesseract
1条回答
家丑人穷心不美
2楼-- · 2020-05-07 18:59

Some editors such as jTessBoxEditor (Tesseract AddOns page) support both TIFF and PNG formats. Since TIFF can be multi-page image, it can have a lot more samples for your character set than single-page PNG.

https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract

查看更多
登录 后发表回答