This commit is contained in:
PodmogilnyjIvan
2021-12-13 04:10:22 -08:00
parent d8a0dea9b5
commit 682ca7160b
2 changed files with 16 additions and 11 deletions

View File

@@ -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;