Skip to content

LokeshBorawar/LA-Transformer

Repository files navigation

Person Re-Identification using LA-Transformer.

Added some demo codes.

  • See other outputs of Re-id_demo.py in the Out dir. The code keep storing features in a list and when new features are detected from next frame, it calculates cosine similarity and assigns a person ID based on the maximum similarity above a certain threshold. If a new feature does not match then person id is going to be index of the new feature in the list. video video

  • The Outputs the in fliped dir are generated by not only sending a person into the model. It is generated by also sending a fliped image of the person. Adding both features will be more robust to represent the person. video video

  • In the flipped version, the model consistently tries to assign the same ID to the person wearing an orange t-shirt and cap when he first appears and later on.

  • Output of LA_transformer_demo.py. See how, for same person image cosine similarity is high. Persons images in imgs dir were taken from the Market-1501 dataset. cs

  • Output of person_detection.py. dt

  • The model may not work if a person changes clothes.

Requirements:

Contacts:

Credits:

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published