{"repo":"varungupta31/dashcam_anonymizer","free":true,"listed":false,"github":"https://github.com/varungupta31/dashcam_anonymizer","clone":"git clone https://github.com/varungupta31/dashcam_anonymizer.git","description":"Code to Blur Human Faces and Vehicle License Plates in Video and Images using a SoTA Object Detection model YOLOv8","language":"Python","stars":95,"topics":["anonymization","blur","blur-image","dataset-creation","indian-driving-dataset","privacy","python","yolov8","ai","autonomous-driving"],"license":"MIT","category":"machine-learning","readme_excerpt":"Dashcam Anonymizer 🕵🏻‍♂️ This repository blurs human faces and license plates in images and videos using a state-of-the-art object detection model, YOLOv8 by Ultralytics, and is fine-tuned using images from the OpenImagesDatasetV7. Setup 🔩 Clone this repo by A Convenient Script Has Been Provided To Setup the Repository 👨🏽‍💻 Activate any Python Environment of Your Preference ( conda recommended) Preferably with Python3.10+ 🐍 [2024 🗞️] The model is now also hosted on a Google Drive, enabling the convenient gdown downloads! Blurring Images in a Directory 📷 To blur all images in a directory, Download the model from here and move it to model dir. Update the configs/img blur.yaml as required, and run the following command The resulting blur images will be stored in the directory specified in the YAML. Note: annot txt folder will contain the YOLO detections in .txt format, converted to the VOC bounding-box format. [2024 Updated] Blurring Videos in a Directory 📹 Similar approach as above, now the command would be Note: 1. If you run into mysterious libgc errors, what worked for me was to also install the opencv via Conda . PIP installation, leaves out some libgc libraries, which causes issues in the videowriter codecs. 2. The configuration files are slightly different for videos and images. Make sure to choose and edit the correct ones depending upon the modality. 3. This is designed to process all the contents in a given directory at once. If the blurring is to be re-run, ","default_branch":null,"files":null,"tree":[],"storefront":"/r/varungupta31","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/varungupta31/dashcam_anonymizer/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."}