Category: Dlib

  • How to Build and Install the Latest Version of Dlib on Anaconda on Windows

    How to Build and Install the Latest Version of Dlib on Anaconda on Windows

    Dlib is a toolkit for C++ and Python containing machine learning algorithms and tools for creating complex software to solve real world problems. Dlib provides algorithms for machine learning/deep learning, multi-class classification and clustering models, support vector machines, regression models, a large set of numerical algorithms for areas such as matrix manipulations and linear algebra,…

  • Track any object in a video with Dlib Correlation Trackers

    Training an object detector is bit of a complicated task. You need to have a proper training dataset with the relevant bounding boxes, and then use something like a HOG feature extractor with a SVM classifier for the detection – such as the Dlib Object Detection classes (link). But that’s a lot of work if…

  • Snapchat like Image Overlays with Dlib, OpenCV, and Python

    You’re probably familiar with Snapchat, and it’s filters feature where you can put some cool and funny image overlays on your face images. As computer vision enthusiasts, we typically look at applications like these, and try to understand how it’s done, and whether we can build something similar. It turns out, we can make our…

  • Wink Detection using Dlib and OpenCV

    A couple of weeks ago, I was going through a tutorial for eye blink detection by Adrian at PyImageSearch. It was an excellent tutorial, which explained the use of Eye Aspect Ratio (EAR) in order to detect when an eye gets closed. Then, few weeks back, I was having a chat with Shirish Ranade, a…

  • OpenCV 3.2 and Dlib 19.4 Packages Now Available from Conda-Forge

    Anaconda is an asset for us Machine Learning enthusiasts. Not only does it have the ability to create fully isolated Python environments, its pre-built packages for many operating systems and architectures helps you to spend less time setting up, and more time doing actual machine learning stuff. In some scenarios, to get some Python packages…

  • Extracting individual Facial Features from Dlib Face Landmarks

    If you remember, in my last post on Dlib, I showed how to get the Face Landmark Detection feature of Dlib working with OpenCV. We saw how to use the pre-trained 68 facial landmark model that comes with Dlib with the shape predictor functionality of Dlib, and then to convert the output of into a…

  • Getting Dlib Face Landmark Detection working with OpenCV

    Dlib has excellent Face Detection and Face Landmark Detection algorithms built-in. Its face detection is based on Histogram of Oriented Gradients (HOG) feature combined with a linear classifier, on a sliding window detection scheme (Ref. http://dlib.net/) and it provides pre-trained models for face landmark detection. It also provides handy utility functions like dlib.get_frontal_face_detector() to make…

  • Installing Dlib on Anaconda Python on Windows

    Update – 16/Dec/2019: There is now an easier way to install Dlib from the official pip package. Check out the new tutorial How to Build and Install the Latest Version of Dlib on Anaconda on Windows Dlib is a Machine Learning library, primarily written in C++, but has a Python package also. It has many…