Make a Text Scanner App | OCR App | Full Tutorial | Android Development
Вставка
- Опубліковано 15 жов 2024
- In this video we will make a text scanner app for android. This app can extract text from images and you can also copy the texts.
Dependencies:
implementation 'com.google.android.gms:play-services-vision:19.0.0'
implementation 'com.theartofdev.edmodo:android-image-cropper:2.8.0'
Links:
Vision: developers.goo...
Image Cropper: github.com/Art...
------------------------------------------------------------------------------------------------------
Join our Facebook Group : / codingwithevan
Our Facebook : / codingwithevan
Our Telegram : t.me/codingwit...
Our Instagram : / codingwithevan
Our Discord : / discord
How can we add different languages in this app?
God Bless you brother , after searching for so many videos finally a well explained and working video !!
Thank you bro ❤️
@@CodingWithEvan bro please tell me how to make a login page before this which will store login ID and pass in firebase
@@abhishekjami1999 @Coding With Evan me too bro!!
@@abhishekjami1999 hello did you managed to do this i really wants to do it to can you help me
I have a question about YAMNet TensorFlow lite model (Android app). I want to use it with an audio clip as input, Not a live recording. Can you help in that? Thank you
Awesome tutorial and nicely explain. But unfortunately I've got one problem,
When I take image from gallery everything works fine as expected , But when I capture any image and click on check mark it doesn't show the crop option and also It doesn't give any output.
what is the reason could be ?? any solution for this??
I have the same problem
Same problem. Got any solution?
@@IshikaChowdhary you got the solution? If not he might be hiding some code!
same problem
@@adrianobelle1253 bro have you solved the problem?
Do not working camera capture.
How solve it?
&
How support many language?
Hi, Do this work for hand written text and for languages other than English?
Is it workable for many lamguage or only English??
hi Evan,
Thanks for the video. During step at 13:25 I've got the following error: Class referenced in the manifest, `com.theartofdev.edmodo.cropper.CropImageActivity`, was not found in the project or the libraries
same
any fix?
Were you able to fix it? I searched for help but found none.
@@sabbirmahmudafridi8767 you found any solutions?
If this is still blocking you and u're using android studio bumblebee just add jcenter() after google()
mavenCentral() under settings.gradle->repositories. Care, it will be deprecated soon
Please sir can you help me when i trh to create TextRecognizer recognizer = new TextRecognizer().Builder(this).build; it's showing me error on .Builder() like it not recognized
Thanks for the video Evan. I would like to know if there's a possibility to automate the cropping to capture a single word out of a paragraph. Please advise if you can. Thank you very much
@CodingWithEvan ,Sir please help me. I have followed your video till finish but when I run it on my phone. It kept saying "cancelling, required permissions are not granted". What should I do.Sir help me
this is good idea for an open source ocr app that would be just named SSOCR (Super Simple OCR)
sir, in crop image library, camera intent capture image and image not to be send for crop. any solutions?
Sir on 18:14 for Builder I'm getting an error can u help me out.
It says it cannot resolve symbol 'Builder'
It works properly in android 9 and 10 but it seems like in android 11 there's an issue when you take a picture and you won't see the crop part but it will show up when you used your gallery not from camera
Is there any way to solve this problem in android 11?
did u sovle it yet ?
Waiting for the solution...
same here
One Request Vai Offers in-app purchases integration niya jodi ekta Tutorial diten taile khub upokar hoto
Hi, my application is loading, but when I try to take a picture, it says no app can perform this task. I have enabled camera permissions already. How can I solve it?
Same problem did you get the solution
if you guys are intrested I can share my github code
@@BiGprOtein65g Could you please share the link of your github code?
The "onActivityResult" method is deprecated. Pls is there a video that talks about the registerActivityForResult and implements this callbacks?
with all due respect, the text on websites can simply be copy pasted , ig we dont need OCR for that ?? , will it be helpful in converting handwritten text to digital ??? anyways ill try it out , thanks alot
It’s not only for website text. I just showed that for example. This can be used to scan text from visiting card, posters, paperworks, newspaper etc.
Sir please help me. I have followed your video till finish but when I run it on my phone. It kept saying "cancelling, required permissions are not granted". What should I do :)
do you find the solution , iam stuck at this pointt
I tried on Vivo V21 5G, and I tried upload image, but says "Error Occured". I need help!
Images from gallery are working fine but capturing images does nothing and goes to homepage .Can you please tell me how to resolve this or where the problem might be.
Same problem here. Did you find a solution to this problem?
@@carloslinharesmachado5836 please tell me
When i tried to paste from the using cropper to manifest, the result is eror at manifest. You know why please?
it is not working am getting error : Error inflating class com.theartofdev.edmodo.cropper.CropImageView
Caused by: android.view.InflateException: Binary XML file line #6
Sir, please help me. If I change the package name of the app, the app will run but it will not work properly. How can I solve this?
@CodingWithEvan ,Sir please help me. I have followed your video till finish but when I run it on my phone. It kept saying "cancelling, required permissions are not granted". What should I do :)
What is the minimum android API for this code?
Thank you so much sir!, I just used that copy text feature from your app and its working absolute great! Thanks a lot! ❤❤❤❤
Hi I have used this feature in my app, 2 months back it was working fine but now after clicking a picture from camera, the cropper is not getting opened and the text is not getting extracted :( Please help me! Thanks in advance:)
Same problem here. Did you find a solution to this problem?
@@carloslinharesmachado5836 Nope
@kavitaverma3680 @carloslinharesmachado5836 do you have solution? :(
StatsProvider: stats_nl_error_callback() 110: NL SOC receive error: No such process
StatsProvider: sendRecvData() 267: nl_recvmsgs failed return=-12
StatsProvider: getPIDStats() 119: sendRecvData returned error = -4
getting these 3 errors any solutions?
How can we translate the extracted text to another language or extract text from another language???
What language or technologies used here??
Which are the total technologies used in this?
Please gallery option is not showing, it's just bringing camera options.
Hello sir. I just tried to bundle it to apk and install it to my phone, but i can't open the apk. Do you know what's wrong with it?
Btw which API version is you use?
It isn't working properly in android 11. The picture is not coming after capturing. and after that the application crashes.
Then how you resolve this error
I can share the code if you are intrested in my github
Very fascinating stuff. I've become curious about OCR technology as a way to help with voter registration efforts here in NYS. Filing out a voter registration form by hand takes a long time so I was thinking that OCR can help by scanning driver licenses and then transferring the text to a pdf of the voter registration form. It would kind of be like how credit card info is entered using one's phone camera.
codes ?
helloo thats exactly whatt im loocking for can you share the code please
when i upload an image from the gallery it works fine, but when i choose to take a picture from the camera, after taking the photo and pressing to confirm, its returns to the inital menu. Can anybody help me to fix this?
yes same issue have you resolved it?
Even I am facing the same issue Is ur error solved ??
@@kalpanamadhavan5951 Nope but I think if you install the app in older android version then it might solve the issue
but we have to add the code for version also.
Sir in this I'm facing problem while generating pdf it showing error
Hi, Evan. Thanks much much.
Please let me know what if 'Vertical Chinese pdf text' ? Is it possible to convert to editable 'Horizontal text' ?
everything works properly but the text didnt get extracted from the image and it going to the main page....... any solution?
the problem is the camera capture and nothing happens but if you select a picture from the gallery, the crop activity will show and display the data.
Im excited as always.
Is there any fee or limit for this because I will use this feature too much
It's free and no limit.
hi bro how can i make such a program with a way that the application compares text to a database preadded,thanks in advance.
U can do it once u receive Txt from image...Compare the captured text with ur data... display only those texts which matches with ur data..
sir, i got
W/ExifInterface: Stop reading file since a wrong offset may cause an infinite loop: 0
please help
W/ExifInterface: Skip the tag entry since tag number is not defined: 2
Well explained tuto . Thank you bro.
Thank you!
It's work only English language but i want to use multi language. How can i do?
Please answer me.
Bhai please help me
When I make an app in android studio and install it via cable it install in my phone and work successfully but if I share that apk file another phone through drive or any other means And install then it show app not install
Please help....it only install on device through gradle build...
Make sure the phone has "Install from unknows sources" enabled.
@@CodingWithEvan it is enabled
@@utkarshtripathi2399 bro 😂 in starting I also faced this problem
Solution:- click on build apk, you have to build the apk there is a options at top build click on it and then click on build apk
And go to file explorer share the apk file after the build
then what if using android 11? how do i write the code
It finally worked!
Please provide the solution
Sir when the course is coming
eita theke bangla text read korte hole ki korte hobe
Sir thus it will work for offline
Yes.
sir im trying to build an electrical meter reading ocr app plz guide me im beginer
Can we do the coding of the video in virtual studio code instead of android studio??
yes
How Can I Scan Bangla, Hindi or other languages??
Need new apu
Api
brother! what about other languages? like arabic?
Thanks for the great effort Evan!
13:30 class refrences was not found in the liberary is there a solution? i tried adding jcenter() but still doesnt work??
same problem
if your this problem is solved then please tell me brother how i can solve this
@@shadabsaifi9622 hey leave this tut its really old if i remeber there was a library called xing for qr code scans use that in your project
@@tabi3113 thanks brother .may allah bless you!
@@tabi3113 are you a android developer
Library seems not available.
Thanks for this tutorial, but it is not working for Android 11. It will be fine if you can do another video for Android 11
Bro switch to Kotlin, now a days google is slowly trying to remove Java...
great job again keep up bro.
Can someone share a similar code/tutorial video but I want to read the text in real time ?
Umm hey, amazing tutorial but...
how do i change the font style?
Just add fontfamily tag in xml
how to convert image (text vietnamese) to text ??
hi Evan,
Thanks for the video. During step at 13:25 I've got the following error: Class referenced in the manifest, `com.theartofdev.edmodo.cropper.CropImageActivity`, was not found in the project or the libraries
Any solutions for this? I've implemented and synced the two links as you mention in the beginning of the video.
Same problem here
me too
If this is still blocking you and u're using android studio bumblebee just add jcenter() after google()
mavenCentral() under settings.gradle->repositories. Care, it will be deprecated soon
@@rakshithg9669 thank u bro
@@rakshithg9669 supposedly it was been deprecated since February, is there another way to fix this issue as it causes an error still?
Has anyone successfully done this on Android 11 or Higher? Would you mind sharing the source code?
Sir it's showing many errors please help?
when i crop, my app has stopped can someone explain for me
Bro error resolved?
Hi Bro. Please updated Android 11 support code. It's so many viewers request 👍
Okay bro
Which app
Showing class not fount error in the menifest file and
add in the manifest
Great sir
Wow very nice bro...
sir in java code is showing error
So Coool😍👌🏻
How to detect Bengali/Hindi Image to text...
can u plz share source code link?
Hi I am getting error in cropImage api
Can u help me please urgently
Great video men
wow awesome tutorial
The crop library is no longer working...don't waste your time
Is ocr works??
can i get the source code
It appears this no longer works
Thank you so much!
This Library is not working
"Cancelling, Required permission are not granted " Toast is coming ... How to solve This problem ?
Allow camera permission to this app
@@CodingWithEvan already Granted .. using Realme Phone...
Maybe the issue is with scoped storage of Android 11.
@@CodingWithEvan Yes working with Android 7fine, but in Android 11 it's work for image from gallery but not from Camera ??
And how it will work for Hindi Language ??
I am also facing same issue with android 11 will anyone plz tell how to resolve it,plz🥺
nice video bro
good job
great thank u
this apps can capture bangla language.
can u give source code of this
Pls can you give the code
Great video!
amazing
Evan, I ran the app but an error occurs when cropping the image.
Regardless, thank you so much for your great tutorial :) !!!
What's the error?
@@CodingWithEvan Oh.. Evan. I just resolved the problem!
The error was: "DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0."
The reason was that I used the emulator instead of connecting to a real device. I just tried your code with a real device and it works perfectly fine!
I really appreciate your time and attention. Your tutorial is great :) !
@@victorialeigh2726 hi how you solve that problem?
@@jamespolar6550 hey hey!
Actually I mentioned it in my comment right up there.
In case you missed it, the reason was the emulator I was using. If I'm correct, you are supposed to connect a real physical device like your smartphone, not the virtual emulator. Because the emulator doesn't have an actual functioning camera, you get the error ("No acceptable module found"). Hope this answers your question :) !
🤩🤩🤩
TY
Pls reply to my comments I want it hardly for my app 🙏🏻