Detect The Face from the Input image and Recognize the person in Image from very few past examples using Django & Pytorch.
-
First clone the repository in your system.
git clone https://github.com/NikamRohan/One-Shot-Classifier.git
-
Then Change Directory to News-Aggregator.
cd One-Shot-Classifier
-
Then start Virtual Environment within current Directory.
virtualenv virtual_environment_name
virtual_environment_name\Scripts\activate
-
Then install the dependencies from requirements.txt.
pip install -r requirements.txt
-
Then Apply Migrations.
python manage.py makemigrations
python manage.py migrate
-
Execute the manage.py file to runserver.
python manage.py runserver
-
Then Goto your favourite Browser and Type in localhost:8000.
-
Now you should be able to navigate through the website and explore its features.
Home Page of Website
After Clicking on Upload Images Button
After Clicking on Process Images After Uploading all the Images
After Clicking on Recognize Face From Image
Page To Display The Result of Prediction By Model(If Images of Person Present in Database then it will say Hello with the name of person or else it will display Image with Hello,Who are you?)
If Uploaded Image Does not Have A Face