Written in C++, with accessible Python bindings.
Includes object detection and tracking algorithms.
- Matplotlib: RGB (Red, Green, Blue)
- OpenCV: BGR (Blue, Green, Red)
cvtColor: Used to change colorspaces.
Install OpenCV on Windows - C++ / Python
In this blog post, we will be installing OpenCV on Windows for C++ and Python. The C++ installation is done with the help of custom setup exe files. Whereas Python installation is done with Anaconda. Installing OpenCV from source takes up a lot of time.
OpenCV DNN with NVIDIA GPUs
How to use OpenCV DNN Module with NVIDIA GPUs
In many of our previous posts, we used OpenCV DNN Module, which allows running pre-trained neural networks. One of the module's main drawback is its limited CPU-only inference use since it was the only supported mode. Starting from OpenCV version 4.2, the DNN module supports NVIDIA GPU usage, which means acceleration of CUDA and cuDNN when running deep learning networks on it.