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 withblock_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