Extract Text From Images in Python (OCR)

  Рет қаралды 293,346

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 107
@StephenBeale
@StephenBeale Жыл бұрын
Page segmentation modes: O Orientation and script detection (OSD) only 1 Automatic page segmentation with OSD. ‘ 2 Automatic page segmentation, but no OSD, or OCR. 3 Fully automatic page segmentation, but no OSD. (Default) 4 Assume a single column of text of variable sizes. 5 Assume a single uniform block of vertically aligned text. 6 Assume a single uniform block of textJ 7 Treat the image as a single text line. 8 Treat the image as a single word. 9 Treat the image as a single word in a circle. 10 Treat the image as a single character. 11 Sparse text. Find as much text as possible in no particular order. 12 Sparse text with OSD. 13 Raw line. Treat the image as a single text line, bypassing hacks that are Tesseract-specific.
@hpbbx
@hpbbx 6 ай бұрын
wheres the code
@mishudhar3746
@mishudhar3746 8 ай бұрын
Your video helped a lot than university. Thank you so much. I can't express how much it helped.
@foxii5573
@foxii5573 Жыл бұрын
I never thought Nacho would teach me Python
@2ru2pacFan
@2ru2pacFan 3 жыл бұрын
Thank you dude! Exactly what I was looking for! Suggestion, do you think you can make a video on Google Drive and Python?
@zackjennings4355
@zackjennings4355 11 ай бұрын
do you have any videos on training tesseract to better recognize say a different font?
@borisveselov8421
@borisveselov8421 9 ай бұрын
Thank you for your tutorials! I have a question: what would be the best way to extract a specific information, such as invoice number or purchase order number. Let’s say there are many different vendors, maybe over 100 vendors. And every vendor has invoice number in different parts of the document. What technique would be used to perform this kind of ocr?
@NeuralNine
@NeuralNine 9 ай бұрын
That's quite difficult. I don't think there is a very simple solution to this. But one idea is to use regular expressions if you know the format of the numbers for each vendor.
@borisveselov8421
@borisveselov8421 9 ай бұрын
@@NeuralNine thank you. I agree that regex is a decent way to achieve this. What do you think about creating a template for each vendor?
@MedoHamdani
@MedoHamdani 7 ай бұрын
Is it possible to export it into an online document automatically, then it get checked by A.I to detect any mistakes or misspelling words, so the user can automatically and quickly fix them up one by one, by jumping from one word to another. Would this work on manuscripts such as Arabic language, and is there a way to train the machine to recognise the characters of Arabic including Tashkeel. Thanks
@kaitaojiang5839
@kaitaojiang5839 2 жыл бұрын
According to my tests, PaddleOCR works better than tesseract in most scenes.
@samajanjua9625
@samajanjua9625 2 жыл бұрын
Plzz share code
@coyoteden8111
@coyoteden8111 Жыл бұрын
It's all about tesserocr
@aimalrafi7718
@aimalrafi7718 9 ай бұрын
im looking for library that can take cursive writing to readable writing. Do you think paddleocr can do the job
@desmondchia2013
@desmondchia2013 2 жыл бұрын
hi, the cv2.fucntion was highlighted and cannot run. no errors either. import cv2 done. opencv-python installed....all done. how to resolve?
@mars-cs4uk
@mars-cs4uk 2 жыл бұрын
Awesome video. It would be nice if we can use the phone to do the same photo to text conversion.
@oleidergonzalezvetancourt4952
@oleidergonzalezvetancourt4952 Жыл бұрын
Did you find something?
@bobross3522
@bobross3522 Жыл бұрын
This would be really cool
@miftaumatanmi6853
@miftaumatanmi6853 4 ай бұрын
Possible but you'd need an web app or mobile app.
@DhruvalBhinsara
@DhruvalBhinsara 3 жыл бұрын
you always bring this awesome videos .
@MananGandhi
@MananGandhi 3 жыл бұрын
Your videos are amazing
@NeuralNine
@NeuralNine 3 жыл бұрын
thanks!
@danielrichard6894
@danielrichard6894 8 ай бұрын
Am running tbe code in jupyter Notebook but am having insure installing the different packages like tesseract
@otiopo7459
@otiopo7459 3 жыл бұрын
I was looking for this
@arek7198
@arek7198 Жыл бұрын
Thanks, nice example, good work.
@szymonandrzejewski6087
@szymonandrzejewski6087 10 ай бұрын
Can I put this kind of a program on the web server, get data from webhooks, process them with OpenCV + Tesseract, and then send processed data back to the input server? Actually I mean if the tesseract and whole program can work on server environment?
@SD-rg5mj
@SD-rg5mj Жыл бұрын
hello could you advise me an artificial intelligence, I have photos of jewelry and I would like this one to give me the description in SEO and then the generated text goes directly into a Google sheet anyway thank you very much for your videos
@ammadkhan4687
@ammadkhan4687 10 ай бұрын
Hi, do you have any video on Azure Function App using Python as a Scripting Language to run the python script in Azure Function app?
@matheus.tecchio
@matheus.tecchio 9 ай бұрын
Can I use that to read numerical values? I'm creating a project that I can read every day my energy usage with a camera
@eiskaffe0
@eiskaffe0 2 жыл бұрын
Thanks. Great video!
@invinciblenoman
@invinciblenoman 3 жыл бұрын
I am facing this error. Anyone Can help me? PermissionError: [WinError 5] Access is denied
@JuanDelaCruz-uq1vt
@JuanDelaCruz-uq1vt 8 ай бұрын
Not for everyone. Too complex.
@andrefelix9794
@andrefelix9794 3 ай бұрын
if coding eas easy, everyone would do it :)
@gpulogic4ai
@gpulogic4ai Жыл бұрын
OK followed that and used a very CLEAR input image and VERY VERY VERY clear human readable font. Tesseract in all its paramaters totally face plants. It totally totally fails it is so bad!
@anilsharma32g
@anilsharma32g Жыл бұрын
Dear Sir, I am your Subscriber I want to create a tool that finds text errors in the image. For Example: I forgot to write CONTACT US, BUY NOW, CONTACT NUMBER, SPELLING MISTAKE, etc... in my social media post. that the tool finds error and suggests what are missing or what is incorrect in social media post. 🙏 Please guide me and suggest what course I need to buy or what I need to learn to create this tool Thank you
@Than_31
@Than_31 Жыл бұрын
how do you make it extract text from what is currently on ur screen? and store it in a variable which changes each time because each time whats stored on ur screen is different
@daveg3651
@daveg3651 Жыл бұрын
Screenshot screen, scan screenshot, store to file
@timahern1017
@timahern1017 2 ай бұрын
would this work on handwritten text?
@2862_AKASHDEEP
@2862_AKASHDEEP 7 ай бұрын
Please tell me if I use what I learn in this video in any commercial app of my own, is it legal? I am in 1st year of college and need to know these rules
@sujanmuppavarapu8281
@sujanmuppavarapu8281 6 ай бұрын
Why would you think its illegal. Its an open source repo of course its legal. My suggestion learn any tech stack and implement it and deploy
@ryanjcole
@ryanjcole Жыл бұрын
Hey mate- -- any chance these files might be in a repo somewhere for reference?
@hemantchauhan6437
@hemantchauhan6437 8 ай бұрын
NEED HELP! I am making a website where user can upload a pdf but I want that pdf to upload only if that pdf has images of only HANDWRITTEN text. Thank you for reading.
@llmll6447
@llmll6447 8 ай бұрын
I am working on the same project as u
@llmll6447
@llmll6447 8 ай бұрын
Did u find anything ?
@hemantchauhan6437
@hemantchauhan6437 8 ай бұрын
Nope🥲..Please let me know if you find anything
@samuraigaming0
@samuraigaming0 Жыл бұрын
tesseract thinks 7 is 1 for me, is there anything i can do, its also not so good at detecting dots
@kapilbhatia1012
@kapilbhatia1012 Жыл бұрын
hi there. awesome video. i wanted to ask that if i want particular data only from an image is it possible?
@honkersandslug8134
@honkersandslug8134 Жыл бұрын
did you figure it out
@mukilanru
@mukilanru 4 ай бұрын
​@@honkersandslug8134 Did you?
@donnaesperas3739
@donnaesperas3739 4 ай бұрын
How about it is in the '.pdf' document but contains image?
@NeuralNine
@NeuralNine 4 ай бұрын
First extract the image(s) from the PDF and then perform the OCR.
@chinagopireddyravuri4007
@chinagopireddyravuri4007 2 жыл бұрын
I need a help from you. I think you know ICR right (INTELLIGENT CHARACTER RECOGNITION) . We are trying to implement that in deep learning. But we don't have segmentation for image. Our algorithm is good for normal hand writting but cursive handwriting which is having high storks. Please help me out for word segmentation brother, Thankyou, hope you will help me.
@varraakhil9869
@varraakhil9869 Жыл бұрын
Will this work for captcha images? can anyone please answer
@DrU387
@DrU387 9 ай бұрын
Can anyone tell me why someone use python or paddle or these things that require coding and does not use a ocr program like pdf element or pdf acrobat or any online ocr , why i use coding thing ???
@abhimonarch9596
@abhimonarch9596 9 ай бұрын
first of all it is free and let u automate task the only reason to use ocr....i have to say after extraction of 1000 images each image data i want to properly arrange in excel too. So python helps a lot working with ocr
@DrU387
@DrU387 9 ай бұрын
@@abhimonarch9596 I have a lot of scanned images maybe reach 10000 images and the number will inceease i want to convert all of that to microsoft word files with the same original formatting and tables and pictures all that i want to keep it ,can you tell me the best way to do that ?
@vivekan97
@vivekan97 3 жыл бұрын
Nice tutorial. Can you post a Tutorial on how to extract tabular data in OCR Python
@kewalmishra7870
@kewalmishra7870 2 жыл бұрын
Hi did you find any solution for tabular data extraction using ocr?
@abdulwajid6725
@abdulwajid6725 2 жыл бұрын
Hi did you find any solution for tabular data extraction using ocr?
@stefano8840
@stefano8840 Жыл бұрын
Hi did you find any solution for tabular data extraction using ocr?
@honkersandslug8134
@honkersandslug8134 Жыл бұрын
plz find one@@stefano8840
@ttgboi6734
@ttgboi6734 Жыл бұрын
Hi did you find any solution for tabular data extraction using ocr?
@viviannjuguna3127
@viviannjuguna3127 2 жыл бұрын
wish to test this code on my localhost,where can i find it?
@anormalzz
@anormalzz 2 ай бұрын
thank you verymuch
@KhalilYasser
@KhalilYasser 3 жыл бұрын
Awesome. Thanks a lot. Can you share the code as I am lost at some point?
@NeuralNine
@NeuralNine 3 жыл бұрын
I don't share code for small tutorials. I explain why in my Q&A.
@Foxlaren
@Foxlaren Жыл бұрын
@@NeuralNine can u help me continue this project by exporting to csv file.
@shepherdchitedze6169
@shepherdchitedze6169 2 жыл бұрын
I am looking for something like this but which scans passport mrz
@Black-wj1tu
@Black-wj1tu 10 ай бұрын
If you found sth send help please I’m stuck :(
@shashidhardevraj
@shashidhardevraj Жыл бұрын
I am working handwritten text extraction from the image which is non english. I tried using tesseract for extract. but the accuracy is very poor. Could any one please let me know if there is any lib available for extraction?
@HamzaSaleem-x2o
@HamzaSaleem-x2o Жыл бұрын
no there is not , I have the same problem , I have tried many packages none of them is advanced enough to detect handwritten text until it is written in very clear handwriting.
@sulekha3771
@sulekha3771 2 жыл бұрын
How would I go about it using a MacBook ?
@axscs1178
@axscs1178 2 жыл бұрын
You can use a jupyter Notebook and use pytesserect, similar to what he does at 02:58
@hamyaff7321
@hamyaff7321 2 жыл бұрын
How to extract pixels for a TIFF image and be white and black and they do inside his matrix use Python
@I___Steep___I
@I___Steep___I 2 ай бұрын
Kommst du etwa aus Mannheim mein guter?
@joswadsouza8362
@joswadsouza8362 3 жыл бұрын
Second 🔥🔥🔥best project
@NeuralNine
@NeuralNine 3 жыл бұрын
^^
@FrankLena-i8r
@FrankLena-i8r 2 ай бұрын
Elise Landing
@saivivek5563
@saivivek5563 3 жыл бұрын
Bro please post a video that extract tabular data from image and pdf except using tabula, camelot,table -ocr,... All libraries I used none of them are working plzzz..
@kaleblub
@kaleblub Жыл бұрын
I am getting into Django development, so I'm a little new to that, but do you think it's possible to run this feature on a Django site? It should be possible right? Basically anything python can do, just on the web..
@Anonymous-tm7jp
@Anonymous-tm7jp Жыл бұрын
yep obiviously
@poojabhandari631
@poojabhandari631 Жыл бұрын
i want to convert pdf to excel ....how i can do
@rayanibrahimbenatallah7278
@rayanibrahimbenatallah7278 Жыл бұрын
to a csv file, u need to extract the text first, then save the string in a file, and u can read the file with pandas and give it the separator.
@bhojpurishorts2109
@bhojpurishorts2109 Жыл бұрын
How to create txt extractor bot please help ❤❤
@WesleyKerr-n7l
@WesleyKerr-n7l 2 ай бұрын
Hadley Highway
@Who_____Am_____i
@Who_____Am_____i Жыл бұрын
how to protect text from ocr scanning ?? 😢😢
@cavalfou
@cavalfou Жыл бұрын
make bad looking text, write it by hand ? do weird letters XD
@Who_____Am_____i
@Who_____Am_____i Жыл бұрын
@@cavalfou No brother its not written by hand.... i am doing legal drafting work.... some people ask me for pdf or JPEG files for drafting chekout...... now days someone know about ocr scanning and so many apps... i dont want to copy my drafting work so.....
@danielniels22
@danielniels22 3 жыл бұрын
hello i wanna ask please...
@CoolBoy_Official
@CoolBoy_Official Жыл бұрын
21:04
@manlawan
@manlawan Жыл бұрын
seems like Pipboy is not impossiible
@METHUPETERMACHARIA
@METHUPETERMACHARIA Жыл бұрын
you look a little bit like joel kinnaman
@philtoa334
@philtoa334 2 жыл бұрын
Thx_.
@bhavyamverma70
@bhavyamverma70 3 жыл бұрын
First
@NeuralNine
@NeuralNine 3 жыл бұрын
congrats 👀
@SPOOKIEMOOKe
@SPOOKIEMOOKe 2 жыл бұрын
lol not for the amateurs. why are all coders terrible teachers
@ahmedgamberli2250
@ahmedgamberli2250 3 жыл бұрын
Forth
@NeuralNine
@NeuralNine 3 жыл бұрын
Forth or fourth? 👀
@ahmedgamberli2250
@ahmedgamberli2250 3 жыл бұрын
@@NeuralNine Was ihre Meinung?
@thomasgoodwin2648
@thomasgoodwin2648 3 жыл бұрын
Forth was an intriguing language imho. I can understand why it ultimately failed, but it still had some cool ideas.
@aminachak1498
@aminachak1498 Жыл бұрын
hey i have an image that contains persian numbers. i want to reed those numbers. the ocr didnt helped me so much. but i have an idea. what if i could use "opencv" and give it a set of persian numbers and signs that the image contains then match number digit by digit. numbers are big >99,999.999
Make Images Readable Again in Python
14:46
NeuralNine
Рет қаралды 23 М.
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 18 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 6 МЛН
From Small To Giant 0%🍫 VS 100%🍫 #katebrush #shorts #gummy
00:19
Confronting Ronaldo
00:21
MrBeast
Рет қаралды 27 МЛН
Optical Character Recognition (OCR) - Computerphile
14:16
Computerphile
Рет қаралды 191 М.
How Does Optical Character Recognition (OCR) Work?
5:48
Techquickie
Рет қаралды 434 М.
Optical Character Recognition with EasyOCR and Python | OCR PyTorch
16:00
Nicholas Renotte
Рет қаралды 149 М.
3 PYTHON AUTOMATION PROJECTS FOR BEGINNERS
17:00
Internet Made Coder
Рет қаралды 1,7 МЛН
Extract PDF Content with Python
13:15
NeuralNine
Рет қаралды 228 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 167 М.
Optical Character Recognition (OCR)
6:16
IBM Technology
Рет қаралды 85 М.
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 18 МЛН