Inspiration

Once upon a time , in a galaxy far far away

We wanted to build an app that would do something with the genome because it seemed interesting. So we decided that we wanted to do something that might detect onset of disease before hand, by using other features in the genome.

What it does

The GoodFace uses a webcam to take a picture of a persons face and detects their facial features. Which then is compared to their genome link scores to see how much they defied the odds of the universe in their appearance.

How we built it

• Wrote a script using opencv to do video capture of face as as jpg file and converted it to base64

• fed base64 string from script into a main server which was built using flask

• server sends json request to betaface API and recieves a json response file with detected facial features

• server sends a query to genomelink api which returns the score of likelihood for a certain trait (facial features)

• if the score is higher than 3, outputs that prediction is accurate and epigenomic factors do not play much of a part in the resultant features

Challenges we ran into

• I apparently don't have a face

• JSON parsing was difficult because there were many nested objects within nested objects inside arrays of nested objects

• setting up a flask server in python for the first time

• getting the OAuth2 token

• android studio and iphone templates for cameras didnt work

Accomplishments that we're proud of

• being able to connect the camera to the flask server

• getting the OAuth2 token

• Understanding the logic behind the genomic data and using the API

• rebuilding from scrap after scratching android studio and swift

• parsing those json files

What we learned

• calming down and not panicking is the first step

• how to build a flask server

• how to send json requests to apis

What's next for GoodFace

Actually recognizing faces, Deploying it on a server, creating a UI for an app, writing the models for facial detection, mapping facial features to the genome and not just comparison. Correlating facial features for detection of disease before onset.

Share this project:
×

Updates