Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson)
• DeepStream Version6.3
• JetPack Version5.1.2 (valid for Jetson only)
• TensorRT Version5.1.2
• NVIDIA GPU Driver Version (valid for GPU only)
How to use the GST-nvdsanalytics plugin in Deepstream-YOLO?
I’m currently using deepstream-yolo for road traffic detection,config_infer_primary_yoloV8.txt and deepstream_app_config.txt,configuration parameter,
config_infer_primary_yoloV8.txt
[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
model-color-format=0
onnx-file=yolov8n.pt.onnx
model-engine-file=model_b1_gpu0_fp32.engine
#int8-calib-file=calib.table
labelfile-path=labels.txt
batch-size=1
network-mode=0
num-detected-classes=80
interval=0
gie-unique-id=1
process-mode=1
network-type=0
cluster-mode=2
maintain-aspect-ratio=1
symmetric-padding=1
#workspace-size=2000
parse-bbox-func-name=NvDsInferParseYolo
#parse-bbox-func-name=NvDsInferParseYoloCuda
custom-lib-path=nvdsinfer_custom_impl_Yolo/libnvdsinfer_custom_impl_Yolo.so
engine-create-func-name=NvDsInferYoloCudaEngineGet
[class-attrs-all]
nms-iou-threshold=0.45
pre-cluster-threshold=0.25
topk=300
deepstream_app_config.txt
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
[tiled-display]
enable=1
rows=1
columns=1
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=3
uri=file:///home/cvai/ultralytics/main/video/LT_cloudy_morning_test_sub.mp4
num-sources=1
cudadec-memtype=0
gpu-id=0
[sink0]
enable=1
type=2
sync=0
gpu-id=0
nvbuf-memory-type=0
[osd]
enable=1
gpu-id=0
border-width=5
text-size=15
text-color=1;1;1;1;
text-bg-color=0.3;0.3;0.3;1
font=Serif
show-clock=0
clock-x-offset=800
clock-y-offset=820
clock-text-size=12
clock-color=1;0;0;0
nvbuf-memory-type=0
[streammux]
gpu-id=0
live-source=0
batch-size=1
batched-push-timeout=40000
width=1280
height=720
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_yoloV8.txt
[tests]
file-loop=0
Then I use the command line through the introduction of deepstream-yolo: deepstream-app -c deepstream_app_config.txt, execute the command,It worked。
But I want to use the plugin GST-nvdsanalytics in deepstream-yolo for ROI Filtering, Overcrowding Detection, Direction Detection, Line Crossing, and more,
I didn’t see the documentation on how to use it. Do I need to change it
/opt/nvidia/deepstream/deepstream-6.3/sources/apps/sample_apps/deepstream-app/
deepstream_app_main.cpp,Then go to the configuration parameter file,
Or can I just go toconfig_infer_primary_yoloV8.txt and deepstream_app_config.txt add plug-ins for functionality?
How exactly do I implement these features in deepstream-yolo?
How can I implement this feature? Who Can Help Me?