PyDs Image Folder Inference

• Hardware Platform (Jetson / GPU) : both
• DeepStream Version: 7.1

from pyds import ?

IMG_DIR = "/testing"
MODEL_CONFIG = "config_infer_testing.txt"

Hi team,

I’m using DeepStream 7.1 and want to run inference on images stored in a folder (like /testing), using PyDS and my config_infer_testing.txt.

I don’t want to use any video or camera input — just load images one by one, pass them through the DeepStream pipeline, and get the output embeddings (like a n-d vector).

I tried using NvDsInferContext from pyds but it says it’s not available.

What’s the correct way to load and infer individual images using PyDS or DeepStream Python API?

Thanks!