Not sure it can but I wondered whether the scope of your legal regulation would 
allow:

1. Encrypt the user words file or store in your source code
2. In you wrapper program just before tesseract api init decrypt the file to 
tessdata 
3. Init tesseract pointed to this file
4. Perform ocr
5. Delete the decrypted file

It does mean there is a temporary vulnerability but it's one idea if you don't 
find a native way to do this with tesseract.

Cheers

Sent from my iPhone

> On 8 Dec 2016, at 07:35, Piotr Szperka <[email protected]> wrote:
> 
> Hello,
> I have a question about loading my own words. I can't save my words in 
> unencrypted eng.user-words file due to legal reasons. I need some way to load 
> it directly to Tesseract or read from encrypted file.  I use C# wrapper, but 
> firstly I must know if it is even possible?
> 
> Thanks,
> Peter
> -- 
> You received this message because you are subscribed to the Google Groups 
> "tesseract-ocr" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/tesseract-ocr.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/tesseract-ocr/9b30528c-fec4-4a68-bc10-6f1d58ca5941%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tesseract-ocr.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tesseract-ocr/44BCA252-71BA-4875-B07D-F24B4751D344%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to