How to divide a scanned image with multiple photos

Franz Buchinger <[email protected]>
Newsgroups gmane.comp.python.image
Message-ID <[email protected]>
I scan up to 5 photos at once with my flatbed scanner (i.e. a single image
file containing the whole scan area is created) and I want PIL to dump out
each photo into an individual file.
I know that similar plugins exist for GIMP, but as I am using this in a
server-side Python project, I want to avoid GIMP and its dependencies.

The script should also offer an info mode that reports the coordinates of
the detected photos and one mode that performs the subdivision based on
user-submitted parameters.
The reason for this: eventually I will create an HTML/Javascript GUI that
allows the user to fine-tune the auto-detected photos.

I already considered OpenCV as a potential PIL companion for this scenario,
but I couldn't find a suitable sample script that I could start with.

Any hints?

kind regards,

Franz

_______________________________________________
Image-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/image-sig
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.