Skip to content

v1.4.9

Choose a tag to compare

@alexarje alexarje released this 27 Jun 15:33
· 413 commits to master since this release

Highlights

Added

  • pose_waterfall(style=...) — new 'markers', 'skeleton', and 'both' styles (drawing the pose at n_samples time slices) alongside the default 'trajectories'.
  • pose(trajectory_background=...)'black' (default), 'white', or 'transparent' background for the trajectories image (legacy transparent_trajectories still honoured).
  • Orientation aliases for show(key=...): mgh/vgh (horizontal) and mgv/vgv (vertical).

Changed

  • overwrite now defaults to True for all functions — outputs are overwritten in place instead of auto-incrementing the filename. Pass overwrite=False for the old behaviour.
  • MgVideo.beat_statistics() now defaults to source='motion' (analyses the movement rhythm), so it differs from video.audio.beat_statistics(). Use source='audio' for the audio track.
  • pose() container handling: convert defaults to None ("auto") — MediaPipe reads the source directly (no intermediate AVI), OpenPose still converts for frame-accurate decoding. The result video is written in the original container (mp4 in → mp4 out; no avi→mp4 round-trip).
  • Decluttered pose images: removed titles from the trajectories and waterfall images and the average-pose image, and removed the average-pose colorbar. Trajectories omit marker-name labels by default (trajectory_labels=True to re-enable).

Fixed

  • The show(key=...) orientation keys for motiongrams/videograms were swapped'horizontal' now selects the horizontal-movement gram and 'vertical' the vertical one, with correct titles (in both MgVideo.show and MgList.show).

See the CHANGELOG for full details.