Posts

Showing posts with the label Android

Translate

Step-by-Step tutorial to make an Android Application which can scan text from the images that mobile camera shows using Google Vision API

Demo Video of the App that will get formed following the below tutorial.   Step 1:- Add the following dependency in module-level build.gradle file, implementation 'com.google.android.gms:play-services-vision:15.0.2' Step 2:- Add the meta-data to AndroidManifest.xml, < meta-data android :name= "com.google.android.gms.vision.DEPENDENCIES"            android :value= "orc" /> Step 3:- Add the following permission to AndroidManifest.xml, < uses-permission android :name= "android.permission.CAMERA" /> Step 4:- Design the layout in activity_main.xml, <? xml version= "1.0" encoding= "utf-8" ?> < RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android"     xmlns: app = "http://schemas.android.com/apk/res-auto"     xmlns: tools = "http://schemas.android.com/tools"     android :layout_width= "match_parent" ...

Step-by-Step tutorial to build an android application which reads text from an image like OCR, using Google Vision API

Image
  Step 1:- Create a new Project. Step 2:- Add the following dependency in module-level build.gradle file:- compile 'com.google.android.gms:play-services-vision:9.8.0' Step 3:- Set the style in styles.xml present in values folder of res folder, style name= "AppTheme" parent= "Theme.AppCompat.Light.NoActionBar" Step 4:- Add meta-data to AndroidManifest.xml, < meta-data     android :name= "com.google.android.gms.vision.DEPENDENCIES"     android :value= "orc" /> Step 5:- Now Design the layout in activity_main.xml, <? xml version= "1.0" encoding= "utf-8" ?> < ScrollView     android :layout_width= "match_parent"     android :layout_height= "match_parent"     xmlns: android = "http://schemas.android.com/apk/res/android" > < RelativeLayout xmlns: android = "http://schemas.android.com/apk/res/android"     xmlns:...