{ "PLD_CPM", "pld_cpm_192x192.tflite", "pld_cpm_192x192.json", "" }
// TODO.
};
- const unsigned int coordinate_answers[][14] = {
- { 300, 300, 275, 250, 275, 325, 325, 325, 275, 225, 225, 325, 350, 375 },
- { 50, 87, 100, 137, 162, 100, 137, 162, 162, 187, 250, 162, 187, 250 }
- };
+ const unsigned int coordinate_answers[][10] = { { 300, 300, 275, 250, 325, 325, 225, 225, 350, 375 },
+ { 50, 87, 100, 137, 100, 137, 187, 250, 187, 250 } };
mv_source_h mv_source = NULL;
int ret = mv_create_source(&mv_source);
unsigned int *x_pos = nullptr, *y_pos = nullptr;
unsigned long frame_number = 0;
mv_pose_landmark_h handle = static_cast<mv_pose_landmark_h>(user_data);
- const unsigned int coordinate_answers[][14] = {
- { 300, 300, 275, 250, 275, 325, 325, 325, 275, 225, 225, 325, 350, 375 },
- { 50, 87, 100, 137, 162, 100, 137, 162, 162, 187, 250, 162, 187, 250 }
- };
+ const unsigned int coordinate_answers[][10] = { { 300, 300, 275, 250, 325, 325, 225, 225, 350, 375 },
+ { 50, 87, 100, 137, 100, 137, 187, 250, 187, 250 } };
while (frame_number < MAX_INFERENCE_ITERATION - 10) {
int ret = mv_pose_landmark_get_pos(handle, &number_of_landmarks, &x_pos, &y_pos);