Code Monkey home page Code Monkey logo

face-recognition-ai's Introduction

Face Similarity Detection AI

  • B.Tech. Final year project on Face Similarity Detection AI using Siamese Networks.
  • The project is built using TensorFlow and Keras.
  • The model is trained on the Extracted Faces dataset from the face-recognition-dataset.
  • The model uses Triplet Loss to minimize the distance between the anchor and positive images and maximize the distance between the anchor and negative images.
  • Model is exported as "H5" and wrapped in a Fast API.
  • The API is to be deployed on AWS as a containerized service, using Docker.
  • A React Frontend is built to interact with the API.

Project Structure

  • backend: Contains the model and API. ( Tech Stack: FastAPI, TensorFlow, Keras, Pillow, AWS )
  • frontend: Contains the React Frontend. ( Tech Stack: React, Axios, TailwindCSS )

Project Setup

Backend

  • Install the required packages using pip install -r requirements.txt.

  • Run the API using uvicorn main:app --reload.

  • Working

  • Sample 1:

Sample_1
  • Sample 2:
Sample_2

Frontend

  • Install the required packages using npm install.
  • Run the frontend using npm start.

What it does

  • The model takes 3 input images, (anchor, image-1, image-2) and gives a distance value that indicates which of these 2 images are similar or dissimilar to the anchor image.
  • Sample UI for the project:

UI Design

Team

Prakhar Tandon, Vaibhav Shankhwar, Abhishek Agrahri and Mansi Purwar.
Final B.Tech. Computer Science & Engineering.
Under Guidance of Dr. Vivek Verma, Professor, CSE Dept, HBTU Kanpur.

face-recognition-ai's People

Contributors

mansi-purwar avatar prakhart111 avatar

Watchers

 avatar

Forkers

mansi-purwar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.