ONNX Model Zoo

opencv/person_reid_youtureid

By opencv · ↓ 0 · ♥ 3 · Updated 2025-06-20

What's in this repo

This page lists the files in opencv/person_reid_youtureid, including person_reid_youtu_2021nov.onnx, person_reid_youtu_2021nov_int8.onnx, person_reid_youtu_2021nov_int8bq.onnx.

  • 3 ONNX models (.onnx files)
  • 11 files, including 3 .onnx, 2 .py, 1 .txt, 1 .md, 1 .cpp
  • Last updated 2025-06-20

ONNX files

File Size Download
person_reid_youtu_2021nov.onnx — Download
person_reid_youtu_2021nov_int8.onnx — Download
person_reid_youtu_2021nov_int8bq.onnx — Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

Youtu ReID Baseline

This model is provided by Tencent Youtu Lab [Credits].

Note:

  • Model source: https://github.com/ReID-Team/ReID_extra_testdata
  • person_reid_youtu_2021nov_int8bq.onnx represents the block-quantized version in int8 precision and is generated using block_quantize.py with block_size=64.

Demo

Run the following command to try the demo:

Python

python demo.py --query_dir /path/to/query --gallery_dir /path/to/gallery -v

# get help regarding various parameters
python demo.py --help

C++

# A typical and default installation path of OpenCV is /usr/local
cmake -B build -D OPENCV_INSTALLATION_PATH=/path/to/opencv/installation .
cmake --build build

./build/demo --query_dir=/path/to/query --gallery_dir=/path/to/gallery -v

# get help regarding various parameters
./build/demo --help

License

All files in this directory are licensed under Apache 2.0 License.

Reference:

  • OpenCV DNN Sample: https://github.com/opencv/opencv/blob/4.x/samples/dnn/person_reid.py
  • Model source: https://github.com/ReID-Team/ReID_extra_testdata

Model info

onnx region:us
↓ 0 ♥ 3

Created: 2025-06-09

Updated: 2025-06-20

View on Hugging Face

Files (11)

.gitattributes
.gitignore
CMakeLists.txt
LICENSE
README.md
demo.cpp
demo.py
person_reid_youtu_2021nov.onnx ONNX
person_reid_youtu_2021nov_int8.onnx ONNX
person_reid_youtu_2021nov_int8bq.onnx ONNX
youtureid.py

Related models