Questions tagged [tessnet2]

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

60 questions
0
votes
1 answer

How to create an OCR for a web page

i want to create a web page in c# in which user uploads an image and get text of image in another textbox on same web page. i used Tessract tutorials for it but it is for windows form application but i want to use it on web page. i Have followed…
yash
  • 812
  • 3
  • 12
  • 37
0
votes
1 answer

Tesseract image to text

I use this code: Bitmap image = new Bitmap(Application.StartupPath + "\\" + "1111.jpg"); tessnet2.Tesseract ocr = new tessnet2.Tesseract(); // ocr.SetVariable("tessedit_char_whitelist", "0123456789"); // If digit only ocr.Init(null, "eng", false);…
zuh4n
  • 448
  • 1
  • 4
  • 11
0
votes
1 answer

tesseract OCR Probelam on windows

I’ve a problem with the TesseractOCR.exe. When i click on "Do OCR" the program exit and didn't show me any result. I try to run in another computer and it works fine. I test this after hours without results running my code in my .Net Project. My…
0
votes
0 answers

About tessnet2 OCR font size

I have a PNG image.The font size is 10 But tessnet2 can not get the text.If change the font size to 16 ,it work well! How to fix it?Thanks!
user441222
  • 2,001
  • 7
  • 27
  • 41
0
votes
1 answer

How do i get the time and date from an image using ocr?

Im using this ocr lib dll referenced in my project: http://www.pixel-technology.com/freeware/tessnet2/ Created a new class: private void test() { Bitmap image = new Bitmap(@"d:\timessquare.jpg"); tessnet2.Tesseract…
DanielVest
  • 823
  • 4
  • 20
  • 39
0
votes
1 answer

Out of Memory exception when reading bitmap

I'm get an out of memory exception when TessNet2 reads my bitmap. It happens specifically at the tessocr.GetThresholdedImage(bmp, System.Drawing.Rectangle.Empty).Save("c:\\temp\\" + Guid.NewGuid().ToString() + ".bmp"); line. This doesn't happen all…
MaylorTaylor
  • 4,671
  • 16
  • 47
  • 76
0
votes
2 answers

Why is loading FromFile and new Bitmap different? Its breaking my code :(

I am using tessnet2 to extract the sentence in this img file. When i call the tessnet2 func using bmp it fails (it returns "~" as my sentence) and when i use bmp2 instead it works. WTF, why? The reason why i am am doing FromFile is because i am…
user34537
0
votes
1 answer

Tessnet2 returning only one character

I'm writing an application and I want to read an image and extract the text. For testing porpuses I'm passing in an image with 6 characters. Here is my code. Bitmap image = new Bitmap("eurotext.tif"); tessnet2.Tesseract ocr = new…
gnr5
  • 55
  • 2
  • 7
0
votes
1 answer

Cannot find a way to make tessnet2 work

I have created a console application. Added a reference to tessnet2_32. Ocr ocr = new Ocr(); using (Bitmap bmp = new Bitmap(filename)) { tessnet2.Tesseract tessocr = new tessnet2.Tesseract(); tessocr.Init(@"C:\temp\tessdata", "eng",…
Andrius Naruševičius
  • 8,348
  • 7
  • 49
  • 78
0
votes
1 answer

Screen Scraping Tool

I have used Screen Scraper Studio, which has an interop dll that allows you to pass in coordinates and it will scrape that region, I am literally trying to scrape just a 4 digit number, however this application requires quite an expensive developer…
User101
  • 748
  • 2
  • 10
  • 29
0
votes
1 answer

Install Tessnet

I'm trying for the last to days to install tessnet2 wrapper in my project but it doesn't work. Some times say that cant't mix .net 2 dll file with .net 4.5 project, other times throw strange exception (See photo). Could you please help me to…
MA Moselhie
  • 49
  • 1
  • 8
0
votes
1 answer

Tessnet - Referenced in my project - application exits in Init call

I referenced tessnet lib to my project and called following code..but it exists w/o any exception on Init call var fd = new OpenFileDialog(); if (fd.ShowDialog() == DialogResult.OK) { var fileP = fd.FileName; …
Prashan Fernando
  • 281
  • 4
  • 11
0
votes
3 answers

Font_Property issue while training Tesseract-OCR V 3.01

I have encountered a problem while setting up the font properties file to train tesseract v 3.01 ocr engine. according to the 3.01v you are required to setup a font properties file. The format of the font_properties file is such that and 0 or 1…
Mr.Noob
  • 1,005
  • 3
  • 24
  • 58
0
votes
1 answer

Tessnet2 "Could not load file or assmebly"

I have implemented the Tessnet2 library to work in my Web Project. While debugging i've gotten rid of all the "usual" bugs++. When i deploy this solution to the webserver with visual studio 2010, and test the site i get the error message: Could not…
Bjørn
  • 1,138
  • 2
  • 16
  • 47
-1
votes
1 answer

How to integrate Tesseract?

I have developed an ANPR application which requires an OCR engine. I am trying to use tesseract as the OCR engine. But I really cant find a proper step by step tutorial or guidlines as to how to include tessnet2 it in my C#.Net Project. I have…
Mr.Noob
  • 1,005
  • 3
  • 24
  • 58
1 2 3
4