#pragma once
#include <opencv2/opencv.hpp>
#include "SobelFilter.hpp"

#define THICKNESS_VALUE 4

class Detector{
    public:
        cv::Mat sobelDebug;
        void detect(cv::Mat thresholdFrame, cv::Mat &output);
    private:
        SobelFilter sobelFilter;
        // List of points
        typedef std::vector<cv::Point> contour_t;
        // List of contours
        typedef std::vector<contour_t> contour_vector_t;
        void drawRectangle(cv::Mat &output, contour_t contour);
};
