Allow keypoint detections outside the image.
This commit is contained in:
@ -640,7 +640,7 @@ void TriangulatorInternal::undistort_poses(std::vector<cv::Mat> &poses, CameraIn
|
||||
points.copyTo(poses[p].colRange(0, 2));
|
||||
|
||||
// Mask out points that are far outside the image (points slightly outside are still valid)
|
||||
float mask_offset = (width + height) / 40.0;
|
||||
float mask_offset = (width + height) / 20.0;
|
||||
int num_joints = poses[p].rows;
|
||||
for (int j = 0; j < num_joints; ++j)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user