• Stars
    star
    230
  • Rank 170,559 (Top 4 %)
  • Language
    Python
  • License
    Other
  • Created over 6 years ago
  • Updated about 1 month ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Facial Expression Analysis Toolbox

Py-FEAT: Python Facial Expression Analysis Toolbox

arXiv-badge Package versioning Tests Coverage Status Python Versions DOI

Py-FEAT is a suite for facial expressions (FEX) research written in Python. This package includes tools to detect faces, extract emotional facial expressions (e.g., happiness, sadness, anger), facial muscle movements (e.g., action units), and facial landmarks, from videos and images of faces, as well as methods to preprocess, analyze, and visualize FEX data.

For detailed examples, tutorials, contribution guidelines, and API please refer to the Py-FEAT website.

Installation

Option 1: Easy installation for quick use Clone the repository
pip install py-feat

Option 2: Installation in development mode

git clone https://github.com/cosanlab/feat.git
cd feat && python setup.py install -e . 

Py-Feat currently supports both CPU and GPU processing on NVIDIA cards. We have experimental support for GPUs on macOS which you can try with device='auto'. However, we currently advise using the default (cpu) on macOS until PyTorch support stabilizes.

Contributing

Note: If you forked or cloned this repo prior to 04/26/2022, you'll want to create a new fork or clone as we've used git-filter-repo to clean up large files in the history. If you prefer to keep working on that old version, you can find an archival repo here

Testing

The test have been relocated to feat/tests/. Please ensure all tests pass before creating any pull request or larger change to the code base.

Continuous Integration

Automated testing is handled by Github Actions according to the following rules:

  1. On pushes to the main branch and every week on Sundays, a full test-suite will be run and docs will be built and deployed
  2. On PRs against the main branch, a full test-suite will be run and docs will be built but not deployed
  3. On publishing a release via github, the package will be uploaded to PyPI and docs will be built and deployed

Note: Each of these workflows can also be run manually. They can also be skipped by adding 'skip ci' anywhere inside your commit message.

Licenses

Py-FEAT is provided under the MIT license. You also need to respect the licenses of each model you are using. Please see the LICENSE file for links to each model's license information.

More Repositories

1

nltools

Python toolbox for analyzing imaging data
Python
119
star
2

cosanlab_preproc

Nipype-based data fMRI pre-processing tools
Jupyter Notebook
14
star
3

neighbors

A package to perform collaborative filtering on emotion datasets.
Python
10
star
4

affectiva-api-app

Extract emotion features using Affectiva's javascript API
JavaScript
8
star
5

vmPFC_dynamics

This repository contains the code to run the analyses from our paper on vmPFC dynamics.
Jupyter Notebook
8
star
6

PGG_meteor

Public goods game with meteor
JavaScript
7
star
7

affective_ISRSA

Data and code for Chen et al., 2020, Neuroimage paper
Jupyter Notebook
4
star
8

naturalistic_iEEG_func_align

This is the repo for the codes used in paper "Minimal functional alignment of ventromedial prefrontal cortex intracranial EEG signals during naturalistic viewing"
Jupyter Notebook
3
star
9

moth_app

JavaScript
2
star
10

emote

Toolbox for training CNN to predict emotion expressions. Developed by Dan Whitcomb.
Python
2
star
11

svelte-psiturk

HTML
2
star
12

fnl_tools

tools to analyze video data set
Python
2
star
13

pymedoc

Python
1
star
14

trust-game

Interactive 2-player trust game demo
Svelte
1
star
15

rating_wheel

Repository for developing javascript rating wheel
HTML
1
star
16

info-theory-book

Jupyter Notebook
1
star
17

cosanToolsSingularity

HPC friendly Python + Neuroimaging analysis container environment
1
star
18

MothSvelte

Svelte
1
star
19

headcase

Data and code accompanying the following manuscript:
Jupyter Notebook
1
star
20

cosanToolsDocker

Python + Neuroimaging analysis container environment
1
star
21

trust-game-analysis

Python
1
star
22

FNL_dyad

Jupyter Notebook
1
star
23

Pinel_localizer

Psychopy port of pinel functional localizer for fMRI
Python
1
star
24

reward_signature

This repository contains all of the code for the reward signature paper.
Jupyter Notebook
1
star