Emo2Repo

Open Source Love svg1 Emo2Repo logo

Emo2Repo is a mobile application that match your emotion with a GitHub repo! (Repo has emotion too!)

How We Built It

We set up a custom streaming server that uses your camera to scan your face for emotions. Then, we made a Flask server to host emo2repo's endpoints to display on the mobile app. The Android application will detect one of several emotions: anger, disgust, fear, happiness, sadness, surprise, or no emotion. Based on the detected emotion, the app will return a corresponding GitHub repository. The Android app user interface was coded in Java.

Quick Start (locally)

1. start streaming server

Enable docker:

sudo systemctl start docker

Build docker image:

docker build -t rtspserver .

Create & run container:

docker run  -i --name example --network host -t rtspserver

Start the server:

./build/rtsprelay -p 1234 -i `hostname -I | awk '{print $1}'`

2. Start backend server

Install dependencies: pip install -r requirements.txt

Start server: python app.py

3. Start Andriod App

Before building APP in Andriod studio you should make sure the IP address of streaming server & backend server are correct.

Architecture

Arch

Share this project:

Updates