aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2008-10-17 09:24:37 -0700
committerIliyan Malchev <malchev@google.com>2008-10-17 09:24:37 -0700
commitda4ce6975069f8c672825286fd4abddc2fbb5ec6 (patch)
tree79a6f7da42c6ceef0faf3a39b5e29d3492fa577f
parent183793bedd53d75fdd9d6bac1ab8bfe963d26a60 (diff)
downloadtesseract-da4ce6975069f8c672825286fd4abddc2fbb5ec6.tar.gz
write all debug data to /sdcard
Signed-off-by: Iliyan Malchev <malchev@google.com>
-rw-r--r--ccmain/jni.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccmain/jni.cpp b/ccmain/jni.cpp
index 5427128..a35050a 100644
--- a/ccmain/jni.cpp
+++ b/ccmain/jni.cpp
@@ -182,11 +182,11 @@ static void dump_debug_data(char *text)
{
#if DEBUG
if (tessedit_write_images) {
- page_image.write("/data/tessinput.tif");
+ page_image.write("/sdcard/tessinput.tif");
}
if (text) {
- const char *outfile = "/data/out.txt";
+ const char *outfile = "/sdcard/out.txt";
LOGI("write to output %s\n", outfile);
FILE* fp = fopen(outfile, "w");
if (fp != NULL) {