yjg30737 / pyqt-face-mosaic-example

Simple PyQt software to de-identification each face in the image

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pyqt-face-mosaic-example

Simple PyQt software to de-identification each face in the image

Requirements

  • PyQt5 >= 5.14
  • opencv-python

How to Use

  1. git clone ~
  2. pip install -r requirements.txt
  3. python main.py
  4. Here is the GUI:

image

Find the directory that includes images you want to apply mosaic.

Then, select the type of mosaic. There are two types of it. Face and Ped.

"Face" is using "Haar Cascade" which is specialized in face detection to mosaic the face. This is suitable for application on photos where the face occupies most of the space, such as ID photos.

"Ped" is using "Hog Cascade" which is specialized in pedestrian detection in street to mosaic the body. This is suitable for application on CCTV or Google Street View where pedestrians are visible.

Either way are suitable for de-identification.

One of the important factor of image dataset for public is de-identification each people in the photo. That's why i've made this !

Preview

Face

image

Ped

image

About

Simple PyQt software to de-identification each face in the image

License:MIT License


Languages

Language:Python 100.0%