Skip to content

Commit

Permalink
Add unused to opencvhelp
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed May 7, 2024
1 parent a6f36de commit a455ac2
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ static std::vector<cv::Point2f> GetConvexHull(
return convexPoints;
}

[[maybe_unused]]
static cv::RotatedRect GetMinAreaRect(const std::vector<cv::Point2f>& points) {
return cv::minAreaRect(points);
}
Expand Down Expand Up @@ -120,6 +121,7 @@ static std::vector<cv::Point3f> RotationToRVec(
return cv::boundingRect(points);
}

[[maybe_unused]]
static std::vector<cv::Point2f> ProjectPoints(
const Eigen::Matrix<double, 3, 3>& cameraMatrix,
const Eigen::Matrix<double, 5, 1>& distCoeffs,
Expand Down

0 comments on commit a455ac2

Please sign in to comment.