In my deepstream app,I set two source and how can I get two diferent source of camera detected infomation?
i try to use get all_bbox_generated() info ,but the log of source id is always 0.
Thanks
my deepstream vision is 6.3
In my deepstream app,I set two source and how can I get two diferent source of camera detected infomation?
i try to use get all_bbox_generated() info ,but the log of source id is always 0.
Thanks
my deepstream vision is 6.3
Could you attach your config file?
[application]
enable-perf-measurement=1
perf-measurement-interval-sec=5
[tiled-display]
enable=0
rows=1
columns=2
width=1280
height=720
gpu-id=0
nvbuf-memory-type=0
[source0]
enable=1
type=3
#uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4
uri=file:///home/ubuntu/WorkSpace/PycharmProject/DeepStream-Yolo/vedio/test.mp4
num-sources=1
source-id=0
gpu-id=0
cudadec-memtype=0
[source1]
enable=1
type=3
#uri=file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4
uri=file:///home/ubuntu/WorkSpace/PycharmProject/DeepStream-Yolo/vedio/test.mp4
num-sources=1
source-id=1
gpu-id=0
cudadec-memtype=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=2
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
batch-size=1
nvbuf-memory-type=0
#config-file=config_infer_primary.txt
config-file=/home/ubuntu/WorkSpace/PycharmProject/DeepStream-Yolo/config_infer_primary_yoloV8_custom.txt
[tests]
file-loop=0
I set tiled-display = 0 or 1 and [streammux] batch-size = 2 to get two diferent source,but the source id is always 0
The all_bbox_generated
is added on the src_pad of osd or sink plugin. They cannot support batched data.
If you want to get the right value, you can try to get that from the gie_primary_processing_done_buf_prob
probe function.
OK,it’s work, thanks
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.