Artificial intelligence has come to very good places in image processing. It offers a tool to change the expressions on the the people’s faces with artificial intelligence.
With this neural filter feature, we can increase or decrease the happiness, surprise and anger on faces by using simple scrolling options.
In addition to this, we can further improve photography with aging and rejuvenation techniques. In this video, I’ll try to show how to neural filter is used and how facial expressions are changed.
Let’s open Photoshop, and then open the photo we want to change facial expressions. I’ll make these arrangements on the Leonardo Di Caprio’s photo I found on the internet.
When I transferred the photo here as a JPEG, the layer will come as Background. Using the Ctrl + J key combination, I first duplicated this layer. Because when needed, I should be able to access the original photo.
While the new layer we created is selected, we select the Neural Filters option under the Filter section in the menu above.
When we select it, the right side panel will change and a screen like this will open. In this Neural Filters panel, I click on this little icon on the left, and so I come to the part I’m going to use to change facial expressions, the Smart Portrait part. Right next to it, you will see an on/off toggle.
When I click on it, these options from the right will open. If these options are not opening for you, you may see a Download button similar to this one. You may need to download the Smart Portrait here by clicking on it.
I can say that Smart Portrait gives very nice effects. I’m going to shrink the right panel to widen the image a bit.
And let’s make sure that only the parts we need show up. When we activate the Smart Portrait section, it’ll automatically recognize the face here. Therefore, the automatic recognition of the face here is an indicator of artificial intelligence.
Now let’s come to the main topic of our tutorial, changing facial expressions. Of course, there are several options here by trial and error, you can apply them in your own work. I’m just going to try to show you what works.
For example, there is the Be Happy part. I’m swiping it to the left first, to try it, and we see that the Be Happy part is activated here.
Because we have moved the Slider. Here we reduce the level of happiness a little bit. As a result of the changes made, many details will be calculated. So you may not see any change instantly.
According to the speed of your computer, the amount of change, this process will increase or decrease. As you can see, when I lower the happiness rate, I get such a facial expression. How was it, it was like this, it was already smiling photo.
Now I’m closing the Be Happy part and coming to the Surprise part. I’m moving to the Surprise part to the far left. Let’s see what the result will be. You can see the result here.
Now I slide it to the right and again the chin is down, the mouth is in a surprise position, the eyebrows are slightly raised. Let’s cancel and check again. That’s the surprising part. And another option as a facial expression is the Anger option. We can also look at the results by increasing or decreasing it.
I’m decreasing and increasing right now. And you can also use them in combination. For example, let’s maximize the whole. Since there is both surprise and laughter, there is some elongation in the teeth here.
Subject is the parts related to the face. More features that we can change in terms of the general appearance of the face, not expressions. For example, Facial Age.
When I swipe this to the left, you will see the person getting younger. And if I swipe to the right, you can see that the image here is getting older. Of course we can use the facial expressions. We just created together with the once here.
When I increase Gaze, pay attention to the eyeballs. It will shift your pupils. It won’t look like he’s looking straight into the camera. When we slide it towards to the left side, it’ll be set to face towards the left of the camera.
There’s a phrase called hair thickness. Let’s see how it will affect the hair. I mark the thickness of the hair and pull it to the left, where I think the hair strands will be thinner, and let’s pull it to the right. Here, we can think of it as hair density rather than hair thickness.
I think it works pretty well. Although it has made changes in some places, I can say that the image itself is in a consistency that makes you forget the original when you look at it for a few seconds.
There is a Head Direction option. Right now the head direction is just for us, right for the camera, and we can change that head direction. We can make it look like it has turned its head a little to the left, as if it has turned itself a little to the right, or vice versa, we can make it look like it’s turned the other way.
While this option sometimes produces strange results, it works fine on both sides of images, directly opposite.
The Light Direction part is the direction the light comes from. I activated immediately and swipe left first, it means the light is coming from the left. As you can see it’s coming from the left and shadows have formed on the right.
Now I’m going to swipe to the right and this time the light is coming from the right. Shadows appeared on the left. The original was like this. So if you look at the glare over there, and if you look at the flash in his eye, is looking straight ahead.
Now let’s use them all together. Let’s get the most ridiculous image together. If it happens in a way you like, and you want to save it that way, you can review the options in the Output section below. Here there is an option to save this image as a new Layer, it’ll save it directly to a new layer without the need for the Ctrl + J key combination, we just performed.
Here I select New Layer and click the Ok button. As you can see, it just saved that part of the face on a new layer. When I remove the visibility of this face by clicking the eye icon on the left, we will see the original image. And when I make it visible again, we will see the edit we made.
In this tutorial, we learned how to change facial expressions in a portrait photo by using the possibilities of artificial intelligence in Photoshop. Along with a few additional features, we touched on a Smart Portrait feature amongst the Neural Filters option.