Tessnet2 is a .NET open-source assembly using the Tesseract OCR engine.
Questions tagged [tessnet2]
60 questions
2
votes
2 answers
OCR engine to capture characters from images
i'm using c# tessnet2 wrapper for Tesseract OCR engine to capture chracters of image files. i been searching everywhere if tessnet2 has any build in functions to overwrite certain characters and saved them into the same image file it's reading but…

David Perez
- 23
- 5
2
votes
1 answer
What files should be included in the tessdata folder after training tesseract?
I am using tesseract as the OCR engine for my ANPR application. I have trained tesseract 3.01v with the numberplate font. But I need to know:
Which files should be included in the tessdata folder?
Should I use the same tessdata folder where…

Mr.Noob
- 1,005
- 3
- 24
- 58
1
vote
1 answer
c# - Unable to read the circled text from an image using tessnet2 and Tesseract-OCR
I'm trying to writte code which change text from jpg to console. I used to write: tessnet2 and Tesseract-OCR (in c#). Now everthing is work fine when I have pure text, but problem is when the text is in circle like here:
Actually console return me…

Thomas
- 77
- 1
- 5
1
vote
1 answer
Tessnet2 OCR: How to tune OCR to recognize only all letters, words and digits?
I am using tessnet2 as described in tessnet2 C# simple example.
var image = new Bitmap(@"C:\OCRTest\number.jpg");
var ocr = new Tesseract();
ocr.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only
//@"C:\OCRTest\tessdata"…
user5954693
1
vote
1 answer
OCR to return size of FEW words only inside image
Is there any OCR tool to read coordinates of only some words inside an image. For e.g. refer attached image, I require coordinate of only two words, namely,
1)"Measurements"
2) "999999.9mi"
Is this achievable?
I could think of passing required…

Tanima Kumari
- 119
- 2
- 12
1
vote
1 answer
MemoryStream to BitmapImage
I am having a bit of a hard time converting MemoryStream into BitmapImage. There are a lot of questions on SO regarding similar situations, but after trying everything on them, I've been unable to fix this, so I turn to you. Note that I'm working…

B.K.
- 9,982
- 10
- 73
- 105
1
vote
4 answers
Tessnet2 System.AccessViolationException
Hi i am trying to get Tessnet2 to work. My code is
Bitmap image = new Bitmap(@"C:\Users\Eric\Desktop\Text Pictures\Oil0.bmp");
tessnet2.Tesseract ocr = new tessnet2.Tesseract();
ocr.SetVariable("tessedit_char_whitelist", "0123456789");…

Eqric
- 55
- 5
1
vote
1 answer
Tessnet2 Could not load file or assembly 'tessnet2_64
Please dont mark -ve it is basic. Hi, In my visual studio2012 I am using tessnet2 library for ocr but unable to compile the code. I have seen
http://www.pixel-technology.com/freeware/tessnet2/
and have made all settings. I placed the tessdata…

Pretty Doll
- 11
- 1
- 2
1
vote
1 answer
Finding next word after a string
So I have the below method that will scan through a list of words, finds "Control Number:" and sets it to wordNumber, then it sets the next word to controlNum (which is the string I am looking to return).
public string…

MaylorTaylor
- 4,671
- 16
- 47
- 76
1
vote
2 answers
OCR word recognition logic
Below is a function that uses TessNet2 (OCR framework) to scan through a list of words captured by the OCR function built into TessNet2. Since the pages that I'm scanning in our less than perfect quality the detection of the words are not 100%…

MaylorTaylor
- 4,671
- 16
- 47
- 76
1
vote
2 answers
Tessnet2 OCR returns only numbers
I am trying to read a text from an image using tessnet2 in a c# application.
This is my code:
string valoare="";
lblOCR.Text = "";
Bitmap image = new Bitmap(@"C:\Stamp\test.png");
tessnet2.Tesseract ocr = new…

roroinpho21
- 732
- 1
- 11
- 27
1
vote
2 answers
Tessnet2 Init-Method crashes with certain tessdata path
I'm using the Tessnet2 assembly (which uses Tesseract) to do OCR. Unfortunately the programm crashes without any exception after I call the init method:
tessnet2.Tesseract ocr = new tessnet2.Tesseract();
ocr.Init(@"D:\Test\Tessdata\german", "deu",…

andreaspfr
- 2,298
- 5
- 42
- 51
1
vote
1 answer
Why Tessnet2 OCR is giving BAD result
I'm using using tessnet2 to get text from a .tif image.
For example i want to get the decimal '700' from the image but i'm getting this : 'Mupann'
I'm using french tessdata
Here the code that i'm using:
ocr.SetVariable("tessedit_char_whitelist",…

vertebre
- 19
- 4
1
vote
1 answer
What's the difference between tesseract and Tessnet?
I have been looking for a tutorial or a some guidance as to how to setup tesseract or tessnet and the tesseract wiki says only about training tesseract 3.01 or 2.0x. Can I know what the difference between tessnet and tesseract? And which one should…

Mr.Noob
- 1,005
- 3
- 24
- 58
0
votes
1 answer
Tesseract OCR.init() makes the code to exit in Sharepoint website
We are using Tesseract OCR (tessnet2 dll) for converting image to text which is working fine in Console Application. But, when we host the same in sharepoint, the application exits at ocr.init(). In few posts, it is mentioned that the tessdata…

Manideep Yechuri
- 293
- 1
- 3
- 14