Add watermark to multiple images with Opencv and Python

We’re going to see right now how to add a watermark automatically to multiple images using Opencv with Python. So for example if this logo: And this image: Adding a watermark will look like this: First of all we import the libraries and on line 4 we load the logo using Opencv.On line 5 we […]

Insert tetrominoes position into an array – Python Plays Tetris p. 4

Until now in this series we’ve been working to retrieve the informations from the board: detecting the board, the tetrominoes and their position.Now it’s the time to use these informations in order to process them. If we consider that we want to use some sort of artificial intelligence, even if really basic, to solve the […]

Detect tetris board and Tetrominoes – Python Plays Tetris p. 3

We’re going to see in this tutorial how to detect the tetris board and the tetrominoes from this image below. How to detect the board? There are more methods that we can use to detect the board. Color detection: the board is the biggest black square on the screen, so we could detect the black […]

Detect when an image is Blurry – Opencv with Python

We’re going to learn in this video how to detect when an Image is blurry using Opencv with Python. Let’s take two images a not blurry one and a blurry one: What is a blurry image? Taking a look at the two images above we can easily affirm that the second image is blurry while […]

YOLO object detection using Opencv with Python

We’re going to learn in this tutorial YOLO object detection. Yolo is a deep learning algorythm which came out on may 2016 and it became quickly so popular because it’s so fast compared with the previous deep learning algorythm. With yolo we can detect objects at a relatively high speed. With a GPU we would […]

Delaunay Triangulation for Face swapping – Opencv with Python (part 2)

We’re going to see in this tutorial how to split the face into triangles using Delaunay Triangulation. Why are we splitting the face into triangles?For face swapping this is the best approach to use, we split both the faces into triangles and then we swap the triangles in the corrispondent region. Sergio CanuHi there, I’m […]

Face swapping – Opencv with Python (part 1)

We’re going to learn in this new tutorial series how to create the snapchat filter “Face swap”. In this first tutorial wi will learn how to: Get the external boundaries of the face Extract the face from the image Here below you will find the full source code and a really quick explanation. You will […]