- #include "lfr.h"
- #include <opencv2/core/utils/logger.hpp>
-
- int main(void)
- {
- //Disable opencv logging messages
- cv::utils::logging::setLogLevel(cv::utils::logging::LOG_LEVEL_WARNING);
-
- const int thresholdBinary = 110;
- const int videoHeight = 240;
- const int videoWidth = 320;
- const int gaussKernelSize = 5;
-
- LFR lfr(videoHeight, videoWidth, thresholdBinary, gaussKernelSize);
- lfr.startLoop();
- //To end the video stream, write any char in the console.
- char a;
- std::cin >> a;
- lfr.endLoop();
- }
|