Topic : Preventing personal data breaches through image processing and machine learning.
Knowledge : Image processing, Computer vision, Machine learning
Tools : Python, OpenCV, YOLOv8
This project aims to propose guidelines for preventing personal data breaches and complying with personal data laws in the field of images or video especially and also intends to study machine learning and image processing.
- Collect data from Youtube videos and collect data manually.
- Using Roboflow for label, preprocessing and Augmentations.
- Using yolov8m and faster-RCNN to train model.
- Using openCV to read data from image or video for bluring face and vehicle license plate.
(-) Model detected on face and vehicle license plate
(-) Blurred where detected
To use the Blurring faces and vehicle license plate, follow these step :
Install python from version 3.9 onwards.
install libraries :
$ python3 -m pip install opencv-python[gui] ultralytics roboflow
install my project :
$ git clone https://github.com/watcharapol28/Blurring-faces-and-vehicle-license-plates.git
To run the Blurring faces and vehicle license plate, follow these step :
upload file videos that want to blur in the folder "...\Blurring-faces-and-vehicle-license-plates\Test data\Videos"
open folder :
$ cd Blurring-faces-and-vehicle-license-plates
change code in Blur_YOLO.ipynb (Input/Output path) to your videos name on File name.File type
:
input_video_path = "...\Blurring-faces-and-vehicle-license-plates\Test data\Videos\[File name].[File type]"
output_video_path = "...\Blurring-faces-and-vehicle-license-plates\Test data\Blurred\[File name].[File type]"
The results are stored in "...\Blurring-faces-and-vehicle-license-plates\Test data\Blurred"