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
5
votes
2 answers

How to assign memory images to a DLIB array2d or image?

This is likely more of a c++ question, but it does relate to DLIB. I am using another library to load images into memory (Leadtools). I want to replace the "load_image" function with assignments, but I am having trouble figuring out how to do so. I…
EdtheC
  • 127
  • 1
  • 5
5
votes
1 answer

dlib train_object_detector immense amounts of RAM usage

I am using dlib's train_object_detector for face detection and I have roughly 6k images in a folder with which I am trying to train my model. Also, I am using dlib's example python code(train_object_detector.py) for this purpose. But the thing is,…
5
votes
2 answers

how to convert a matrix in dlib to a std::vector

I have a colume vector defined in dlib. How can I convert it to std::vector? typedef dlib::matrix column_vector; column_vector starting_point(4); starting_point = 1,2,3,4; std::vector x = ?? Thanks
colddie
  • 1,029
  • 1
  • 15
  • 28
5
votes
4 answers

Detecting face landmarks points in android

I am developing app in which I need to get face landmarks points on a cam like mirror cam or makeup cam. I want it to be available for iOS too. Please guide me for a robust solution. I have used Dlib and Luxand. DLIB:…
DevChamp
  • 188
  • 2
  • 2
  • 14
5
votes
2 answers

Create an xml file for dlib training

I'm trying to create an XML file by exploiting the imglab tool provided by dlib. I have a dataset of 21 images each with a single face. I must affix on each 68 landmarks at my leisure. The file created with my landmarks is different from the XML…
B.Taf
  • 71
  • 1
  • 3
5
votes
1 answer

Is it possible for using Dlib in android like OpenCV?

Well i need a clear site or information on using Dlib in android. I searched in the net throughout to get a sample application in android using Dlib but still i can't find a one. I am not still sure whether we can use Dlib methods in android for…
Vicky
  • 921
  • 1
  • 11
  • 33
5
votes
1 answer

dlib load jpeg files

I am trying to implement a program using dlib library. I have already been able to use dlib's all other files except the ones related to jpeg and png. #include "dlib\image_io.h" #define DLIB_JPEG_SUPPORT int main(){ …
J.S
  • 147
  • 1
  • 3
  • 12
4
votes
1 answer

python3-wheel installed, still using legacy 'setup.py' when installing dlib

I've forked dlandon's Zoneminder project in order to build a Docker image using Debian Bullseye instead of Ubuntu, for i386 (I'm installing it into a 32-bit mini PC). Part of the requiriments is installing dlib (latest is 19.22.0). I've installed…
Amitie 10g
  • 81
  • 1
  • 7
4
votes
0 answers

Conda&dlib: ImportError: DLL load failed while importing _dlib_pybind11: A dynamic link library (DLL) initialization routine failed

I see similar (really the same) questions here and here. But nothing proposed is working for me... So I work in: Windows10 CUDA10.1 Anaconda Python 3.8 All I did - create env and install dlib: (dlib) C:\Users\Vasil>conda install dlib Collecting…
Vasyl Kolomiets
  • 365
  • 8
  • 20
4
votes
1 answer

How to build and install dlib for python without GUI support?

Background: I'm running a ‍jupyter‍ notebook on an AWS sagemaker ec2 instance (Which uses Fedora Linux) and one of my requirements is dlib. However, dlib (by default) uses xorg's x11 libs for GUI support, and these are not installed on the sagemaker…
4
votes
1 answer

Problem in compilation of C++ code to WASM using emcc

I am trying to compile the C++ code to WASM but facing problems in it. My C++ code included dlib and OpenCV libraries. I have successfully compiled OpenCV and dlib for C++ environment. Also, I have installed emscripten in my system. The directory…
Mayank Tiwari
  • 2,974
  • 5
  • 30
  • 52
4
votes
2 answers

No module named 'dlib'

I am using windows 10 python 3.7.4 I have a code where it imports dlib import dlib But when I try to install it using pip install dlib it throws an error ERROR : Command errored out with exit status 1 : ...... I even tired installing cmake…
WhiteBall
  • 143
  • 1
  • 1
  • 8
4
votes
2 answers

Installing dlib with python 3.8 windows 10 error

I cant install dlib on python with cmd , I have downloaded cmake and putted it on PATH, or is there any plugin i have to download it first ? Or does my pip's environment is located at a wrong place ? Or do I have to change my python to 64 bit…
4
votes
2 answers

Dlib face detection terrible performance on C++, good in python, why?

I am trying to write a simple face detection algorithm using OpenCV for camera capture and Dlib for face detection (using Histogram of Oriented Gradients algorithm). Using Python, I get a decent performance with around 20 fps. However, the same-ish…
4
votes
8 answers

Error of Installing dlib in anaconda

I'm trying to install Dlib in anaconda python with this line: conda install -c menpo dlib and I'm getting error like this: UnsatisfiableError: The following specifications were found to be in conflict: - dlib - xlwt Use "conda info "…
이명은
  • 41
  • 1
  • 1
  • 4