Skip to content

Latest commit

 

History

History
41 lines (25 loc) · 1.7 KB

README.md

File metadata and controls

41 lines (25 loc) · 1.7 KB

Text Recognition for Android using Google Mobile Vision.

we will create a simple Android app that uses Google Mobile Vision API’s for Optical character recognition(OCR).

The Mobile Vision Text API gives Android developers a powerful and reliable OCR capability that works with most Android devices.

This is a very powerful API that can also be used for live face detection and face tracking along with bar code

scanning capabilities.

How to use Google Mobile Vision API in Android Studio. I have given some Idea.

  1. Go to File -> New Project. When it prompts you to select the default activity, select Empty Activity and proceed.

  2. Open build.gradle in (Module:app) and add Mobile Vision dependencies like this.

    dependencies { ... compile 'com.google.android.gms:play-services-vision:11.0.4' ... }

  3. To use this library, you may need to update your installed version of Google Repository in SDK tools .Do make sure your version of Google Repository is up to date. It should be at least version 26.

  4. Don’t forget to add permissions for accessing CAMERA and also meta-data for using OCR in AndroidManifest.xml file like this

    Screen Shot

    screenshot_androidtext screenshot_intel