Project created by students of Vishwakarma Institute of Technology IT-A Group 15 @ 2023. You can use this project by referring to the installation guide of the project.
This project depends on a few prerequisites for the execution of the project.
The project uses the following tools. Make sure these dependencies are installed and configured:
- Java (OpenJDK 17.0.8)
- Maven (3.9.4)
- Python (3.10.12)
- face-recognition library (>= 1.3.0)
Before installation ensure you meet all the required prerequisites for the project.
- Clone the repository to your local machine and cd into it.
- Copy or rename the
mysql.json.example
file tomysql.json
in the resources folder atsrc/main/resources
- Modify the setting present in the
mysql.json
file and save the changes. - Build the project by using
mvn clean package
and cd into the target directory. - Run the built project by executing
java -jar target/fdwebview-VERSION.jar
To install the face recognition library, follow the below steps:
- Ensure you have Microsoft Visual C++ Build Tools installed.
- For GPU Acceleration, download & install CUDA and cuDNN. Without these, the face recognition library will run on CPU and won't perform efficiently. (Optional)
- Download and build dlib from source to ensure CUDA is enabled. (Optional)
- Install face_recognition using pip with the following command
pip install face-recognition
- Success! Face recognition should be installed with all the models.