Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version
Deepstream5.1 • JetPack Version (valid for Jetson only)
JetPack4.5.1 • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs)
questions
**• I have deployed the current model for target-detection successfully. And I want to add more categories basing on additional target-detection model. So, how can I add these addtional models?? The addtional catefgories is not secondary, but just the new classes.
I’m not clear whether to use sgie or parallel multiple models.
Hope your suggestion.
Do you mean you want to use multiple detection models in one pipeline? If so, you can just use multiple PGIEs and assign different class id to different classes.
Yes, Now I try to use the py code. Is there any sample for me to check the detail?
I want to detect the stream by several detect models which are different categories, and I also can save the original image for later recheck, and combine the detect informations then send message to kafka service.
No, I want to save the frame under my frequent setting, such as save it when sending the message to kafka. So what I want are:
add similar models for later expansion; -I want to know which would be suitable, to use pgie + sgie or to use pgie + pgie1 ?
send message to kafka service, and save the images simultaneously。—I have tried to add the saving code from deepstream-imagedata-multistream.py to deepstream-test4.py, but found it cause error as follows:
If so, please pay attention to the function “tiler_sink_pad_buffer_probe(pad, info, u_data)”, it is the pad probe function in nvmultistreamtiler src pad which is after a nvvideoconvert (convert the video into RGBA format). So in this function, the video has already been converted into RGBA format, that is why we can use “cv2.cvtColor(frame_copy, cv2.COLOR_RGBA2BGRA)” to convert and copy the video data.
The code you post is just a part, I can not know it is in which function and how the function is working in the pipeline. Please check your code by yourself.
I have tried the official code of deepstream-imagedata-mul
tistream for Deepstream 6.1.1, but still found the same problem.
I pull the docker images of deepstream-6.1.1-samples, and install the plugins following the documents in deepstream_python_apps/README.md at master · NVIDIA-AI-IOT/deepstream_python_apps (github.com).
And I also installed some python pacakages as requests, such as numpy, opencv-python, then I run the code by the command : python3 deepstream_imagedata-multistream.py rtsp://admin:a1234567@192.168.49.94/h264/ch1/sub/av_stream imgs
The error is shown as below:
There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks
I’ve tried deepstream-imagedata-multistream with Deepstream 6.1.1 on Jetson. It works well.