Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 1.33 KB

README.md

File metadata and controls

48 lines (30 loc) · 1.33 KB

ProPedestrian

Privacy protection based on specific pedestrians

This project can identify specific pedestrians in images or videos, remove them from the images, and restore them. Thus achieving anonymity of specific pedestrians

Download pre-trained model

  1. yolov7:
  2. lama
  3. HiNet
  4. Fast-reid

test

Profile Path

In the files yolo_fastreid_lama.py、 anony_recory.py and yolov7/yolo_fastreid.py, the.../ replace with one's own actual work path

Encryption process

  1. Put the pedestrian images to be protected into /yolov7/fast-reid_master/datasets/query
  2. You can place the image in example/input image and modify the corresponding path in yolo_fastreid_lama.py. Then run yolo_fastreid_lama.py
python yolo_fastreid_lama.py

Decryption process

python anony_recory.py