Collection of utility tools and deep learning methods.
Project description
exordium
Collection of preprocessing functions and deep learning methods.
Supported features
Audio
- frequently used io for audio files
- openSMILE feature extraction
- spectrogram calculation
- Wav2Vec2 feature extraction
- CLAP feature extraction
- WavLM feature extraction
Video
- frequently used io for videos and frames
- bounding box manipulation methods
- face detection with RetinaFace
- face landmarks and head pose with 3DDFA_V2
- body pose estimation with max-human-pose-estimator
- categorical and dimensional emotion estimation with EmoNet
- iris and pupil landmark estimation with MediaPipe Iris
- fine eye landmark estimation with MediaPipe FaceMesh
- eye gaze vector estimation with L2CS-Net
- tracking using IoU and DeepFace
- FAb-Net feature extraction
- OpenFace feature extraction
- R2+1D feature extraction
- Robust Video Matting background removal
- SWIN transformer feature extraction
- FaceMesh landmark estimation
- CLIP feature extraction
- OpenGraphAU action unit estimation
Text
- BERT feature extraction
- RoBERTa feature extraction
- XML-RoBERTa feature extraction
- Whisper fast speech-to-text
Utils
- parallel processing
- io decorators
- loss functions
- normalization
- padding/truncating
Visualization
- graphs
- 3D headpose
- 2D landmarks
- gaze
- saliency maps
- dataframes to images
Setup
Install package with all base and optional dependencies from PyPI
pip install exordium[all]
Install package with base dependencies from PyPI
pip install exordium
Install optional dependencies for specific modules
The following extras will install the base and specific dependencies for using TDDFA_V2.
pip install exordium[tddfa]
You can install multiple optional dependencies as well.
pip install exordium[tddfa,audio]
Supported extras definitions:
| extras tag | description |
|---|---|
| audio | dependencies to process audio data |
| text | dependency to process textual data |
| tddfa | dependencies of TDDFA_V2 for landmark and headpose estimation, or related transformations |
| detection | dependencies for automatic face detection and tracking in videos |
| video | dependencies for various video feature extraction methods |
| all | all previously described extras will be installed |
Note: If you are not sure which tag should be used, just go with the all-mighty "all".
Install package for development
git clone https://github.com/fodorad/exordium
cd exordium
pip install -e .[all]
pip install -U -r requirements.txt
python -m unittest discover -s test
Projects using exordium
(2023) BlinkLinMulT
LinMulT is trained for blink presence detection and eye state recognition tasks. Our results demonstrate comparable or superior performance compared to state-of-the-art models on 2 tasks, using 7 public benchmark databases.
- paper: BlinkLinMulT: Transformer-based Eye Blink Detection (accepted, available soon)
- code: https://github.com/fodorad/BlinkLinMulT
(2022) PersonalityLinMulT
LinMulT is trained for Big Five personality trait estimation using the First Impressions V2 dataset and sentiment estimation using the MOSI and MOSEI datasets.
- paper: Multimodal Sentiment and Personality Perception Under Speech: A Comparison of Transformer-based Architectures (pdf, website)
- code: https://github.com/fodorad/PersonalityLinMulT
What's next
- Add support for Blink estimation (DenseNet121, LinT, BlinkLinMulT)
- Add support for Personality trait estimation (PersonalityLinMulT)
Updates
- 1.3.0: Add support for OpenGraphAU, FaceMesh, SWIM, RVM, XML-RoBERTa, CLIP, CLAP.
- 1.2.0: Add support for L2CS-Net gaze estimation.
- 1.1.0: PyPI publish.
- 1.0.0: Release version.
Contact
- Ádám Fodor (foauaai@inf.elte.hu)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file exordium-1.4.2.tar.gz.
File metadata
- Download URL: exordium-1.4.2.tar.gz
- Upload date:
- Size: 20.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0291aebb5e5afe35ccddd2df795ff5c87c938dc2e7ce4be7792d4e4b636f665
|
|
| MD5 |
deac51182fbafa11177bad919f636512
|
|
| BLAKE2b-256 |
fc8f5573c830a7a749e82e366e58159e77833f21a716d3a84b2d194f05ab6e11
|
File details
Details for the file exordium-1.4.2-py3-none-any.whl.
File metadata
- Download URL: exordium-1.4.2-py3-none-any.whl
- Upload date:
- Size: 100.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aee12dedb8a5eaccc990e94cf1da95fe01c43c068ee216f1163c18731b415fce
|
|
| MD5 |
8ba9e871479ab7ab31ec724a459d425c
|
|
| BLAKE2b-256 |
f3528ac60b0c616b74774b3c017eea0deda7c1f1526a97bb40aba3ff3444f0a3
|