aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2008-09-30 10:36:05 -0700
committerIliyan Malchev <malchev@google.com>2008-09-30 10:36:05 -0700
commit19ce3d959d360d756debcd6c9bc0b914c038c1dd (patch)
treed335f482a7be275c76253ef3cf6ac0e55eb034a7
parent11ee05e30a21f944e989ba7f957ccda51d5c0a83 (diff)
downloadtesseract-19ce3d959d360d756debcd6c9bc0b914c038c1dd.tar.gz
clean up test tool
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r--ccmain/jni.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/ccmain/jni.cpp b/ccmain/jni.cpp
index 642f030..294bf66 100644
--- a/ccmain/jni.cpp
+++ b/ccmain/jni.cpp
@@ -51,8 +51,8 @@ ocr_open(JNIEnv *env, jobject thiz, jstring lang)
jboolean res = JNI_TRUE;
- LOGI("lang %s\n", c_lang);
- if (api.Init("/sdcard/", c_lang)) {
+ LOGI("lang %s\n", c_lang);
+ if (api.Init("/sdcard/", c_lang)) {
LOGE("could not initialize tesseract!");
res = JNI_FALSE;
}
@@ -60,6 +60,7 @@ ocr_open(JNIEnv *env, jobject thiz, jstring lang)
LOGE("could not read config file, using defaults!");
// This is not a fatal error.
}
+ LOGI("lang %s initialization complete\n", c_lang);
env->ReleaseStringUTFChars(lang, c_lang);
LOGI("successfully initialized tesseract!");