RockTheStar
RockTheStar

Reputation: 680

Tess4j Tesseract vs Tesseract1

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!

Upvotes: 3

Views: 1866

Answers (1)

nguyenq
nguyenq

Reputation: 8345

Same functionality with supposedly better performance.

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

Upvotes: 6

Related Questions