Closed cloudxxxx closed 7 years ago
My bad. SimpleApp in the project copy the tessdata file and prints the path in the console: Accessing: /storage/emulated/0/Android/data/io.card.development/files/Tesseract/ Created directory /storage/emulated/0/Android/data/io.card.development/files/Tesseract/tessdata Created directory /storage/emulated/0/Android/data/io.card.development/files/Tesseract/tessdata/tessconfigs
OK
Coley
On Feb 7, 2017, at 09:52, cloudxxxx notifications@github.com wrote:
My bad. SimpleApp in the project copy the tessdata file and prints the path in the console: Accessing: /storage/emulated/0/Android/data/io.card.development/files/Tesseract/ Created directory /storage/emulated/0/Android/data/io.card.development/files/Tesseract/tessdata Created directory /storage/emulated/0/Android/data/io.card.development/files/Tesseract/tessdata/tessconfigs
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/CTBConsulting/Card.io-for-Capital-One-vertical-Cards/issues/13#issuecomment-278022276, or mute the thread https://github.com/notifications/unsubscribe-auth/AQwvcaFBIVftN47-TfYAy4Vuzb1-B9OJks5raIUugaJpZM4L5SQL.
Using Android Studio the initialization of tesseract fails because the env variable TESSDATA_PREFIX is wrong. In nativeRecognizer.cpp what is the correct path i should configure? the actual one is obviously wrong but can't guess the correct one:
setenv("TESSDATA_PREFIX","/storage/emulated/0/Android/data/org.my.scanExample.debug/files/Tesseract/",1);
Shouldn't it be the one copied in "<...>env\card.io-Android-source\card.io\src\main\assets\" ?