Is there a way to track down and nicely blur faces or part of face (like hair) for multiple 360 degree images via python opencv. ? I'am using Windows OS and python3.8
Asked
Active
Viewed 625 times
2 Answers
1
Two methods with opencv and python
- Using a Gaussian blur to anonymize faces in images and video streams
- Applying a “pixelated blur” effect to anonymize faces in images and video
The method is well explained here and you can access code.
Now, a more advance solution if you are using GPU, and you want to run the application on a live video stream.. its with nvidia DS and Deep Learning. The github here reports results on T4, i believe you should be able to run it on Jetson nano. Here is the link

Tarik007
- 474
- 1
- 4
- 14
0
Yes, there is. First you need to detect the face(s) using Haar-cascade, which will provide you the rectangle coordinates of the face location. Then you can use this answer to blur the desired portion of an image.

ZdaR
- 22,343
- 7
- 66
- 87
-
But i cant find there information about detecting random parts of face (hair, forehead and etc.) – Darius Apr 21 '20 at 06:31
-
That's a different problem altogether. But surely you can estimate these features from the bounding rect. – ZdaR Apr 21 '20 at 07:00