While we can easily create a script and run a batch task using photoshop, when the requirement specifies that there is a need to find the person's face on the profile and to only focus on the face section, I found it interesting creating a script that does just that.
python 3 cv2 dlib imutils