Deepstream: save frame as image when object detected

Below the Jetson info

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version Deepstream 5.0
• JetPack Version (valid for Jetson only) Jetpack 4.4
• TensorRT Version compiled 7.0
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
**• How to reproduce the issue ? **

my current use-case is to use deepstream with python and using a custom model to detect objects.

–>question: in python: how to save the frame in a folder, when an object is found on the loaded video file? It would be enough, just to save the frame where the object was detected and all the other frames could be ignored.

thanks, Martin

Have you checked deepstream-image-meta-test and and https://docs.nvidia.com/metropolis/deepstream/dev-guide/DeepStream_Development_Guide/baggage/nvds__obj__encode_8h.html

For python, pls check deepstream-imagedata-multistream sample

1 Like