Export HOCR output for tesseract OCR in android

后端 未结 1 1122
别那么骄傲
别那么骄傲 2021-01-13 14:52

I tried to use tess-two, a fork of Tesseract Tools for Android. I want to turn on hocr output in tesseract, from this link, I tried to set variable tessed

1条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-13 15:15

    Apparently, tess-two does not implement all the TessBaseAPI as it does not include support for the native GetHOCRText method. You may have to extend the wrapper yourself to access the functions you need.

    The config files are meant for command-line execution. Alternatively, you can set the necessary variables through the exposed API method setVariable.

    0 讨论(0)
提交回复
热议问题