Chrysolites Tech Academy

Video by freeCodeCamp.org · taught by Jason Dsouza · streamed from YouTube. All rights remain with the creator.

Lesson 2: Computer Vision with OpenCV

About this lesson

This course by Jason Dsouza teaches computer vision with OpenCV and Python, starting from the very basics and finishing with a deep learning project. It is organised into four sections. The basics section shows how to read images and video, how to resize and rescale frames, and how to draw shapes and put text on images. It then covers the essential functions used in almost every project, the common image transformations such as translation, rotation and flipping, and how to detect the contours of shapes. The advanced section explains colour spaces and how to convert between them, how to split and merge colour channels, and the different methods of blurring an image. It continues with bitwise operations and masking, which let you focus on just one part of an image, and with computing histograms of pixel intensities. It then covers thresholding, which turns an image into black and white, and several methods of edge detection. The third section is about faces. It shows how to detect faces in images with Haar cascades, and how to use OpenCV's built-in recogniser to identify faces it has been trained on. The final capstone section moves to deep computer vision, building and training a neural network that classifies images of characters from a well-known animated series, bringing together the processing skills from the earlier sections. Afterwards, read Chapter 2 of the course book, which works through blurs, histograms and thresholds by hand.

Install Chrysolites Tech Academy

Android / Chrome / Edge: open the browser menu and choose Install app or Add to Home screen.

iPhone / iPad (Safari): tap the Share button, then Add to Home Screen.