Add images and Threshold – OpenCV 3.4 with python 3 Tutorial 5

We’re going to learn in this tutorial how to add two images using Python and Opencv. First let’s take two images. There is one condition, the images need to have the exact same size. Add images There are two different functions to add the images together.The function cv2.add (see line below) that adds rispectively the […]

Loading Video and Webcam – OpenCV 3.4 with python 3 Tutorial 2

In this tutorial we’re going to see how to load the video from it’s source whether it’s a webcam or a video file. The process is relatively simple. After we import the libraries cv2 and numpy, we need to define the cap object. To load the frames from the webcam: cap = cv2.VideoCapture(0) The number […]

Loading images – OpenCV 3.4 with python 3 Tutorial 1

Show images Load and show images with Opencv is a really simple operation. On Line 1 we import the opencv library. On Line 3 we load the image into a variable. You can put just the title of the image and the format (example .jpg) if the image is in the same folder as the […]

Tutorial: Remove background – opencv 3.2 with python 3

In this tutorial, we will see how to delete the background using only OpenCV and python. In this case, I will identify the color through HSV, and for more details I suggest you see my most recent article on the subject: Detecting colors (Hsv Color Space) – Opencv with Python or use other techniques, always […]