Giter Site home page Giter Site logo

airport-authentication's Introduction

Face Detection App

This project uses image processing and deep learning to detect faces in passengers' photos and compare them against a database of stored photos.

Overview

The app loads a deep learning model trained to detect faces in images. When a new passenger photo is input, the model detects any faces and extracts facial embeddings. These embeddings are compared against stored embeddings for known passengers using cosine similarity. If a match is found, the passenger is identified.

Usage

  1. Ensure you have Python 3 and the requirements installed.

  2. Download the pre-trained face detection model from Google Drive and place in the trainer folder.

  3. Run python app.py to start the app.

  4. Input a passenger photo file path when prompted.

  5. The app will detect any faces, extract embeddings, compare against known passengers in passengers.db and output the identified passenger name if a match is found.

Files

  • app.py - Main application logic
  • detect.py - Functions for face detection and embedding
  • database.py - Passenger database interface
  • passengers.db - SQLite database containing passenger names and facial embeddings
  • trainer/ - Folder containing pre-trained face detection model files

Requirements

  • Python 3
  • OpenCV
  • SQLite3
  • Tensorflow
  • See requirements.txt for full requirements

Credits

The face detection model is a pre-trained ResNet model from Anthropic. The database stores facial embeddings extracted using this model.

Let me know if you would like me to modify or expand this README!

airport-authentication's People

Contributors

rezajahadi avatar arsaviz avatar sajjadrezvani avatar

Stargazers

 avatar

Watchers

 avatar

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.