layumi / Person_reID_baseline_pytorch

:bouncing_ball_person: Pytorch ReID: A tiny, friendly, strong pytorch implement of person re-id / vehicle re-id baseline. Tutorial 👉https://github.com/layumi/Person_reID_baseline_pytorch/tree/master/tutorial
https://www.zdzheng.xyz
MIT License
4.13k stars 1.01k forks source link

Can I use reID with real time video #407

Open BaranYucecengiz opened 7 months ago

BaranYucecengiz commented 7 months ago

I want to track same person in different cameras. Is such work possible ?

layumi commented 7 months ago

Hi @BaranYucecengiz Yes. You can combine the reID with tracking algorithm. reID is to extract feature.

For instance, you could use human detector first and use the pretrained model in our repo to extract feature.

BaranYucecengiz commented 7 months ago

Okay thanks !

BaranYucecengiz commented 7 months ago

One more question. How can i use pretrained model with existing scripts ? I want to extract features frame by frame with pretrained model in real time as you mentioned. Does extract_feature func in test.py script work ?

layumi commented 4 months ago

Hi @BaranYucecengiz

You may just forward once as in the test.py.

Pls remember to use Yolo or SSD to detect person first.