An RGB image has three channels: red, green and blue. When working with image preprocessing in computer vision applications, may need to extract individual channels such as red, green and...
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...
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...
Object detection based on Haar cascades is a machine learning technique where a cascade function is trained using positive and negative images. It is used to detect objects in an...
While working with image processing, one of the first steps is load an image from a file.
OpenCV provides imread function that enables to load an image from a file...
Images can look either too light or too dark. Gamma correction is a method that allows to control the brightness of an image. The formula used to get a gamma...
Histogram equalization is a method in image processing that allows to adjust the contrast of an image using histogram. Histogram equalization transforms pixel intensity values so that the histogram of...
HSV is a color space that has three components: hue, saturation and value. When implementing object tracking based on color, images are often converted from RGB to HSV color space...
While working with image processing, we might need to save an intermediate image or final resulting image to a specified file.
OpenCV provides the imwrite function that allows to save...
YOLO (You Only Look Once) is an object detection algorithm that allows to detect objects in an images in near real-time. YOLOv4 is 4th version of YOLO which introduced in...