O'Reilly logo

Computer Vision with Python 3 by Saurabh Kapur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introduction to machine learning

As we saw in the previous section, a system is capable of learning handwriting, understanding an image, or even make a car drive on its own. But how does all of this happen? Let's take an example of detecting different shapes such as circles, squares, and rectangles. We begin with collecting a lot of images for these shapes in different colors and sizes. We should try to have as much diversity in our data as possible. Then we pass this data to our program and, using a machine learning algorithm, it learns what different shapes look like by specifically learning about their characteristic properties such as a circle has no corners, while a square and a rectangle both have four corners, but a square has all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required