I want to get multistream source number from ( frame_meta.pad_index ) , but always get value 0 if I use more than one source. I am trying to get it in the nvvidconv sink prob.
The example depends on deepstream-imagedata-multistream test python
vidconvsinkpad = nvvidconv.get_static_pad("sink")
if not vidconvsinkpad:
sys.stderr.write(" Unable to get sink pad of nvvidconv \n")
vidconvsinkpad.add_probe(Gst.PadProbeType.BUFFER, sgie_sink_pad_buffer_probe, 0)
Thanks for replay
even If I put the linking like this the problem is the same
streammux.link(face_detector)
face_detector.link(tracker)
tracker.link(nvvidconv1)
nvvidconv1.link(filter1)
filter1.link(face_recogniser)
face_recogniser.link(tiler)
tiler.link(nvvidconv)
nvvidconv.link(nvosd)
if is_aarch64():
nvosd.link(transform)
transform.link(sink)
else:
nvosd.link(sink)
vidconvsinkpad = face_recogniser.get_static_pad("src")
if not vidconvsinkpad:
sys.stderr.write(" Unable to get sink pad of nvvidconv \n")
vidconvsinkpad.add_probe(Gst.PadProbeType.BUFFER, sgie_sink_pad_buffer_probe, 0)
When I put network-type= 100 in face_reconiser_config, it work fine, but the tracker id not display. Should I put myself with predicted_name?
This is modified deepstream-test2 and the config file. The output-tensor-meta=1 and network-type=100 are set for sgie. I can see track id on the screen. deepstream_test_2.py (14.1 KB) dstest2_sgie1_config.txt (3.6 KB)