What is Python?
Python is a programming/scripting language that can be used on many different computers and operating systems, including Windows, Unix, Macintosh, etc.

Python is a programming/scripting language that can be used on many different computers and operating systems, including Windows, Unix, Macintosh, etc.

It’s very straightforward and easy to read and write. It’s now one of the most popular programming languages.

The first and most obvious thing to do is download Python and start playing!
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 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
In this article, we will learn about image pyramids and how to implement them in Python using OpenCV. What are Image Pyramids? Image pyramids are a commonly used technique in computer vision and image processing that involves creating a multi-scale representation of an image. This representation consists of a series of progressively downsampled images, where
Image thresholding is one of the most basic types of image segmentation. It consists of converting an image (a grayscale image) into a binary image (black and white image). In simple thresholding, we manually set a threshold value T and compare each pixel intensity in the input image with T. If a pixel in the input image is
In this tutorial, we are going to use OpenCV and Python to automatically read and grade bubble test sheets. We will be using some techniques that we used in a previous tutorial when we created a simple document scanner. The steps that we need to follow in order to build the project are: Find the Contours
In this tutorial, we are going to build a simple barcode and QR code scanner using OpenCV and the ZBar library. The ZBar library will be responsible for detecting and localizing the QR codes and barcodes. OpenCV will be used for some preprocessing steps such as loading the image, looping through the detected barcodes, and displaying the
In this tutorial, we will learn how to use OpenCV to perform template matching. Template matching is a simple form of object detection that is computationally inexpensive. It involves finding areas of an image that are similar to a patch (template). With simplicity comes a price. Template matching can fail to detect objects if there
In this tutorial, we will learn how to perform color-based object detection using OpenCV and Python. We will be using the HSV color space to detect objects in images and videos. Install the Required Packages Let’s first install the required packages for our project. We will be using OpenCV and Numpy which are pip installable.
In this post we will discuss about different basic star pattern in Python. These are very basic and beginners programs, let me know in case you want me create more shapes and patterns. Star pattern 1 Program to implement above star pattern: Star pattern 2 Program to implement above star pattern: Star pattern 3 Program to implement
This is Part 2 of A Neural Network in Python, which was a very simple neural network to learn the XOR function. This part builds on that example to demonstrate more activation functions, learning a simple math function, adding a bias, improvements to the initial random weights, stochastic gradient descent, mean square error loss function,