This is a vehicle reidentification model for a general scenario. It uses a whole car body image as an input and outputs an embedding vector to match a pair of images by the cosine distance. The model is based on the OmniScaleNet backbone developed for fast inference. A single reidentification head from the 1/16 scale feature map outputs an embedding vector of 512 floats.
Metric | Value |
---|---|
VeRi-776* rank-1 | 96.31 % |
VeRi-776* mAP | 85.15 % |
Camera location | All traffic cameras |
Support of occluded vehicles | YES |
Occlusion coverage | <50% |
GFlops | 2.643 |
MParams | 2.183 |
Source framework | PyTorch* |
The cumulative matching curve (CMC) at rank-1 is accuracy denoting the possibility to locate at least one true positive in the top-1 rank. Mean Average Precision (mAP) is the mean across Average Precision (AP) of all queries. AP is defined as the area under the precision and recall curve.
One image of the shape 1, 3, 208, 208
in the B, C, H, W
format, where:
B
- batch sizeC
- channelH
- heightW
- width
Channel order is RGB
.
One image of the shape 1, 3, 208, 208
in the B, C, H, W
format, where:
B
- batch sizeC
- channelH
- heightW
- width
Channel order is BGR
.
The net outputs a vector descriptor, which can be compared with other descriptors using the cosine distance.
Blob of the shape 1, 512
in the B, C
format, where:
B
- batch sizeC
- predicted descriptor size
Blob of the shape 1, 512
in the B, C
format, where:
B
- batch sizeC
- predicted descriptor size
You can download models and if necessary convert them into OpenVINO™ IR format using the Model Downloader and other automation tools as shown in the examples below.
An example of using the Model Downloader:
omz_downloader --name <model_name>
An example of using the Model Converter:
omz_converter --name <model_name>
The model can be used in the following demos provided by the Open Model Zoo to show its capabilities:
[*] Other names and brands may be claimed as the property of others.
The original model is distributed under the MIT License.
MIT License
Copyright (c) 2018 Kaiyang Zhou
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.