- Python - https://www.python.org/
- XAMPP - https://www.apachefriends.org/download.html
- Tailwind CSS - https://tailwindcss.com/
- Daisy UI - https://daisyui.com/
- CGI
- Install Python
- Install XAMPP
- Navigate to
htdocs
folder and clone this project. - Open
login.py
and make sure to replace the top comment#! C:\Python39\python.exe
with your python path. - Navigate to
htdocs/Face-Recognition
and execute the following commandpip install -r requirements.txt
- Navigate to
xampp/apache/config
and modify thehttpd.conf
file by adding
Options Indexes FollowSymLinks Includes ExecCGI
AddHandler cgi-script .py .cgi .pl .asp
at the end of the file. Then save & exit
Go to the python's installed location and right click on the python39 folder and go to security tab and give "Full Control" permission to users
And then go the scripts folder in python's installed path (C:\Python39\Scripts)
and run the below commands in that folderCommand 1 : C:\python39\python.exe -m pip install --upgrade pip --user
In the above command replace the exe path with your path
Comand 2 : pip install cmake --ignore-installed
Command 3 : pip install dlib --ignore-installed
Command 4 : pip install face_recognition --ignore-installed
Then try to restart the XAMPP Server it should work.
If it did not work, try installing below tools on windows
- CMAKE
- Visual Studio with CMAKE Build tools installed