Questions tagged [dlib]

Dlib is a modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. (Source http://dlib.net/)

Major Features

  • Documentation
  • High Quality Portable Code
  • Threading
  • Networking
  • Graphical User Interfaces
  • Numerical Algorithms
  • Machine Learning Algorithms
  • Graphical Model Inference Algorithms
  • Image Processing
  • Data Compression and Integrity Algorithms
  • Testing
  • General Utilities

Source http://dlib.net/

1094 questions
8
votes
3 answers

How to check if dlib is using GPU or not?

My machine has Geforce 940mx GDDR5 GPU. I have installed all requirements to run GPU accelerated dlib (with GPU support): CUDA 9.0 toolkit with all 3 patches updates from…
rahulreddy
  • 101
  • 1
  • 1
  • 2
8
votes
1 answer

Save jaw only as image with dlib facial landmark detection and the rest to be transparent

I already have a facial landmark detector and can already save the image using opencv and dlib with the code below: # import the necessary packages from imutils import face_utils import numpy as np import argparse import imutils import dlib import…
jameshwart lopez
  • 2,993
  • 6
  • 35
  • 65
8
votes
4 answers

how to save/crop detected faces in dlib python

i want to save the detected face in dlib by cropping the rectangle do anyone have any idea how can i crop it. i am using dlib first time and having so many problems. i also want to run the fisherface algorithm on the detected faces but it is giving…
Irum Zahra Awan
  • 276
  • 1
  • 5
  • 16
8
votes
1 answer

How to get 3D coordinate Axes of head pose estimation in Dlib C++

Dlib C++ can detect landmark and estimate face pose very well. However, how can I get 3D coordinate Axes direction (x,y,z) of head pose?
Rain Maker
  • 152
  • 1
  • 3
  • 6
8
votes
2 answers

In Dlib how do I save image with overlay?

I'm trying to modify Dlib's face detection example to save an image with detections to a file since I'm using a server without GUI. So far I have only figured how to save the image but not the overlay. How do I save both to the same…
Tim Clemans
  • 875
  • 1
  • 10
  • 18
7
votes
7 answers

ImportError: No module named 'dlib'

I followed the step how to install dlib python on Windows and it works on CMD but in Python's IDE it said ImportError: No module named 'dlib'
wimpykids96
  • 79
  • 1
  • 1
  • 2
7
votes
1 answer

Is DLIB a good open source library for developing my own machine learning algorithms in C++?

Is DLIB a good open source library for developing my own machine learning algorithms in C++? How about other ones, such as libSVM, SHOGUN?
user297850
  • 7,705
  • 17
  • 54
  • 76
7
votes
3 answers

Dlib "Error deserializing object of type short"

I am getting error on pose_predictor = dlib.shape_predictor(predictor_model) on dlib python. RuntimeError: Error deserializing object of type short while deserializing a floating point number. while deserializing a dlib::matrix while…
Musab Hussain
  • 85
  • 1
  • 2
  • 5
7
votes
1 answer

Mobile Vision API new detector frame get Bitmap Image

I know similar Question has been asked Before:- Mobile Vision API - concatenate new detector object to continue frame processing I am receiving the frame but when I call frame.getBitmap() it returns a null object. I want to use this bitmap in…
Honney Goyal
  • 247
  • 1
  • 5
  • 13
6
votes
3 answers

dlib hangs when building on Google Coral dev board

I am struggling with installing latest version of dlib (http://dlib.net/, v19.17) for Python on the Google Coral Dev Board. It works well with Raspberry Pi 3 B+ (that seems to have exactly the same CPU and amount of RAM), but gets stuck on the Coral…
mehmandarov
  • 146
  • 1
  • 4
6
votes
3 answers

How can I add dlib in cmake with findpackage?

This is my cmakelists.txt: project( WolframMachine ) cmake_minimum_required(VERSION 3.1) set (CMAKE_CXX_STANDARD 11) set(CMAKE_SUPPRESS_REGENERATION true) include(ExternalProject) set(Boost_INCLUDE_DIR…
Stepan Yakovenko
  • 8,670
  • 28
  • 113
  • 206
6
votes
3 answers

Install Dlib in Anaconda Python

I'm trying to install the dlib package in Anaconda by running the following: conda install -c menpo dlib I'm getting the following error: UnsatisfiableError: The following specifications were found to be in conflict: - dlib - zict Use "conda info…
Mustafa Kara
  • 61
  • 1
  • 6
6
votes
3 answers

Unable to extract shape_predictor_68_face_landmarks.dat for bz

I am trying to run some face frontalization code (using Python3 on Windows10), the code uses opencv and dlib and requires a file called shape_predictor_68_face_landmarks.dat. The code tries to automatically download it and then unzip it but it fails…
Dan
  • 45,079
  • 17
  • 88
  • 157
6
votes
1 answer

Minimize matrix in Equation using OpenCV

I need to minimize H in following equation: Where H is 3x3 Matrix. Pn is 3x1 matrix (point). Euclidean() gives distance between 2 points. Dn is the actual distance. I have one initial estimate of H and m points(P0 to Pm) I need optimize value of…
Deepak
  • 1,038
  • 5
  • 17
  • 44
6
votes
1 answer

How to get points coordinate position in the face landmark detection program of dlib?

There is one example python program in dlib to detect the face landmark position. face_landmark_detection.py This program detect the face feature and denote the landmarks with dots and lines in original photo. I wonder if it is possible to obtain…
randy Pen
  • 171
  • 1
  • 2
  • 9
1
2
3
72 73