Skip to content

Talk-sem-5/Talk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talk!

Start Recognition Server:

This program has been used to implement Facial Recognition using Siamese Network architecture One Shot Learning

Prerequisites:

h5py==2.8.0
Keras==2.2.4
tensorflow==1.13.0rc2
dlib==19.16.0
opencv_python==3.4.3.18
imutils==0.5.1
numpy==1.15.2
matplotlib==3.0.0
scipy==1.1.0

Step 0

cd Facial-recognition

Step 1

Install the packages using

pip install -r requirements.txt

Usage To use the facial recognition system, you need to have a database of images through which the model will calculate image embeddings and show the output vector. The images which are in the database are stored as .jpg files in the directory ./images.

Step 2

To generate your own dataset and add more faces to the system, use the following procedure:

Sit in front of your webcam. Use the Image_Dataset_Generator.py script to save 50 images of your face. Use this command:

python Image_Dataset_Generator.py 

to generate images which will be saved in images folder.

Step 3

To use the facial recognition system, run the command on your terminal :

python face_recognizer.py ${Name}

Step 4

Check

curl localhost:8080?name={Name}

localhost:8080/register body.name = name body.userPhoto = array of 50 images

Note

if you encounter: a numpy error : ImportError: numpy.core.multiarray failed to import

run --> pip install -U numpy

To Run Calling Interface

Working example : https://talk-sem-5.github.io/Talk/

Step 0

Calling

Step 1

cd client
yarn
yarn start

Step 2


cd server
npm i peer
node peerjs

Step 3: Talk!

Good to go

Releases

No releases published

Packages

No packages published

Contributors 9