【问题标题】:How to Create boxes on images JtessBoxEditor?如何在图像 JtessBoxEditor 上创建框?
【发布时间】:2020-02-07 15:33:35
【问题描述】:

我需要重新训练 tesseract,因此我正在使用 JtessboxEditor。但是,它不会在图像上创建框。

我在 StackOverFlow 上找到了这个问题,但它并没有解决我的问题。 How to generate a tiff/box file from an image to train Tesseract in Windows

我按照答案的建议做了,但我仍然无法在图像上创建框。

这是我得到的错误:


How can I create boxes ? 

Any help is appreciated. Thank you very much.
Error opening data file C:\Program Files\Tesseract-OCR\eng.traineddata
 Please make sure the TESSDATA_PREFIX environment variable is set to your "tessdata" directory.
 Failed loading language 'eng' Tesseract couldn't load any languages! Could not initialize tesseract

【问题讨论】:

    标签: python-3.x windows ocr tesseract training-data


    【解决方案1】:

    JTessBoxEditor 只能支持对旧版 Tesseract 3.x 的训练。您的机器上可能安装了 Tesseract 4.x; TESSDATA_PREFIX 变量指向该版本的tessdata,这与 JTessboxEditor 训练不兼容。

    【讨论】:

    • 我正在使用 Tesseract 3.x
    猜你喜欢
    • 1970-01-01
    • 2021-11-14
    • 2011-05-22
    • 2023-03-17
    • 1970-01-01
    • 1970-01-01
    • 2021-10-05
    • 1970-01-01
    相关资源
    最近更新 更多