I like to run two primary gies as gie-unique-id=1 and gie-unique-id=2.
I found a discussion here.
But tested and didn’t work.
I have two primary gies in the config file as
[primary-gie]
enable=1
gpu-id=0
model-engine-file=resnet18_dashcamnet_pruned.etlt_b1_gpu0_int8.engine
batch-size=1
#Required by the app for OSD, not a plugin property
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
gie-unique-id=1
config-file=config_infer_primary_dashcamnet.txt
[primary-gie]
enable=1
gpu-id=0
model-engine-file=resnet34_peoplenet_pruned.etlt_b1_gpu0_int8.engine
batch-size=1
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
gie-unique-id=2
config-file=peoplenet_pgie_config.txt
When I add in second primary gie, the first one doesn’t work.
All config files are attached.
peoplenet_pgie_config.txt (3.3 KB) deepstream_app_source1_dashcamnet_vehiclemakenet_vehicletypenet.txt (5.2 KB) config_infer_primary_dashcamnet.txt (2.0 KB)
What I like to have is video stream 1 and 2 are for pgie1 and video stream 3 and 4 are for pgie2. Is it possible to assign like that?