2
\$\begingroup\$

I'm new here. I would really appreciate your help. Let's say I have a few hundred photos of a model on infinite background, shot from four different angles: front, back, side and full length. Is there any way to batch crop them so that in every photo the model is in the center?

I've already tried using Photoshop batch crop, but it doesn't help since not all photos were shot from the same exact distance.. I think I will have to use some script that can detect the model.. Thanks in advance. Any ideas or advices would be highly appreciated.

\$\endgroup\$

3 Answers 3

1
\$\begingroup\$

About a year ago, I used OpenCV wrapped in a Python script and using the Linux convert tool to detect the faces and scale/transform the image so that the the faces line up and are (more or less) on the same scale.

I leaned heavily on this example/blog. I hope this helps you too. If you really want, I can post my code if you're interested.

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Why the downvote? \$\endgroup\$
    – agtoever
    Jun 15, 2016 at 21:22
0
\$\begingroup\$

You can create an action to resize your photos to a template, Suppose you have a template 1500 X 1000 and you can place all your images in to that template and resize it by percentage.Let’s say 40% of the 1500 X 1000 document. Even though you will have to do some adjustments manually as the photos are not shot from same distance.

\$\endgroup\$
0
\$\begingroup\$

You can try to stack the photographs, It would then place every image on it's own layer - crop it as a document and then save each layer as an image (via an action).

File > Scripts > Load files into stack

Only cons to this would be file size if you have 100's.

Hope this helps

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.