Tesseract OCR Android in Windows -


i've read of questions forums , blogs still have problem. firstly, ticked tess-two library project's using tess-two library. downloaded android-ndk , project's properties clicked builders , new -> program choose ndk's ndk-build file. way project gautam gupta's project. he'd given project. link: https://github.com/gautamgupta/simple-android-ocr. when run project in phone, application starts , captures photo when press save application gives error below. http://t1307.hizliresim.com/1c/l/qg0rl.png

looks need download tesstwo, make sure have setup environments variables (ant_home, android_home , android_ndk) these point have ant , android sdks.

then it's matter of building project following tesstwo guidance. set library-project can imported.

don't forget line commands must performed in cygwin. once library project built should have correct .so files in libs/*. in order use these, start this link.


@burak: have solved problem. windows; write codes below cygwin

a.cd <project-path'i>/tess-two b.export tesseract_path=${pwd}/external/tesseract-3.01 c.export  leptonica_path=${pwd}/external/leptonica-1.68 d.export libjpeg_path=${pwd}/external/libjpeg e./cygdrive/<ndk-directory>/ndk-build 

write codes below cmd

f.android update project --target 1 --path . g. ant release  

don't forget "." @ step f.


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -