Skip to main content

Motion capture analysis and relationship between body movements and speech.

Project description

Krajjat 1.99.7

Kinect Realignment Algorithm for Joint Jumps And Twitches

Kinetic Recordings Algorithms for Joint Jazzing in an All-in-one Toolbox

Kinetic Recordings And Juxtaposition of Jabbering Along That

Author: Romain Pastureau

What is Krajjat?

Krajjat is a Python module allowing to handle motion capture recordings and to explore the relationship between body movements and speech. More precisely, it contains a variety of functions allowing to pre-process sequences of tracked movements, to display them and to analyze them. You can find more details in the documentation.

Pre-processing

The pre-processing functions allow to:

  • Automatically correct rapid artifacts in the recordings (jumps and twitches of joints placement).
  • Re-reference all the positions according to a specific joint.
  • Trimming a motion sequence to the duration of an audio file, or to a defined duration.
  • Resampling a motion sequence to a target frequency.
  • Correcting zero values via interpolation. All of these functions can be applied on single motion sequences, or on a batch of sequences.

Display

The display functions allow to:

  • Display a sequence pose by pose or in real time, with highly customizable visualization options.
  • Display a sequence concurrently to an audio and/or a video file; the video file can be played below it or next to it.
  • Display two sequences side by side, to compare before and after pre-processing, for example.
  • Save any of the previous displays as a MP4 video.

Analysis

The toolbox comes with a series of functions for analyses of the sequences to:

  • Plot the values of the x, y and z coordinates, the distance travelled, and the absolute changes of speed and acceleration across time for any given joint.
  • Plot one of these values for all the joints, with the sub-plots organized according to their position in space.
  • Get the envelope, the pitch, the intensity of the formants from an audio file containing speech.
  • Performing the correlation, cross-correlation, coherence, ICA/PCA, or getting the mutual information between any of the kinetic properties of the joints and the acoustic properties of the speech - along with the statistics to compute the significance of the relationship between the two arrays of values.

How to

The best way to install the toolbox is to follow the recommendations in the documentation.

Dependencies

  • Scipy and Numpy for handling audio files and large numeric arrays
  • Matplotlib and Seaborn for plottings
  • Openpyxl to process .xls and .xlsx documents
  • Pygame for sequence visualization
  • Parselmouth to use Praat functions to process the audio files

What's new?

See the release notes.

If you detect any bug, please contact me following this link.

Thanks :)

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

krajjat-1.99.8.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

krajjat-1.99.8-py3-none-any.whl (145.2 kB view details)

Uploaded Python 3

File details

Details for the file krajjat-1.99.8.tar.gz.

File metadata

  • Download URL: krajjat-1.99.8.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for krajjat-1.99.8.tar.gz
Algorithm Hash digest
SHA256 8d404cc3b8d7ffdda6da7cb8de174cd00d8b75eaaedc2eec13ee32ca36504c96
MD5 96ada37ca1d14c724f2459a8de21adaf
BLAKE2b-256 df46680a61e6f943aa1a06c91c625ae3cd8ebeb04915cd0777f2686a113fc40c

See more details on using hashes here.

File details

Details for the file krajjat-1.99.8-py3-none-any.whl.

File metadata

  • Download URL: krajjat-1.99.8-py3-none-any.whl
  • Upload date:
  • Size: 145.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.6

File hashes

Hashes for krajjat-1.99.8-py3-none-any.whl
Algorithm Hash digest
SHA256 8faafe7b07bba61457389bccd55078d2083a9c6ea1babb83be443622fd74f683
MD5 ccd64dd9f1eb90ae74ba699c8837fd7d
BLAKE2b-256 42b503ac0111987cc104d75071aa650fd1a63329c51fbacae76b22ffd74cfe4e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page