We tested only at 1,024 x 768

On May 5, 7:04 am, "Lutz, Michael" <ml...@nds.com> wrote:
> Thank you for the answer, that helped me a lot already. Just one more 
> question. Have you tested the performance saving also with big images e.g. 
> 2000 x 2000 pixels or bigger?
>
> -----Ursprüngliche Nachricht-----
> Von: tesseract-ocr@googlegroups.com [mailto:tesseract-ocr@googlegroups.com] 
> Im Auftrag von patrickq
> Gesendet: Donnerstag, 5. Mai 2011 12:58
> An: tesseract-ocr
> Betreff: Re: Binary Images using SetImage
>
> I don't have the answers to your questions but we pass a binary image
> to Tesseract like you do, with values set to either 0 or 255.
> Tesseract will threshold the image so we experiment with modifying
> Tesseract to short-circuit the thresholding for performance reasons -
> but then realized the performance saving is minimal in this case and
> we are not doing that any longer.
>
> Patrick
>
> On May 5, 6:48 am, Mike <ml...@nds.com> wrote:
>
>
>
> > Hi again,
> > * Binary images of 1 bit per pixel may also be given but they must be
> > * byte packed with the MSB of the first byte being the first pixel,
> > and a
> > * 1 represents WHITE. For binary images set bytes_per_pixel=0.
> > This is from function TesseractRect()
> > Can I also use this on SetImage()?
> > Reason is that I already have a gray scale image (1 byte per pixel)
> > but the image only holds 2 values, white (255) and black (0).
> > I was wondering if in my case tesseract still converts it to a binary
> > image or does it use the grey scale directly.
> > If it makes a binary image first can I tell it not to do so or do I
> > have call the SetImage function in binary mode?
> > And in binary mode will one byte be interpreted as 8 pixels?
> > Regards,
> > Mike
>
> --
> You received this message because you are subscribed to the Google
> Groups "tesseract-ocr" group.
> To post to this group, send email to tesseract-ocr@googlegroups.com
> To unsubscribe from this group, send email to
> tesseract-ocr+unsubscr...@googlegroups.com
> For more options, visit this group 
> athttp://groups.google.com/group/tesseract-ocr?hl=en
>
> This message is confidential and intended only for the addressee. If you have 
> received this message in error, please immediately notify the 
> postmas...@nds.com and delete it from your system as well as any copies. The 
> content of e-mails as well as traffic data may be monitored by NDS for 
> employment and security purposes.
> To protect the environment please do not print this e-mail unless necessary.
>
> An NDS Group Limited company.www.nds.com

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

Reply via email to