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 <iostream> | |
#include <thread> | |
#include <opencv2/cudafeatures2d.hpp> | |
#include <opencv2/cudaimgproc.hpp> | |
#include <opencv2/highgui.hpp> | |
void capture_thread(int device_num, int n_cycles) | |
{ | |
std::cout << "Starting capture thread for device " + std::to_string(device_num) + "\n" << std::flush; |