Book Image

Practical Computer Vision

By : Abhinav Dadhich
Book Image

Practical Computer Vision

By: Abhinav Dadhich

Overview of this book

In this book, you will find several recently proposed methods in various domains of computer vision. You will start by setting up the proper Python environment to work on practical applications. This includes setting up libraries such as OpenCV, TensorFlow, and Keras using Anaconda. Using these libraries, you'll start to understand the concepts of image transformation and filtering. You will find a detailed explanation of feature detectors such as FAST and ORB; you'll use them to find similar-looking objects. With an introduction to convolutional neural nets, you will learn how to build a deep neural net using Keras and how to use it to classify the Fashion-MNIST dataset. With regard to object detection, you will learn the implementation of a simple face detector as well as the workings of complex deep-learning-based object detectors such as Faster R-CNN and SSD using TensorFlow. You'll get started with semantic segmentation using FCN models and track objects with Deep SORT. Not only this, you will also use Visual SLAM techniques such as ORB-SLAM on a standard dataset. By the end of this book, you will have a firm understanding of the different computer vision techniques and how to apply them in your applications.
Table of Contents (12 chapters)

Datasets and libraries used

In this chapter, we will be using Keras to write neural nets with TensorFlow as backend. A detailed installation procedure is explained in Chapter 2, Libraries, Development Platforms and Datasets. To check if you have Keras installed, in shell run:

python -c "import keras;print(keras.__version__)"

This will print the Keras version as well as which backend you are using. If you have TensorFlow installed and Keras is using TensorFlow, it will print using Tensorflow backend. If you have an older version of Keras and TensorFlow, there might be some issues, so please install or upgrade to the latest versions. We will also be using other libraries like NumPy and OpenCV.

We will be using the Fashion–MNIST dataset by Zalando SE which is available at https://github.com/zalandoresearch/fashion-mnist. This can be downloaded directly with Keras...