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!
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,
In this article, I’ll show you a toy example to learn the XOR logical function. My objective is to make it as easy as possible for you to to see how the basic ideas work, and to provide a basis from which you can experiment further. In real applications, you would not write these programs
This article introduces the idea of importing Python modules that manage many common and/or special tasks that you would otherwise have to write programming code for. IDLE is featured in this article because of some of its handy features, but you can follow the examples in other ways as well. The material in this article
A simple demonstration of using Java Swing from the Jython interactive interpreter. The following is an example of using the Jython interactive interpreter from the Windows 2000 command prompt. On this page, we demonstrate several Jython basics, including: Please note that your web browser will probably wrap some longer lines of code. In our example,