Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOW TO IMPORT DLIB lib #1

Open
regression1607 opened this issue Oct 7, 2022 · 4 comments
Open

HOW TO IMPORT DLIB lib #1

regression1607 opened this issue Oct 7, 2022 · 4 comments

Comments

@regression1607
Copy link
Owner

No description provided.

@regression1607
Copy link
Owner Author

Driver-Drowsiness-Detection-master

@Prakhar9450
Copy link
Contributor

Please assign me this issue

regression1607 pushed a commit that referenced this issue Oct 7, 2022
@Divyansh-Mitta01
Copy link
Contributor

Preparation
First thing first, there are two things required (really need it indeed!).

CMake: This is because dlib was developed in C based programming language, so it needs this program to use it. It can be found in the link https://cmake.org/download/. To make sure matching with your operation system, in our case is Windows 10 64-bit version.
how to install dlib in windows 10 for python
selected as your operation system being used

image

Visual studio: As I mentioned before, dlib is C based programming language. Another thing that really need is compiler. The Visual studio can be downloaded in the link https://visualstudio.microsoft.com/visual-cpp-build-tools/. After finishing the installation, you need to install additional packages for C, C++ programming, which is Packages CMake tools for Windows
how to install dlib in windows 10 for python
make sure you selected in red box

Note
Sometimes we need manage the Windows PATH environment for CMake. (If you already added during installation, you can skip this section).

For checking whether the PATH already added or not, you can go to Environment Variables on Windows by go to This PC > Properties > Advance system settings. Then, go to Tab Advanced and click on Environment Variables.

Another windows will pop-up and click Edit…

image

how to install dlib in windows 10 for python
If you are unable to find CMake path, you should add the CMake installed directory like image below.

image

how to install dlib in windows 10 for python
Install
Everything is looking good so far. Now we can install dlib into our python environment. First of all, you need to install CMake library.

pip install cmake
Then, you can install dlib library using pip install.

pip install dlib
After passing enter, you laptop or desktop will run the C, C++ Compiler. If you got something like image below, you would be fine.

C, C++ is being used for program complying
how to install dlib ติดตั้ง dlib windows 10
boom! you got this!
After these all, you will get dilb installed on your Windows 10 by not using conda install compiler.

@rishabhknowss
Copy link

Please assign me this issue

regression1607 pushed a commit that referenced this issue Oct 22, 2022
regression1607 pushed a commit that referenced this issue Oct 30, 2022
Added Rock_Paper_Scissors game using python.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants