Questions tagged [tessnet2]

Tessnet2 is a .NET open-source assembly using the Tesseract OCR engine.

60 questions
15
votes
8 answers

tessnet2 fails to load

i'm using the tessnet2 wrapper to the Tesseract 2.04 Source on windows XP, configured it to work with x86. TessarctTest project main function contains: Bitmap bmp = new Bitmap(@"C:\temp\New Folder\dotnet\eurotext.tif"); …
Jack
  • 667
  • 3
  • 9
  • 13
5
votes
5 answers

Emgu.cv's Tesseract object using incorrect path for OCR files

I wish to use EMGU.CV's Tesseract object to do OCR on some pictures. To start, I've downloaded, compiled and ran their OCR and LicensePlateRecognition examples. However, Tesseract kept throwing the following exception: Unable to create ocr model…
DanTheMan
  • 3,277
  • 2
  • 21
  • 40
5
votes
1 answer

Tessnet2 using Tesseract Engine - Why does it give very bad output?

I am trying to use the Tessnet2 using Tesseract engine in C#. For many of the test images I give to Tessnet2, the output is very bad, and almost nothing is correct. This is my code in the C# console project, Program.cs class: static void…
user1910524
  • 113
  • 3
  • 12
4
votes
2 answers

How to improve Tesseract / Tessnet2 recognition speed and accuracy?

I've seen that to limit scan errors you can define a whitelist for characters. But I couldn't find information for the bool numericMode in the ocr.Init(@"c:\temp", "fra", false); Suppose you would only want to scan numbers: Setting the whitelist to…
Relok
  • 301
  • 4
  • 14
4
votes
3 answers

tessnet init problem

I need to do an OCR of a .jpg image. I searched a lot and finally get the "tessnet2". The code looks pretty simple but I have a problem with the example :l When I try to init the ocr, my application quits and didnt return anything. Debuging, looks…
FrioneL
  • 943
  • 2
  • 13
  • 19
4
votes
5 answers

Assistance with Tessnet2

I need advice. I am trying to use Tessnet2 lib to recognize text of image. Image consist a string with five characters(chars and digit). I downloaded lib from http://www.pixel-technology.com/freeware/tessnet2/. Add refrence on this lib in my…
John
  • 131
  • 1
  • 3
  • 4
4
votes
0 answers

Incorrect extracted text from image and how to improve tesseract-ocr 3.0 for C#?

I am having trouble extracting text from image using tesseract-ocr-setup-3.02.02.exe in .NET I have used simple yatt class (yatt / tesseract-ocr-class.cs) from here I have Downloaded and installed esseract-ocr-setup-3.02.02.exe from…
panky sharma
  • 2,029
  • 28
  • 45
4
votes
3 answers

c# PDF to Bmp for free

I am writing a program that uses OCR (tessnet2) to scan an image file and extract certain information. This was easy before I found out that I was going to be scanning attachments of PDFs from an Exchange server. The first problem I am working on is…
MaylorTaylor
  • 4,671
  • 16
  • 47
  • 76
3
votes
1 answer

Trying to compile Tessnet2 (Visual Studio 2008 C++) project in Visual Studio 2010

I downloaded the Tessnet2 project from http://www.pixel-technology.com/freeware/tessnet2/ and I am able to build it fine in Visual Studio 2008. However, I need to recompile it for .NET 4. I know very little about C++, but the errors I am getting…
Josh Danko
  • 123
  • 9
3
votes
1 answer

Optimal configuration for Tessnet -- is image format conversion good enough?

I need to do OCR on a group of images. I have been using Tessnet and it works pretty well. The problem is that it seems to have problems with some images, so I thought that it might work better if I modify the images' brightness, contrast, etc.…
FrioneL
  • 943
  • 2
  • 13
  • 19
3
votes
1 answer

tesseract (.NET) + searchable PDF. How to apply?

I have the need to develop a system that turns an image into a searchable PDF. How is a school work i need something with open source After much research I found tessnet2 (tesseract) and I can remove a text the image in tiff format. But how to…
msantiago
  • 346
  • 2
  • 4
  • 14
2
votes
0 answers

tessnet2 language file or training

I'm pretty new to tessnet2. So I'm using Tessnet2 because I'm using OCR in C# language. So I add tessnet_32.dll to the reference to make OCR works. However, I faced a issue. Since tessnet2 is tesseract2.0, I can't use all the language file which…
user3284302
  • 129
  • 1
  • 8
2
votes
2 answers

Can't find referenced assembly when compiling for Windows Mobile

I decided to use tessnet2 library for my Windows Mobile 6 project. Unfortunetly while I am trying to compile it, it throws an error: The best overloaded method match for 'tessnet2.Tesseract.GetThresholdedImage(System.Drawing.Bitmap,…
patric789
  • 21
  • 1
  • 2
2
votes
3 answers

c# foreach image in folder

Below is some code that creates a directory uses MagickNet to covert a PDF into separate BMP images and stores it in a folder (ImagePath) Then it uses TessNet2 to scan each image in that folder to parse out information I can't seem to get the…
MaylorTaylor
  • 4,671
  • 16
  • 47
  • 76
2
votes
2 answers

Tessnet2 error in C#

I am using Tessnet2 ocr in C# by following codes: tessnet2.Tesseract ocr = new tessnet2.Tesseract(); ocr.SetVariable("tessedit_char_whitelist", "0123456789"); ocr.Init(Application.StartupPath + @"D:\\Program Files…
psy_gav
  • 23
  • 1
  • 3
1
2 3 4