Skip to content

Privacy protection based on specific pedestrians

Notifications You must be signed in to change notification settings

WangLedi/ProPedestrian

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Privacy protection based on specific pedestrians

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 92.6%
  • Python 7.0%
  • Cuda 0.2%
  • C++ 0.1%
  • Shell 0.1%
  • Cython 0.0%