How to use Tesseract OCR in a Python script (pytesseract)

  Рет қаралды 47,408

JayMartMedia

JayMartMedia

Күн бұрын

Пікірлер: 44
@YorukaValorant
@YorukaValorant 10 ай бұрын
Thank you. I was expecting a bad video because of the view count but this Got right to the point.
@JayMartMedia
@JayMartMedia 10 ай бұрын
Glad you found the video helpful! Thanks for commenting! Most of my videos are pretty focused so they get views over time as people search for a topic, as opposed to trendy influencer style videos that appeal to lots of people 😁
@scottnelson5270
@scottnelson5270 4 ай бұрын
@@JayMartMedia as it should be, cheers for Jay! you'll win for this over the long run.
@markomarjanovic8348
@markomarjanovic8348 2 ай бұрын
Shortest most useful video, no BS spot on!
@JayMartMedia
@JayMartMedia 2 ай бұрын
That's what I love to hear! Glad you found it helpful!
@Matin_SenPai
@Matin_SenPai 2 ай бұрын
I usually don't comment anything, but Thanks for short and useful video.
@JayMartMedia
@JayMartMedia 2 ай бұрын
Glad you found it helpful! Thanks for the comment!
@Mark_Morad
@Mark_Morad 10 ай бұрын
How are you, do you know how can I include the tesseract OCR executable in my python executable file? That way when I distribute my executable other users can use the OCR without installing the machine on their device.
@JayMartMedia
@JayMartMedia 10 ай бұрын
I'm not aware of a way to include the tesseract executable in the python script. You may be able to create a zip file with the python and tesseract, but this would likely depend on the users each having python installed, and using the same OS (same OS that tesseract is built for). Alternatively you could check out tesseract.js which runs in the browser, or you could create a Python web app so that users submit images to the website UI using their browser, and then the image file would be processed on the server via tesseract.
@Ueberkombo
@Ueberkombo 8 ай бұрын
00:14 Only if you use it for English, Russian or Chinese Text everyone!
@marceloortiz42
@marceloortiz42 7 ай бұрын
Nice video! Thanks Is there a GUI that you recommend to use in windows?
@JayMartMedia
@JayMartMedia 7 ай бұрын
Glad you found it helpful! I haven't used any GUIs with Tesseract, with the exception of this site which runs Tesseract in the browser: tesseract.projectnaptha.com/ Vid: kzbin.info/www/bejne/qne6YXiufJmEkJY
@AkhilNagori-v4u
@AkhilNagori-v4u 4 ай бұрын
Hi, do you know how it would be possible to do live detection with my webcam?
@JayMartMedia
@JayMartMedia 4 ай бұрын
Unfortunately I am not aware of a way to do this with tesseract
@AkhilNagori-v4u
@AkhilNagori-v4u 4 ай бұрын
@@JayMartMedia Oh okay, no problem
@alfiegill-j4n
@alfiegill-j4n 4 күн бұрын
what if i want to do add different language like Korean is there way for it?
@JackDecker-i8k
@JackDecker-i8k 3 ай бұрын
Do you know how to set environment variables in visual studio code similarly to how you did it in windows command prompt?
@stevetedom7398
@stevetedom7398 6 ай бұрын
Hello, please I would like to know how to improve the precision of tesseract without labeling. I am currently working on an invoice ocerization project, and the problem I encounter is that I have a huge variety in the format of my invoices, I would say nearly 4000 to 5000 different formats, and the problem I encounter with my OCR (I use tesseract) is that it extracts the raw text without taking into account that it is an invoice (the zones etc...), it retrieves the information line by line, I cannot label it given the number of invoice formats, what do you offer me for this? Can bert or spacy be useful in this case?
@NeeharikaJha
@NeeharikaJha 4 ай бұрын
Hello, I need guidance on this. Any leads on how to proceed?
@hansimuli
@hansimuli 3 ай бұрын
Thanks. Great video. ❤ Subscribed
@JayMartMedia
@JayMartMedia 3 ай бұрын
Glad you found it helpful!
@minhhu-j1r
@minhhu-j1r Ай бұрын
hello sir, i have 100 images, in every image, it's have a code include 6 number of code, i want to extract these 100 images into text, can i do it quickly
@derekegenti
@derekegenti 6 ай бұрын
How can I edit this script to extract text from scanned documents? Thanks.
@YuvrajWithAGuitar
@YuvrajWithAGuitar 7 ай бұрын
I have some 2000 pdf files which are invoices. I want invoice number, date and total amount from them... Many invoices are of different format . What the nest way to do it?
@banks927
@banks927 Ай бұрын
Hello! Software engineer here. You'll want to start by making sure all your invoices look/translate the same. A lot of people want to couple Tesseract with generative AI in the same way you're looking to do but the problem with that request is mainly that the context IN isn't always the same. If your invoices are pretty much identical in format, then you're one step closer. Assuming they are, you'll want to isolate that data with a little string manipulation so that each time you run the script, you'll essentially only getting the data you need. From there, you'll probably want to use JSON and either write to a database or to an Excel spreadsheet so you can analyze your data now.
@sneakyblinder982
@sneakyblinder982 5 ай бұрын
Tysm for this video!!
@SP-kq4qb
@SP-kq4qb 9 ай бұрын
thanks man :)
@derekegenti
@derekegenti 6 ай бұрын
Thanks for this. Lifesaver.
@Muhammad_Aftab_ahmad_97
@Muhammad_Aftab_ahmad_97 Ай бұрын
Thank you so much
@JayMartMedia
@JayMartMedia Ай бұрын
I'm glad you found it helpful!
@Rafael_Perez21
@Rafael_Perez21 24 күн бұрын
interesting thank you
@rogue771
@rogue771 Ай бұрын
Thank you 😎
@JayMartMedia
@JayMartMedia Ай бұрын
Glad you found it helpful!
@ayushpathania583
@ayushpathania583 Ай бұрын
bro trying to beat that random indian guy
@archhangell
@archhangell 7 ай бұрын
Cheers!
@HairoHeria
@HairoHeria 7 ай бұрын
thank you
@omar.alnounou
@omar.alnounou 10 ай бұрын
ty
@JayMartMedia
@JayMartMedia 10 ай бұрын
yw ♥️
@Mollory16
@Mollory16 7 ай бұрын
Can you help me on discord??
@Mollory16
@Mollory16 7 ай бұрын
I do not understand ! you made a video very quickly. I can't understand
@adejobiolajide8011
@adejobiolajide8011 5 ай бұрын
You need to slow down when explaining and show steps involved pls
@foodiee29
@foodiee29 Ай бұрын
thank you so much
@JayMartMedia
@JayMartMedia Ай бұрын
I'm glad it was helpful for you!
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
The most important Python script I ever wrote
19:58
John Watson Rooney
Рет қаралды 214 М.
How to Install the Libraries (OCR in Python Tutorials 01.02)
11:14
Python Tutorials for Digital Humanities
Рет қаралды 58 М.
Run your own AI (but private)
22:13
NetworkChuck
Рет қаралды 1,8 МЛН
How to Preprocess Images for Text OCR in Python (OCR in Python Tutorials 02.02)
53:24
Python Tutorials for Digital Humanities
Рет қаралды 173 М.
Convert GUI App to Real Program -  Python to exe to setup wizard
23:27
Python Simplified
Рет қаралды 563 М.
Why You’ll NEVER Become a Senior Engineer Using Python
6:18
The Coding Gopher
Рет қаралды 21 М.
*Next-door 10x Software Engineer* [FULL]
4:50
Programmers are also human
Рет қаралды 886 М.
I Made The Ultimate Cheating Device
9:39
ChromaLock
Рет қаралды 1,8 МЛН
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 20 МЛН