I think you have to execute Recognize() fist:

tmp.Recognize(0);
tmp.GetUTF8Text();

On 16 Nov., 21:11, Cian Mc Govern <[email protected]> wrote:
> Hi,
>
> I'm trying to learn how to use the tesseract API, I'm using version
> 3.00.
>
> This is the code I'm trying to run:http://pastebin.com/x8fgM32E
>
> I get the following output when I run it:
> Image has 8 * 1 bits per pixel, and size (1280,960)
> Resolution=72
> Please call SetImage before attempting recognition.
>
> Is there something I'm missing?? I have called SetImage before calling
> GetUTF8Text.
>
> Thanks,
> Cian

-- 
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