add
This commit is contained in:
@@ -45,8 +45,12 @@ int main(int argc, char* argv[]) {
|
||||
int64_t total_frames_counter = 0;
|
||||
|
||||
// Let's open the video with OpenCV and read it
|
||||
std::string path_to_file = "C:\\Users\\ivan\\Source\\Repos\\cv_networking_pipeline\\gstreamer_receive_video\\videos\\camera1-2020-10-14---19-38-42---093390448_scaled.mp4";
|
||||
// std::string path_to_file = "C:\\Users\\ivan\\Source\\Repos\\cv_networking_pipeline\\gstreamer_receive_video\\videos\\camera1-2020-10-14---19-38-42---093390448_scaled.mp4";
|
||||
std::string path_to_file;
|
||||
std::cout << "Please, enter the path to the video_file" << std::endl;
|
||||
std::cin >> path_to_file;
|
||||
cv::VideoCapture video_file(path_to_file);
|
||||
|
||||
std::cout << "Video File opened" << std::endl;
|
||||
cv::Mat frame;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user