Hi Tenzin,
i just take a look at lines showed in the error below, but i didn't
understand the problem. I should have a system similar to yours. I tried
OcrGui in Suse 11.1 and Ubuntu jaunty but I never saw that error and also
others who installed
I hope to find time to create a deb package, so you
hi
i use Tessnet2 a .NET 2.0 Open Source OCR assembly using Tesseract
engine
from article http://www.pixel-technology.com/freeware/tessnet2/
after 1000 persed images i have 500 MB memory used in program. how can
i resolve this?
--~--~-~--~~~---~--~~
You received th
It is well known that Tesseract has multiple memory leaks so I think you can
periodically unload the managed wrapper .NET assembly and load again. To do
so you could load it in a separate application domain and unload the entire
domain and re-create it periodically (e.g. when the memory consumptio
This is a good solution when you work with a dynamically loaded
component (e.g. DLL) but not when you just link to the library ...
I am running Tesseract 3.0 built as a library linked to a Mac OS
application and this is the leak I am measuring for successive scans:
- image with lots of lines: aro
i try msdn sample to load dynamically assembly
Bitmap b = new Bitmap(@"d:\0.bmp");
Assembly a = Assembly.Load("tessnet2_32");
Type myType = a.GetType("tessnet2.Tesseract");
MethodInfo mymethod = myType.GetMethod("DoOCR");
Object obj = Activator.Creat
i try msdn sample to load dynamically assembly
Bitmap b = new Bitmap(@"d:\0.bmp");
Assembly a = Assembly.Load("tessnet2_32");
Type myType = a.GetType("tessnet2.Tesseract");
MethodInfo mymethod = myType.GetMethod("DoOCR");
Object obj = Activator.Crea
Hi Ray,
Upon closer inspection, I found that the character sequences which the
Mac OS API didn't consider valid UTF8 were at the end of the return
text array, then I realized that this array seems to NOT be '\0'
terminated! I have to use the n value returned by
TesseractExtractResult, not use str
Please give more details. What type is the exception?
I use tesseract through self-made C++ wrapper that is compiled to Win32 DLL
and is used by .NET through P/Invoke.
I still don't have memory leak problems but I will have them.
Svetlin Nakov
Managing Partner
Consulting and Information
8 matches
Mail list logo