Edge and Contour Detection with OpenCV and Python

In this tutorial, we are going to see another image processing technique: detect edges and contours in an image. Edge detection is a fundamental task in computer vision. It can be defined as the task of finding boundaries between regions that have different properties, such as brightness or texture. Simply put, edge detection is the process of

Object Detection with YOLO using PyTorch

In this tutorial, we will use the YOLO object detection algorithm to detect objects in images and videos. Object detection is a computer vision task that involves identifying and localizing objects in an image or video. It is a challenging task that requires both localizing objects in the image and classifying what type of object

Image Annotation with OpenCV and Python

OpenCV makes the process of drawing shapes on an image straightforward by providing convenient functions. In this tutorial, we will see 5 built-in functions to annotate images: cv2.line, cv2.rectangle, cv2.circle, cv2.ellipse, cv2.putText. The image below will be used throughout this part: Draw a Line with OpenCV and Python Let’s start with drawing lines using the cv2.line function: We start by importing cv2 and

Image Filtering and Blurring with OpenCV and Python

Image blurring is an important preprocessing step in computer vision. It is used to reduce noise and unnecessary detail in an image. In this tutorial, we will cover four blurring techniques: The image below will be used throughout this part: Average Blurring Blurring an image means convolving the image with an MxN matrix called a filter or a