It’s a fact: people have a right to digital privacy. Here’s one more: online publishers and businesses worldwide must respect those rights and provide visual anonymity when it’s needed. That’s why we decided to give you the fastest and easiest way to keep people’s privacy in photos. Meet Face Blur by Uploadcare!
This tool completely automates face blurring in photos and helps you get the job done in just a few clicks, without graphic editors and manual work. Keep reading to find out how it works, when it comes in handy, and how you can actually use it in Uploadcare.
What Is Face Blur and Why Would You Need To Blur Faces in Photos?
Face Blur is one of the built-in image processing operations available in Uploadcare. This feature leverages AI and deep learning to detect faces in photos. Once detected, the algorithm blurs them out automatically.
The most common use case for this technology is to comply with privacy laws and protect the identity of individuals who don’t want to be recognized in the media or anywhere else online. Here are just a few examples of situations in which a face-blurring tool may come in handy:
✅ Blurring faces on product photos in online marketplaces
Let’s say a guy wants to sell a car online, and he has this nice photo with his car in the background. He wants to use it as a product photo, but he doesn’t want to show his face on the internet. The solution would be to blur his face. By the way, if he also wants to blur the license plate, Uploadcare has another solution to do that.
Adding the ability to automatically blur faces and other regions in product photos can boost user experience in an online marketplace.
✅ Protecting the privacy of people on news platforms or online media
In photojournalism and news reporting, you might need people to sign certain papers to allow you to use their photos in the media. If a person doesn’t want to sign or a journalist didn’t get a chance to ask, the photo can still be published if faces are blurred.
✅ Protecting the privacy of people on social media
Whether it’s a photo from a protest, or people captured in a photo don’t want to get spotted in a certain place, the face-blurring tool by Uploadcare can blur all the faces in one go.
✅ Protecting minors online
A lot of parents don’t want to show their children’s faces anywhere online. If you still need to publish a photo with kids in it—for instance, to sell clothes—you can use Blur Face to protect their privacy. (No more faces covered by emojis on the internet 😆 )
How the Algorithm Works
First, the software detects all faces in a photo using convolutional neural networks trained with deep learning technology.
Once faces have been detected, the algorithm adds a layer that blurs them out with Gaussian Blurring (also known as smoothing), which reduces image details so that facial features can no longer be seen by the human eye.
Uploadcare Face Blur allows you to choose the intensity of blurring by changing the :strength parameter. The value of :strength can be as high as 5000, while the default value is determined automatically based on the size of the region.
All operations are done with Uploadcare Image CDN and take just a few minutes to set up. Now let’s dig into a detailed tutorial on how to get things rolling.
How To Blur a Face in a Picture?
First off, you need to sign up for an Uploadcare account. After that, you can create a new project from the dashboard and start uploading images.
Once your image is uploaded, you receive a CDN link with its unique identifier (UUID). Now you can apply effects to your images, from simple crop to more advanced features like face blur, image enhance, and smart resize.
All image transformations are implemented by simply adding different parameters to the URL. Let’s go through the process together to make things clear.
Here’s the original photo we want to transform:
After uploading it to Uploadcare, you’ve got a CDN link that looks like this:
- 427900f1-93c2-47f7-be9a-2da72814b78e — the unique file identifier assigned to this file.
- girl.jpg — the file name (it’s optional).
To apply Face Blur, we need to remove the file name and add a few parameters to this link. The link will look like this:
- /-/ — a mandatory delimiter that separates operations from one another and other path components.
- preview — default preview operation for all image transformations.
- blur_region — CDN operation URL directive.
- faces — one more CDN operation URL directive.
This way, we gave our CDN a command to blur all the detected faces in this photo. And here’s the result:
If you need to make the effect more intense, you can add a number up to 5000 to the end of the link. The link will look like this:
That’s it! Find more information about image transformations on our blog.
Are There Any Limitations to Face Blur?
Uploadcare Face Blur has basic limitations that are common to all face detection algorithms: if the quality of the image is poor or people in the photo are too far from the camera, the algorithm might not be able to detect and blur some of the faces. Also, the algorithm tends to better detect the fronts of faces, rather than facial profiles.
Currently, Face Blur can’t be applied selectively to just a few faces—it works for all the faces detected in a photo. If you need to blur selectively, you can do it manually by specifying the coordinates of a region you want to blur. You can read more about it in our docs.
Also, if you have any difficulties using this feature or suggestions on how we can improve the existing functionality, feel free to create a post in our Community Area.
With Face Blur, you can detect and blur faces in photos automatically, without using additional software, right in a browser. This feature can save you a bunch of time if you often need to protect people’s privacy on your website.
Face Blur is just one of the image transformations available at Uploadcare. Besides face blurring, you can blur specific regions, crop, resize, flip, and enhance photos in just a few clicks.
Unleash all the capabilities of Uploadcare Image Transformations