Tess4j Tesseract 与 Tesseract1

Tess4j Tesseract vs Tesseract1

我不是 100% 确定 Java api 包 Tess4J 中 Tesseract 和 Tesseract1 对象的区别,任何人都可以解释一下吗?

我知道Tesseract使用接口映射,而Tesseract1使用直接映射。这将如何改变他们的行为?

提前致谢!

相同的功能,据说性能更好。

JNA supports a direct mapping method which can improve performance substantially, approaching that of custom JNI. Method signatures are the same as they would be in a JNA interface mapping, but they can be any static or object methods.

https://github.com/java-native-access/jna/blob/master/www/DirectMapping.md