
Set up the environment, compile open source code, and explore computer vision with C++ and OpenCV on CPU and GPU, including color space transformations, filtering, trackbars, and background subtraction.
In this video, you will see the different ways to install Nvidia driver on Ubuntu 18.04. If you wanna how i installed the driver directly in easier way, you can skip 05:20 :)
Note: install cuda toolkit 10.2 for Nvidia optical flow support
error fix while compiling opencv with cudaoptflow
error: no such file nvOpticalFlowCommon.h
Copy header files from OpticalFlowSDK/NvOFInterface/ to opencv_contrib/modules/cudaoptflow/src
This is to be able run deep learning based dense optical flow implementation flownet 2.0
Learn how to read images from a folder, read videos, and capture webcam frames using C++ with OpenCV, including listing, filtering JPEG files, sorting filenames, and displaying frames.
Explore edge detection in images using the canny method in OpenCV with C++, converting to grayscale, applying hysteresis thresholding with two thresholds, and noting GPU acceleration.
Explore HSV color transformation in OpenCV with C++, converting images to HSV, applying color filtering with thresholds, and extracting white lines and colored regions via mask images.
Learn background segmentation with MOG in C++ using OpenCV, subtract reference and current frames to produce a foreground mask, and explore OpenCV background subtraction methods and implementations.
Explore CUDA-accelerated MOG and MOG2 background subtraction in C++ with OpenCV, transferring frames and masks to the GPU, implementing background segmentation, and evaluating GPU performance against CPU.
Extend the background subtraction workflow by applying gaussian filtering and morphological closing to refine the foreground mask, compute contours, filter regions, and track objects with a tracker.
Show how to build a simple dataset for object detection with OpenCV in C++, capturing image patches via a webcam rectangle and saving them for model training.
Explore a basic object detection workflow in c++ with opencv's ml module using svm and histogram of gradients, including dataset creation, feature extraction, and webcam testing on gpu.
Demonstrate optical flow concepts with C++ and OpenCV, covering sparse (Lucas-Kanade) and dense (Farneback) methods, visualizing results and saving flow videos, with a deep learning alternative.
Apply optical flow with Nvidia FlowNet2 in Python by running a script that processes consecutive image frames and outputs flow results.
Compare the results of multiple optical flow methods across images and videos, assess their performance at varying resolutions, and note real-time feasibility and visualization differences in Python.
You will learn how to eliminate wrong detections (False Positives) in foreground detection for background movements.
You will see an example for Pytorch C++ API. We will save a model for feature extraction in the Python, and then use that model in C++.
By using extracted features, we will classify two target objects.
In this course, you are going to learn how to install Nvidia driver on ubuntu OS and compile OpenCV with GPU support. And, you will see how to use opencv GPU functions to accelarate your applications. Also you are going to learn how to setup nvidia flownet2-pytorch environment in python.
*** Watch the Introduction video for more details! ***
If you firstly follow my other course "Learn Computer Vision with OpenCV and Python", you will learn more beginning level information in computer vision, and then it will be better for you to see different examples with C++ and GPU enabled functions in this course.