1,091 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
-2
votes
1
answer
48
views
I’m trying to install the Python package dlib in PyCharm on macOS, but the installation keeps failing [closed]
enter image description hereenter image description here. I am trying to install the Python package dlib in PyCharm on macOS, but the installation keeps failing.am trying to install the Python ...
0
votes
0
answers
74
views
pip install dlib failing on Apple chip M4
I want to install dlib in my virtualenv on my Macbook running Apple Silicon chip (M4), but pip is always returning the following error:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/...
1
vote
2
answers
349
views
Python dlib not working properly on Apple Silicon chip (M4)
I want to use dlib on Python. I installed it without any issue. The problem is that, when I try to import it, I get this error:
Traceback (most recent call last):
File "/Users/elgamernovato/...
1
vote
1
answer
23
views
Convert dlib::array2d<dlib::rgb_pixel> to torch at::Tensor
I trained torch model and converted pth to script module using this tutorial. Then I made custom c++ project like here.
Modified this example to input tensor like this:
const std::vector<torch::jit:...
1
vote
0
answers
62
views
top lip to nose ratio aspect to detect chewing activity not working as expected
I want to know whether a person is chewing in front of a camera or not using dlib's facemarks.
For this end I compute the distance from nose to top lip and derive the mean, then if the that value is ...
3
votes
1
answer
157
views
IndexError: index 7 is out of bounds for axis 0 with size 7
I am trying to assess whether the lips of a person are moving too much while the mouth is closed (to conclude it is chewing).
The mouth closed part is done without any issue, but when I try to assess ...
0
votes
0
answers
117
views
Disappointing Dlib face detection performance in C++ while in python it is very good, How to fix it?
The face detection performance is quite disappointing in C++ code compared to python where for detection in 1 frame in C++ it reaches around 1-2 seconds while in python it is only less than 500ms. I ...
0
votes
0
answers
28
views
Issue with DLIB using CUDA, NVIDIA GEFORCE RTX4070 [duplicate]
I'm trying to run my python program on a conda env named 'gpu_4070' (ubuntu 22.04) that use cnn_face_detection model from dlib. I followed this tutorial to install dlib from source with Cuda https://...
2
votes
0
answers
324
views
Face_recognition python: Using dlib gives code: 98, reason: invalid device function
I am trying to run face_recognition on my GeForce GT 730 GPU, 11.3 cudatoolkit, 8.2.1 cuDNN, and 475.14 driver on windows 10 (my device compute capability is 3.5). I am getting the error message
Error ...
0
votes
1
answer
48
views
dlib's load_rgb_image() couldn't be found
So I have successfully installed dlib version 18.17.0 that's compatible with Python 2. Classes such as simple_object_detector could be instantiated and returned and instance of the object. But a ...
0
votes
1
answer
159
views
DLIB with CUDA and CUDNN: import dlib error
I followed this instruction online (https://gist.github.com/gipinze/52531983fb47621d51c8d33dacefca49) to create a Python venv with cuda support for dlib.
I'm using: VS 17 2022, cuda 12.5, cudnn 8.9.5
...
0
votes
0
answers
56
views
How to change the python version of a virtual enviremnet?
I am writing a Django React web app and I am required to install Dlib for a specific component to work (to install face_recognition library). However I am unable to do so because I used Python 3.12 to ...
1
vote
0
answers
96
views
dlib wheel build fail
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Using legacy 'setup.py install' for face-recognition-models, since ...
0
votes
1
answer
193
views
Why am I having this issuse while Installing dlib
I am doing a project which requires the face-recognition library for which dlib was needed.
I am having an issue installing "dlib" for a project. The terminal is throwing the following error
...
0
votes
0
answers
82
views
dlib library is not installing even though i have cmake
I am running the code on IDLE.
This the error code×ばつ Building wheel for dlib (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
running bdist_wheel
...