tasen / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

CLI or minimal app that fronts leptonica #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hey all,
I'm looking at different image processing solutions to tackle document imaging 
problems.  This library seems of high quality and has the potential to handle 
the scenarios usually needed for document imaging (deskew, despeckle, text 
orientation-based auto-rotate, halftone removal, etc).

I see it is used in larger solutions, such as ocropus/tesseract, but is there a 
command-line interface (CLI) or other minimal application to help apply this 
library towards the specific purpose image processing from a user point of view 
opposed to programmatic only?

Thanks!

Original issue reported on code.google.com by binarymo...@gmail.com on 8 Jun 2011 at 11:12

GoogleCodeExporter commented 8 years ago
It's trivial to write little programs to do something.  Some of the 
approximately 200 programs in the prog/ directory carry out a simple task.

See, for example, printsplitimage.c or convertfilestopdf.c.

Original comment by dan.bloo...@gmail.com on 8 Jun 2011 at 2:13

GoogleCodeExporter commented 8 years ago
Is there any CLI wrappers for Leptonica? Tesseract has a nice CLI that you can 
work without messing with C. I need something similar for Leptonica to 
demonstrate it to students. 

Original comment by iman.moh...@gmail.com on 13 Dec 2014 at 2:45

GoogleCodeExporter commented 8 years ago
leptonica has nearly 2500 callable (nonstatic) functions.

Take a look at the approx. 200 programs in the prog directory.  You can make 
some nice demos by just running a few of them.

Look at the README.html to decide if you want to use automake or the static 
makefiles.  (I find the latter to be easier in development and testing mode.)

Original comment by dan.bloo...@gmail.com on 14 Dec 2014 at 12:07