3

I am not 100% sure the difference about Tesseract and Tesseract1 object in the Java api package Tess4J, anyone can explain about it?

I know Tesseract uses interface mapping, and Tesseract1 uses direct mapping. How this will change their behavior?

Thanks in advance!

4

1 回答 1

6

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

JNA 支持直接映射方法,可以显着提高性能,接近自定义 JNI。方法签名与 JNA 接口映射中的方法签名相同,但它们可以是任何静态或对象方法。

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

于 2016-06-28T23:42:44.923 回答