Skip to main content

psifx - Psychological and Social Interactions Feature eXtraction


psifx is a "plug-and-play" multi-modal feature extraction toolkit, aiming to facilitate and democratize the use of state-of-the-art machine learning techniques for human sciences research. It is motivated by a need (a) to automate and standardize data annotation processes, otherwise involving expensive, lengthy, and inconsistent human labor, such as the transcription or coding of behavior changes from audio and video sources; (b) to develop and distribute open-source community-driven psychology research software; (c) to enable large-scale access and ease of use to non-expert users. The framework contains an array of tools for tasks, such as speaker diarization, closed-caption transcription and translation from audio, as well as body, hand, and facial pose estimation and gaze tracking from video. The package has been designed with a modular and task-oriented approach, enabling the community to add or update new tools easily. We strongly hope that this package will provide psychologists a simple and practical solution for efficiently a range of audio, linguistic, and visual features from audio and video, thereby creating new opportunities for in-depth study of real-time behavioral phenomena.

https://github.com/user-attachments/assets/263affe8-f435-42ee-84c9-cabc1f19efde

This demo clip is not intended for commercial use, and is solely for demonstration in an academic or research context.

Documentation, Reference & Quickstart

Visit https://psifx.github.io/psifx/

arXiv preprint: https://www.arxiv.org/abs/2407.10266```

Setup Instructions for psifx with Local SAM3 Model```

1. Clone the SAM3 Model Locally

git clone https://huggingface.co/facebook/sam3

Note: Facebook requires ethical approval to download or access the model online. Creating a local copy avoids this requirement and is the simplest solution.

2. Clone the psifx Repository

git clone https://github.com/BogdanvL/psifx.git

3. Configure SAM3 Path

Edit the following file:

/psifx/utils/constants.py

Update the SAM3_PATH variable to point to your local SAM3 directory:

SAM3_PATH = "/home/[user_name]/path/to/sam3"

The default value is:

SAM3_PATH = "facebook/sam3"

This requires automatic authorization via Hugging Face.

4. Install System Dependencies

sudo apt install ffmpeg ubuntu-restricted-extras

5. Create and Activate Conda Environment

conda create -y -n psifx-env python=3.11 pip
conda activate psifx-env

6. Install psifx

cd /home/[user_name]/psifx
pip install .

Metadata

Release files for psifx 0.2.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psifx 0.2.3
File Size Uploaded
psifx-0.2.3.tar.gz 60.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for psifx 0.2.3
File Interpreter ABI Platform
psifx-0.2.3-py3-none-any.whl Python 3 none any Details

Total release size: 151.5 kB

Release files / psifx-0.2.3.tar.gz

Download URL psifx-0.2.3.tar.gz
Size 60.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb71374ca471e4d6d09cedff16f4b99c59105c5b91392f876248bc14eacb38e9
BLAKE2b-256 checksum
How to use checksums
f4dcc091ba0a578a3d3f2dec3503252d77a583877d87080802db424c596bcadb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2026.

Transparency log

Release files / psifx-0.2.3-py3-none-any.whl

Download URL psifx-0.2.3-py3-none-any.whl
Size 91.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09c5bfc55d4d6ed63637fbe512726178ac8944974e9fa0ebbbc207e9e014efd6
BLAKE2b-256 checksum
How to use checksums
ddc40771a1bb6132012614695b294e88d87c8a324c61058bd5bbe3fc71ed9192
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 5, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.3 This release

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page