Coder Social home page Coder Social logo

facecase's Introduction

AIM

The main purpose behind our project is to unite lost people with their families, especially during the time of calamities when the percentage of people separated from their families is comparatively high.

MOTIVATION

During the time of disasters/ calamities unfortunately a lot of people are separated from their families and it takes a lot of time and legal procedures before they meet again with their families. Also during such conditions, there is an extensive coverage of such events with numerous cameras by various agencies, thereby giving us a huge amount of data to exploit into. This data could be used to detect the missing people and could be further processed to match them with the missing photo present in the database.

ALGORITHM

  1. The reporter uploads short videos of the calamity recorded by him on the website with all the relevant details pertaining to the location of the video.
  2. The videos get added to the folder containing all the previously uploaded videos. At the same time, each video is fragmented into frames and all the frames belonging to each video is saved to its corresponding folder.
  3. For each video, all the frames are checked for a face. All the frames which do not contain a face are discarded.
  4. Families of missing people file a report with the police, who in turn uploads the photograph of the missing person on the website with all the relevant details.
  5. For each missing report, the photo is matched with each frame of each video using facial recognition algorithms.
  6. A match with a frame confirms the presence of the missing person in the area in which the video was taken. Such a match triggers a notification to the police with the all the details of the uploaded video including the details of the reporter and the location of the video.
FRAMEWORKS USED:

DJANGO, Bootstrap

LANGUAGES USED:

Python, Javascript, CSS, HTML

ALGORITHMS:

Facial recognition algorithms

How to run?

Install the following libraries

  1. Django
  2. face-recognition
  3. imutils
  4. matplotlib
  5. numpy
  6. opencv-python
  7. glob
Open your command prompt and run the following commands:
  1. python manage.py migrate
  2. python manage.py makemigrations
  3. python manage.py migrate
  4. python manage.py runserver
This will start the server at 127.0.0.1:8000. Open it in your browser.

  • On the home page, click on the "CLICK HERE TO UPLOAD THE VIDEO" link.
  • This will redirect you to a page where you can upload the video from the "foruploadingpurposes" folder. Type your location too and click Upload.
  • After that, sign yourself up and log in.
  • This will redirect you to the homepage, where you need to click on the "POLICE! UPLOAD DETAILS OF A LOST KID" link.
  • This will redirect you to a page where you can upload the image from the "foruploadingpurposes" folder. Type other details too and click "Find the missing person".
  • This will redirect you to the result page with the message that the person was found in the location that you typed because the person in the image is there in the video.

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.