Tess4j在图像中的特定位置搜索文本

时间:2018-10-22 14:35:25

标签: tesseract tess4j

嗨,我想知道tess4j中是否有可用的API方法,通过它我可以通过引用特定位置从图像中获取文本

1 个答案:

答案 0 :(得分:0)

是的,您需要设置Rectangle函数的setImage字段

您可以在tess4j documentation中了解有关setImage函数的信息。还有here关于Rectangle是什么。

相关问题