Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Krajjat 2.0.0a

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 fast 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 missing values via interpolation.

All of these functions can be applied on single motion sequences, or on a batch of sequences.

The toolbox also handles the pre-processing of audio files, allowing to:

  • Filter some frequencies of the audio files.
  • Resample audio files.
  • Trim audio files.
  • Get the envelope of the audio, or the pitch, intensity or formants (via the module Parselmouth).

Visualisation

The display functions allow to:

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

A range of functions also allows to plot different analysis results

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 by the joints, or any derivative such as the velocity or acceleration.
  • Plot one of these values for all the joints, with the sub-plots organized according to their position in space.
  • 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 plotting
  • Pandas to create dataframes for the analysis functions
  • chardet to detect the encoding of files
  • Openpyxl to process .xls and .xlsx documents
  • Pygame for sequence visualization
  • OpenCV and PyAudio for displaying video and audio
  • Parselmouth to use Praat functions to process the audio files
  • FFmpeg to save videos

What's new?

See the release notes.

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

Thanks :)

Metadata

Release files for krajjat 2.0.0a0

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

Source distribution (sdist)

Source distribution for krajjat 2.0.0a0
File Size Uploaded Provenance Actions
krajjat-2.0.0a0.tar.gz 557.3 kB Without provenance Details for krajjat-2.0.0a0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for krajjat 2.0.0a0
File Interpreter ABI Platform Actions
krajjat-2.0.0a0-py3-none-any.whl Python 3 none any Details for krajjat-2.0.0a0-py3-none-any.whl

Total release size: 985.7 kB

Release files / krajjat-2.0.0a0.tar.gz

Download URL krajjat-2.0.0a0.tar.gz
Size 557.3 kB
Tags Source
SHA-256 checksum
How to use checksums
30db4d04ccaf622b97ed6365a12f6e598d99e16bd92c05784c04f2464afc1de6
BLAKE2b-256 checksum
How to use checksums
524a4c18907f43f085e7ddd1e7a462bd3be188b18dfdcf7bd2c938e3bea01b6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / krajjat-2.0.0a0-py3-none-any.whl

Download URL krajjat-2.0.0a0-py3-none-any.whl
Size 428.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
78c83a0ff766c5fa053d3cfcdca4fbf84a43f8e7134b9cc266f9af4fbfb2ba26
BLAKE2b-256 checksum
How to use checksums
7bfa3cfa5391acdf205fb3ca213dcc6ed95b3bfff2c3c45da7a89371a9b00ed4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Security for krajjat 2.0.0a0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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