Open chadbrewbaker opened 1 year ago
Are you sure this is a valid path JNA_LIBRARY_PATH+File.pathSeparator+"/opt/homebrew/lib/"
as it would resolve to "jna.library.path:/opt/homebrew/lib/"
?
Tess4J relies on JNA to find and load native libraries, so we feel this issue is best addressed there to add this support.
https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/NativeLibrary.java https://github.com/java-native-access/jna/blob/master/src/com/sun/jna/Platform.java
Load for homebrew MacOS ARM tesseract. Fixes https://github.com/nguyenq/tess4j/issues/194