Limit classes of deepstream models to specific class

• Hardware Platform (Jetson / GPU) : jetson
• DeepStream Version: 5.0 GA
• JetPack Version (valid for Jetson only): 4.4
• TensorRT Version : 7.X

How I can limit the output classes of deepstream models to specific class? suppose we have peoplenet to run and this model has 3 class include person/face/bag and I want to limit the output of model to give me only face objects. for person class it’s possible to set the num-of-classes in the config file to 1 and this give us only person objects but I want to give us only face objects, Is it possible?
I don’t want to use facenet, because this model is for IR scenarios and close faces.

You can ignore other classes through class id in meta data.