This repository contains the code for the final project for CSI-260, created by Matt Compton, Abijah Buttendorf, and David Thomsen. The project involves developing a facial recognition module/webapp in Python.
pip install -r requirements.txt
python app.py
We chose to make a facial recognition module that takes frames of the users face and proceeds to analyze it and pull what the AI thinks is the dominant emotion, race, and gender. We had originally had a few different plans all regarding to working with the Facial recognition module Deepface.
Abijah and David are in Dr. Banfill's Surveillence Capitalism class and thought this would be an interesting project for that class. Then, we had also been assigned this final and had wanted to make both work for both finals. So we had enlisted the help of Matt and he had wanted to work with us for this final (and kindly benefit Abijah and Dave in the process).
-
Class or Static Methods - User and Userdatabase Classes in user.py
-
Properties - User's Name/Pass/History
-
Variable argument lists or key word argument lists - Flask Routing Logic, UserDatabase methods
-
List/Dictionary comprehensions - Page generation for analysis output
-
Significant use of a python package - Flask, DeepFace, bcrypt, toml
-
File I/O that is not pickle - toml
-
Built on prior knowledge of flask
-
Taking Live camera feed and cutting it into frames to be scanned
-
Worked to make sure other users could not access pictures taken from other sessions
-
We ran into issues gathering the images from deepface
-
We also ran into issues while trying to get the camera working properly.
-
Issues using the class requirements to store information about each user.
-
Bounding boxes on the detected face took a while to work.