Skip to content

Provides all the necessary endpoints to give the emotional capability to Surirobot.

License

Notifications You must be signed in to change notification settings

suricats/surirobot-api-emotions

Repository files navigation

API Emotions

pipeline status coverage report PyPI - Python Version Docker Layers Docker version

This API provides all the necessary endpoints to give the emotions recognition capability to Surirobot.

Features

  • Extract emotion from picture
    • Microsoft Face API

Requirements

Installation

Using Docker

docker build . -t api-emotions
docker run -e MICROSOFT_API_KEY=<YOUR_API_KEY> -e MICROSOFT_API_URL=<API_URL> -p 8000:8000 api-emotions

From source

  • Clone repository
  • Create virtualenv
mkvirtualenv api-emotions && workon api-emotions
  • Install dependencies
pip install -r requirements.txt

Configure the environment file

  • Configure .env
cp .env.example .env

If you want to use the default environment

  • Fill only the REMOTE_DATA_LOGIN and REMOTE_DATA_PASSWD fields
  • Run the command : tools/get-env
  • Run the dev server
./app.py

Docs

The Openapi spec and a postman collection are available in the docs folder. You can render the documentation by pointing your browser at the url given by the server.

Beyond Verbal API

The input file should be formated by script located in dir /scripts/ exemple: ./convert_wav your_file.wav

About

Provides all the necessary endpoints to give the emotional capability to Surirobot.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published