Psychological and Social Interactions Feature Extraction
Project description
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 .
Project details
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 psifx-0.2.3.tar.gz.
File metadata
- Download URL: psifx-0.2.3.tar.gz
- Upload date:
- Size: 60.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb71374ca471e4d6d09cedff16f4b99c59105c5b91392f876248bc14eacb38e9
|
|
| MD5 |
088cf3cf5e87e90caac3f3755612ad22
|
|
| BLAKE2b-256 |
f4dcc091ba0a578a3d3f2dec3503252d77a583877d87080802db424c596bcadb
|
Provenance
The following attestation bundles were made for psifx-0.2.3.tar.gz:
Publisher:
build-and-publish-pypi.yml on psifx/psifx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psifx-0.2.3.tar.gz -
Subject digest:
eb71374ca471e4d6d09cedff16f4b99c59105c5b91392f876248bc14eacb38e9 - Sigstore transparency entry: 1439762665
- Sigstore integration time:
-
Permalink:
psifx/psifx@f9d85f12f3828431d02d196db7624521a9e94560 -
Branch / Tag:
refs/tags/0.2.3 - Owner: https://github.com/psifx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish-pypi.yml@f9d85f12f3828431d02d196db7624521a9e94560 -
Trigger Event:
release
-
Statement type:
File details
Details for the file psifx-0.2.3-py3-none-any.whl.
File metadata
- Download URL: psifx-0.2.3-py3-none-any.whl
- Upload date:
- Size: 91.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c5bfc55d4d6ed63637fbe512726178ac8944974e9fa0ebbbc207e9e014efd6
|
|
| MD5 |
5c2cf4fce1dfe0b6d003e4856b159735
|
|
| BLAKE2b-256 |
ddc40771a1bb6132012614695b294e88d87c8a324c61058bd5bbe3fc71ed9192
|
Provenance
The following attestation bundles were made for psifx-0.2.3-py3-none-any.whl:
Publisher:
build-and-publish-pypi.yml on psifx/psifx
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
psifx-0.2.3-py3-none-any.whl -
Subject digest:
09c5bfc55d4d6ed63637fbe512726178ac8944974e9fa0ebbbc207e9e014efd6 - Sigstore transparency entry: 1439762676
- Sigstore integration time:
-
Permalink:
psifx/psifx@f9d85f12f3828431d02d196db7624521a9e94560 -
Branch / Tag:
refs/tags/0.2.3 - Owner: https://github.com/psifx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
build-and-publish-pypi.yml@f9d85f12f3828431d02d196db7624521a9e94560 -
Trigger Event:
release
-
Statement type: