VlSomers / bpbreid

[WACV23] A strong baseline for body part-based person re-identification
Other
166 stars 16 forks source link

how to run the models against a video? #40

Open frandoLin opened 6 months ago

frandoLin commented 6 months ago

I am bit confused about the final result by running the main.py when inferencing. Are they just a couple of feature embeddings for the input images?

VlSomers commented 6 months ago

Hi @frandoLin, indeed, a reid module produces a feature embeddings for each input image (multi part-based embeddings in the case of BPBreID). You can then use these embeddings to perform retrieval in a gallery or tracking in a video. You can have a look at the torchreid/models/bpbreid.py class to see the output dictionary that contains the embeddings. LEt me know if this answers you question.