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
6
votes
1 answer

How to save resulted face landmark image in dlib?

I am using dlib's face_landmark_detection_ex.cpp which display the detected face image and all face landmarks on the original image. I want to save the original image with all 68 face face landmarks to my computer. I know it can be done by save_png…
user3751794
6
votes
1 answer

Dlib webcam capture with face detection and shape prediction is slow

I am working on a program in C++ which should detect faces from webcam stream, than crop them using face landmarks and swap them. I programmed face detection using OpenCV and Viola-Jones face detection. Works fine. Than I searched for how to segment…
Gondil
  • 787
  • 3
  • 9
  • 28
6
votes
0 answers

Memory issue in dlib object detector training

I am using dlib for object detection.I am training my own detector using dlib. But when i give more then 1000 images, data is not trained.Process is killed by system.I have searched online but didn't find any particular solution for that. I want to…
5
votes
2 answers

Error with Dlib installation for python on windows 10

I'm trying to install dlib. I followed every single tip on the internet but its just not working. I'm using/tried windows 10 cmake 3.21.4 (it's on path) python 3.8.12 and 3.6.4 conda 4.10.3 pip 21.3.1 visual studio 2019 components in vs…
sophie
  • 78
  • 1
  • 6
5
votes
1 answer

Detecting if a Face is Upside down with Dlib.Net(FaceRecognition.Net)

Basically i'm trying to check if a face is upside down in an image using this library https://github.com/takuya-takeuchi/FaceRecognitionDotNet. Take example of the image below This is an image that is successfully detected using the…
techno
  • 6,100
  • 16
  • 86
  • 192
5
votes
1 answer

Could not load library libcudnn_cnn_train.so.8

Error occurred when I am trying to run face_rec using CUDA. There's no file missing, but the system states that it cannot find the related file. The error is: Could not load library libcudnn_cnn_train.so.8. Error: libcudnn_ops_train.so.8: cannot…
Unics Yu
  • 63
  • 4
5
votes
0 answers

Installing Dlib with gpu support in conda environment is not working

I have created a conda virtual env just to run dlib with gpu support, in it i installed cmake, CUDA and cuDNN from pip install cmake and conda install cudatoolkit cudnn, after that i tried to run dlibs setup.py from the site downloaded folder with…
Gustavo Stahl
  • 101
  • 1
  • 7
5
votes
5 answers

Not able to install dlib on Windows 10 and Python 3.7

I am trying to install OpenCV, dlib on Windows 10 on Anaconda Python 3.7. I have installed Visual studio 2015 as prerequisite along with CMake. When I am trying to install dlib on my computer it is giving me below error. I am also not able to…
DJcode
  • 61
  • 1
  • 8
5
votes
1 answer

How do you transform 2D facial landmarks into 3D world coordinates?

First post here, I'll do my best to describe the problem. I am trying to animate the face of a 3D virtual character in realtime using opencv, dlib, and webcam data similar to fancy applications such as this software Following the example here and…
HairyS
  • 53
  • 3
5
votes
3 answers

dlib not using CUDA

I installed dlib using pip. my graphic card supports CUDA, but while running dlib, it is not using GPU. Im working on ubuntu 18.04 Python 3.6.5 (default, Apr 1 2018, 05:46:30) [GCC 7.3.0] on linux >>> import dlib >>> dlib.DLIB_USE_CUDA False I…
5
votes
0 answers

Docker much slower than regular server

I'm running a python Flask server which is doing face recognition with https://github.com/ageitgey/face_recognition. The face_encodings function is taking 10 times longer when running through docker in comparison to just starting the server in my…
Rodrigo Ruiz
  • 4,248
  • 6
  • 43
  • 75
5
votes
1 answer

Calculate face_descriptor faster

In my face recognition project a face is represented as a 128-dimensional embedding(face_descriptor) as used in FaceNet. I could generate embedding from image in 2 ways. Using Tensorflow resnet model v1. emb_array = sess.run(embedding_layer, …
Sreeragh A R
  • 2,871
  • 3
  • 27
  • 54
5
votes
1 answer

How to install libX11-dev on mac os x sierra

I am working on facial landmarks and therefore I have installed dlib on my mac. When I try to execute a program in Xcode from learnopencv.com, the compiler says: error "DLIB_NO_GUI_SUPPORT is defined so you can't use the GUI code. Turn…
CoderOfTheForce
  • 359
  • 7
  • 22
5
votes
0 answers

openCV's gnustl conflict with dlib's c++_shared in the android NDK

I'm trying to integrate both OpenCV and dlib-android in the NDK. I'm able to get both OpenCV and dlib working in seperate projects, but the project breaks when they both are integrated. This is my gradle config for dlib android { compileSdkVersion…
Udit Mukherjee
  • 687
  • 5
  • 20
5
votes
0 answers

Using dlib-19.4.0 in android for face recognition real time

I have followed this github project for loading dlib on android. I was able to run this thing on my android device. For face detection and landmark recognition it worked fine. But I want to have face recognition feature in my app, which I read is…
1 2
3
72 73