Skip to Content
Machine Learning Solutions
book

Machine Learning Solutions

by Jalaj Thanaki
April 2018
Beginner to intermediate content levelBeginner to intermediate
566 pages
12h 17m
English
Packt Publishing
Content preview from Machine Learning Solutions

Setting up the coding environment

In this section, we will set up the coding environment for the face recognition application. We will look at how to install dependencies. We will be installing the following two libraries:

  • dlib
  • face_recognition

Let's begin the installation process.

Installing dlib

In order to install the dlib library, we need to perform the following steps. We can install this library either on a Linux operating system (OS), or on macOS. Let's follow the stepwise instructions:

  1. Download the source code of dlib by executing this command:
    sudo git clone https://github.com/davisking/dlib.git.
  2. Now jump to the dlib directory by executing this command: cd dlib.
  3. Now we need to build the main dlib library, so we need to execute the following commands ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Machine Learning

Machine Learning

Subramanian Chandramouli, Saikat Dutt, Amit Kumar Das
Machine Learning for Business

Machine Learning for Business

Doug Hudgeon, Richard Nichol
Introducing Machine Learning

Introducing Machine Learning

Dino Esposito, Francesco Esposito

Publisher Resources

ISBN: 9781788390040Supplemental Content