diff options
author | Iliyan Malchev <malchev@google.com> | 2008-09-30 10:36:05 -0700 |
---|---|---|
committer | Iliyan Malchev <malchev@google.com> | 2008-09-30 10:36:05 -0700 |
commit | 364e96f700652ebf785b67b8eaa08d75e5a5cbd5 (patch) | |
tree | 6f54f0a29383f3d30f207e8f016168bf75a92afd | |
parent | 80cbaa29bfbb3aee2ccbc02e69cb5192f11914c1 (diff) | |
download | tesseract-364e96f700652ebf785b67b8eaa08d75e5a5cbd5.tar.gz |
clean up test tool
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r-- | ccmain/jni.cpp | 5 |
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!"); |