c# - Error initializing TesseractProcessor -



c# - Error initializing TesseractProcessor -

i have next problem tesseract - downloaded neccessary files (at to the lowest degree hope so) , here how super duper simple application looks like:

string slocation = @"m:\tesseract\tesseractdotnet_v301_r590\x86release_assemblies\data\"; string slang = "eng"; tesseractprocessor processor = new tesseractprocessor(); if (processor.init(slocation, slang,(int)eocrenginemode.oem_default)) { system.windows.messagebox.show("ok"); } else { system.windows.messagebox.show("failed"); }

it initializes tesseract. next error message:

attempted read or write protected memory. indication other memory corrupt.

if changed dll different tesseract got error said:

could not load file or assembly 'tesseract.dll' or 1 of dependencies. application has failed start because side-by-side configuration incorrect. please see application event log or utilize command-line sxstrace.exe tool more detail. (exception hresult: 0x800736b1)

i changed platform target x86 not working anyways. using visual studio 2012. can please help me problem? doing wrong?

i have list of little pictures containing numbers , few letters want decode , retrieve text from.

edit

ok figured out tesseractdotnet_v301_r590 works tessdata v 3.01 (not latest 3.02) , causing problem. how can work latest data, when on tesseractdotnet have r590 version? here download link.

https://code.google.com/p/tesseractdotnet/downloads/list

ok figured out tesseractdotnet_v301_r590 works tessdata v 3.01 (not latest 3.02) , causing problem. have no thought how create work 3.02 info files.

here download link: https://code.google.com/p/tesseractdotnet/downloads/list

c# ocr

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -