View cv_cb.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <opencv2/highgui.hpp> | |
#include <opencv2/imgproc.hpp> // putText, CV_RGB | |
#include <tuple> | |
#include <string> // to_string | |
int main() { | |
cv::Mat src = cv::Mat(480, 640, CV_8UC3, CV_RGB(0, 0, 0)); | |
cv::Mat dst; | |
int num = 5; | |
typedef std::tuple<const cv::Mat&, cv::Mat&, int&> tup_t; |