Monday, September 16, 2019 No comments :

Now out: Machine Learning for OpenCV 4, Second Edition

The second edition of my machine learning book, Machine Learning for OpenCV4, is now out!

My co-authors Aditya Sharma and Vishwesh Ravi Shrimali have been hard at work to translate all the code of the original book to OpenCV 4. The latest release offers a plethora of features and platform improvements, which are covered comprehensively in this up-to-date second edition. On top of that, the book now provides an introduction to the Intel OpenVINO toolkit that will allow you to speed up your image processing pipeline.
You can find the book on the official website of Packt Publishing as well as on Amazon.

This is an introductory book for folks who are already familiar with OpenCV, but now want to dive into the world of machine learning. The goal is to illustrate the fundamental machine learning concepts using practical, hands-on examples.


The outline of the book is as follows:

  1. A Taste of Machine Learning
  2. Working with Data Using OpenCV
  3. First Steps in Supervised Learning
  4. Representing Data and Engineering Features
  5. Using Decision Trees to Make a Medical Diagnosis
  6. Detecting Pedestrians with Support Vector Machines
  7. Implementing a Spam Filter with Bayesian Learning
  8. Discovering Hidden Structures with Unsupervised Learning
  9. Using Deep Learning to Classify Handwritten Digits
  10. Ensemble Methods for Classification
  11. Selecting the Right Model with Hyper-Parameter Tuning
  12. Using OpenVINO with OpenCV
  13. Conclusion

Monday, January 7, 2019 No comments :

How to install CUDA 9 and CuDNN 7 on Ubuntu 18.04

Installing CUDA has gotten a lot easier over the years thanks to the CUDA Installation Guide, but there are still a few potential pitfalls to be avoided. Below is a working recipe for installing the CUDA 9 Toolkit and CuDNN 7 (the versions currently supported by TensorFlow) on Ubuntu 18.04.