Draw Line on Image using OpenCV

Draw Line on Image using OpenCV

OpenCV provides functionality for drawing geometric shapes such as line, rectangle, circle, etc. The line function can be used to draw a line between two points by specifying x and...
Get OpenCV Version

Get OpenCV Version

With each release of OpenCV, new features and various changes are introduced. Also, various bugs are fixed. If the OpenCV code snippet is not working due unavailable function, cause of...
Get OpenCV Build Information

Get OpenCV Build Information

OpenCV has many features, but some of them should be enabled at compile time using configuration options. If the OpenCV code snippet is not working on a specific environment, it...
Get Image Size using OpenCV

Get Image Size using OpenCV

During image processing, it is often necessary to know the image size such as width, height, and number of the channels. This tutorial provides example how to get image size...
Resize Image using OpenCV

Resize Image using OpenCV

Image resizing reduces the number of pixels in an image. It can be useful when want to decrease image processing time or reduce the time of training of a neural...
Get List of USB Devices in Linux

Get List of USB Devices in Linux

Many peripheral devices have USB interface to connect to the computer such as webcams, keyboards, mouses, hard drives, etc. This tutorial demonstrates how to get a list of USB devices...