Skip to content

nchamb/face-recognition-model

Repository files navigation

Face Recognition Model

Installation

git clone https://github.com/yourusername/face-recognition-model.git
cd face-recognition-model
pip install -r requirements.txt

Model Creation Instructions

1. Live Capture

To capture images from your webcam for training:

python capture_dataset.py

Follow the prompts to save images for each person.

2. Training the Model

Train the face recognition model using the captured images:

python train_model.py

3. Testing and Live Recognition

To run live face recognition using your webcam:

python recognize_live.py

4. Running the Main Script

Alternatively, you can use the main script to perform all steps: Additionally, with a TensorFlow.js format conversion function for h5 keras model

python main.py

About

CNN classification Keras model for face recognition

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages