C# tips and tricks 21 - Extracting text from an image using Tesseract OCR library for C# (CSharp)

  Рет қаралды 57,815

Ankpro Training

Ankpro Training

Күн бұрын

Пікірлер: 68
@AnkproTraining
@AnkproTraining 3 жыл бұрын
Thank you for watching this video. Cheers! would you mind hitting *_like_* button and *_subscribe_* to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter. Link to subscribe the channel goo.gl/hFueBi
@Jeeruz
@Jeeruz 5 ай бұрын
Can I still use this as reference for the Tesseract 5 version, in this current times? I used this in 4 years ago and it worked for me back then. You have a clear explanation of the setup.
@anitapatel6021
@anitapatel6021 3 жыл бұрын
All worked when image has small world like "Testing" , "Contact less delivery" -I have image with 3000 worlds and it did not read any text. Any suggestion for large amount of word.? -I have tried all pagesegmode. I am using 4.1.1 ver.
@anitapatel6021
@anitapatel6021 3 жыл бұрын
TesseractEngine engine = new TesseractEngine("./tessdata", "eng", EngineMode.Default); tessdata - use only folder name path only. I was using with file name and it throws error.
@sushantsahoo1105
@sushantsahoo1105 2 жыл бұрын
how to read the license number plate from an image using c#.pls. suggest
@ankitchourasiya254
@ankitchourasiya254 4 жыл бұрын
nice video.. its work when we generate image on Paint but in case of Scan Image it has not work
@chinmayk2657
@chinmayk2657 4 ай бұрын
My test passed, but cant see the output, any help
@carloscosta4713
@carloscosta4713 6 жыл бұрын
I am Brazilian, and I am very happy to have found this channel! Congratulations on applying C # ... One suggestion: Make one use a camera to capture the image and then extract the text. Once again, congratulations !!
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Thank you for your comments. We will definitely try that. Subscribe to our channel. And share this video link to needy ones via facebook, twitter and whatsapp.
@ITPROFESSIONAL
@ITPROFESSIONAL 6 жыл бұрын
+1
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Thank you
@abdelkaderfellague297
@abdelkaderfellague297 4 жыл бұрын
engine.Process requires a Pix image not a Bitmap and I didn't find how to convert Bitmap to pix, help !!
@taitetai
@taitetai 3 жыл бұрын
How can get position of a text appear in image, please help me
@CodeSeekers
@CodeSeekers 5 жыл бұрын
I found you video very helpful... thanks a lot... but I am having a problem... I found version 3.3.0.. but I am unable to find the tessdata files for this version.. :( how can I get the older version or from where I can get tssdata files of version 3.3.0
@AnkproTraining
@AnkproTraining 5 жыл бұрын
Check this link github.com/tesseract-ocr/ You will find old version of tesseract. Subscribe to our channel to get latest uploads.
@prasanthkotagiri3613
@prasanthkotagiri3613 4 жыл бұрын
Hi, When i am using the above code I am getting error - cannot convert from 'System.Drawing.Bitmap' to 'Tesseract.Pix' at this point of code - Page page = engine.Process(img, PageSegMode.Auto);
@hiepnguyenthanh1272
@hiepnguyenthanh1272 5 жыл бұрын
I have a small problem. Process method required img value is a Pix not bitmap.Now I use Tesseract 3.3.0 how do i fix it? Thanks
@saarthakarts5495
@saarthakarts5495 3 жыл бұрын
your explanation is very nice. easily understandable.
@AnkproTraining
@AnkproTraining 3 жыл бұрын
Thank you Rupa for watching this video and commenting. Cheers! would you mind hitting *_like_* button and *_subscribe_* to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter. Link to subscribe the channel goo.gl/hFueBi
@Vidya_Sagar_S_D
@Vidya_Sagar_S_D 6 жыл бұрын
which version of visual studio is used in this demo. what are the limitations of this library? does it support Kannada
@AnkproTraining
@AnkproTraining 6 жыл бұрын
We have used visual studio 2017 community edition. It should support kannada. github.com/tesseract-ocr/tesseract/wiki/Data-Files
@AmitSingh-xh3gn
@AmitSingh-xh3gn 5 жыл бұрын
Not only Kannada it also supports Ragi balls, lemon rice, Set dosa, thatte idli 😂😂😂😂
@MarioAxl
@MarioAxl 3 жыл бұрын
I implemented this but saddly it doesnt work, it was changing numbers when i extract chains of strings, confusing 1 to 4 and seven and 3 for 8 etc, is a very good tool, but I fell in that 10 % that it couldn't resolve my issue. Congrats !!
@AMIRKHAN-dm2fm
@AMIRKHAN-dm2fm 6 жыл бұрын
very very nice!! but i have a question if there is a number in the picture like MKL4569 e.t.c then what i can do??? Thanks again
@AnkproTraining
@AnkproTraining 6 жыл бұрын
It will recognize number also from the image. Subscribe to our channel. Share this video via facebook, twitter and whatsapp.
@AmitSingh-xh3gn
@AmitSingh-xh3gn 5 жыл бұрын
You can sing a song from any of your movies. Like Tare Zameen par, 3 Idiots, Mangal Pandey etc
@sandilemaphumullo1297
@sandilemaphumullo1297 6 жыл бұрын
Great tutorial! I have typed the code exactly as posted , however I get an error that points to the image "Test1.jpg" and it says "Invalid parameter".I am using Visual studio 2015 , enterprise.
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Code is given in the video description. Compare your code with that. If problem is still not resolved check versions of the library you are using. Please do subscribe to our channel. Share this video link with your friends. We also have videos on C# series, Java series, HTML, HTML5, CSS, CSS3, JavaScript, Advanced JavaScript, JQuery, Bootstrap, Selenium using C# and Selenium using Java.
@santoshshrestha7182
@santoshshrestha7182 5 жыл бұрын
i am also getting the same error :(
@abhin7508
@abhin7508 5 жыл бұрын
@@santoshshrestha7182 Instead of just passing the name of the image, I recommend you to pass the path to the image. eg: Folder_Path\\.png
@troxsa2
@troxsa2 3 жыл бұрын
Hello, you have the project please ? can you post the link for download Today, we have the version 4.1.1 it's not the same ? Thank you in advance ;) and of your help
@tomcruise1387
@tomcruise1387 4 жыл бұрын
Does not work for a lot of reason 1) above 3.0.2 we cannot use bitmap in the line engine.process, because we have to convert the bitmap in tesseract .pix ... It is so hard to setup that the only way i got through is to downgrade to 3.0.2 version 2) Now that I am in 3.0.2 I do not have the folders x86 and x64 ! Why ?! I downloaded the tesseract data for 3.0.2 I putted them in the folder "tessdata" and when i try to run the program it says at the new tesseractEngine line: "missingmethodexeption 'Method not found: 'System.Reflection.Emit.AssemblyBuilder System.AppDomain.DefineDynamicAssembly(System.Reflection.AssemblyName, System.Reflection.Emit.AssemblyBuilderAccess)'.' " I'm getting tired of all thoses errors only occuring on my environment...
@stellarspacetraveler
@stellarspacetraveler 5 жыл бұрын
This is one beautiful video, it worked perfectly the first time! I used V3.02 tessdata files for my installation of V3.3.0.0 tesseract. There were no 3.3.0 specific tessdata files that I could find. Fortunately the 3.02 files worked. Thanks for the video.
@AnkproTraining
@AnkproTraining 5 жыл бұрын
Thank you Glenn for watching and commenting the video. Subscribe to our channel. If you like any of our videos, please share them in your circle via whatsapp, facebook and twitter.
@HaydenWilsonOutdoors
@HaydenWilsonOutdoors 5 жыл бұрын
I get the following error on Bitmap even after I've added using.drawning; "The type name'Bitmap' could not be found in the namespace ' System.Drawing'. This type has been forwarded to assembly 'System.Drawing.Commin, Version=4.0.1.0, Culture=neutral, PublicKeyToken=cc7b12ffcd2ddd51' Consider adding a reference to that assembly" And please don't comment saying to sub like you have every other comment, that makes me not want to sub
@ahmedhalim4547
@ahmedhalim4547 5 жыл бұрын
how can i unzip this file "enm.traineddata"
@AnkproTraining
@AnkproTraining 5 жыл бұрын
Hi Ahmed, Did you tried unzipping using windows?
@dannezia
@dannezia 4 жыл бұрын
@@AnkproTraining i have the same problem ...i can't unzipp
@AnkproTraining
@AnkproTraining 4 жыл бұрын
@@dannezia Try unzipping using 7Zip or WinRar or Winzip. Let us know if you are able to do it.
@wydyantom.m.m.kom.6012
@wydyantom.m.m.kom.6012 5 жыл бұрын
want to convert characters / letters with OCR this is the story I want to make a robot that can write letters that come from character images. existing components 1. kameraweb 2. Raspberry Pi 3. Arduino 4. Printer tool for example this picture, please make three kinds of changes with different methods so that the results of the letters can be printed, for example how to eliminate background, noise blur and others in the form of an image followed by the listing of the program / what the algorithm uses. and how much does it cost please thank you for your cooperation and really answer
@andreabaldassari3746
@andreabaldassari3746 4 жыл бұрын
grande omar
@muralipulimi1943
@muralipulimi1943 6 жыл бұрын
I am not able to download the english data files from the link provided, is there any alternate link to get the data files for the Tesseract to test
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Try this link github.com/tesseract-ocr/tessdata/raw/4.00/eng.traineddata . Please do subscribe to our channel. Share this video in whatsapp, twitter and facebook.
@arifaman9577
@arifaman9577 3 жыл бұрын
@@AnkproTraining not able to unzip this file, or we can use this file directly ?
@vishwashehan8441
@vishwashehan8441 3 жыл бұрын
thanks so much saved me
@AnkproTraining
@AnkproTraining 3 жыл бұрын
Thank you for watching this video and commenting. Don't forget to *_like, subscribe_* and hit that *_notification_* bell 🔔
@sk8leesk8
@sk8leesk8 2 жыл бұрын
Thank you!
@AnkproTraining
@AnkproTraining 2 жыл бұрын
You're welcome! Subscribe to our channel and share the video link in your circle.
@samrakhan3326
@samrakhan3326 5 жыл бұрын
thanks sir for all tutorials of emgu cv.These help me alot...i m working on currrency detection in emgu cv...can you help me that how i extract text from currency...i m cropping the text part of currency..for example in pakistani currrency case Serial nmbr i want to be extract from lower back portion of note....can Anyone help me???
@meghapuppala241
@meghapuppala241 5 жыл бұрын
Paramerter is displaying invalid .please help me with this
@AnkproTraining
@AnkproTraining 4 жыл бұрын
Can you point which line?
@Vijaykumar-jx8jq
@Vijaykumar-jx8jq 6 жыл бұрын
Thank you for this useful tutorial. Actually, for my project, I want to extract the metadata from an image can you please guide me for that or provide with source code if you have. Thank you once again.
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Meta data is a different concept. We will make a video on that too. Please subscribe to our channel. Share this video link with your friends using facebook, whatsapp and twitter. Code for this program is available in the video description.
@HocineFerradj
@HocineFerradj 4 жыл бұрын
thank you ...
@AnkproTraining
@AnkproTraining 4 жыл бұрын
Thank you for watching this video and commenting. Cheers! would you mind hitting *_like_* button and *_subscribe_* to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter.
@anitapatel6021
@anitapatel6021 3 жыл бұрын
Goood Video
@AnkproTraining
@AnkproTraining 3 жыл бұрын
Thank you for watching this video and commenting. Cheers! would you mind hitting *_like_* button and *_subscribe_* to our channel! That will be awesome. We would be grateful to you. And also share this video in your circle via whatsapp, facebook and twitter. Link to subscribe the channel goo.gl/hFueBi
@arkanomer7230
@arkanomer7230 6 жыл бұрын
thanks for channel so good , but I need Extracting Arabic text from an Image Can you Help me So thanks
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Good to know you like it. I guess you can extract from Arabic text also, take data files from github.com/tesseract-ocr/langdata/tree/master/ara Like this video. Share this video with your friends. And subscribe to our channel. Thank you - Ankpro
@arkanomer7230
@arkanomer7230 6 жыл бұрын
thanks for your answer I used Arabic data files , but not read all number and text , but not problem for Eng..
@AnkproTraining
@AnkproTraining 6 жыл бұрын
May be data files requires update. As it is a open source project we should wait for someone to update or if you have time you can update the same.
@kubakakauko
@kubakakauko 6 жыл бұрын
Thanks
@AnkproTraining
@AnkproTraining 6 жыл бұрын
Thank you for your comment. Subscribe to our channel. And share this video link to needy ones via facebook, twitter and whatsapp.
@abdulaquib9385
@abdulaquib9385 2 жыл бұрын
Thanks
@AnkproTraining
@AnkproTraining 2 жыл бұрын
Thank you for watching this video and commenting. Don't forget to *_like, subscribe_* and hit that *_notification_* bell 🔔
Extract text from images with Tesseract OCR on Windows
18:06
DFIRScience
Рет қаралды 106 М.
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
8 await async mistakes that you SHOULD avoid in .NET
21:13
Nick Chapsas
Рет қаралды 316 М.
Using Tesseract-OCR to extract text from images
11:29
DFIRScience
Рет қаралды 225 М.
Google’s Quantum Chip: Did We Just Tap Into Parallel Universes?
9:34
How to Extract Text from Images in C#
4:00
Iron Software
Рет қаралды 15 М.
How To Learn C# in 2023 - Learning Path, Tips & Tricks, and More
46:37