Separate single photos out of Photo Album page scan

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
typxxi
Posts: 2
Joined: 2018-07-14T10:33:20-07:00
Authentication code: 1152

Separate single photos out of Photo Album page scan

Post by typxxi »

Hello,

I have got dozens of old fashioned albums from 1910 on that I have scanned on a A3 scanner.

Now I need a tool to get automatically single photos out of the scans cause on an average album page from 1920 there had been up to 8 or 9 pictures and I need these 9 pics ... for example

1920-1930_P2.jpg is the page 2 of the album 1920-1930 that contains for example 4 single photos separated from each other by a black / dark or white / nowadays more beige paper background

I want to get these 8 files from that single source page
1920-1930_P2.jpg with

1920-1930_P2_1.jpg
1920-1930_P2_2.jpg
1920-1930_P2_3.jpg
1920-1930_P2_4.jpg

I hope that someone has an idea to get that done or even better a batch for 90 album pages with a total of 554 fotos

Thanks a lot for your support.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Separate single photos out of Photo Album page scan

Post by fmw42 »

Please, always provide your IM version and platform when asking questions, since syntax may differ. Also provide your exact command line and if possible your images.

See the top-most post in this forum "IMPORTANT: Please Read This FIRST Before Posting" at http://www.imagemagick.org/discourse-se ... f=1&t=9620

If using Imagemagick 7, then see http://imagemagick.org/script/porting.php#cli


For novices, see

http://www.imagemagick.org/discourse-se ... f=1&t=9620
http://www.imagemagick.org/script/comma ... essing.php
http://www.imagemagick.org/Usage/reference.html
http://www.imagemagick.org/Usage/
https://github.com/ImageMagick/usage-markdown


As to your specific problem, if you are using a Unix-like system, then you can try my multicrop2 or multicrop script at my link below.
typxxi
Posts: 2
Joined: 2018-07-14T10:33:20-07:00
Authentication code: 1152

Re: Separate single photos out of Photo Album page scan

Post by typxxi »

latest version from today - windows 10

What else should I add if anybody might know how an old fashioned album from 1910 to 1980 looks like: picture by picture separated - sometime a line below the photo about date, persons/object - nothing special

I am looking for a solution that works, otherwise I have to buy a photoshop whatever licence cause photoshop has such function built in as automation.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Separate single photos out of Photo Album page scan

Post by fmw42 »

You can run my script from Windows 10 Unix.

You might post an example of one of your images. You can post to any free image hosting service and put the URL here. That will help people understand your question and perhaps be able to offer tested solutions.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Separate single photos out of Photo Album page scan

Post by Bonzo »

sometime a line below the photo about date, persons/object - nothing special
Things like that can make a difference; if you want a useful answer supply an image. People often say "it is a simple image" and when an answer is supplied they suddenly come back with other problems. If an image was supplied in the first place it would have saved a lot of time.
Post Reply