9 lines
385 B
C++
9 lines
385 B
C++
#include<algorithm>
|
|
|
|
#include<opencv2/opencv.hpp>
|
|
|
|
std::vector<std::vector<cv::Point>> simplify_hull(std::vector<cv::Point> hull);
|
|
std::vector<std::vector<cv::Point>> simplify_hull(std::vector<cv::Point> hull, double mindistance);
|
|
|
|
bool similar_fit(cv::Point a, cv::Point b, cv::Point newpoint);
|
|
bool similar_fit(cv::Point a, cv::Point b, cv::Point newpoint, float tolerance_degrees);
|