Skip to content

srijan-singh/FaceDetect

Repository files navigation

FaceDetect

Face Detection Model Using Google Colab

It uses face recognition library, which has face encodings to detect and recognize different faces.
Created a class where we can initialize it with an image path and label which save it's encoding then from predict function it checks whether the encodings are same or not!

If the encodings is same we return the image with label name.

Else we return the image with default label Unknown.

Blog explaining Model: https://srijanverse-ml.blogspot.com/2021/05/face-detection-and-recognition-model.html

Face Detection and Recognition API.

I've used the above model and used FastAPI framework to create the API and Uvicorn for the server to run it on Google Colab.

The API has four request:

Index (GET) : Homepage of API

Upload (POST) : User can upload the image and label to be used as dataset.

Target (POST) : Target image on which prediction has to be done.

Prediction (GET) : Get the prediction.

***The purpose of this project was to understand the creation of a ML API and how to use it and it's use is restricted for educational purpose only.***

Blog explaining API: https://srijanverse-ml.blogspot.com/2021/06/face-detection-and-recognition-api.html

About

Face Detection Models Using Google Colab

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published