#11: Final Week

Mary:

  • Worked with Aria to integrate speaker into python scripts
  • Worked with Aria to make python scripts faster & make sure individual’s names are not repeated within 15 seconds
  • Completed web app user comfort tests
  • Completed hardware user comfort tests

Angelo:

  • Completed web app user comfort tests

Aria:

  • Worked with Mary to integrate speaker into python scripts
  • Worked with Mary to make python scripts faster & make sure individual’s names are not repeated within 15 seconds
  • Completed web app user comfort tests

#10: Preparing for Final Presentation Next Week…

***This is status report due Sunday 4/26***

Mary:

  • Successfully installed opencv and other installations necessary for Aria’s facial recognition script
  • Can get encodings.pickle when new user is entered into database
  • Tested detection script with image from my camera and it takes ~30 seconds to successfully output ‘mary’
  • Then tested a new script that has a while(true) loop which consists of taking a picture, and performing facial recognition algorithm to determine who it is, and outputs user name or unknown. This also works with two people in view
  • RPi is integrated with Angelo’s automatic downloads/addition of new people
  • Attached camera to a pair of glasses

Angelo:

Aria:

#9: Another Week!

Mary:

  • Took apart battery pack for speaker circuit… still testing
  • Worked all week with Aria to follow different tutorials to download opencv with different virtual environments and no luck… continuing tomorrow

Angelo:

  • Fixed logout issues in navbar.
  • Added backend, user is able to add people and relationship then is able to upload pictures of each person.
  • Pictures can be deleted after being added.
  • Most now fix and make frontend of the devices page to make it user friendly.

Aria:

  • Can now recognize multiple faces in an image!
  • Can also now rerun encodings automatically whenever the training set directory is changed! Used pythons watchdog and subroutine library
  • Also worked with Mary to try to get opencv on the rpi with no success. Tried all the tutorials we could find. Asked my brother for help, he tried for hours with us and helped explain kinda why we were having some problems we were having but couldn’t get us past one error. Asked Gauri’s group for help and they gave us a list of things they did, will try that soon.

#8: Post Demo

Mary:

  • Camera takes two pictures per seconds and saves pictures of raspberry pi

  • Almost finished speaker circuit (ran into some issues with soldering => using breadboard and wires & missing battery for circuit)

  • Downloaded dlib onto raspberry pi

  • Set up a virtual environment on the raspberry pi

  • Working with Aria to install opencv on raspberry pi

Angelo:

  • Added Authorization and Authentication such that you must create an account and must be logged-in in order to access your profile which is where you can add people to recognize.
  • Did more of the front end of the device page
  • Started beck end models and forms. Stuck on having multiple pictures be part of a model.
  • Javascript Drag and Drop.

Aria:

  1. Working on having it recognize two people in a picture
  2. Uploaded new test image
  3. Working with Mary to get virtual environment set up so i can send her my files and integrate
  4. Tried creating environment yaml file, Mary had trouble installing dependencies
  5. Tried creating a spec_file.txt to create environment, Mary got slightly further but still had trouble with dependencies
  6. Finally created environment from scratch and began installing all packages, having trouble installing opencv again, surprise surprise
  7. Have another tutorial in mind to try, so we will try that

#7: Preparing for Demo

Mary:

  • Set up camera module
  • Taking pictures on RPi
  • Working on taking 2 pictures per second for 10 seconds
  • Looking for tutorial links for speaker

Angelo:

  • Home Page has been updated a little bit with content
  • Device Page has been started with its front end.
  • Started designing backend of the web application.

Aria:

  • put data in organized folders with appropriate names
  • separated into test and training sets
  • finished writing facial recognition code
  • finished writing encodings code
  • what the hell is a pickle file
  • ah i dont have to worry about that because python has a pickle package that creates a pickle file for me
  • trained encodings, for some reason it doesnt like jpegs but it worked anyway?
  • tested on the test set and it works!!
  • takes 10 seconds tho and i have no idea how to cut that down except for not using hog but i have to use hog because im using an RPi and it can’t handle anything more extensive

#6: Picking it up after virtual transition

Mary:

  • Set up camera
  • Working on getting camera to take 2 pictures per second
  • Mary’s Projected Schedule – Gantt Chart
  • Updated Risk Management:
    • My RPi is separate from facial recognition RPi
    • Now I have to upload pictures taken from camera to web app so Aria can access data to perform facial detection algorithm.
    • Pool data will now consist of fewer people and no longer include Angelo and Aria since Mary has RPi
    • Still may have some skewed statistics, meaning our accuracy, false positive rate, and false negative rate
    • May include family members in data pool

Angelo:

  • Continued doing Front End for the home page of the web application.
  • Updated Website:
    • Better Home Page
    • Links will send to sections for now and won’t send to new page.
  • Updated Gantt Chart to fit into new virtual schedule

Aria:

  • Started following tutorial
  • Thought about how to set up rpi
  • Found problems with having to set up rpi
  • Do not have all the parts necessary to set up rpi
  • Have not had any problems with facial recognition so far

 

#4: Push before Spring Break

Mary:
– RPi working!
– Connected RPi to CMU-DEVICE wifi
– Researching how to download OpenCV to SD card
– Researching camera set-up tutorials

Aria:

– wrote design report

– researched more on time limits of humans for abilities like recognizing a familiar face, etc

– looking into how to incorporate opencv with dlib and rpi

– trying to crop and transform images in dlib to give to opencv

— need 96×96 image, eyes and nose in the same place

Angelo:

  • worked on Front End for the web application
  • worked on Design Document
  • talked to TechSpark about 3D printing

#3: Picking it up…

Aria:

  • Gathered images of team mates
  • Gathered images of non faces
  • Don’t know yet whether or not the model will like the images I got
  • Will sit down with Avi and discuss and get things working

Angelo:

  • Continued working on web app. Decided to add a link to the report from our page. Still thinking about how to input data but still need to decided how the data is collected for recognition.
  • Worked on the Design Review.

Mary:

  • Contributed to design report/presentation
  • All parts finally came in
  • Setting up RPi with SD card
  • Setting up camera