##### Create Layer Class

We’re going to see in this lesson: What is a layer How to create a Layer class How to train the layer 4.7.1 What is a Layer In this lesson we will see how from a neuron we can create a Layer.I’ve bounded the neuron with a green rectangle, and we can call that Output layer […]

##### Install Opencv 4.1 on Nvidia Jetson Nano

We’re going to learn in this tutorial how to install Opencv 4.1 on the Nvidia Jetson Nano. First of all we need to make sure that there is enough memory to proceed with the installation.The Jetson Nano has 4GB of ram, and they’re not enough for some installations, and Opencv is one of them. To […]

##### Ho do computers see images? – Opencv with Python

We’re going to understand today how do computers see images. I’m going to explain that using python with opencv. Here below the python code used in the video tutorial: Sergio CanuHi there, I’m the founder of Pysource. I’m a Computer Vision Consultant, developer and Course instructor. I help Companies and Developers to build efficient computer […]

##### Eye Gaze detection 1 – Gaze controlled keyboard with Python and Opencv p.3

We are going to learn in this tutorial how to detect the gaze. Why do we need to detect the gaze? To answer to this question I need to explain to you how I plan to run the app.The idea is to see a keyboard on the screen, light up each key every second or […]

##### Fourier Transform – OpenCV 3.4 with python 3 Tutorial 35

Source code: import cv2 import numpy as np import glob list_images = glob.iglob(“letters/*”) for image_title in list_images: img = cv2.imread(image_title, cv2.IMREAD_GRAYSCALE) f = np.fft.fft2(img) fshift = np.fft.fftshift(f) magnitude_spectrum = 20*np.log(np.abs(fshift)) magnitude_spectrum = np.asarray(magnitude_spectrum, dtype=np.uint8) img_and_magnitude = np.concatenate((img, magnitude_spectrum), axis=1) cv2.imshow(image_title, img_and_magnitude) cv2.waitKey(0) cv2.destroyAllWindows()   Files: fourier_transform_files.zip Sergio CanuHi there, I’m the founder of Pysource. I’m […]

##### Detect how similar two images are with Opencv and Python

While in the previous tutorial we learnt to detect if there are similarities between two images, but what if we would like to know how similar they are? We are going to see in this tutorial, how starting from the features of the two images we can define a percentage of similarity from 0 to […]

##### Find similarities between two images with Opencv and Python

We have seen in the previous tutorial if two images are completely equal (same size, same channels, and same pixels values). But what if they’re not equal?The subtraction method doesn’t work anymore, as we can’t subtract pixels from images that have different sizes, we would get an error. In this article you will learn how […]

##### Find and Draw Contours – OpenCV 3.4 with python 3 Tutorial 19

We’re going to see in this tutorial how to find and draw the contours. Contours are simply the boundaries of an object. We first import the libraries and we load the Camera. import cv2 import numpy as np cap = cv2.VideoCapture(0) We start the while loop to work with a video, so we loop trough […]