Тёмный

Optical Character Recognition with EasyOCR and Python | OCR PyTorch 

Nicholas Renotte
Подписаться 268 тыс.
Просмотров 136 тыс.
50% 1

Need to extract text from an image?
Tired of manually transcribing?
You need OCR!
OCR, also known as Optical Character Recognition allows you to 'recognise' text from within a document, whether it be an image, a PDF or a table. Leveraging OCR, you can easily extract this text to be able to use it for additional processing, NLP, or fit it into your regular workflow.
The great thing about EasyOCR (which is shown in the video) is that it works with Python and is quite accurate without any fine tuning, this means you can spend less time processing and more time doing the fun stuff. What's even better is that in this video you'll learn how to do it all in just 15 minutes.
In this video you’ll learn how to:
1. Setup and install EasyOCR and Pytorch
2. Use EasyOCR to extract text from an Image with Python
3. Extract multiple lines of text with OCR and handle the results
4. Visualise the results from the image using OpenCV
Get the training template here: github.com/nicknochnack/EasyOCR
Other Links Mentioned in the Video
PyTorch Install: pytorch.org/get-started/locally/
EasyOCR Documentation: github.com/JaidedAI/EasyOCR
OpenCV Documentation: opencv.org/
Oh, and don't forget to connect with me!
LinkedIn: / nicholasrenotte
Facebook: / nickrenotte
GitHub: github.com/nicknochnack
Happy coding!
Nick
P.s. Let me know how you go and drop a comment if you need a hand!

Наука

Опубликовано:

 

6 ноя 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 215   
@joefreundt
@joefreundt 2 года назад
Works like a charm for my project! So easy to use and with much better results that pyocr and other off-line ocr libraries. Thank you!
@philippemarquis2727
@philippemarquis2727 2 года назад
Awesome! Seriously it's my first time on your channel, and for sure not the last! Right to the point, and everything is working so good. I liked, I subscribed, I won over my problem! :-)
@m__link6499
@m__link6499 2 года назад
Nicolas your work is great! Is it possible to realize the same thing in react native? wich framework or library could you advice for that. Also, if I only want to extract for instance a date in the document that I capture, instead of all the text, is it possible ? thank you for your replying. Gos bless you!
@khoahuynh2809
@khoahuynh2809 2 года назад
Many thanks for your video. I have a simple questions. Can you teach how we can use another detection model for easyOCR instead of using default detection model (craft). Thank you very much !!!
@aytekors741
@aytekors741 Год назад
Is there any library to do the similar thing for a pdf file which has multiple pages?
@sreeananthakannan
@sreeananthakannan 2 года назад
The easiest way to read text........ awesome tutorial..........
@Petrusse468
@Petrusse468 3 года назад
Thank you so much for sharing ! Great vidéo!!
@NicholasRenotte
@NicholasRenotte 3 года назад
So glad you enjoyed it @Petrusse!
@ronaldchiu1997
@ronaldchiu1997 2 года назад
Thanks for the tutorial, I somehow did the install like u did and my Import easyocr does not run. The pip install does not give me any errors but when i import easyocr, the line of code buffer forever. What could be the problem? I did it on jupyter notebook. thankyou
@Anarky35
@Anarky35 Год назад
Thanks great vid. Can I use easyocr to decode scanned pdfs with multiple pages?
@LucasPinheiroV8
@LucasPinheiroV8 Год назад
Your video is great! Easy. I just have a difficulty when I installed the OCR because the Pillow version 10.0.0 descontinued the "ANTIALIAS" method. I needed to make a little change in the easyOCR lib to make it work. Thank you, man!
@alexanderfilippou5501
@alexanderfilippou5501 2 года назад
Amazing as always mate.
@onetrickguy7359
@onetrickguy7359 3 года назад
I have a very complex question. How do you make it commit certain actions if a certain text is read? Like a If/And statement. EG: If it reads "Clear" in the text and "New", how do I make it preform an action to the "New". I'm mainly asking for Lua but I'm pretty sure Lua and Python are relatively similar. If you could answer it would be a big help Thanks
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @OneTrick Guy, you could apply the logic as you would for most logic gates. E.g. In this case you would loop through each word for word in result: if word=='New": #trigger what you need here
@nostalgia18rishi
@nostalgia18rishi 2 года назад
accuracy, F1 score wise which is better in your experience easyocr or pytesseract?
@darmandransivapathasundram5380
@darmandransivapathasundram5380 7 месяцев назад
this was very useful, thank you. Is there a guide on EacyOcr fine tunning to improve the accuracy?
@hassanalhalabi7563
@hassanalhalabi7563 2 года назад
Hey, thank u for the nice video, is it possible for EasyOCR to deal with rotated Texts in Images by various degrees? or is there any Code to automatically correct the Orientation of the Images to read out the Text?
@NicholasRenotte
@NicholasRenotte 2 года назад
I believe it finds this hard. You can change the scanning pattern but dealing with unaligned text will be difficult.
@stilllearning4744
@stilllearning4744 2 года назад
Cannot install torch module always getting error Could not find a version that satisfies the requirement torch (from versions: none) and No matching distribution found for torch
@Jonas.Filipe
@Jonas.Filipe 2 года назад
Amazing video! Thanks!
@bambitousttous4311
@bambitousttous4311 2 года назад
Thanks for the tutorial ! Could you tell me please how to use a custom dictionary ?
@thevivek1408
@thevivek1408 2 года назад
Thanks for the tutorial! Mind if I ask your computer specs? The detection was blazing fast for you and that too using only CPU?! It takes at least 15-20 seconds on my laptop, and I'm wondering how I should speed up the detection because I plan to use it on a video, so I will end up passing every frame to easyocr.
@NicholasRenotte
@NicholasRenotte 2 года назад
Here you go, fastest way to speed it up would be to use a GPU. CPU: AMD Ryzen 7 3700X Wraith Prism GPU: Gigabyte GeForce RTX 2070 Super Windforce OC 8GB Motherboard: MSI MAG B550 Tomahawk RAM: Team T-Force Dark Z 32GB (2x16GB) 3200MHz CL16 DDR4 SSD: Kingston A400 2.5in SATA SSD 240GB
@Adx5344
@Adx5344 2 года назад
Hello, Don't use the ocr on every single frame, Choose the frames where the needed information is and apply the ocr. I used this way, and is way easier to run on my poor machine.
@robertcenusa8636
@robertcenusa8636 Год назад
This method works also for scanned pdfs or only images? Great video! 👍
@kmashal2
@kmashal2 2 года назад
for some reason the for loop does not work for me, it only show the last item in the list ??
@thelazydeveloper
@thelazydeveloper 2 года назад
i want to save all the detected text in the same order as in the image how can I do it please
@prasanthv2652
@prasanthv2652 9 месяцев назад
can you say what to do for vertical text extraction? is there any mothed?
@dharmagurram958
@dharmagurram958 3 года назад
First of all Thank you very much for sharing the great content. If I want to complete this task within a less time (even though it may not be much accurate), are there any other alternative available ? (As implementing this is in a realtime project expects to complete in less time.)
@NicholasRenotte
@NicholasRenotte 2 года назад
Yah, I've got a real time example now, check out ANPR vid on the channel :)
@rishabhmishra279
@rishabhmishra279 2 года назад
Hi Nicholas, Can we run/deploy OpenCv + easyocr in Aws lambda ?? Is that possible ?
@aloksheth7477
@aloksheth7477 3 года назад
Thanks for sharing. Really nice.
@NicholasRenotte
@NicholasRenotte 3 года назад
Anytime, thanks @Alok!
@manuthvann7560
@manuthvann7560 2 года назад
that was awsom Nicholas , but as i have checked the workable languages , I couldn't find khmer , so do you have any recommendation to any open source that work with khmer language ,looking forward to hearing back from you , thanks
@okopyl
@okopyl 8 месяцев назад
What is the best model for ocr which gives text this format: input - output - (not characted by character)? Ideally: - No bboxes - No additional input text - Fast - Accurate - Ideally easy to fine-tune with a dataset sample in an instruction - No need to specify boxes in a dataset for training
@pavankumarsarihaddu
@pavankumarsarihaddu Год назад
Hi sir thank you for your video,i have a doubt :- using the bounding box cordinates (like---([[758, 1106], [1210, 1106], [1210, 1148], [758, 1148]], 'TELEPHONE (Include Area Code)', 0.6403904183737966) HOW can i print the text "TELEPHONE" WORD
@sherjan29
@sherjan29 2 года назад
Is this helpful in handwritten images I am still confuse between tesseract and easy ocr kindly suggest
@goodbobonline9640
@goodbobonline9640 2 года назад
wasn't able to install easyocr, error code being RuntimeWarning: Pillow 8.2.0 does not support Python 3.10 and does not provide prebuilt Windows binaries. We do not recommend building from source on Windows. any ideas on a fix?
@gokudragonsoul
@gokudragonsoul 2 года назад
Isit possible for the ocr to scan the image text from my game (maplestory)
@LIMYEOWCHYE
@LIMYEOWCHYE 3 года назад
Hi for my case, im trying to detect the vehicle plates and i did everything similar to urs except changing the pictures but im not sure why is my accuracy so low, ranging from 0.38-0.46..
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @Zhongwei, try out the new tutorial, it's way more accurate: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0-4p_QgrdbE.html
@nkk0823
@nkk0823 Год назад
Hi Nick, Reader is taking very very long time to complete even 5% and gets ended with "ConnectionEndedwitherror" at around 6% .. why its taking this much time.. Is there any offline method? Note: my connection speed is 40Mbps.
@tinky5418
@tinky5418 Год назад
Amazing content!! Can you compare it with PaddleOCR next time? I heard it works great in some cases.
@hamidsafiullahawan3433
@hamidsafiullahawan3433 Год назад
can we use this library to use ocr for webcam?
@blueraventy
@blueraventy Месяц назад
how to apply this but using web camera? the characters that are detected and extracted from the web camera will be displayed on LCD through Arduino?
@Koroistro
@Koroistro 2 года назад
What are the option for GPU acceleration for AMD GPUs? Besides using Linux (I'm running W10).
@NicholasRenotte
@NicholasRenotte 2 года назад
I believe development is being done with ROCm but it's still very early days.
@SD-rg5mj
@SD-rg5mj Год назад
hello, does this technology also allow me to ask him to describe images to me? anyway thank you so much for this video
@jeffspeer8579
@jeffspeer8579 3 года назад
Is it possible to only target a predetermined text on an image to by pulled? Scenario, I would like to scan ID card numbers, I do not care about any of the other text in the image (ID card). All ID's have the same static number of digits, all numbers, in case that helps. Thanks
@NicholasRenotte
@NicholasRenotte 3 года назад
Could isolate the numbers then apply OCR, it's usually done with a two part detector, I do something similar for extracting license plates (could use the same pipeline): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0-4p_QgrdbE.html
@expertchannel5448
@expertchannel5448 3 года назад
Will it work with randomly rotated characters like in some captchas?
@NicholasRenotte
@NicholasRenotte 3 года назад
Haven't actually tested that out @Expert Channel.
@atifasadkhan
@atifasadkhan 3 года назад
Oh man you got a good list of videos
@NicholasRenotte
@NicholasRenotte 3 года назад
Thanks @Atif, right now there's 213 videos on the schedule planned!!
@NicholasRenotte
@NicholasRenotte 3 года назад
Well @@remedytee, I try to start off simple and easy to understand so we can dive into more hardcore examples like this: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-NApYP_5wlKY.html
@ravihalappanavar784
@ravihalappanavar784 2 года назад
I am having problem differentiating between O and 0 , 2 and Z while character extraction from Image using EasyOcr . Can anyone suggest solution for this
@abdullahrehman7321
@abdullahrehman7321 9 месяцев назад
if we use this to scan passport , i get all the results correctly but how to get values from the labels yes i can use if statement but the data is not sorted there is no pattern so i dont always know that when label date of birth is found at what index its value is. can you help me with it?
@anybcd
@anybcd 2 года назад
The tuts is well explained and i got everything working following your tut. But I got this error when trying to display the rectangles bounding boxes any assistance 5 text = detection[1] 6 font = cv2.FONT_HERSHEY_SIMPLEX ----> 7 img = cv2.rectangle(img, text, top_left, bottom_right, (0,255,0), 5) 8 img = cv2.putText(img, text, top_left, font,2, (0,255,0),2, cv2.LINE_AA) 9 error: OpenCV(4.5.4) :-1: error: (-5:Bad argument) in function 'rectangle' > Overload resolution failed: > - Can't parse 'pt1'. Expected sequence length 2, got 3 > - Can't parse 'pt1'. Expected sequence length 2, got 3 > - Can't parse 'rec'. Expected sequence length 4, got 3 > - Can't parse 'rec'. Expected sequence length 4, got 3
@mikecooper8142
@mikecooper8142 3 года назад
which one works faster tesseract-ocr or easy-ocr? how to run them with gpu?
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @Mike, I think tesseract is faster but requires more preprocessing compared to easy-ocr which is heavily GPU reliant. Easy-OCR should run on your GPU as long as you have PyTorch configured to leverage GPU acceleration.
@chuksgrinage7238
@chuksgrinage7238 3 года назад
Great stuff!
@NicholasRenotte
@NicholasRenotte 3 года назад
Thanks 🙏 so much @Chuks Grinage!
@vikashchand.
@vikashchand. 3 года назад
Cool Movember look! 🖖😂
@NicholasRenotte
@NicholasRenotte 3 года назад
🤣thanks @Vikash, it's getting there, slowly evolving from seedy mo to full blown 'stache.
@zaccariamajid341
@zaccariamajid341 3 года назад
Awesome videos!
@NicholasRenotte
@NicholasRenotte 3 года назад
Thanks so much 🙏
@abdisalame
@abdisalame 2 года назад
I am getting this error message: error: Unknown C++ exception from OpenCV code How to solve it?
@julycarolinaarevaloleon4536
@julycarolinaarevaloleon4536 3 года назад
thanks was helpful to me, do you have any video about image enhancement?
@NicholasRenotte
@NicholasRenotte 3 года назад
Not yet @July but it's planned!
@zharifarzaq5236
@zharifarzaq5236 2 года назад
i'm new with this, can we use the camera and detect it like object detection for this code?
@NicholasRenotte
@NicholasRenotte 2 года назад
Sure can!
@mansisain898
@mansisain898 2 года назад
I am getting the error as "UNKNOWN C++ EXCEPTION FROM OPENCV CODE" again and again after processing image please help me
@h-electronics602
@h-electronics602 3 года назад
Hello Nicholas When I am trying to run (reader) in section1 with GPU. I am getting : "CUDA error: no kernel image is available for execution on the device" Any Suggestions? :)
@NicholasRenotte
@NicholasRenotte 3 года назад
Got the right version of CUDA/cuDNN installed?
@h-electronics602
@h-electronics602 3 года назад
@@NicholasRenotte I am using cuda 10.1 and cudnn 7.6.5
@NicholasRenotte
@NicholasRenotte 3 года назад
@@h-electronics602 hmmm, are you running an Nvidia GPU?
@aellijon
@aellijon 2 года назад
what if i have a lot of dataset images?
@NicholasRenotte
@NicholasRenotte 2 года назад
Could try looping through them, would likely need some post processing or preprocessing to get clean results however!
@aellijon
@aellijon 2 года назад
@@NicholasRenotte can you make a tutorial , with datasetsss plss 😭
@lebaolochuynh4222
@lebaolochuynh4222 3 года назад
i dont see you do the preprocessing data. So is it still good without that?
@NicholasRenotte
@NicholasRenotte 3 года назад
Sure is! EasyOCR is way more resilient without doing multiple layers of filters
@mvaabox7092
@mvaabox7092 2 года назад
@@NicholasRenotte How is it different from PyTesseract? In your opinion, which one is better? Which one do you recommend?
@jaavz8113
@jaavz8113 3 года назад
Would this be able to recognize hand writing as well
@NicholasRenotte
@NicholasRenotte 3 года назад
Nope, it works best for computer generated text! Check out handwriting models for written text.
@HayotRahimov
@HayotRahimov 2 года назад
Hi Nickolas, I really like your tutorials. they are the best for me. Can you please do this with "skew"ing the image?
@HayotRahimov
@HayotRahimov 2 года назад
Thanks for your efforts.
@NicholasRenotte
@NicholasRenotte 2 года назад
Will give it a crack!
@shineori4078
@shineori4078 3 года назад
Is there a way to capture text from your screen and not an image. I want it to capture my desktop programs, like capturing the numbers in my game thats running in windowed mode and store that number in a txt or some kind of docu
@NicholasRenotte
@NicholasRenotte 3 года назад
Definitely, you could use an additional library like mss to capture your screen (or a region of your screen) e.g. stackoverflow.com/questions/35097837/capture-video-data-from-screen-in-python/54246290
@shineori4078
@shineori4078 3 года назад
@@NicholasRenotte Omg I love you so much.... you have no idea how long I've been looking for something like this, thank you so damn much lol
@NicholasRenotte
@NicholasRenotte 3 года назад
@@shineori4078 right back at ya 😍! Let me know how you go!
@kamalnath9369
@kamalnath9369 2 года назад
how can i do the same with cv video please someone tell i mean by using webcam as input
@isaacmoore3639
@isaacmoore3639 2 года назад
This does not work with easyocr conflicting with python 3.10. Do you have any resources on running easyocr with this limitation?
@NicholasRenotte
@NicholasRenotte 2 года назад
Try paddleOCR instead @Isaac, way easier to get up and running.
@timf7599
@timf7599 2 года назад
Hello, I try to make it work for me for a water meter recognition software but it doesn't even want to recognize the surf picture. It gives me an "I" with 1% accuracy... U have any idea maybe?
@NicholasRenotte
@NicholasRenotte 2 года назад
Ya, try PaddleOCR instead, super accurate (and faster): ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-t5xwQguk9XU.html Ensure your images are clear and ideally close!
@user-cg9jt7mq9d
@user-cg9jt7mq9d 7 месяцев назад
hello sir, with your videos it is so easy and helpful for me. actually i doing a project where i am stuck, can you plz help me in that. I want to create a project where, if i pass a image as input the model gives the info present in that image, like item name, quantity, price from that image. can you plz provide me how i will do that.
@soulcracker23
@soulcracker23 5 дней назад
Great Video!! can it read PDF???
@RAZZKIRAN
@RAZZKIRAN 3 года назад
thank u , if folder contains set of images, how to extract text from each image from that folder of images, how to display
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @Raju, you can loop through each file in the folder and run the same code!
@RAZZKIRAN
@RAZZKIRAN 3 года назад
@@NicholasRenotte will it work for hand written text? please provide code to extract text from group of images as input
@RAZZKIRAN
@RAZZKIRAN 3 года назад
@@NicholasRenotte thank u Nicholas
@NicholasRenotte
@NicholasRenotte 3 года назад
@@RAZZKIRAN it works best on non-handwritten text, for hand written characters you might choose to use a DL model instead.
@karthickm2349
@karthickm2349 2 года назад
how to change the size of the ocr box
@utkarshsingh3173
@utkarshsingh3173 2 года назад
I'm getting no module named as easyocr but i installed all packages
@dmitricherleto8234
@dmitricherleto8234 2 года назад
Do you have the resources for online handwritting recognition? Thank you.
@NicholasRenotte
@NicholasRenotte 2 года назад
Nothing atm unfortunately @Dmitri
@BLAXE-vm3ms
@BLAXE-vm3ms 3 года назад
I Am facing an issue while importing easyocr, as my kernel goes dead when i try to import it in jupyter notebook, please help
@NicholasRenotte
@NicholasRenotte 3 года назад
Hmmm, any errors in the terminal?
@aakashmittal8598
@aakashmittal8598 Месяц назад
How can we extract data efficiently from OCR, if we've to fetch data from screen(like Laptop screen). Can you please share any source?
@aiml_44_sourikpoddar49
@aiml_44_sourikpoddar49 Месяц назад
Did you find anything?
@dhanashreevenkatachalam4258
@dhanashreevenkatachalam4258 3 года назад
Is it work with Windows?? or only with Mac and Linux??
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @dhanashree, should be able to run on all three!
@user-pr8kl2pb9u
@user-pr8kl2pb9u 3 года назад
Can I use easyocr with raspberry pi?? I failed to install it ..
@NicholasRenotte
@NicholasRenotte 3 года назад
Hmm, haven't tried it. What errors are you getting?
@TheVideoVolcano
@TheVideoVolcano Год назад
If anyone struggles to install torch, as of 31/01/23 you must have python 3.9 interpreter installed and selected in the text editor you are using. Doesn't work with python311 like I was trying firstly.
@frostieff
@frostieff 2 года назад
Thanks so much for the video however im having an issue. I run the code in Sublime Text: import easyocr import cv2 from matplotlib import pyplot as plt IMAGE_PATH = 'sign.jpeg' reader = easyocr.Reader(['en'], gpu=False) result = reader.readtext(IMAGE_PATH) result And shows this: Using CPU. Note: This module is much faster with a GPU. [Finished in 4.3s] It doesnt output anything but doesnt say it failed . Im sure i installed all the packages.
@NicholasRenotte
@NicholasRenotte 2 года назад
Change result to print(result)
@megankociscak6619
@megankociscak6619 2 года назад
@@NicholasRenotte Thank you for the video! I'm having a similar issue but I keep getting "CUDA not available - defaulting to CPU. Note: This module is much faster with a GPU." And then a long list of Traceback calls. Can you help me with this? (I'm on a mac using VScode)
@nutchateangkool209
@nutchateangkool209 Год назад
@@megankociscak6619 Could you solve this problem?
@nipunkhare
@nipunkhare 3 года назад
How can we do this exact same thing with a video? I want to extract text from a video clip with no sound, can you please help?
@NicholasRenotte
@NicholasRenotte 3 года назад
Try this out, best example I've done of it so far: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0-4p_QgrdbE.html
@koppuladattatreya1623
@koppuladattatreya1623 3 года назад
Can we extract text from specific position or location from an image using this ocr ???
@NicholasRenotte
@NicholasRenotte 3 года назад
Definitely @Koppula! You can filter the region using numpy indexing then apply the OCR. I show how to do this in the latest ANPR tutorial in fact: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0-4p_QgrdbE.html
@koppuladattatreya1623
@koppuladattatreya1623 3 года назад
@@NicholasRenotte wow🤩 thank you so much I am looking exactly for this type of filtering. I will share this to my frdz amazing video. Keep it up bro ,a big shout out to you 😉
@jonathanbush5915
@jonathanbush5915 2 года назад
Is anyone getting this error for easyocr? zipfile.BadZipFile: File is not a zip file This line is producing the error: reader = easyocr.Reader(['en', 'ch_tra'], gpu=False)
@bhupeshpattanaik7150
@bhupeshpattanaik7150 2 года назад
will it work for handwritten text too ?? ... please reply 😀
@NicholasRenotte
@NicholasRenotte 2 года назад
Nope, mainly for computer generated text!
@rabeemohammed5351
@rabeemohammed5351 2 месяца назад
please can you make video how can train easyOcr?
@ramkrishnachoudhary633
@ramkrishnachoudhary633 2 года назад
Sir kindly do a video for handwritten text recognition also...... Thank you
@SANJEEVKUMAR-ro1pk
@SANJEEVKUMAR-ro1pk 3 года назад
Hello sir i am very much interested in deep learning projects and want to implement them in tenserflow android , is there any play list available your to teach tenserflow from scratch?
@NicholasRenotte
@NicholasRenotte 3 года назад
Nothin for Android yet @Sanjeev but I've got some React Native stuff coming soon!
@rajeshkumar-lr1um
@rajeshkumar-lr1um 3 года назад
I have developed android app but extraction process is on Google colab and save in firebase after save result fetch in android
@NicholasRenotte
@NicholasRenotte 3 года назад
@@rajeshkumar-lr1um ha cool!!
@LudoFangzou
@LudoFangzou 3 года назад
How to save a specific line into a specific file sir ?
@NicholasRenotte
@NicholasRenotte 3 года назад
Like save a single line from the OCR detections @Ludo?
@adrielbaron8818
@adrielbaron8818 2 года назад
hey bro, I am getting a name error which says 'name 'easyocr' is not defined' . Can u help me getting out with this issue
@NicholasRenotte
@NicholasRenotte 2 года назад
Got it installed into the same environment? Double check that it is by running !pip list from the same place you're trying to install it from.
@ogulcanozdemir9448
@ogulcanozdemir9448 2 года назад
@@NicholasRenotte I've got the same problem. When run import easyocr, aslo writes version: 1.4.1
@amitdutta3875
@amitdutta3875 3 года назад
is it possible to detect unknown language from a image??
@NicholasRenotte
@NicholasRenotte 3 года назад
Ah, I think it has certain supported languages. If it's unknown it's kinda hard to detect or work it out.
@saumitradixit5463
@saumitradixit5463 2 года назад
Whenever i am trying to easyocr.readtext terminal is showing me name error easyocr how to solve
@NicholasRenotte
@NicholasRenotte 2 года назад
Tbh, switch over to PaddleOCR, way more accurate! ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-t5xwQguk9XU.html
@ridhazaghdoud6208
@ridhazaghdoud6208 3 года назад
Very good work, I'm going to ask a question how to do if there are two languages on the same picture.thanks
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @Ridha, you could perform multi-language detection by running over the image using a second OCR model in a different language!
@ridhazaghdoud6208
@ridhazaghdoud6208 3 года назад
@@NicholasRenotte thank you for answering me, it is good it is done but for the display of the text in Arabic in the form of question marks."???????????"
@NicholasRenotte
@NicholasRenotte 3 года назад
@@ridhazaghdoud6208 hmm, just checking, you loaded up the Arabic OCR model?
@ridhazaghdoud6208
@ridhazaghdoud6208 3 года назад
@@NicholasRenotte yes i loaded two language latin and arabic. latin is well displayed but arabic text no,the characters are question marks.
@NicholasRenotte
@NicholasRenotte 3 года назад
@@ridhazaghdoud6208 can you share the image, I can test it out?
@sujaymhaske7157
@sujaymhaske7157 3 года назад
i dont want the program to print the coordinates and accuracy , what can be done
@NicholasRenotte
@NicholasRenotte 3 года назад
Just wrap them in a separate print statement and print what's needed. E.g. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-0-4p_QgrdbE.html
@kingfunny4821
@kingfunny4821 7 месяцев назад
How to can train it
@septimusseverus252
@septimusseverus252 3 года назад
Does it support other languages?
@NicholasRenotte
@NicholasRenotte 3 года назад
Sure does, it can handle a bunch: github.com/JaidedAI/EasyOCR
@nutchateangkool209
@nutchateangkool209 Год назад
i m facing below issue File "E:\Python\Pratics\venv\lib\site-packages\easyocr\easyocr.py", line 90, in init download_and_unzip(detection_models[detector_model]['url'], detection_models[detector_model]['filename'], self.model_storage_directory, verbose) File "E:\Python\Pratics\venv\lib\site-packages\easyocr\utils.py", line 586, in download_and_unzip urlretrieve(url, zip_path, reporthook=reporthook) File "C:\Users\Onkar\AppData\Local\Programs\Python\Python38\lib\urllib equest.py", line 283, in urlretrieve reporthook(blocknum, bs, size) File "E:\Python\Pratics\venv\lib\site-packages\easyocr\utils.py", line 686, in progress_hook print(f' {prefix} |{bar}| {percent}% {suffix}', end = printEnd) File "C:\Users\Onkar\AppData\Local\Programs\Python\Python38\lib\encodings\cp1252.py", line 19, in encode return codecs.charmap_encode(input,self.errors,encoding_table)[0] UnicodeEncodeError: 'charmap' codec can't encode character '\u2588' in position 12: character maps to Plz suggest what need to do for download reader model
@sokharsamb3518
@sokharsamb3518 3 года назад
Great stuff but it possible to use easyocr for handwriting ?
@NicholasRenotte
@NicholasRenotte 3 года назад
TBH it doesn't perform that well on handwriting. You're better off looking into Deep Learning approaches.
@sokharsamb3518
@sokharsamb3518 3 года назад
@@NicholasRenotte thanks
@NicholasRenotte
@NicholasRenotte 3 года назад
@@sokharsamb3518 anytime!
@landrynoulawe1565
@landrynoulawe1565 3 года назад
Hello Sokhar, what a coincidence !?
@sokharsamb3518
@sokharsamb3518 3 года назад
@@landrynoulawe1565 hi Landry, are you also working on handwriting?
@kishoresinghshekhawat543
@kishoresinghshekhawat543 3 года назад
Hey dear! Why you use numpy here?
@NicholasRenotte
@NicholasRenotte 3 года назад
Heya @Kishore, nope you're right, looks like I had it in for another tutorial!
@famouscitycreatives
@famouscitycreatives 3 года назад
this done on windows platform right?
@NicholasRenotte
@NicholasRenotte 3 года назад
Windows OS yup!
@younesdakir8929
@younesdakir8929 2 года назад
I HAVE AN END OF STUDY PROJECT AND I AM VERY LATE WITH A SUBJECT WHICH IS VERY COMPLICATED If you or someone can help me please
@prasanthv2652
@prasanthv2652 9 месяцев назад
like this we can extract the vertical text in a image
@dedisupardi2815
@dedisupardi2815 2 года назад
Cool
@leanghanh9924
@leanghanh9924 2 года назад
nice
@chetanyadav1562
@chetanyadav1562 2 года назад
Can we add this project in our resume?😅
@NicholasRenotte
@NicholasRenotte 2 года назад
YEAHYA! Go for it!
@senpaikun5947
@senpaikun5947 3 года назад
can I use pycharm instead of jupyter notebook ?
@NicholasRenotte
@NicholasRenotte 3 года назад
Yup, save the notebook as a .py script from within Jupyter and then you just need to remove the Notebook magic commands e.g. !pip list
@koppuladattatreya1623
@koppuladattatreya1623 3 года назад
Can we try this in notepad++?
@senpaikun5947
@senpaikun5947 3 года назад
@@NicholasRenotte oh .... what i actually wanna ask is typing the code in pycharm and running the code in pycharm.. without using notebook
@NicholasRenotte
@NicholasRenotte 3 года назад
@@koppuladattatreya1623 yup, just have to convert the code .py which you can do from the Jupyter Notebook server then remove any Notebook magic commands e.g. !pip list...
@koppuladattatreya1623
@koppuladattatreya1623 3 года назад
@@NicholasRenotte ok let me try... thank you 😁
@dzdrum5380
@dzdrum5380 3 года назад
How to change "font = cv2.FONT_HERSHEY_SIMPLEX" to another font that support Another language .
@NicholasRenotte
@NicholasRenotte 3 года назад
Here you go, there's a bunch here: docs.opencv.org/3.1.0/d0/de1/group__core.html#ga0f9314ea6e35f99bb23f29567fc16e11
Далее
Introduction to OCR (OCR in Python Tutorials 01.01)
12:08
100+ Linux Things you Need to Know
12:23
Просмотров 56 тыс.
Me: Don't cross there's cars coming
00:16
Просмотров 8 млн
PyTorch in 100 Seconds
2:43
Просмотров 856 тыс.
Automatic OCR Receipt & Invoice Parsing in Python
15:56
Custom Data Training with EasyOCR
6:12
Просмотров 3 тыс.
Text Detection using Neural Networks | OPENCV Python
1:26:24
Deep Drowsiness Detection using YOLO, Pytorch and Python
1:18:35
When you have 32GB RAM in your PC
0:12
Просмотров 544 тыс.
S-Pen в Samsung достоин Золота #Shorts
0:38
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00