0

Take bar-code scanner apps on Android devices for example, most of the device screen is grayed-out leaving a small transparent portion toward the center. Once the bar-code falls completely inside of the transparent zone, the camera clicks the picture immediately. I imagine, the Camera.PreviewCallback is used to perform image recognition logic on the preview image, that is previewed onto the SurfaceView. What APIs are used to perform that logic? 1) Recognize the type of the picture, here a bar-code or a QR type image. 2) identify the corners of the recognized image and determine whether they are within the bounds of the transparent zone. 3) Any OCR (Optical Character Recognition) related content like reading some text content in the image etc etc...

I want to know how are those three requirements achieved, and what APIs best suit for them?

AndroidRocks
  • 292
  • 4
  • 16
  • For Anroid OCR have a look at this question: http://stackoverflow.com/questions/9517190/ocr-for-android/9517589#9517589 – Nikolay Mar 02 '12 at 08:19
  • An API that allows me identify contours and Character recognition for a given image on the device without having to connect to a third-party cloud service, or some back-end http service is what I am looking for. Primary concern is security. Second concern is technical feasibility. If an API allows me to read contents of a Bitmap, or even a byte[], in 2D cartesian coordinates that'd be absolutely great. – AndroidRocks Mar 02 '12 at 19:36

0 Answers0