On Thu, Dec 20, 2012 at 12:29 AM, José Luis Rey <[email protected]> wrote: > Very thanks for the response, > > I want to automatic rotate the pages after scan on ChronoScan, I'm using > leptonica, but it only work with medium/high text density, it does not > detect orientation in document with few text (like cheks or invoices): > > I'm using this functions in leptonica: > pixOrientDetect > makeOrientDecision > > I'm going to test OSD, like you suggest,
Be sure to read the comments at the top of flipdetect.c [1] to determine which of the various pixOrient functions is best for your specific case. BTW, the references at the bottom of [2] explain how the deskewing works. [1] http://tpgit.github.com/Leptonica/flipdetect_8c_source.html [2] http://tpgit.github.com/UnOfficialLeptDocs/leptonica/skew-measurement.html -- 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

