• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Simple OCR program in android?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 7589
177
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic