ERL: Emotion Recognition Library
Project description
ERL: Emotion Recognition Library
ERL is a Python library that does emotion recognition through audio. With this library you can recognize emotions using audio signals, the text extracted from the audio or using both.
Installation
- Clone the source of this library:
https://github.com/estefaaa02/ERL.git
- Install library:
pip install -e .
Note:
- If using Windows download the PyAudio wheel for Windows and install it using
pip install
. - If using Linux install the PyAudio library using
pip install pyaudio
- If using Linux run
apt install libasound2-dev portaudio19-dev libportaudio2 libportaudiocpp0 ffmpeg
- By doing
pip install -e .
you are installing the necessary dependencies for the library to work
Emotion classification example
from ERL import PredictionsModule
print("Predicción Audio: ", PredictionsModule.predict_emotion_audio_svm('ERL/data/es/f_ans002aes.wav'))
print("Predicción Texto: ", PredictionsModule.predict_emotion_text_cnn('ERL/data/es/f_ans002aes.wav'))
print("Predicción Bimodal: ", PredictionsModule.predict_emotion_bimodal('ERL/data/es/f_ans002aes.wav'))
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ERL-Spanish-1.0.4.tar.gz
(86.2 MB
view details)
Built Distribution
File details
Details for the file ERL-Spanish-1.0.4.tar.gz
.
File metadata
- Download URL: ERL-Spanish-1.0.4.tar.gz
- Upload date:
- Size: 86.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
c28a10d7d8c54867413ca2e365fb786e1a466e2416feb8552437b4ae7f549188
|
|
MD5 |
43eb1ae0c7a002a8b0715e245ebcc73b
|
|
BLAKE2b-256 |
e3b4f92790cf8ba30fdb490b4f025b6b6f1d03fc0b87ea80d25de6767e8ffe64
|
File details
Details for the file ERL_Spanish-1.0.4-py3-none-any.whl
.
File metadata
- Download URL: ERL_Spanish-1.0.4-py3-none-any.whl
- Upload date:
- Size: 86.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
0066efdb79bfc37b08cf9468d611fbbe958327804619a38c9658546bb47efd01
|
|
MD5 |
1ceab5991f4dd9bed9bfded07fc494ad
|
|
BLAKE2b-256 |
aca76c70ceb273d4d966b5ba16d5c29f3bb26b57a5108d15c54bb963e68ea3a4
|