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 like the next line is where it exits:
ocr.Init("C:\\Desarrollo\\Prueba\\ConsoleApplication1\\tessdata", "spa", false);
The first parameter its the path with "tessdata" included, isnt it? The second path is the lenguage that i want to use...
In tessdata i have the 8 files it needs.
What Im doing wrong?
Im using c# and visual studio 2010. When i try to compile it, i get an error of .net framework (i was using 4.0 and it needs 2.0, i decrease it and now compile but i get that problem).
Thanks!