diff --git a/include/detect/uv_led_detect_adaptive.cpp b/include/detect/uv_led_detect_adaptive.cpp index 923fce6..e26c0c7 100644 --- a/include/detect/uv_led_detect_adaptive.cpp +++ b/include/detect/uv_led_detect_adaptive.cpp @@ -12,6 +12,7 @@ namespace fs = std::filesystem; + struct PointComparator { bool operator() (const cv::Point& a, const cv::Point& b) const { return (a.x < b.x) || (a.x == b.x && a.y < b.y);