Recent tutorials

Scanning QR Codes

Recognize QR Codes in images from scratch. We'll do all the bit math to figure out the location markers and then read data from the black/white array.

The Canny Edge Detector

An in-depth exploration of how the famous Canny edge detection system works. We'll implement our own after going through the theory.

Image Moments

Image moments help identify certain key characteristics in images - like the center, area of white pixels, etc. We'll look at how these are calculated mathematically.

A super fast thresholding technique

Learn how to implement really fast thresholding - faster than OpenCV! This technique can be a useful addition to your arsenal of computer vision.

The Sobel and Laplacian Edge Detectors

Edge detection is a fundamental image processing operation. Learn about how to calculate derivatives and find edges in your images using simple matrix operations.

K-Nearest Neighbors in OpenCV

Learn how to implement K-Nearest in OpenCV. We use the MNIST database of handwritten numbers.

K-Nearest Neighbours: Classify (recognize) things

Learn about how the K-nearest neighbours algorithm works and how performance varies as the size of the inputs are varied.