• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Simple OCR program in android?  RSS feed

 
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?
 
Bartender
Posts: 11445
18
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
 
Greenhorn
Posts: 20
  • 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.
 
Saloon Keeper
Posts: 5025
134
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!