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
mrs. 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
gonna use then look down below in the
description
I 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 gonna
do so by using the lasso tool the lasso
tool allows us to freehand a selection
so I'm just gonna freehand the selection
around his 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 a working document and I'll paste
by pressing ctrl V command V on the Mac
and there's a space next 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
gonna 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 that we're gonna match this
face onto the face below to do so select
the move tool so 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
or transform to make sure that I have my
transformation handles also if you're on
the creative cloud make sure that you
click on this checkbox to enable the
reference point also known as a 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 gonna click and drag it back up into
that same spot and I'm gonna hold alt on
windows option on the Mac and click and
drag to scale that in depending on your
version of Photoshop in what settings
you have you may need to hold 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 gonna do so by
pressing ctrl T command Z 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 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 still there if you would like
to watch it you can use these three
split buttons to cut up your grid into
different sections I'm gonna select this
vertical button and then I'll add a
split right in the middle of its 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 adjustment 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 its eyebrow
and click and drag on these top handles
to adjust this 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 shift 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 hover into one of the
corners so that I could 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 whap 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
checkmark 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 a 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
then 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 or foreign 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 a space 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 in his
forehead and that probably won't look
good in the blend so I'm just gonna
delete that and use the original models
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 its 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 gonna reveal more pixels down here
on his chin and I'm gonna 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 are 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 the 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 need 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 models
layer press ctrl J on Windows command J
on the Mac to duplicate and I'm going to
disable the original later next I'm
going to select the pixels around his
face to do so hold ctrl on Windows
command in 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 in this
command allows you to make selection
smaller and you want to do so because
you want pixels to overlap when we
create the blend I'm going to use 5
pixels but you may need to use a larger
value if you're working on larger images
I'll press ok with this background copy
selected all I'm gonna 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 later 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 shift and click on
the face layer to select both layers
then I'm gonna go into edit auto blend
layers and make sure that you have
panorama and these two checkboxes
selected seamless tones and colors
allows Photoshop to adjust the
brightness and colors of the image to
create a better match
and the second checkbox allows Photoshop
to use content aware fill in areas where
they are transparent pixels then press
ok 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 a 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 in Photoshop use
content that were fill to generate the
pixels in that area so that's why you
needed to check that content aware fill
checkbox by the way if you're in an
older version of Photoshop you will not
have access to the content aware fill
checkbox 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 wops notice that when i
compare the new merged layer to the
original image the luminance values and
the color shift of it 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 later but then you can
use the brush tool to selectively brim
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 phase 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
facing 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 ptc vids 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 the
end 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