• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple OCR program in android?

 
Joseph Molina
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone know a simple OCR program I can use in android studio to ensure everything is working properly?
 
Maneesh Godbole
Saloon Keeper
Posts: 11312
16
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.
Did you try google? android ocr example
 
ab singh
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for Android Just follow this link OCR Reader Code project
Other stuff that you might need are language package and tess two zar file that you can easily get from maven archive and github samples
for auto detection of the text just use opencv for edge detection to get area on which character is written, then crop that image turn to gray scale, send to ocr for recognition.
webpage
OpenCV
i Hope it will help you
 
Joseph Molina
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Maneesh Yes I have tried most examples but have not had the best results. I feel as if I need some guidance on them

@ab singh Thank you for the suggestions. I just do not know where to write the c++ code since I am working with android studio and code written for anroid is in java.
 
Tim Moores
Bartender
Posts: 3128
50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You would use the NDK for that, which allows the use of C/C++ code in Android apps. I'm sure the Android Studio documentation explains how to do that.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic