Face Swapping 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.
How to Face Swapping In photoshop
We are 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.
1. Open the Photoshop for face Swapping in Photoshop.
At first, Open the photoshop and create a new document for swap faces in photoshop. Then, You can follow along with any image that you like, but if you want to follow along with the images that you are going to use. These are the two documents that you will work with, this photo. This is the fact that you are going to replace the other body.
2.Using The Lasso Tools for face swapping in photoshop.
The first step is to select this guy’s face and you are going to do so by using the lasso tool. The lasso tool allows us to freehand a selection. So, You just going to freehand the selection around this face, and notice that you 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, You very loose, no need to be precise at this moment.
Then You are going to use the keyboard shortcut Ctrl C on Windows to copy, that’s Command C on the Mac, and you going to click on the tab to go back into your working document and you’ll paste by pressing Ctrl V, Command V on the Mac, and there’s his face.
Net You need to match this face onto the face of your model and you are going to do so by selecting the move tool, clicking and dragging up. Then You 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 you go 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 you’ll call it to face just so that you know what you working with. And you go to match this face onto the face below.
3.Using the move tools for face swapping in Photoshop
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, You go to use his right eye, but in your image, you can use the left one if you prefer.
Then You are going to press Ctrl T, Command T to transform to make sure that you have transformation handles. Also, if you’re in the Creative Cloud, make sure that you click on the checkbox 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 You disable this face layer, you’ll see that it matches the layer below. And actually, by disabling the layer, you reset at the reference point. So, You go to click and drag it back up into that same spot. And You go 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 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 You need to transform the second face to get it as close as You can to the original. And You go 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 you 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. You can use these three split buttons to cut up your grid into different sections. YOU go to select this vertical button and then You ll add a split right in the middle of his face, splitting the face in half. And you 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 You can click and drag this up.
If You need to, you can hoover into one of the corners so that you can scale this in. You don’t need to do that in this case. So, You just going to press Ctrl Z, Command Z to undo. You should also rotate it. So, you have those options if you need it in your face swap. In this case, You just going to click and drag up a bit. And you go to create one more horizontal split and you’ll do it right here, right above his mouth.
And you’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, You think you’ve done a good job. Before moving on you 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 you 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, you just going to click on the checkmark to commit the changes and you go to increase the opacity by dragging the label to the right.
4.Using the layer mask tools for face swapping in photoshop.
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 your 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, You are making sure that no pixels of his face are going over his hair and in areas like that. Making sure that you match the jawline as best as you can. But notice that even at this point, you are not being too precise at all, You are just roughly getting the shape of the face like so. And you are noticing that he has a bright highlight here on his forehead and that probably won’t look good in the blend so you 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 you don’t have sharp edges that might make the composite look unrealistic. You are going to reveal more pixels down here on his chin and you go 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 you 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 you are looking at it, And you are 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. You need to actually delete those pixels for this to work.
Then you are going to click on our model’s layer, press Ctrl J on Windows, Command J on the Mac to duplicate and you are going to disable the original layer. Next, you are 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 a 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 You create the blend. You are going to use five pixels, but you may need to use a larger value if you’re working on larger images.
You ‘ll press okay. With this background copy selected, all you are going to do now is hit the backspace key on Windows, the delete key on the Mac and notice that you ‘ve deleted the pixels on this layer. Also notice that when you 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 You are going to go into edit, auto-blend layers and make sure that you have panorama and these two checkboxes selected. Seamless tones and colors allow Photoshop to adjust the brightness and colors of the image to create a better match. And this second checkbox allows Photoshop to use content-aware fill in areas where there are transparent pixels.
Then press okay and notice that almost like magic, You are going to press Ctrl D on Windows, Command D on the Mac to deselect, and you are 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 you 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 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 show you how to fix a problem that comes up when you do your face swaps.
5. In a Nutshell:
Notice that when you 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 you ‘ll select the brush tool, click on this drop-down and bring the hardness down so that you 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.
You are making the brush a little bit larger by tapping on the right bracket key on the keyboard. And now you can disable and enable this layer and you’ll see that the face-swapping in Photoshop only affected the face and not the rest of the image.