what is dlib, imutils? (+ how to install)
introduce methods that we use for detected facial-landmarks
Last updated
Was this helpful?
introduce methods that we use for detected facial-landmarks
Last updated
Was this helpful?
reference : ()
Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems.
Algorithms
API Wrappers
Bayesian Nets
Compression
Containers
Graph Tools
Image Processing
Linear Algebra
Machine Learning
Metaprogramming
Miscellaneous
Networking
Optimization
Parsing
dlib.get_frontal_face_detector() - Returns the default face detector
shape_predictor() - This object is a tool that takes in an image region containing some object and outputs a set of point locations that define the pose of the object. The classic example of this is human face pose prediction, where you take an image of a human face as input and are expected to identify the locations of important facial landmarks such as the corners of the mouth and eyes, tip of the nose, and so forth.
requires
image is a numpy ndarray containing either an 8bit grayscale or RGB image.
box is the bounding box to begin the shape prediction inside.
ensures
This function runs the shape predictor on the input image and returns a single full_object_detection.
CMake download , pip install CMake
A series of convenience functions to make basic image processing functions such as translation, rotation, resizing, skeletonization, and displaying Matplotlib images easier with OpenCV and both Python 2.7 and Python 3.
we use imutils to use webcam video, face_utils ...etc
git clone code in same repository with your activities source code repos
pip install imutils
reference :
go to