Use more joints for final merge.

This commit is contained in:
Daniel
2024-10-10 18:04:29 +02:00
parent c3783835dd
commit e8986e0b2b
2 changed files with 1297 additions and 1297 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1534,7 +1534,7 @@ cv::Mat TriangulatorInternal::merge_group(const std::vector<cv::Mat> &poses_3d,
}
// Select the best-k proposals for each joint that are closest to the initial pose
int keep_best = 3;
int keep_best = std::max(3, num_poses / 3);
cv::Mat best_k_mask = cv::Mat::zeros(num_poses, num_joints, CV_8U);
for (int j = 0; j < num_joints; ++j)
{