{"repo":"Spring-0/face-censor","free":true,"listed":false,"github":"https://github.com/Spring-0/face-censor","clone":"git clone https://github.com/Spring-0/face-censor.git","description":"Detect and blur faces in any input images or videos with AI.","language":"Python","stars":61,"topics":["computer-vision","face-detection","image-processing","machine-learning","opencv","privacy","python","video-processing","yolo","yolov8"],"license":"GPL-3.0","category":"media-processing","readme_excerpt":"Face Detection and Censoring System A Python-based system for detecting faces in images and videos using YOLOv8, with the ability to censor detected faces. The system is designed to be modular and extensible. Features - Face detection using YOLOv8 - Support for both image and video processing - Easy to use User Interface - Modular censoring system - Trained on the WIDER FACE dataset via Roboflow - Multiple masking methods including: blur, emoji, and text (see demo) Local Installation With Docker 🐋 1. Pull the image: 2. Run: 3. Navigate to http://localhost:3000 from your browser. Without Docker 1. Clone the repository: 2. Create a virtual environment and activate it: 3. Install the required packages: 4. Run: Training the Model - Optional The project uses the WIDER FACE dataset from Roboflow for training. I have included a pre-trained model, so there is no need to re-train it unless you want to. Here is how: 1. Update this line in training/training.py if required: 2. Create a .env file in the project root with your Roboflow API key: 3. Run the training script: Usage API Usage Creating Masking Object This is what determines what effect will be applied to mask the faces. Using Text Masking Using Emoji Masking Using Blur Masking Create Media Processor After creating the masking method object(s), you need to pass it to the MediaProcessor constructor like so: Processing Images Processing Videos Demo Input Image/Video Output Image/Video Blur Masking Emoji Masking Text Masking Requir","default_branch":null,"files":null,"tree":[],"storefront":"/r/Spring-0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Spring-0/face-censor/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}