AI and DS Skills

 View Only

Getting started with Image classification

By Randhir Singh posted 18 days ago

  

Introduction

The choice of machine learning model depends on the nature of data for which we're trying to either perform classification or regression. There are mainly the following classes of data for which we build machine learning models

  • Tabular data
  • Time-series
  • Text
  • Image

In this blog, we'll get started with working on Images data. Images differ from other data classes. Images can be represented 3-D tensors, the three dimensions being - image height, image width and the RGB color channel. Gray scale images can be represented as 2-D arrays of pixel values in the range of 0-255. We'll learn how to train a model on images that belong to known categories and use the model to classify unseen images from those categories. Specifically, we'll learn to

  • load and extract features of images

  • implement the Multi-Layer perceptron to classify images

  • implement simple neural network from keras

Traffic sign recognition is a challenging, real-world problem relevant for AI based transportation systems. Traffic signs show a wide range of variations between classes in terms of color, shape, and the presence of pictograms or text. However, there exist subsets of classes (e.g., speed limit signs) that are very similar to each other. Further, the classifier has to be robust against large variations in visual appearances due to changes in illumination, partial occlusions, rotations, weather conditions etc. Using a comprehensive traffic sign detection dataset, here we will perform classification of traffic signs, train and evaluate the different models and compare to the performance of MLPs.

img

0 comments
3 views

Permalink