Skip to content

Python script to blur faces for anonymization in videos. Identifies bounding box coordinates based on a YOLOv8 model trained to detect faces, blurs area, and saves output as new video. Shoutout to Delong Qi - For the original model, check: https://github.com/derronqi/yolov8-face

Notifications You must be signed in to change notification settings

jamaoh/anonymize-face-blur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Setup and Usage

Step 1: Create Environment

  • Create a dedicated environment and activate it, using:
    conda create -n yolov8-face python=3.9 -y
    conda activate
    

Step 2: Get YOLOv8 Face Model

  • To clone the YOLOv8 face repository and install dependencies, run:
    git clone https://github.com/derronqi/yolov8-face.git
    cd yolov8-face
    pip install -r requirements.txt
    pip install ultralytics
    

Step 3: Download Model Weights

Step 4: Adjust and Run the Script

  • Correctly specify the path to the video you'd like to blur and run the script.

About

Python script to blur faces for anonymization in videos. Identifies bounding box coordinates based on a YOLOv8 model trained to detect faces, blurs area, and saves output as new video. Shoutout to Delong Qi - For the original model, check: https://github.com/derronqi/yolov8-face

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published