Skip to content

thewh1teagle/emotion2onnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emotion2onnx

Extract emotions from audio. based on emotion2vec

Features

  • Extract emotion from audio files

Setup

pip install -U emotion2onnx
Instructions
  1. Install uv for isolated Python (Recommend).

Basically open the terminal (PowerShell / Bash) and run the command listed in their website.

Note: you don't have to use uv. but it just make things much simpler. You can use regular Python as well.

  1. Create new project folder (you name it)
  2. Run in the project folder
uv init -p 3.12
uv add emotion2onnx soundfile
  1. Paste the contents of examples/usage.py in hello.py
  2. Download the files emotion2vec.onnx and place it in the same directory.
  3. Run
uv run hello.py

That's it! emotions should be shown.

Examples

See examples

About

Extract emotions from audio. based on emotion2vec

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages