Face detection -> alignment -> feature extraction with deepstream
- Deepstream 6.1 (recommend using docker)
docker build -t face_recog_ds6.1 - < Dockerfile
docker run --rm -it -v<path-to-source>:<path-to-destination> --gpus all face_recog_ds6.1:latest
- Compile custom NMS plugin (batchedNMSDynamic_TRT with landmark)
export CUDA_VER=11.4
cd plugins/nms
mkdir build && cd build
cmake ..
make
- Compile custom gst-nvinfer plugin
cd gst-nvinfer
make
make install
- object detection -> face detection (from cropped person image) -> face embedding
LD_PRELOAD=<path-to-NMS-plugin> python main.py file:<path-to-video-input>
- face detection (full frame) -> face embedding
LD_PRELOAD=<path-to-NMS-plugin> python main_ff.py file:<path-to-video-input>
- Add cropped/fullframe pipeline for face
- Fix 1-batchsize error (we have some bugs with custom NMS plugin, only have true output with batchsize=1)
- Add GPU face alignment
- Add cropped pipeline for license plate