Join Deke McClelland for an in-depth discussion in this video Special face-recognition scenarios, part of Photoshop: 2015 Creative Cloud Updates.
- [Voiceover] In this movie, we'll take a look at a couple of special case face recognition scenarios. So, so far, we've been looking at the straight ahead mugshot which makes it pretty easy for the Liquify filter to recognize the facial features, but what if we're working with a more interesting three quarter portrait shot, or we have multiple faces inside of a single photograph. Well, turns out, Liquify deals with these scenarios in different ways. So, the first thing I'm gonna do is turn this image into an independent layer by double clicking on the background here inside the layers panels, and I'll just call this layer woman.
And then I'll right click anywhere inside the image window with the rectangular marquee tool and choose convert to smart object. Now, I'll go up to the filter menu, and because Liquify was the last filter I applied, I can choose it right here from the top of the menu. Now, currently, my face shape option is twirled open, and that's because that's how I left things at the end of the previous movie. I'm gonna go ahead and twirl it closed and expand eyes instead. And now notice, if I reduce or expand the size of the eyes, everything's working just fine here inside the image preview.
Things are similarly predictable if I reduce the eye distance value which moves the eyes together or if I expand that value to, for example, 40 will do. All right, I'll go ahead and twirl that closed and twirl open mouth, which is where things go a little bit awry, at least where this specific image is concerned. So for example, watch the image preview as I reduce the mouth width, which ends up I think quite obviously, effecting the nose. Now, that's not really the effect I want, I want the nose to widen up a little bit, in which case, I'll crank the mouth width value up to 53.
So, in other words, once Liquify misidentifies a feature inside the image, it continues to do so. So notice, if I increase the mouth height, I am once again affecting the nose and if I reduce that mouth height value, I'm ultimately changing the perspective of the nose so that we're seeing it from a more perpendicular angle. And so, if I change the smile value, you can see I'm distorting the nostrils upward or I can I move them a little bit inward instead. All right, I'll go ahead and twirl that option closed and twirl open face shape this time.
Now things work as expected when I modify the forehead value inside this particular image. However, the chin height value ends up affecting the location of the mouth. So, if I increase that value, I'm gonna take the mouth upward, which does end up by correlation expanding the chin, although that is not the typical behavior. Anyway, I'm gonna take this guy to about 40 here and then notice what the jawline option does. It either expands or contracts the cheeks this time around.
All right, so I'll just set that to four or what have you and then finally, I can make the face wider which is gonna pretty much flatten things, or things become very unfortunate indeed if I take that value down, and so I would think the most humane thing to do in this case is leave it set to zero after which point I will go ahead and click OK. And so just to give you a sense of what we've done, press CTRL Z or command Z on the Mac to undo my changes, that's the before view, and that is the after.
So, in other words, Liquify is going to affect different images in different ways. All right, now go ahead and switch over to this photo right here, which shows two women in the same photograph and because this is a horizontal image, I'll just go ahead and consolidate all the windows and zoom in a little bit as well. I once again want to apply Liquify as an editable smart filter, so I'll double click in the background and name this layer twins and then I'll right click inside the image with the rectangular marquee and choose convert to smart object. And because Liquify is the last filter I applied, I can just press CTRL F or Command F on a Mac to bring up the Liquify utility.
All right, I might as well zoom in a little bit here, so that we can see these young women up close and personal. And I'm gonna twirl closed face shape and twirl open mouth. And I'll crank up the smile value to something absolutely ridiculous, like so. And as you can see, we are affecting the woman on the left independently of the women on the right. So whatever modifications I make to that smile are affecting just one of the people in this photograph. And so, I'm just gonna set this value to 50 let's say and then I'll crank up the mouth width to just about its maximum, so that we can really see the effect.
And I don't want this to be in any way, shape, or form to be subtle. And now, I'll twirl open the eyes and I'll go ahead and take the eye tilt value down let's say, and notice, even though her eyes are not exactly on a horizontal axis, they're at a little bit of an angle here, things are working out quite predictably once again. And then finally, I'll take up the eye size value, maybe not quite that high, something like 20 should do. All right, so obviously, we're having no problems modifying the woman on the left, but how do we access the woman on right? Well, you do that by clicking on this select face option right here, which is gonna tell you how many faces Liquify has identified, and this case, it's quite accurately found two.
So I'll go ahead and switch to face number two this time around. And just so that we have two smiling sisters, I'll take her smile value up a little bit to let's say, 34, although, all these modifications are fairly arbitrary. And then I'll increase the mouth height value there in order to expose a little bit more of her teeth and I'll take up the mouth width value as well. All right, now her eyes are once again on a angled axis but happily, Liquify has no problems identifying them, so I'll o ahead and tilt the eyes a little bit downward let's say and I'll increase the eye height value as well, just so that we can see that modification happening on screen.
All right, now I'll go ahead and click OK in order to accept that change. And once again, for the sake of comparison, this is the original before version of the image, and this is the after version. Thanks to the Liquify filter's ability to identify and modify multiple faces inside of a single photograph.
To start, Deke covers the June 2015 release of Photoshop CC. Tune in and learn how to apply multiply strokes, drop shadows, and other effects to a single layer; work with the new Glyphs panel; trade dynamically linked assets via the Library panel; create multiple artboards in a single document; and preview your designs directly on a mobile device.