I need angle, so I am trying to modify it as follows.
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;
/** Object detection confidence. Should be a float value in the range [0,1] */
**unsigned int angle;**
float detectionConfidence;
} NvDsInferObjectDetectionInfo;
and compiled nvdsinfer and gst-nvinfer
(Modifying the struct NvDsInferObjectDetectionInfo in nvdsinfer.h)
But I can’t get the angle from the NvDsObjectMeta inside the probe. Where do I need to modify?