#pragma once #include #include #include #include #include #include #include #include #include using namespace cv; class LFR { Input input; Processing processing; ControlModule controlModule; Interpreter interpreter; IntersectionHandler intersectionHandler; volatile bool iAmLooping; void loop(); thread loopThread; int threshold_binary; public: LFR() = delete; LFR(int video_height, int video_width, int threshold_binary); ~LFR(); void startLoop(); void endLoop(); };