Description
Hello There , want to do the tracker of the object using the yolov8 detection model , i was able to detect the objects and plotthe bbox around it but when i want to track them i was not able to do it , and not getting any error or any thing below i am attaching the my config.txt
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
[tiled-display]
enable=1
rows=2
columns=2
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-occupancy-analytics/videos/cam_52.mp4
num-sources=1
gpu-id=0
[source1]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-occupancy-analytics/videos/cam_139.mp4
num-sources=1
gpu-id=0
[source2]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-occupancy-analytics/videos/cam_140.mp4
num-sources=1
gpu-id=0
[source3]
enable=1
type=3
uri=file:///opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/deepstream-occupancy-analytics/videos/cam_142.mp4
num-sources=1
gpu-id=0
[sink0]
enable=1
type=2
sync=0
gpu-id=0
nvbuf-memory-type=0
[sink1]
enable=0
type=6
msg-conv-config-file=msgconv_sample_config.txt
msg-conv-payload-type=0
proto-lib=/opt/nvidia/deepstream/deepstream/lib/libnvds_kafka_proto.so
conn-str=localhost;9092;yolov8-tracked-objects
sync=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
display-tracking-id=1
[streammux]
gpu-id=0
live-source=0
batch-size=4
batched-push-timeout=40000
width=1920
height=1080
enable-padding=0
nvbuf-memory-type=0
[primary-gie]
enable=1
gpu-id=0
gie-unique-id=1
config-file=config_infer_primary_yoloV8.txt
nvbuf-memory-type=0
batch-size=1
[tracker]
enable=1
tracker-width=640
tracker-height=384
gpu-id=0
ll-lib-file=/opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
ll-config-file=/opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/config_tracker_NvDCF_perf.yml
enable-batch-process=1
[tests]
file-loop=0
here below is my config_infer_primary_yoloV8.txt
[property]
gpu-id=0
net-scale-factor=0.0039215697906911373
model-color-format=0
onnx-file=/opt/nvidia/deepstream/deepstream-6.2/sources/apps/sample_apps/DeepStream-Yolo/models/best.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
i am using this repo for yolo inference
→ GitHub - marcoslucianops/DeepStream-Yolo: NVIDIA DeepStream SDK 8.0 / 7.1 / 7.0 / 6.4 / 6.3 / 6.2 / 6.1.1 / 6.1 / 6.0.1 / 6.0 / 5.1 implementation for YOLO models
Environment
TensorRT Version: 8.6
GPU Type: Jetson orin nx
CUDA Version: 11.4