Sample data for the movement Python package. https://movement.neuroinformatics.dev/

niksirbi bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
bboxes 30133103bc updated .nc files to new dimensions names 6 mesi fa
frames bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
poses bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
videos bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
.gitignore 9838e33015 added octagon dataset with two mice 1 anno fa
LICENSE 58cd7efc36 Initial commit 3 anni fa
README.md bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
SLEAP_datasets_license.md bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
metadata.yaml bbfc14772c added 2 SLEAP datasets: flies13 and bees 2 settimane fa
update_hashes.py 68f5a0081d added script for updating hashes directly in metadata.yaml 1 anno fa

README.md

movement-sample-data

Sample data used in tests and examples of the movement Python package.

Licensing information

MoCA crab video and annotations

The single-crab_MOCA-crab-1_video.mp4 video and corresponding annotations are part of the Moving Camouflaged Animals Dataset (MoCA) dataset [1]. The MoCA dataset is available to download for commercial/research purposes under a Creative Commons Attribution 4.0 International License. The copyright remains with the original owners of the video. A complete version of the license for the MoCA dataset can be found here.

The VIA_single-crab_MOCA-crab-1_linear-interp.csv file is linearly interpolated from the original data in the MoCA dataset and was contributed by GitHub contributor Mahima Sahu (@Mahi7828).

The original annotation data for the selected clip (crab_1) was modified to follow the format of a VIA tracks file. The associated video clip was generated from the frames provided in the MoCA dataset.

Anipose mouse paw triangulation data

The anipose_mouse-paw_anipose-paper.triangulation.csv file was taken from anipose source data available here, released under a Creative Commons Zero v1.0 Universal License. The data excerpt was renamed from mouse-anipose/mouse-testing/020820_preDTreaches_day1/020820_JiDT12/pose-3d/preDT1_JiDT12_reach1_hit.csv.

Locusts tracked with TRex

The TRex_five-locusts.zip data was taken from the TRex-tutorials-data repository, which is licensed under the Creative Commons Attribution 4.0 International License. Specifically, the files in TRex_five-locusts.zip correspond to the .npz files stored under TRex-tracking-output/locusts-5/data/. We acknowledge Angela Albi and Daniele Carlesso for providing access to the dataset and related materials, collected in the facility of the Department of Collective Behavior at the Max Planck Institute of Animal Behavior and the Centre for the Advanced Study of Collective Behaviour (CASCB) at the University of Konstanz.

The corresponding video can be found on the Edmond data repository [2] as locusts-noqr_20250117_5.mp4. This is a video of 5 locusts (Schistocerca gregaria) in a 60cm diameter custom-built arena. The video was originally recorded at 5 frames per second but the playback in this file is set to 30 frames per second.

The locusts-noqr_n-5_date-20250117_frame-bg.png file constitutes the max projection of the first 100 frames of the video.

IBL-paw dataset

These data come from IBL Brainwide maps data release [3] and are licensed under CC BY 4.0. The specific CSV files shared here (EKS_IBL-paw_multicam_left.predictions.csv and EKS_IBL-paw_multicam_right.predictions.csv) were generated using the Ensemble Kalman Smoother (EKS) on the multi-camera IBL-paw files that are distributed as part of the EKS repository https://github.com/paninski-lab/eks.

SLEAP datasets

This repository contains portions of the datasets originally acquired for Pereira et al. (2022) [4] and distributed with the SLEAP software. These datasets are available under the same license as the SLEAP codebase, BSD-3-Clause, and have been copied with permission. A copy of the original license is included here as SLEAP_datasets_license.md.

Poses file Video file Source SLEAP dataset Credit
SLEAP_two-bees.predictions.slp two-bees_SLEAP_video.mp4 bees Grace McKenzie-Smith, Z. Yan Wang, Joshua Shaevitz, Sarah Kocher
SLEAP_two-flies.predictions.slp two-flies_SLEAP_video.mp4 flies13 Junyu Li, Shruthi Ravindranath, Talmo Pereira, Mala Murthy

Each poses file is a copy of the “Tracking (.slp)” file from the corresponding source SLEAP dataset. Each video file was derived from the “Clip (.mp4)” file of the same dataset and transcoded using the following command:

ffmpeg -y -i source.mp4 \
  -vf "setpts=(PTS-STARTPTS)/4" -r 100 -an \
  -c:v libx264 -pix_fmt yuv420p -preset superfast -crf 23 \
  -g 25 transcoded.mp4

This command sets the output frame rate to 100 fps (in agreement with the datasets' metadata), removes audio, and re-encodes the video as H.264 with a keyframe interval of 25 frames. The re-encoding can reduce file size, while the frequent keyframes support seeking.

References

  1. Lamdouar, H., Yang, C., Xie, W., & Zisserman, A. (2020). "Betrayed by motion: Camouflaged object discovery via motion segmentation". In Proceedings of the Asian Conference on Computer Vision. doi: 10.48550/arXiv.2011.11630

  2. Albi, Angela; Walter, Tristan; Carlesso, Daniele, 2025, "Example videos for multi-object tracking", doi: 10.17617/3.7F5MGE, Edmond, V1

  3. Laboratory, International Brain (2022). Data release - Brainwide map - Q4 2022. figshare. Preprint. doi: 10.6084/m9.figshare.21400815.v6

  4. Pereira, T.D., Tabris, N., Matsliah, A. et al. SLEAP: A deep learning system for multi-animal pose tracking. Nat Methods 19, 486-495 (2022). doi.org/10.1038/s41592-022-01426-1