Recognize text in images | Google ML | Android Studio | Java
Вставка
- Опубліковано 23 лип 2024
- 1) Recognise Text From Image.
2) Take an Image from the Camera or Gallery.
3) Handle runtime permissions.
Buy Me a Coffee:
paypal.me/atifsayings
Purchase Code:
www.technifysoft.com/p/androi...
Links Used:
Google ML: developers.google.com/ml-kit/...
Note:
Camera: If the Android version is or above TIRAMISU ask only Camera permission otherwise camera and storage permissions
Gallery: If the Android version is or above TIRAMISU don't ask any permission otherwise storage permission
Chapters:
0:00 Create, Setup Project
0:32 Setup Google ML
1:40 UI Design
6:26 Pick Image
19:16 Runtime Permissions
30:29 Recognize Text
38:54 Testing
Feel free to comment in case of any problem
Chanel:
/ mohammadatif1
Websites:
technifysoft.com/
devofandroid.blogspot.com
Apps/Games on PlayStore:
play.google.com/store/apps/de...
Fiver (Contact for your projects):
www.fiverr.com/users/mohammad...
If u like this video, Like, Comment, Subscribe to support us...
#TextRecognition #atifpervaiz #technifysoft
Note:
Camera: If the Android version is or above TIRAMISU ask only Camera permission otherwise camera and storage permissions
Gallery: If the Android version is or above TIRAMISU don't ask any permission otherwise storage permission
On September 16, 2023, it still works flawlessly. Thank you very much for this tutorial! No talk, no promotions, NOTHING! Just pure knowledge and working code. You've saved another programmer weeks of torture, thank you!
You're welcome. Best of luck
How did you get this to work? I'm getting so many errors in my MainActivity file. Do you think you can share it with me?
@@Adam-in2lw yea shure
Awesome, great video I needed it, I've been looking for it for a long time!!!
Still works even after 6months from uploading
Thank you sir❣️
You're welcome
Thanks a lot bro this helped me finish my academic project. Appreciate the good work. Best of luck.
You're welcome
bro can you please give me source code?
I click on either Camera or Gallery it just only pop up the permissions but cant function anymore. For example take the image or open gallery. Any solution?
awasome
great!! thanks for the tutorial.
You're welcome
Your video is amazing, and I wonder if you can make a video tutorial to translate by taking a screenshot with a floating button like a "messenger" chat bubble that works even while using another app, overwrite another app, click on it and then take a screenshot and translate. Thanks for reading and my not-so-brief!!
This may take a lot of effort, research, time
By the way, I've another video for text translation.
Hlo sir i am getting error on time 12:52 while writing Activity resultsContracts solve my problem
thank you very much
Welcome!
do u have document for this ?
good work 😀👍
Thank you! Cheers!
Sir this project android 11-12 pick camera image...?
Yes camera and galley with permission is done in this video and will work on latests android too
Ive tested on android 12
text recognition using image from gallery is working but when clicking image from camera the app is crashing someone plz help
Kindly check logcat for crash reason
Sir ,What is Imported In Line 4,5 in MainActivity file
Pin time from video here
Hello sir, how can I automatically transfer the resulting text to a form ?
Use edittext.settext and set the text you got
Does it detect only English text? I tried with an image with Urdu text, and it wasn't able to recognize it.
Yes, English
bro, do you know if ML can recognize signatures?
Not confirm.
brother what about Arabic or other languages?
Hello sir how to send recognise text to another activity
Put that text in intent that is being used to start new activity
@@AtifSayings thanks man i appreciate it
thx
You're welcome
Boss edit text to create pdf video needed. Please create a full tutorial.
Create Book/PDF using Edit Text (Java): ua-cam.com/video/3LEs7SfJ2lc/v-deo.html
Create Book/PDF using Edit Text (Kotlin): ua-cam.com/video/WjWSFz9vIJs/v-deo.html
Get only address from any card (like visiting card).
Didn't try yet
JazakAllah
Dear sir,
How to recognize text others language?
Check their documentation, link available in description.
@@AtifSayings please sir make an tutorial video, how to recognize text others language like (Bangla,Hindi,etc..),It's my humbel request.🥰❤️
CAMERA AND GALLERY NOT OPENING HELP ANYONE PLEASE
Camera: If Android version is >= TIRAMISU ask only Camera permission otherwise camera and storage permissions
Gallery: If Android version is >= TIRAMISU don't ask any permission otherwise storage permission
how can i save the text in a file please
ua-cam.com/video/I1fLQxdxdk4/v-deo.html
@@AtifSayings thanks for responding i have an error it shows :
E/MobileVisionBase: Error preloading model resource
what can i do to solve it ?
@@AtifSayings its working now thanks a lot but with the emulator doesn't work ,i just want to know how to make the apk file work for everyone because when i tried to install it in another phone the playstore refuse to install it ,can you help me with this problem?
@@abdeldjalilettaharboucetta2238 playstore just shows warning when an app from outside of playstore is trying to install.
why text is coming in one line plz solve this
Is this happening every time for any image?
yeah always in one line@@AtifSayings
MAke The video Update Details Old Details delete new Details Update In Java .......Plz BRo
Didn't get what exactly you wanna say, kindly elaborate
i have a bug "com.google.mlkit.common.MlKitException: Failed to load deprecated vision dynamite module", so i don't recognize.Please can you help me!!
having the same issue but i cant really solve it, urgently need help
java.lang.RuntimeException: Canvas: trying to draw too large(141705216bytes) bitmap.
hope you can help me with this one
bro can you help like like if the image output and text output are having same images or text that store on realtime database then it will show the details