Swap Faces In Photoshop (FAST & EASY!)

Swapping faces in Photoshop
is a lot easier than you think. Photoshop has this awesome feature
that allows you to blend multiple images together
to create seamless panoramas. Photoshop matches both tone and color to create smooth transitions
between each photo. In this video, I’m going to show you
how to use that tool to easily swap faces in Photoshop. Obviously this example is a bit silly,
but you can use this feature in your photography. If you have somebody who closes their eyes
in a photo, you can find another photo of the same person
and do a face swap so that the eyes are open in the image that you like. Let me show you how this technique works. Hi I’m,
Jesus Ramirez, from the Photoshop Training Channel. You can follow along
with any image that you like, but if you want to follow along with the images
that I’m going to use, then look down below in the description.
I’ve placed links to Adobe Stock, which is where I got these photos and you can download the
watermark version and follow along with me.
You can obviously license the images if you like. Okay,
let’s get started. These are the two documents
that I will work with, this photo of a man working out and this is the face
that we’re going to replace over the other body. The first step is to select this guy’s face
and we’re going to do so by using the lasso tool. The lasso tool allows us to freehand a selection. So, I’m just going to freehand
the selection around this face, and notice that I’m just being very loose at the moment. You don’t have to be precise at all at this step. If you missed an area,
you can hold shift and click and drag to add to the selection. If you make a mistake and you accidentally
add an area that you didn’t intend to, you can hold Alt on Windows,
Option on the Mac and click and drag to subtract from the selection. Again, I was very loose,
no need to be precise at this moment. Then I’m going to use the keyboard shortcut
Ctrl C on Windows to copy, that’s Command C on the Mac,
and I’m going to click on the tab to go back into our working document and I’ll paste by
pressing Ctrl V, Command V on the Mac,
and there’s his face. Net we need to match this face onto the face
of our model and we’re going to do so by selecting the move tool,
clicking and dragging up. And then I’m going to zoom in. You can zoom in by pressing the Z key and
clicking to zoom in. If you’re zoomed in really close and you want
to move into another area, you can hold down the H key,
click, drag the box to another area,
release and Photoshop zooms back in. So, this is a quick way of zooming in and
out. In this case that is a little too close so
I’m going to zoom back out. You can zoom out by holding Alt,
Option on the Mac and scrolling down on the mouse wheel. Next reduce the opacity of this face layer
so that you can better match it to the face below. In Photoshop there’s a really cool feature,
you can actually click and drag on the label to make an adjustment to any input box.
You don’t have to use the drop-down or slider if you don’t want to. And now you can see through this layer,
which is the face and I’ll call it face just so that we know what we’re working with.
And we’re going to match this face onto the face below. To do so,
select the move tool so that you can move the face around and place it accordingly. And when matching faces, it’s always a good
idea to use a reference point. Generally speaking,
eyes make a fantastic reference point. In this case, I’m going to use his right eye, but in your image,
you can use the left one if you prefer. Then I’m going to press
Ctrl T, Command T to transform to make sure that I have my transformation handles. Also, if you’re in the Creative Cloud, make sure that you click on the check box
to enable the reference point, also known as the pivot point. If you’re in an older version of Photoshop,
don’t worry about it, it’s always on you cannot disable it. But anyway,
click and drag the reference point over into the corner of the right eye and if I disable
this face layer, you’ll see that it matches the layer below. And actually, by disabling the layer,
I reset at the reference point. So,
I’m going to click and drag it back up into that same spot. And I’m going to hold Alt on Windows,
Option on the Mac, and click and drag to scale that in. Depending on your version of Photoshop and
what settings you have, you may need to old the shift key to scale
in proportion. Just make sure that you scale proportionately
and that you match the eyes in both layers. Then we need to transform the second face
to get it as close as we can to the original. And we’re going to do so by pressing Ctrl
T, Command T to transform,
right clicking and selecting warp. In the new version of Photoshop this warp
is completely different than in older versions. Before you only had a three by three grid,
but now you can customize the grid however you like,
and I will use a custom grid to adjust the face. If you’re in an older version of Photoshop,
then you’ll be stuck with a three by three grid,
but that’s okay, But that’s OK! just distort the image using those handles. And actually, this technique should work
with Photoshop CS6 at the very least. About six years ago when I first started this
YouTube channel, I made a tutorial with the same technique
and it worked with Photoshop CS6, So, I know it works and that video’s still
there if you would like to watch it. You can use these three split buttons to cutup
you grid into different sections. I’m going to select this vertical button and
then I’ll add a split right in the middle of his face,
splitting the face in half. And I can click on this point on top,
hold shift, click on the point on the bottom and then
move both points at the same time to adjust the tilt of the face. Remember to keep your adjustments subtle,
extreme adjustments will not look realistic. If you need to you can add more splits,
for example, you can add a horizontal split. You can click on the horizontal split button
and add it just above his eyebrow, and click and drag on these top handles to
adjust his forehead. Now adjust the points at the bottom,
make sure that none of the points are selected, meaning that they’re not filled in.
If you have a point that’s filled in simply hold shift and click on it.
Then hold click again and click and drag to make a selection around the three points at
the bottom. And I can click and drag this up. If I need to,
I can hoover into one of the corners so that I can scale this in.
I don’t need to do that in this case, so, I’m just going to press Ctrl Z,
Command Z to undo. I could also rotate it. So, you have those options if you need it
in your face swap. In this case I’m just going to click and drag
up a bit. And I’m going to create one more horizontal
split and I’ll do it right here, right above his mouth. And I’ll, once again,
make sure that no other point is selected and click and drag to select these three points,
and drag this down just a bit just so that his nose matches and that his mouth matches
as well. At this point you can reduce the opacity to
make sure that the face you’re working on matches with the face below.
In this case I think we’ve done a good job. Before moving on I would like to show you
one cool trick. If you select this first split button, it will create both a horizontal and vertical split, as you can see from the preview
when I hover over the grid. If you click on the same button,
it will disable the tool. But, when you hover over the grid, if you hold the Alt key on Windows,
Option on the Mac, you’ll be able to create that same vertical
and horizontal split. So that is a keyboard shortcut to quickly
adding those splits. For now,
I’m just going to click on the check mark to commit the changes and I’m going to increase
the opacity by dragging the label to the right. Next, create a Layer Mask by clicking on the new Layer Mask icon. A Layer Mask allows you to hide pixels when you paint over it with black.
Let me pan just a little bit, select the move tool and make sure that you
click on this icon to enable the brush settings. And from here,
make sure that the hardness is set to 100% and also bring the spacing down to 1%.
And make black your foreground color so that when you paint on this Layer Mask you hide
pixels. Next,
brush over the areas that you do not want to include in the blend.
In other words, I’m making sure that no pixels of his face
are going over his hair and in areas like that. Making sure that I match the jawline as best
as I can. But notice that even at this point,
I’m not being too precise at all, I’m just roughly getting the shape of the
face like so. And I’m noticing that he has a bright highlight
here on his forehead and that probably won’t look good in the blend so I’m just going to
delete that and use the original model’s forehead for the blend like so. Then you can press X on the keyboard to swap
your foreground and background color. Reduce the size of the brush by tapping on
the left bracket key on the keyboard. and then painting over his eyebrow here just
to round off that area just so I don’t have sharp edges that might make the composite
look unrealistic. I’m going to reveal more pixels down here
on his chin and I’m going to continue working on his jawline. As you’re working you can go back into the
layers panel and disable and enable the face layer so that you can see what areas you’re
missing. It looks like I need a little more work here, so you can press X on the keyboard to swap
the foreground and background color. Now that black is our foreground color, paint on the side of his face to hide these pixels. And now that I’m looking at it, I think the blend will work better
if we push these pixels in. And I’m also going to fine-tune the other
side of his face. Once you’ve gotten to this point,
all you have to do is right click on the Layer Mask and apply the Layer Mask.
We need to actually delete those pixels for this to work.
Then I’m going to click on our model’s layer, press Ctrl J on Windows,
Command J on the Mac to duplicate and I’m going to disable the original layer.
Next, I’m going to select the pixels around his face.
To do so hold Ctrl on Windows, Command on the Mac and click on the face layer
thumbnail and that will load a selection around his face.
Then click on the eye icon to hide that layer and reveal the copy of the background.
Then go into select, modify, contract, and this command allows you to make selections
smaller and you’ll want to do so because you want pixels to overlap when we create the
blend. I’m going to use five pixels,
but you may need to use a larger value if you’re working on larger images. I’ll press okay.
With this background copy selected, all I’m going to do now is hit the backspace
key on Windows, the delete key on the Mac and notice that
we’ve deleted the pixels on this layer. Also notice that when I enable the face layer,
now there is a gap in between the selection and the edge of the layer,
that’s what you want. Next, hold the shift ad click on the face layer to select both layers. Then I’m going to go into edit,
auto-blend layers and make sure that you have panorama and these two check boxes selected. Seamless tones and colors allows Photoshop
to adjust the brightness and colors of the image to create a better match. And this second check box allows Photoshop
to use content aware fill in areas where there are transparent pixels. Then press okay and notice that almost like
magic, Photoshop made a very convincing face swap
with just a few clicks. I’m going to press Ctrl D on Windows,
Command D on the Mac to deselect, and I’m going to double click on the hand
tool to fit the image to screen. Notice what Photoshop did here,
it kept our original layers and it created a new face merge layer. And you can actually see here that we had
some transparent pixels and Photoshop used content aware fill to generate the pixels
in that area. So that’s why you need to check that content
aware fill check box. By the way,
if you’re in an older version of Photoshop, you will not have access to the content aware
fill check box, so you will have to remove those transparent
areas with the healing brush tool. Next let me show you how to fix a problem
that comes up when you do your face swaps. Notice that when I compare the new merged
layer to the original image, the luminous values and the colors shift a
bit. This happens because Photoshop adjusted those
values to create the blend. If you don’t like the luminosity shift over
the entire image, what you can do is simply highlight that face
merge layer, hold Alt on Windows,
Option on the Mac. and click on the Layer Mask icon to create
an inverted Layer Mask, a mask that is completely black which will
hide all the pixels in that layer, but then you can select the brush tool to
selectively bring pixels back. So I’ll select the brush tool,
click on this drop-down and bring the hardness down so that we can have a soft edge.
And make sure that you have white as your foreground color. So, you can just click on this icon and you
can just start painting in those pixels. I’m making the brush a little bit larger by
tapping on the right bracket key on the keyboard. And you can just selectively bring back the
pixels from that layer. And now you can disable and enable this layer
and you’ll see that the face swap only affected the face and not the rest of the image. Next, I would recommend that you try out this
technique with your own photos. Try placing yourself in a movie poster or
maybe even a magazine. If you do try this technique then don’t forget
to share your results on Instagram with the hashtag ptcvids,
I would love to see what you come up with. And if you enjoyed this video then you’ll
probably like my video on hair swapping. I’ll place a link down below in the description
so you can check it out right after this tutorial. Also,
if this is your first time at the Photoshop Training Channel, then don’t forget to click on that subscribe
and notification button so that you don’t miss any new Photoshop tutorials. Thank you so much for watching,
I’ll talk to you again in the next video.

36 Replies to “Swap Faces In Photoshop (FAST & EASY!)

  1. Thanks a lot, Jesús – I've been very successful (if I may say so myself) using your 2013 version in the past, and then the 2016 'version 2' I shall now update to this 2019 update!

    P.s. On the slim chance it's only me – I noticed your link above – "Original Swap Head Tutorial" – returns a "Video Unavailable" message from YouTube.
    Perhaps you meant: https://www.youtube.com/watch?v=Pg4I9VwsUjA (for 2016) ?

  2. If have done this 100000000000 times over the last 18 years where the results are printed out large format
    Man what a hassle this is
    In your case the face angle is straight into the lens which is easy.
    In the real world this is most of the time not the case, also there is most of the time difference in lighting , skin tone (color), skin type (raw or smooth) etc.
    Doing this the old fashion way, all by hand, not with those tools, is much more secure, easier, and you have much more control .

  3. Wow, I have never realized the pivot point isn't only for rotating, but also for scaling. I appreciate that you show little details like that.
    When it comes to the layer opacity, I like to use the numbers as a shortcut.

  4. Hello sir i hope you are fine!! i am face problem about spacebar shortkey in illustrator and photoshop 2020. spacebar did not work as hand tool please solve this problem thanks!!

  5. I spend hours fumbling in Photoshop, these tutorials save me loads of time. I guess it's true what they say, 'Jesus saves'.

  6. Since many of us use Photoshop plug-ins can you do some tutorials on the most popular plug-ins such as Perfectly Clear, Luminar 4, Topaz filters, etc. Thanks!

  7. It would be great for compositing if photoshop had a seemless tones and color option somehow available in say an adjustment layer. Matching tone and color must be automated.

Leave a Reply

Your email address will not be published. Required fields are marked *