Skip to main content
Known Participant
November 13, 2023
Question

Crop Action

  • November 13, 2023
  • 2 replies
  • 1171 views
  1. Can I use Photoshop to scale and crop the upper lower right and left sides by referencing the eyes of portrait photos taken at different distances. And after doing this process, can I create an action?
This topic has been closed for replies.

2 replies

Stephen Marsh
Community Expert
Community Expert
November 13, 2023
quote
  1. Can I use Photoshop to scale and crop the upper lower right and left sides by referencing the eyes of portrait photos taken at different distances. And after doing this process, can I create an action?

By @ömer33573743z3jk

 

Yes, presuming a single headshot. An action can record the Liquify Filter – Face Aware command with adjustments made to the eyes. The difference blend between a copy of the liquified result and the original can then be used to create a rectangular selection around the eyes. The selection can then be transformed with a static or interactive modal step and then the crop from selection can be applied.

 

Results are variable and dependent on how well the facial aware liquify algorithm can detect the eyes. A similar topic on cropping based on the face can be found here:

 

https://community.adobe.com/t5/photoshop-ecosystem-discussions/batch-crop-from-face-detection/td-p/11981136

 

You can download the action here and modify it as you see fit:

 

https://www.dropbox.com/scl/fi/zootfk5ktvsn9bd768mlt/Crop-Portrait-Around-Eyes.atn?rlkey=t4ps6b6tk37xf1t45kdybo069&dl=0

 

 

Known Participant
November 15, 2023

I did it but ıt doesnt work correctly 

c.pfaffenbichler
Community Expert
Community Expert
March 4, 2024
Hi,

İf it works ı will be happy. Or these are not enoughf for you ı can send
more details. ı hope ı did not misunderstand.

Sincerely,

Ömer

How does the Action @Stephen Marsh provided fail? 

Again: Could you please post screenshots with the pertinent Panels (Toolbar, Layers, Actions, Options Bar, …) visible? 

Kevin Stohlmeyer
Community Expert
Community Expert
November 13, 2023

@ömer33573743z3jk Photoshop cannot do actions based on contextual parameters (referencing the eyes).