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

КОМЕНТАРІ • 237

  • @Infowithisrar
    @Infowithisrar 3 роки тому +7

    How can we add different languages in this app?

  • @abhishekjami1999
    @abhishekjami1999 3 роки тому +8

    God Bless you brother , after searching for so many videos finally a well explained and working video !!

    • @CodingWithEvan
      @CodingWithEvan  3 роки тому +3

      Thank you bro ❤️

    • @abhishekjami1999
      @abhishekjami1999 3 роки тому

      @@CodingWithEvan bro please tell me how to make a login page before this which will store login ID and pass in firebase

    • @rameshwarphp7877
      @rameshwarphp7877 2 роки тому

      @@abhishekjami1999 @Coding With Evan me too bro!!

    • @abdeldjalilettaharboucetta2238
      @abdeldjalilettaharboucetta2238 Рік тому

      @@abhishekjami1999 hello did you managed to do this i really wants to do it to can you help me

  • @alanood9500
    @alanood9500 Рік тому +1

    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

  • @tanzilahmed855
    @tanzilahmed855 3 роки тому +7

    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??

  • @amjadhossain2788
    @amjadhossain2788 2 роки тому +1

    Do not working camera capture.
    How solve it?
    &
    How support many language?

  • @MuhammadSheharyar-sg9jv
    @MuhammadSheharyar-sg9jv 6 місяців тому

    Hi, Do this work for hand written text and for languages other than English?

  • @ABC-zv1sd
    @ABC-zv1sd Рік тому

    Is it workable for many lamguage or only English??

  • @muhammadahsanshafique2557
    @muhammadahsanshafique2557 2 роки тому +14

    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

    • @sabbirmahmudafridi8767
      @sabbirmahmudafridi8767 2 роки тому +2

      same

    • @shadow-fortnite4955
      @shadow-fortnite4955 2 роки тому +1

      any fix?

    • @giraffegiraffe3214
      @giraffegiraffe3214 2 роки тому +1

      Were you able to fix it? I searched for help but found none.

    • @ebrimajobe6535
      @ebrimajobe6535 2 роки тому

      @@sabbirmahmudafridi8767 you found any solutions?

    • @gbilles6669
      @gbilles6669 2 роки тому +12

      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

  • @wamishosiraj4357
    @wamishosiraj4357 2 місяці тому

    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

  • @nalinbranden
    @nalinbranden Рік тому

    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

  • @pranshu4370
    @pranshu4370 Рік тому

    @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

  • @angryteapod1765
    @angryteapod1765 2 роки тому +2

    this is good idea for an open source ocr app that would be just named SSOCR (Super Simple OCR)

  • @thisismuqeedhussain100
    @thisismuqeedhussain100 8 місяців тому

    sir, in crop image library, camera intent capture image and image not to be send for crop. any solutions?

  • @tolhabaig8753
    @tolhabaig8753 2 роки тому +1

    Sir on 18:14 for Builder I'm getting an error can u help me out.
    It says it cannot resolve symbol 'Builder'

  • @Kirito-bk3px
    @Kirito-bk3px 2 роки тому +3

    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

  • @MdTayoburRahmanGraphics
    @MdTayoburRahmanGraphics 3 роки тому +1

    One Request Vai Offers in-app purchases integration niya jodi ekta Tutorial diten taile khub upokar hoto

  • @tanmaykhanna2170
    @tanmaykhanna2170 Рік тому +2

    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?

    • @IndianGamerMS
      @IndianGamerMS Рік тому

      Same problem did you get the solution

    • @BiGprOtein65g
      @BiGprOtein65g 7 місяців тому

      if you guys are intrested I can share my github code

    • @vaishnavimanagoli165
      @vaishnavimanagoli165 6 місяців тому

      @@BiGprOtein65g Could you please share the link of your github code?

  • @ekeneuzodinma5203
    @ekeneuzodinma5203 2 роки тому

    The "onActivityResult" method is deprecated. Pls is there a video that talks about the registerActivityForResult and implements this callbacks?

  • @risshirajsen6631
    @risshirajsen6631 Рік тому

    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

    • @CodingWithEvan
      @CodingWithEvan  Рік тому

      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.

  • @nikhilugale253
    @nikhilugale253 2 роки тому +1

    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 :)

    • @rajeevmandle
      @rajeevmandle Рік тому

      do you find the solution , iam stuck at this pointt

  • @james-ht5vf
    @james-ht5vf Рік тому

    I tried on Vivo V21 5G, and I tried upload image, but says "Error Occured". I need help!

  • @NomanKhan-ij5bf
    @NomanKhan-ij5bf 2 роки тому +1

    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.

  • @Kirito-bk3px
    @Kirito-bk3px 2 роки тому

    When i tried to paste from the using cropper to manifest, the result is eror at manifest. You know why please?

  • @leelanandareddymanne
    @leelanandareddymanne Рік тому

    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

  • @mdshakilhossen2848
    @mdshakilhossen2848 2 роки тому

    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?

  • @nikhilugale253
    @nikhilugale253 2 роки тому

    @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 :)

  • @salty8918
    @salty8918 2 роки тому +2

    What is the minimum android API for this code?

  • @pavankumarkhot8521
    @pavankumarkhot8521 2 роки тому

    Thank you so much sir!, I just used that copy text feature from your app and its working absolute great! Thanks a lot! ❤❤❤❤

  • @kavitaverma3680
    @kavitaverma3680 2 роки тому +1

    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:)

    • @carloslinharesmachado5836
      @carloslinharesmachado5836 2 роки тому

      Same problem here. Did you find a solution to this problem?

    • @kavitaverma3680
      @kavitaverma3680 2 роки тому

      @@carloslinharesmachado5836 Nope

    • @joannas.8712
      @joannas.8712 11 місяців тому

      @kavitaverma3680 @carloslinharesmachado5836 do you have solution? :(

  • @fitncode
    @fitncode 3 роки тому

    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?

  • @9otfound
    @9otfound 3 роки тому

    How can we translate the extracted text to another language or extract text from another language???

  • @vijethskulal3687
    @vijethskulal3687 6 місяців тому

    What language or technologies used here??

  • @frozenheart6204
    @frozenheart6204 8 місяців тому

    Which are the total technologies used in this?

  • @SupremeSama
    @SupremeSama 3 роки тому

    Please gallery option is not showing, it's just bringing camera options.

  • @adrians1244
    @adrians1244 2 роки тому

    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?

    • @adrians1244
      @adrians1244 2 роки тому

      Btw which API version is you use?

  • @aadeshsethi4687
    @aadeshsethi4687 2 роки тому +1

    It isn't working properly in android 11. The picture is not coming after capturing. and after that the application crashes.

    • @pranshu4370
      @pranshu4370 Рік тому

      Then how you resolve this error

    • @BiGprOtein65g
      @BiGprOtein65g 7 місяців тому

      I can share the code if you are intrested in my github

  • @jefftist9625
    @jefftist9625 2 роки тому +5

    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.

  • @adrianobelle1253
    @adrianobelle1253 2 роки тому +1

    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?

    • @amanbhatt1087
      @amanbhatt1087 2 роки тому

      yes same issue have you resolved it?

    • @kalpanamadhavan5951
      @kalpanamadhavan5951 2 роки тому

      Even I am facing the same issue Is ur error solved ??

    • @amanbhatt1087
      @amanbhatt1087 2 роки тому

      @@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.

  • @sharh2001
    @sharh2001 2 роки тому

    Sir in this I'm facing problem while generating pdf it showing error

  • @changjungkwon1931
    @changjungkwon1931 2 роки тому

    Hi, Evan. Thanks much much.
    Please let me know what if 'Vertical Chinese pdf text' ? Is it possible to convert to editable 'Horizontal text' ?

  • @_gokulakrishnanCSE
    @_gokulakrishnanCSE 2 роки тому

    everything works properly but the text didnt get extracted from the image and it going to the main page....... any solution?

    • @garyhayes4867
      @garyhayes4867 2 роки тому

      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.

  • @MrRey-mn4hn
    @MrRey-mn4hn 3 роки тому +2

    Im excited as always.

  • @sfdsfdsgfgsfsgfsgfsgf2768
    @sfdsfdsgfgsfsgfsgfsgf2768 2 роки тому

    Is there any fee or limit for this because I will use this feature too much

  • @abdopranc1225
    @abdopranc1225 2 роки тому

    hi bro how can i make such a program with a way that the application compares text to a database preadded,thanks in advance.

    • @vinaybhat7670
      @vinaybhat7670 2 роки тому

      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..

  • @jonathanjordan2085
    @jonathanjordan2085 2 роки тому

    sir, i got
    W/ExifInterface: Stop reading file since a wrong offset may cause an infinite loop: 0
    please help

    • @jonathanjordan2085
      @jonathanjordan2085 2 роки тому

      W/ExifInterface: Skip the tag entry since tag number is not defined: 2

  • @rossjohn8362
    @rossjohn8362 Рік тому

    Well explained tuto . Thank you bro.

  • @alomotiTech
    @alomotiTech 2 роки тому

    Thank you!
    It's work only English language but i want to use multi language. How can i do?

  • @utkarshtripathi2399
    @utkarshtripathi2399 3 роки тому

    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...

    • @CodingWithEvan
      @CodingWithEvan  3 роки тому

      Make sure the phone has "Install from unknows sources" enabled.

    • @utkarshtripathi2399
      @utkarshtripathi2399 3 роки тому

      @@CodingWithEvan it is enabled

    • @anonymousytusername
      @anonymousytusername 3 роки тому

      @@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

  • @danilial9805
    @danilial9805 2 роки тому

    then what if using android 11? how do i write the code

  • @Rene-fx1nu
    @Rene-fx1nu 2 роки тому +1

    It finally worked!

  • @anonymousytusername
    @anonymousytusername 3 роки тому

    Sir when the course is coming

  • @--MdZobayerHasanNayem
    @--MdZobayerHasanNayem 2 роки тому

    eita theke bangla text read korte hole ki korte hobe

  • @bbgbbg6033
    @bbgbbg6033 2 роки тому +1

    Sir thus it will work for offline

  • @muhammadahsanshafique2557
    @muhammadahsanshafique2557 2 роки тому

    sir im trying to build an electrical meter reading ocr app plz guide me im beginer

  • @n.kumar2880
    @n.kumar2880 3 роки тому

    Can we do the coding of the video in virtual studio code instead of android studio??

  • @latif.360
    @latif.360 3 роки тому +3

    How Can I Scan Bangla, Hindi or other languages??

  • @WilliamAlex
    @WilliamAlex Рік тому

    brother! what about other languages? like arabic?

  • @AStrangersBaby
    @AStrangersBaby Рік тому

    Thanks for the great effort Evan!

  • @tabi3113
    @tabi3113 2 роки тому

    13:30 class refrences was not found in the liberary is there a solution? i tried adding jcenter() but still doesnt work??

    • @shadabsaifi9622
      @shadabsaifi9622 2 роки тому

      same problem

    • @shadabsaifi9622
      @shadabsaifi9622 2 роки тому

      if your this problem is solved then please tell me brother how i can solve this

    • @tabi3113
      @tabi3113 2 роки тому

      @@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

    • @shadabsaifi9622
      @shadabsaifi9622 2 роки тому

      @@tabi3113 thanks brother .may allah bless you!

    • @shadabsaifi9622
      @shadabsaifi9622 2 роки тому

      @@tabi3113 are you a android developer

  • @ProjectAryawarta
    @ProjectAryawarta Рік тому

    Library seems not available.

  • @SaidAbdourahman
    @SaidAbdourahman 2 роки тому

    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

  • @Sj-yf2jg
    @Sj-yf2jg 3 роки тому

    Bro switch to Kotlin, now a days google is slowly trying to remove Java...

  • @MdTayoburRahmanGraphics
    @MdTayoburRahmanGraphics 3 роки тому +2

    great job again keep up bro.

  • @slavivelikov8701
    @slavivelikov8701 2 роки тому

    Can someone share a similar code/tutorial video but I want to read the text in real time ?

  • @amazingkids4213
    @amazingkids4213 3 роки тому

    Umm hey, amazing tutorial but...
    how do i change the font style?

  • @leelong1336
    @leelong1336 2 роки тому

    how to convert image (text vietnamese) to text ??

  • @MartijnTuijten
    @MartijnTuijten 2 роки тому +2

    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.

    • @baruchdego8934
      @baruchdego8934 2 роки тому +1

      Same problem here

    • @elprofesseur7641
      @elprofesseur7641 2 роки тому +1

      me too

    • @rakshithg9669
      @rakshithg9669 2 роки тому +5

      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

    • @RohitYadav-jt5lw
      @RohitYadav-jt5lw 2 роки тому

      @@rakshithg9669 thank u bro

    • @AlmightyBeing
      @AlmightyBeing 2 роки тому

      @@rakshithg9669 supposedly it was been deprecated since February, is there another way to fix this issue as it causes an error still?

  • @givermpmjohnst
    @givermpmjohnst 2 роки тому

    Has anyone successfully done this on Android 11 or Higher? Would you mind sharing the source code?

  • @SohelRana-eq2dj
    @SohelRana-eq2dj 3 роки тому

    Sir it's showing many errors please help?

  • @BảoMai-j9j
    @BảoMai-j9j 6 місяців тому

    when i crop, my app has stopped can someone explain for me

  • @TeluguLyricsMINT
    @TeluguLyricsMINT 3 роки тому +2

    Hi Bro. Please updated Android 11 support code. It's so many viewers request 👍

  • @user-lt9zt3xw6r
    @user-lt9zt3xw6r 3 роки тому

    Which app

  • @finvest01
    @finvest01 2 роки тому

    Showing class not fount error in the menifest file and

  • @nooruddin2646
    @nooruddin2646 2 роки тому

    Great sir

  • @BayyinahMedia
    @BayyinahMedia 2 роки тому

    Wow very nice bro...

  • @adityakumardas1275
    @adityakumardas1275 2 роки тому

    sir in java code is showing error

  • @marzieofsky
    @marzieofsky 2 роки тому +1

    So Coool😍👌🏻

  • @a-techmaster9223
    @a-techmaster9223 3 роки тому

    How to detect Bengali/Hindi Image to text...

  • @asiis181
    @asiis181 2 роки тому +2

    can u plz share source code link?

  • @janhavivarpe13
    @janhavivarpe13 2 роки тому

    Hi I am getting error in cropImage api

  • @whatsold4650
    @whatsold4650 2 роки тому

    Great video men

  • @jidmialam
    @jidmialam 3 роки тому

    wow awesome tutorial

  • @الموسوعةالعسكريةالمصرية-ط7و

    The crop library is no longer working...don't waste your time

    • @DEVO69
      @DEVO69 2 місяці тому

      Is ocr works??

  • @KARTHIKAYANIDSIT
    @KARTHIKAYANIDSIT 2 роки тому +1

    can i get the source code

  • @Apixdan
    @Apixdan 2 роки тому

    It appears this no longer works

  • @astridhernandez8749
    @astridhernandez8749 2 роки тому

    Thank you so much!

  • @sumit_soni
    @sumit_soni 2 роки тому

    This Library is not working

  • @rahulKaushal39
    @rahulKaushal39 3 роки тому

    "Cancelling, Required permission are not granted " Toast is coming ... How to solve This problem ?

    • @CodingWithEvan
      @CodingWithEvan  3 роки тому

      Allow camera permission to this app

    • @rahulKaushal39
      @rahulKaushal39 3 роки тому

      @@CodingWithEvan already Granted .. using Realme Phone...

    • @CodingWithEvan
      @CodingWithEvan  3 роки тому

      Maybe the issue is with scoped storage of Android 11.

    • @rahulKaushal39
      @rahulKaushal39 3 роки тому +1

      @@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 ??

    • @Sahil-cz7sq
      @Sahil-cz7sq 2 роки тому +1

      I am also facing same issue with android 11 will anyone plz tell how to resolve it,plz🥺

  • @rifatmiya3932
    @rifatmiya3932 2 роки тому

    nice video bro

  • @yusupovazamjon
    @yusupovazamjon 2 роки тому

    good job

  • @AlekThink
    @AlekThink 2 роки тому

    great thank u

  • @engineerzobayer5320
    @engineerzobayer5320 2 роки тому +1

    this apps can capture bangla language.

  • @luvjain4145
    @luvjain4145 7 місяців тому

    can u give source code of this

  • @kartavyapatel6051
    @kartavyapatel6051 3 роки тому

    Pls can you give the code

  • @JerrysTechCorner
    @JerrysTechCorner 3 роки тому

    Great video!

  • @sesionesremember222
    @sesionesremember222 3 роки тому

    amazing

  • @victorialeigh2726
    @victorialeigh2726 3 роки тому

    Evan, I ran the app but an error occurs when cropping the image.
    Regardless, thank you so much for your great tutorial :) !!!

    • @CodingWithEvan
      @CodingWithEvan  3 роки тому +2

      What's the error?

    • @victorialeigh2726
      @victorialeigh2726 3 роки тому +1

      @@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 :) !

    • @jamespolar6550
      @jamespolar6550 2 роки тому +1

      @@victorialeigh2726 hi how you solve that problem?

    • @victorialeigh2726
      @victorialeigh2726 2 роки тому

      @@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 :) !

  • @logeshack
    @logeshack 3 роки тому

    🤩🤩🤩

  • @allenliu7066
    @allenliu7066 2 місяці тому

    TY

  • @smith8h
    @smith8h 3 роки тому

    Pls reply to my comments I want it hardly for my app 🙏🏻