Re-identification network

Overview

This is the implementation for re-identification system described in the paper “Robust Re-identification of Manta Rays from Natural Markings by Learning Pose Invariant Embeddings” by Olga Moskvyak, Frederic Maire, Asia Armstrong, Feras Dayoub and Mahsa Baktashmotlagh.

The convolutional neural network (CNN) is trained to learn embeddings for images of natural markings, where the learned distance between embedding points corresponds to similarity between patterns. The network is optimized using the triplet loss function and the online semi-hard triplet mining strategy. The proposed re-identification method is generic and not species specific. We evaluate the proposed system on image databases of manta ray belly patterns, humpback whale flukes and whale sharks.

The source code in PyTorch and integration with WildMe/WildBook is available at wbia-plugin-reid

Deliverables

Qualitative results

First image in each row is a query image. The next five images are the top-5 retrieved mathces from the test set.

A green border - correct match, a red border border - incorrect match.

Whale Sharks:

Example of whale sharks Example of whale sharks Example of whale sharks Example of whale sharks Image credit: WildMe/WildBook

Manta rays:

Example of manta rays Example of manta rays Example of manta rays Example of manta rays

Image credit: Amelia Armstrong and Asia Armstrong