Hi, say i have a bunch of portraits from unsplash and want to use photoshop to crop them using automate - square ratio and with face detection - so all the faces essientially line up within the square box/rule of thirds.
And what is your actual question? Have you even tried yet?
Didn't let me fix my typos, the questions is how to batch crop using face detection in photoshop, and is it possible?
I am looking for something that can do something like these, but in photoshop, so I don't have do all this coding stuff that is overly complicated
The best autocropper I have found is 'photomill', but it doesn't have face detection, it just crops to the center if images are different resolutions.
I don't think theres a way to do it, I bet no one on here can tell me how to do this.
I mean I have seen some third party apps like portraitcrop, but its 240 dollars, yikes, it would be nice if there was a way to crop faces natively in photoshop. I just got the code version of autocrop to work using terminal, and its decent and free, but I'd like more control with photoshop. I am suprised this isn't a default feature considering how expensive it is and that PS is 'the premiere photo editor'. It should be easier by now considering there have been things that can do this on github for years now... I don't think Photoshop can detect a face and autocrop it to specified set of values like some of these free github croppers can do, but I would be happy if someone can prove me wrong.
So you can not do what you want to do because you do not have the programming skills and you do not want to shell out 240 for an Application someone labored design and code.
You want a Photoshop add on to automate your portrait cropping.
While there are Photoshop features that detects faces in image and you can work on face features interactivity. An image may have many faces and you interactivity edit one face are a time. All face images are not Portrait images. Photoshop face detection is also not 100% successful, The features that do detect faces do not provide a way for the users to set an active selection for the faces detected and Photoshop Face detection detects facial features to work on so even of you could make a selection from Photoshop face detection the selection would not include the person's hair, hat or hairless head shape. Photoshop Face detection would not be useful in your automated Photoshop process.
Your Photoshop add on would need to detect whole heads and hat or head. If you know your images are portraits you may be able to start your Photoshop's Scripts processing with Photoshop select subject. Then get the selection bounds then calculate a crop that is a bit wider then the selections bound and the height be something like top 3/4 of select subjects height selection height bounds. You could test a few of your portrait images manually using select subject to see if such a process would yield the results you want before coding the script.
Thanks for the ideas, @JJMack yes on the coding - I do not have time to learn how to make my own facial recognition software to do this - But I think you are assuming I do not appreciate the fact that someone coded that product, thats not true, I am sure it IS worth 240 dollars, but that is a lot of money in addition to having a monthly subscription to adobe, considering I feel like adobe themselves should have hired someone to make a plugin natively for photoshop that does something similar to portraitcrop or autocrop on github, etc. (which these autocropping softwares have been around for a few years already) so people with creative cloud wouldn't have to extra pay for it. With how much money Adobe makes, I am sure they could have afforded to hire someone to develop it and add it to photoshop. Since there have been products that are already out I am suprised they haven't added autocropping features of not just faces, but all sorts of things by using AI object recognition that they can use to identify objects in lightroom for searching for and organizing photos, for instance.
I feel the Adobe should fix the issues in Photoshop before they attempt to add more features to Photoshop. Also if Adobe add any new features to Photoshop they should test that they have not broken old functions adding the new function. With each new release Photoshop seems to be accumulating addition bugs. Adobe should fix all reported bugs not just fix the major reported problems. For $10 a month Photoshop provide you with an awesome amount of features and function. If Photoshop was bug free you would it would be the bargain of your lifetime.What other 10 dollar a month application do you have that provides as much function as Photoshop. The Problem Adobe has is their program development process are floored too many bugs are released which disrupts their users productivity. Using Photoshop can be a very unpleasant experience. Adobe Management needs to address the problems adobe has developing and maintaining code. With their current development processes I would like to see Adobe fixing existing bugs rather the adding new bugs. Personally I do not want Adobe to add new function there are too many bugs now.
Your right. Photoshop doesn't have a dedicated tool or many facial recognition features. The only one I can think of is liquify. I just experimented with the liquify filter using facial aware settings to isolate and bloat the face. I then made a difference mask between the liquify processed image and the original image. A few more steps and I had a selection around the face and then a crop. This could be batched with an action. I was pleasantly surprised with this proof of concept, however it would need more work and testing. Other steps would also be required.
Some catalogue software may write metadata to the file defining facial tags for names, which could possibly be another option if the metadata bounding area could be used.
None of this is out of the box or easy I'm afraid.