28 #define NUMBER_COLORS 10
33 UTIL_LCD_COLOR_MAGENTA,
34 UTIL_LCD_COLOR_YELLOW,
44 static void (*
convert_point)(float32_t xi, float32_t yi,
int *xo,
int *yo);
70 static void Display_binding(mpe_pp_keyPoints_t *from, mpe_pp_keyPoints_t *to, uint32_t color)
94 UTIL_LCD_DrawLine(x0, y0, x1, y1, color);
96 if (abs(y1 - y0) > abs(x1 - x0)) {
107 void convert_length_init(float32_t wi, float32_t hi,
int *wo,
int *ho),
108 void convert_point_init(float32_t xi, float32_t yi,
int *xo,
int *yo),
109 void Display_binding_line_init(
int x0,
int y0,
int x1,
int y1, uint32_t color))
127 x0 = xc - (w + 1) / 2;
128 y0 = yc - (h + 1) / 2;
129 x1 = xc + (w + 1) / 2;
130 y1 = yc + (h + 1) / 2;
Central configuration header for the STM32N6570-DK pose estimation firmware application.
static const int kp_color[13]
static const int bindings[][3]
static void Display_binding(mpe_pp_keyPoints_t *from, mpe_pp_keyPoints_t *to, uint32_t color)
static int(* clamp_point)(int *x, int *y)
static void(* convert_length)(float32_t wi, float32_t hi, int *wo, int *ho)
static void(* Display_binding_line)(int x0, int y0, int x1, int y1, uint32_t color)
void Display_mpe_Detection(mpe_pp_outBuffer_t *detect)
void Display_mpe_InitFunctions(int clamp_point_init(int *x, int *y), void convert_length_init(float32_t wi, float32_t hi, int *wo, int *ho), void convert_point_init(float32_t xi, float32_t yi, int *xo, int *yo), void Display_binding_line_init(int x0, int y0, int x1, int y1, uint32_t color))
const uint32_t colors[NUMBER_COLORS]
static void(* convert_point)(float32_t xi, float32_t yi, int *xo, int *yo)
static void Display_keypoint(mpe_pp_keyPoints_t *key, uint32_t color)
#define AI_POSE_PP_CONF_THRESHOLD
Minimum confidence threshold for accepting a detected keypoint.
#define AI_POSE_PP_POSE_KEYPOINTS_NB
Number of body keypoints output by the model.