
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 :)
Install the cuda toolkit and samples by running the downloaded installer from the desktop, accepting prompts, and using the pre-installed driver to complete the setup.
Clone the OpenCV source with git, install dependencies, configure CUDA support, and build OpenCV with extra modules to enable GPU-accelerated computer vision.
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 to add a trackbar in OpenCV with C++, create a window and a mask window, and use a callback to adjust HSV thresholds in real time.
Demonstrates accelerating image filtering with CUDA in OpenCV using C++, comparing CPU and GPU timings, transferring data between host and device, and applying Gaussian filters for real-time video processing.
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.
Track foreground objects detected by background subtraction using a foreground mask, implementing blob and track classes, and applying a Bayesian tracking algorithm to update and remove outdated blobs.
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.
Train a beer detector by extracting histogram of gradients features on the gpu and classifying with svm in OpenCV ml, saving the model to yaml for testing.
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.
Learn to compute optical flow on the GPU using CUDA with C++ and OpenCV, transfer input images to GPU memory, run the flow algorithm, and visualize the magnitude and results.
Explore hardware-accelerated optical flow using the Nvidia optical flow sdk in c++ cuda, integrated into openCV, and compare results at up to 150 fps.
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.
We process images from a moving unmanned aerial vehicle, stabilize the video with a warping process using a homography and optical flow, then subtract frames to detect moving objects.
Demonstrate warping with cuda on gpu in OpenCV to accelerate motion compensation for a moving camera, using device grayscale frames, subtraction, and thresholding to detect moving objects.
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.