Skip to content

This app takes photos from Flickr.com, runs them through faceplusplus.com's Detect API, and displays them on a web server.

Notifications You must be signed in to change notification settings

deepwebhoax/emotion_recognition

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

emotion_recognition

RELEASE

The website was inspired by INT20H Hackathon.

Django 2.1.5

Site contains 3 templates.

There are base.html, that spread to all other templates, index.html - main page, album.html - contains photos and filter for photos by emotions.

Filter acts on the face emotions(>9%).

Database

We were using sqlite3 database (standard Django db). It contains two tables: faces, photos.

Python scripts

  • album_download.py

    Contains function which provides availability of certain photos from flickr.com to other scripts by storing there urls in a database.

  • face_nice.py

    Contains function which fills the database with photo-analysis results provided by facial recognition service Detect API by faceplusplus.com.

  • twelve_threads.py

    Calls the above functions. Utilizes multithreading.

For more detailed desciption view comments in there code.

Locally running app

user@user:~$ python manage.py runserver

In case it won't run, it might be necessary to download packages from requirements.txt.

user@user:~$ pip install -r requirements.txt

ABOUT US

We are a team of aspiring students from KPI.

Our githubs:

About

This app takes photos from Flickr.com, runs them through faceplusplus.com's Detect API, and displays them on a web server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 35.2%
  • Python 27.6%
  • JavaScript 23.4%
  • CSS 13.8%