GithubHelp home page GithubHelp logo

Multimodal Emotion Expression Capture Amsterdam

github license badge RSD read the docs badge fair-software badge workflow scq badge workflow scc badge build cffconvert markdown-link-check DOI docker hub badge docker build badge black code style badge

mexca is an open-source Python package which aims to capture human emotion expressions from videos in a single pipeline.

How To Use Mexca

mexca implements the customizable yet easy-to-use Multimodal Emotion eXpression Capture Amsterdam (MEXCA) pipeline for extracting emotion expression features from videos. It contains building blocks that can be used to extract features for individual modalities (i.e., facial expressions, voice, and dialogue/spoken text). The blocks can also be integrated into a single pipeline to extract the features from all modalities at once. Next to extracting features, mexca can also identify the speakers shown in the video by clustering speaker and face representations. This allows users to compare emotion expressions across speakers, time, and contexts.

Please cite mexca if you use it for scientific or commercial purposes.

Installation

mexca can be installed on Windows, macOS and Linux. We recommend Windows 10, macOS 12.6.x, or Ubuntu. The base package can be installed from PyPI via pip:

pip install mexca

The dependencies for the additional components can be installed via:

pip install mexca[vid,spe,voi,tra,sen]

or:

pip install mexca[all]

The abbreviations indicate:

  • vid: FaceExtractor
  • spe: SpeakerIdentifier
  • voi: VoiceExtractor
  • tra: AudioTranscriber
  • sen: SentimentExtractor

For details on the requirements and installation procedure, see the Quick Installation and Installation Details sections of our documentation.

Getting Started

If you would like to learn how to use mexca, take a look at our demo notebook and the Getting Started section of our documentation.

Examples and Recipes

In the examples/ folder, we currently provide two Jupyter notebooks (and a short demo):

The recipes/ folder contains two Python scripts that can easily be reused in a new project:

Components

The pipeline components are described here.

Documentation

The documentation of mexca can be found on Read the Docs.

Contributing

If you want to contribute to the development of mexca, have a look at the contribution guidelines.

License

The code is licensed under the Apache 2.0 License. This means that mexca can be used, modified and redistributed for free, even for commercial purposes.

Credits

Mexca is being developed by the Netherlands eScience Center in collaboration with the Hot Politics Lab at the University of Amsterdam.

This package was created with Cookiecutter and the NLeSC/python-template.

Multimodal Emotion Expression Capture Amsterdam (MEXCA)'s Projects

emvoice icon emvoice

Extract emotion expression-related voice features.

facenet-pytorch icon facenet-pytorch

Fork of pretrained Pytorch face detection (MTCNN) and facial recognition (InceptionResnet) models

mexca icon mexca

Multimodal Emotion eXpression Capture Amsterdam. Pipeline for capturing emotion expressions from multiple modalities (video, audio, text) in the wild.

mexca-eval icon mexca-eval

A repository for evaluating mexca's performance. See https://github.com/mexca/mexca.

mexca-sd-experiment icon mexca-sd-experiment

A repository for comparing potential speaker diarization tools to be used in the MEXCA pipeline.

stable-ts icon stable-ts

Fork of Stabilizing timestamps of OpenAI's Whisper outputs down to word-level

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.