You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
like the yolov4's detection custom parse function implemented in this repo, its output is not identity to the tao output. I know it is because the yolov4 parse need a ratio param, which is computed from frame_original_h, frame_original_w, network_input_w and network_input_w, but in current detection parse function interface, the frame_orignal_h and orignal_w can not be obtained yet.
So, I think the current detection parse function interface should fix this bug like to add feild like frame_orignal_h and frame_orignal_w in the NvDsInferNetworkInfo struct.
current:
typedef struct
{
/** Holds the input width for the model. /
unsigned int width;
/* Holds the input height for the model. /
unsigned int height;
/* Holds the number of input channels for the model. /
unsigned int channels;
} NvDsInferNetworkInfo;
after added:
typedef struct
{
/* Holds the input width for the model. /
unsigned int width;
/* Holds the input height for the model. /
unsigned int height;
/* Holds the number of input channels for the model. */
unsigned int channels;
unsigned int frame_orignal_h;
unsigned int frame_orignal_w;
} NvDsInferNetworkInfo;
The text was updated successfully, but these errors were encountered:
like the yolov4's detection custom parse function implemented in this repo, its output is not identity to the tao output. I know it is because the yolov4 parse need a ratio param, which is computed from frame_original_h, frame_original_w, network_input_w and network_input_w, but in current detection parse function interface, the frame_orignal_h and orignal_w can not be obtained yet.
So, I think the current detection parse function interface should fix this bug like to add feild like frame_orignal_h and frame_orignal_w in the NvDsInferNetworkInfo struct.
current:
typedef struct
{
/** Holds the input width for the model. /
unsigned int width;
/* Holds the input height for the model. /
unsigned int height;
/* Holds the number of input channels for the model. /
unsigned int channels;
} NvDsInferNetworkInfo;
after added:
typedef struct
{
/* Holds the input width for the model. /
unsigned int width;
/* Holds the input height for the model. /
unsigned int height;
/* Holds the number of input channels for the model. */
unsigned int channels;
The text was updated successfully, but these errors were encountered: