#pragma once #include #include #include bool isImagePath(const std::filesystem::path& path); void getImageFiles(const std::filesystem::path& path, std::vector& paths); cv::Rect rectFromPoints(const std::vector>& points); double pointDist(const cv::Point2i& pointA, const cv::Point2i& pointB); bool pointInRect(const cv::Point2i& point, const cv::Rect& rect);