Search found 3 matches

by Appstalden
Wed Jul 03, 2013 9:39 am
Forum: TWAIN & WIA Acquisition
Topic: Application hanging on GetMessageW
Replies: 1
Views: 2996

Application hanging on GetMessageW

Hi, I use GdPicture v9. My application is importing documents from disk, scanner, mail to the database. The application is working with disk files. If I scan a document it will be save to disk first and then flows through the same code as diskfiles. Scanning is a component, loaded by MEF. If I repea...
by Appstalden
Thu Jun 06, 2013 3:54 pm
Forum: OCR, MRC & Document understanding
Topic: Detect aviable languages
Replies: 2
Views: 9562

Re: Detect aviable languages

I found a way to do it.

Code: Select all

System.IO.DirectoryInfo di = new System.IO.DirectoryInfo(ocr);
            string[] lang = di.GetFiles("???.*").Select(f => f.Name.Substring(0,3)).Distinct().ToArray();
not nice, not secure (because of other files matching the pattern), but it works for me.
8)
by Appstalden
Thu Jun 06, 2013 11:15 am
Forum: OCR, MRC & Document understanding
Topic: Detect aviable languages
Replies: 2
Views: 9562

Detect aviable languages

Hi there,

does anyone knows how to detect the installed OCR-Languages?

in previews versions there was a TesseractDictionary (enum).

But now we have only the path to the files.

Did I miss something in the docu, or is it gone?