How can I modify nvdsinfer.h?

Hello,

I want to add a variable “nam_test” (int) into nvdsinfer.h, like that:
typedef struct
{
/** ID of the class to which the object belongs. */
unsigned int classId;

  /** Horizontal offset of the bounding box shape for the object. */
  unsigned int left;
  /** Vertical offset of the bounding box shape for the object. */
  unsigned int top;
  /** Width of the bounding box shape for the object. */
  unsigned int width;
  /** Height of the bounding box shape for the object. */
  unsigned int height;

  /** Test Variable */ 
  int nam_test;

  /** Object detection confidence. Should be a float value in the range [0,1] */
  float detectionConfidence;
} NvDsInferObjectDetectionInfo;

Then I run deepstream app fault.

How to recompiling library?

Thanks.

could you be more specific?

which lib do you want to re-compile? Which ds app failed?

Hi mchi,

I sloved it, thanks you.

Hi @nguyenanhquyethust,
Thank you for the update!

1 Like