Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 tesseract 库扫描图像。我正在以 string 的形式从库中获取输出。是否真的可以与文本一起获得 x 和 y 位置?
使用hocr命令行选项,如下所示:
tesseract eurotext.tif out hocr
输出将是一个out.html文件,其中包含每个已识别单词的坐标。
out.html