Deepstream Multi Stream detection

i am using a python code that can detect people and their face within multiple stream and there will be same set of people in the both stream and i need to re identify them in the different video stream and give them the same id which has been assigned is there any sample code for it to refer , and i also want to get the accuracy and the confusion matrix as output also

Do you mean recognizing the same people in two different streams? Do you have a model that can identify different faces?
The model used in example Error in deepstream python at deepstream-imagedata-multistream-redaction - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums can only detect a face, but it cannot identify a different face.

i am using the resnet34_peoplenet for detecting faces,

It can only detect a face, and return a bbox on where it is, it cannot identify different faces from different streams.

for detection pgie i am using that model
for sgie i am using Re-Identification model
will this work with multiple streams or is there any way can you suggest me how to do it

Yes. It will work with multiple streams. You need to compare the ReIDs to identify the two persons as the same one and give the same value to " object_id" after SGIE.

is there any example code, for how to access the object_id

The “object_id” is in NvDsObjectMeta. There are lots of samples show how to get NvDsObjectMeta in probe function. E.G /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-test1

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.