This is a simple Image processing app, to process image, i.e., given an M x N dimensional image as an input consisting of frames, it'll return as output K different images i.e., the clustered frames are extracted out of the image as separate K different images.
If you don't have pipenv installed, first run pip install pipenv
and then,
pipenv shell
pipenv run pip install pillow
comic.py [options]
Valid Options are: βοΈ
--version show program's version number and exit
-h, --help show this help message and exit
-q, --quiet Don't print progress messages to stdout
[default:False]
-d, --debug Enable debug prints [default:True]
-f FILE, --file=FILE Name of the input file
--prefix=PREFIX Prefix for outputfiles
--left-ignore=PIXELS How much of the left margin to ignore when detecting
rows [default:0]
--right-ignore=PIXELS
How much of the right margin to ignore when detecting
rows [default:0]
--startrow=PIXELS From which line of the each page (other than the first
page) should the processing start [default:0]
--gutter-width=WIDTH Minimum width of the gutter [default:15]
--min-width=WIDTH Minimum width of a frame [default:50]
--min-height=HEIGHT Minimum height of a frame [default:50]
git clone
/nav/to/folder/containing/the/file
pipenv run pip install pillow
pipenv shell
python comic.py -h
orpython comic.py --help
Have a productive time writing code amigos & amigas !! π§Έ
Cheers !! π₯