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

Data preprocessing

Data preprocessing plays an important role in machine learning. Suppose you are given images of any object that you are trying to learn and all the images are aligned vertically. When after the learning phase you pass an image of the same object at an angle, there are chances that program will not be able to detect what the object is. You could also learn the object with a certain size, but while testing you provide an image with the object either smaller or bigger than what we trained it for. These are just some of the many problems that you can face in terms of the training data. A more formal term used to describe such artifacts is called making an object invariant to translation, rotation, and scale. This means no matter ...

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