O'Reilly logo

Machine Learning For Dummies by Luca Massaron, John Paul Mueller

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

Chapter 19

Classifying Images

IN THIS CHAPTER

Handling images with Python

Obtaining features from an image

Using image information to detect features from faces

Performing image classification tasks on images of faces

Among the five senses, sight is certainly the most powerful in conveying knowledge and information derived from the world outside. Many people feel that the gift of sight helps children know about the different things and persons around them. In addition, humans receive and transmit knowledge across time by means of pictures, visual arts, and textual documents. This chapter helps you understand how Python can help your computer interact with images.

Because sight is so important and precious, it’s similarly invaluable for a machine learning algorithm because sight opens the algorithm to new capabilities. Most information today is available in digital form (text, music, photos, and videos), yet, being able to read visual information in a binary format doesn’t help you to understand it and to use it properly. In recent years, one of the more important uses of vision in machine learning is to classify images for all sorts of reasons. This chapter helps you discover techniques for obtaining image features for use in machine learning tasks.

For example, robots need to know which objects they should avoid and which objects they need to work with, yet without image classification, the task is impossible. Humans also rely on image classification to perform tasks such as ...

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