Git Product home page Git Product logo

face-recognition-login-system's Introduction

Face Recognition Login System


๐Ÿ“ท A facial recognition based login system using Python,HTML,CSS and Bootstrap

Preview


Tools & Libraries Used


Note - These files must be hosted on XAMPP Apache server or other server, else login.py will not work.

Working

  • Install Python
  • Install XAMPP
  • Navigate to htdocs fodler 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-login-system and execute the following command pip install -r requirements.txt
  • Navigate to xampp/apache/config and modify the httpd.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

  • Then run XAMPP & go to localhost/face-recognition-login-system/login.html
  • Put all the images of students in the 'students' folder
  • Pictures must be in the format (email_address_of_student).jpg


Optional - you can create a seperate registration form for students, where they may upload their picture and the picture gets stored as (email_address).jpg in the 'students' folder.


Making it work for Windows

Go to the python's installed location , in my case it was (C:\Python39) 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 folder

Command 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

Also to for debugging, ensure to check Apache Error Logs image

Kindly follow the below Reference issues in case you are stuck ageitgey/face_recognition#1016 https://stackoverflow.com/questions/51912999/could-not-install-packages-due-to-an-environmenterror-winerror-5-access-is-de

face-recognition-login-system's People

Contributors

prafulla-codes avatar sonumahajan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.