On Mar 29, 1:00 am, "Vicky Budhiraja" <[email protected]>
wrote:
> Hello,
>
> As a suggestion, this is what you can do:
> - Go to tesseractmain.cpp and look for the constructor
> - Check the function call SetImage(), which takes first param as uinT8 type
> buffer, which is the image data
> - Pass on your own buffer
>
> You need to write the routines for bringing in your binary data (bunch of
> separate binarized characters). For that you can use the tessDLLs and supply
> your structs in tesserect system, directly.
>
> Hope this helps!
>
> --
> Vicky Budhirajahttp://www.sitarasoft.com/
>
>
>
>
>
>
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
>
> On Behalf Of zl2k
> Sent: Monday, March 28, 2011 22:24
> To: tesseract-ocr
> Subject: how to pass image "directly" to tesseract
>
> hi, all
>
> My application will generate bunch of separate binarized characters
> and I need to feed the ocr engine for each of them. It will be very
> costly if save each of them on disk as a tiff file and then call
> tesseract. Is there a by pass so that my application (C++) can
> directly call ocr and pass the image to it? Your comments are highly
> appreciated.
>
> zl2k
>
> --
> You received this message because you are subscribed to the Google Groups
> "tesseract-ocr" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group 
> athttp://groups.google.com/group/tesseract-ocr?hl=en.

Thanks for all the informative comments to help me to get the clue.
Regards,
zl2k

-- 
You received this message because you are subscribed to the Google Groups 
"tesseract-ocr" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tesseract-ocr?hl=en.

Reply via email to