Skip to content

Video anonymization software in Python that blurs people's faces using OpenCV, YuNet.

License

Notifications You must be signed in to change notification settings

markusschmitz53/demo-face-blur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c818fd5 · Sep 9, 2024

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-face-blur

Video anonymization software in Python that blurs people's faces using OpenCV, YuNet. Check out my post on blurring faces @ medium.com

Requirements

  • Python 3.9
  • OpenCV 4.7.0

OpenCV is not part of requirements.txt as I am using a custom build with CUDA support. You should be able to pip install opencv-python==4.7.0

Usage

  1. add model files to models folder. Download: face_detection_yunet_2022mar.onnx.
  2. pip install -r requirements.txt
  3. install OpenCV (see Requirements)
  4. run python main.py input.mp4

Credits

Multi-threading video display code Copyright (c) 2018 Najam Syed (MIT License) https://nrsyed.com/2018/07/05/multithreading-with-opencv-python-to-improve-video-processing-performance/ https://github.com/nrsyed/computer-vision/tree/master/multithread

About

Video anonymization software in Python that blurs people's faces using OpenCV, YuNet.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages