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
3
votes
3 answers

python executable that has dependency on dlib not working

Hello everyone i have a python script that has dependency on dlib such as import dlib now i have created an executable out of it (using pyinstaller) and it works fine on my machine but gives ImportError: DLL load failed: A dynamic link library (DLL)…
JayD
  • 748
  • 1
  • 13
  • 38
3
votes
3 answers

Force Dlib python to install with CPU support only; on a GPU machine with Cuda and everything

I have searched it over the internet and all I can find is that people having trouble with installation of Dlib with Cuda. I have exact opposite problem. I can successfully install Dlib with Cuda and GPU support on Ubuntu (Google Colab). But I don't…
Rizwan
  • 1,210
  • 2
  • 9
  • 21
3
votes
1 answer

Count the number of unknown people in a video with following conditions

I have a video, https://www.youtube.com/watch?v=LdNrXndwyCc . I am trying to count the number of unknown people in this video, with following restrictions: Unknown count will increase upon per new unique face detect. and stores the face encoding to…
3
votes
8 answers

how to install face_recognition module for python

i have installed the cmake but still dlib is not installing which is required for the installation of face_recognition module the below mentioned error i am getting whenever i try to install the dlib by using the pip install dlib ERROR: Complete…
Neha sharma
  • 31
  • 1
  • 1
  • 4
3
votes
0 answers

How to fix Illegal Instruction: 4 when trying to run a python file in MacOS?

I am trying to install dlib and run the code from here. After installing dlib when I execute the line python detect_face_features.py --shape-predictor shape_predictor_68_face_landmarks.dat --image images/image_1.jpg I get the error Illegal…
3
votes
1 answer

DLIB: ImportError: /usr/local/cuda/lib64/libcudnn.so.7: file too short

I have recently installed Dlib using pip. But when I am importing it it is giving the following error: ImportError: /usr/local/cuda/lib64/libcudnn.so.7: file too short In libcudnn.so.7 is nothing. Please help me in resolving this problem.
Michall
  • 66
  • 3
3
votes
2 answers

Which architecture does dlib's CNN face detector use?

I tried googling a lot but could not find it. Is it a implementation of some paper published on CNN face detection? Is there any details on the theoretical part of dlib's convolutional face detector?
user5586747
3
votes
1 answer

Dlib LNK2001 unresolved external symbol USER_ERROR__inconsistent_build_configuration__see_dlib_faq_2

I am trying to implement the DLIB 19.15 library to my app. I generated the dlib project for Windows Visual Studio 15 2017 Win64 and made a Release build using CMAKE. In the project I have added directories and additional dependencies. But during…
3
votes
10 answers

failing to install dlib on windows 10

Trying to install dlib on Windows 10 using pycharm package manager. I have Numpy, opencv-python, setuptools and wheel installed. tried installing dlib then got the first error asking me to install CMake. Now I'm getting this: (tried installing…
Tom Bar-Gal
  • 209
  • 2
  • 4
  • 13
3
votes
2 answers

Training a model to achieve DLib's facial landmarks like feature points for hands and it's landmarks

[I'm a noob in Machine Learning and OpenCV] These below are the results i.e. 68 facial landmarks that you get on applying the DLib's Facial Landmarks model that can be found here. It mentions in this script that the models was trained on the on…
daVincere
  • 170
  • 2
  • 11
3
votes
0 answers

How can I extract SVM parameters using the default dlib fhog_object_detector

In dlib fhog_object_detector() represents a histogram-of-oriented-gradients based object detector. This object also implements a trained SVM classifier that is used for the final prediction. That is -HOG- for feature extraction and -SVM- for…
3
votes
1 answer

Having a bit of an issue installing dlib on Windows

-- Configuring incomplete, errors occurred! See also "C:/Users/Jehad/AppData/Local/Temp/pip-build-uz9hgn/dlib/build/temp.win32-2.7/Release/CMakeFiles/CMakeOutput.log". See also…
3
votes
1 answer

dlib labeling for object detection - detect only 60%

I have question on object detection using dlib. I'm want to detect beard on face. so I'm labeling like below typedef scan_fhog_pyramid > image_scanner_type; image_scanner_type scanner; scanner.set_detection_window_size(80, 80);…
Saha
  • 43
  • 4
3
votes
0 answers

Deserializing shape_predictor_68_face_landmarks.dat only for once for facial landmark detection in real time in android studio

I am trying to detect facial landmark using opencv ,dlib library in android studio. I can capture image and detect landmarks from the image. But I am facing problem when I am trying to detect facial landmark in real time. Because I am deserializing…
Ziniz
  • 65
  • 5
3
votes
3 answers

Minimal Example for dlib SVM using Python/Numpy

I need to deploy an SVM in a C++ build target system. Therefore I want to train an SVM using dlib with python/numpy, serialize it and evaluate in the target system. The python documentation for dlib is rather obscure to me, so can anyone help me…
arm
  • 605
  • 1
  • 7
  • 16