Welcome back to another very exciting tutorial here at the PhotoshopTrainingChannel.com. My name is Jesus Ramirez and you can find me on Instagram@JRfromPTC. In this video, I’m going to show you how to do face swaps in Photoshop. I’m going to start this tutorial by showing you how to cut out the woman’s face and match it to the man’s body. Then, I’m going to show you how to color correct the face so that it matches the skin tones of the body. And, finally, I’ll show you how to make the merge by using the Auto Blends Layers feature in Photoshop. If you recognized the images, then that’s because I’ve used the exact same images in an old face swap tutorial and I felt that old tutorial needed an update that included color matching. So, hopefully, this will be a shorter and better tutorial. Okay, let’s get started.
We’re going to be working with these two images—this woman’s face and this man’s body. And what we want to do is we want to take her face and place it on his head. Before we get started, I want to point out that this works best when both faces are facing a similar direction and have a similar head tilt. So that means that if you have opposing perspectives and angles, then this is not going to work as well. It’s going to look a little fake, so try to get the angles of the head and face matching as best as possible. So the first thing that we’re going to do is select the Lasso Tool to make a selection around her face. You can select the Lasso Tool by pressing L on the keyboard or by selecting it from the Tools bar. Notice that every tool has the keyboard shortcut to the right of it; in this case, it’s L.
Then, you can make a selection around the face, so that’s what I’m going to do now. If you made a mistake, you can hold Alt and Option on the Mac to subtract from a selection or hold Shift to add to a selection, so I’m holding Shift and clicking and dragging, and adding to the selection. So that’s what you want to select more or less. Then you can press Ctrl J, Command J on the Mac, to duplicate that layer. And, now, we just have a face, so I’m going to call this layer “face.” Then I can press V on the keyboard to select the Move Tool, click and drag on the face and drag it over onto the Other Documents Tab.
I’m still holding and I’m going to release, and then, I’ll release the layer there; now the layer’s in this document. It’s a good idea to always work with the face that is larger than the face you’re trying to swap out. That way, you have the advantage of distorting and scaling pixels and not have any pixelation. So, what I’m going to do now is match the size of both faces, so I’m going to press Ctrl T, Command T to transform, and I’m going to click and drag on the opacity label, click and drag to the left to bring down the opacity, and then, move this over his face.
I’m going to use the eyes to match the face, so I’m going to press Ctrl+, Command+ on the Mac, to zoom in, and I’m going to try to align the corner of the eyes here and that’s where I want to scale from. So notice right now that if I click on one of these corner handles and scale, I’m not going to scale from that spot. So what I want to do is hold Alt, Option on the Mac, and click to move the pivot point. Notice how the pivot point was down here. You can also click and drag it, of course, but it’s easier to hold Alt, Option on the Mac, and click.
There’s the pivot point. Now if I scale by holding Shift At, Shift Option, it scales from that point. And, of course, it rotates from that point as well. So, I’m going to try to match the eyes as best as I can and notice how these two are not lining up, well, we can rotate it just a little bit and adjust it as best as we can. I’m going to bring the Opacity back up to 100%.
I’m going to press Enter and I think that looks pretty good. I’m going to zoom out and we’ll see what that looks like and I think this will work. I think I might just rotate it to the left just a little more, so I’m going to bring back the pivot point there and just do a slight, slight rotation, not too much; maybe something like that and I think this will look better. Now, when you’re doing Face Swaps, it’s always a good idea for both faces to have similar skin tones, similar colors, similar color casts, and things like that, so when you merge the layers together, they’ll look much better. So I’m going to show you how to match her skin tone to his skin tone really easily and really quickly. So I have the face selected, then I’m going to go into Image, Adjustments, Match Color, and from here, we can select the source.
That is the document that we’re working in. We’re working in the muscularman.jpg document, so select that, and then, the layers where you want to take colors from. You want to take colors from the background layer, so select the background. Now, that doesn’t look very good, and that’s because the background has the gray and other colors that we really don’t need. We only want the colors of the face, so what I’m going to do is I’m going to cancel that, hold Ctrl Command and click on the face layer thumbnail to make a selection around the face, and then, I’m going to do the same thing. I’m going to go into Image, Adjustment, Match Color, Source, Muscularman, Layer, Background, and notice the difference. Now we’re only looking at the colors that are on the face, which is what we want. It’s a little strong so I’m going to fade it a little bit, and notice how that matches the colors even better. I’m going to press OK, then I’m going to press Ctrl D, Command D, to deselect and I’m going to zoom in and, now, we can keep working on this image.
The problem now is that the original background image does not have a lot of skin texture, in fact, it’s a bit blurry, so we’re going to have to match that. So I’m going to go into Filter and Blur, but before I do that, I want to make sure that I don’t create any soft edges around the image here, so I’m going to lock the transparent pixels, then go into Filter, Blur, Gaussian Blur, and I can move the slider around to add a Blur. But, for something like this, it’s better to start all the way to the left and use the up arrow keys on the keyboard to add blur or the down arrow key on the keyboard to take away blur.
So, I think, about will be good for this example, then I’m going to press OK, and if you want to add more blur in certain areas, then you can use the Blur Tool, and there it is, taking away some of the skin texture here on the cheeks, just because it’s not like that on the original image and we wanted to match as best as possible. When you’re done, you can just unlock the transparent pixels, and I think the image is looking much better now.
What we’re going to do now is we’re going to duplicate the background layer, Ctrl J, Command J on the Mac, and I’m going to disable the original background. I’m going to call it the “copy body.” So we have the face and we have the body. I’m going to press Ctrl Command and click on the layer thumbnail to make a selection around the face. Select the body and I’m going to go into Select, Modify, Contract, and I’m going to select 5 pixels. For your image, you may need more or less pixels, depending on the size of your image.
So if 5 pixels doesn’t work for you, try adding 10, try adding 20, or maybe just add a couple. So I’m going to press OK and notice how I have that space in-between the selection and the edge of the face layer. That’s what you want. So I’m going to disable the face layer and with the body layer selected, I’m going to press the Delete key or Backspace on the keyboard to remove those pixels. You can use the Eraser Tool, of course, or any other tool that deletes pixels. And, now, we have the body. For whatever reason you hit the delete key and the face is still showing, it’s probably because you have the two layers enabled, so make sure that you’ve disabled the background layer and only the body layer is enabled, so that you’ll see through it. So I can put the face on top of that and bring the opacity all the way to 100%, just to make sure that we don’t see any of the transparency, then I can press Ctrl D, Command D, to deselect, and I’m going to zoom out, just so you could see what’s going to happen here.
So I’m just going to zoom out just a little bit. I’m going to select the face, I’m going to hold Shift, click on the body, I’ve selected both. And I’m going to go into Edit, Auto Blend Layers. If you don’t see Auto Blend Layers, then you’re probably on an older version of Photoshop and it won’t be available to you. If I remember correctly, this was available starting in CS5 or CS4, but if you’re in something older, then you won’t have Auto Blend Layers. So Auto Blend Layers and make sure you have Panorama selected, Seamless Tones and Colors, Content Aware Fill Transparent Areas, and press OK, and notice the magic.
Photoshop blends those two layers automatically and it looks great. So you can see what happened here. Photoshop added a layer mask to the body layer, added a layer mask to the face layer, and then, merged those two layers on this layer here. So I can put those into a group. With the top layer selected, I’m going to hold Shift, click on the bottom layer, press Ctrl G, Command G on the Mac, to put those into a group. So, I’m going to enable the background layer, and that’s before and that’s after. Now there’s a little problem, which is the Auto Merge adjusted the luminance values and the colors of certain pixels, like the background here. You can sort of see when I turned that layer on and off that those changed. If you don’t want that, what you can do is with the group selected, you can hold Alt, Option on the Mac, and click on the new layer mask icon.
That creates a black layer mask that hides everything inside that group. What you can do now is simply paint with white using a soft brush just on the face, and there you go—before and after. I want to point out that if you’re on an older version of Photoshop, anything older than Photoshop CC2015, you will not have the Merge Layer, you will just simply have the two masks original layers, so you can merge those two together if you like. And one other thing, sometimes you may get an outline around the face. If you see this result, you can try increasing the contraction–something more than 5 pixels. Or if it’s any easier for you, you can create a new layer and use the Healing Brush Tool with Content Aware to get rid of the outline. And that’s it for this tutorial. I hope that you enjoyed it and that you learned something new.
As found on Youtube