# movement-sample-data Sample data used in tests and examples of the `movement` Python package. - [GitHub repository](https://github.com/neuroinformatics-unit/movement) - [Documentation](https://movement.neuroinformatics.dev/) ## 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](https://www.robots.ox.ac.uk/~vgg/data/MoCA/) [1]. The MoCA dataset is available to download for commercial/research purposes under a [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). The copyright remains with the original owners of the video. A complete version of the license for the MoCA dataset can be found [here](https://thor.robots.ox.ac.uk/MoCA/license_MoCA.txt). 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](https://github.com/Mahi7828)). The original annotation data for the selected clip (`crab_1`) was modified to follow the format of a [VIA tracks file](https://www.robots.ox.ac.uk/~vgg/software/via/docs/face_track_annotation.html). 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](https://datadryad.org/stash/dataset/doi:10.5061/dryad.nzs7h44s4), released under a [Creative Commons Zero v1.0 Universal License](https://spdx.org/licenses/CC0-1.0.html). 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](https://github.com/albiangela/TRex-tutorials-data) repository, which is licensed under the [Creative Commons Attribution 4.0 International License](https://creativecommons.org/licenses/by/4.0/). 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`](https://edmond.mpg.de/file.xhtml?fileId=265442&version=1.0). 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](https://creativecommons.org/licenses/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](https://docs.sleap.ai/latest/reference/datasets/) originally acquired for [Pereira et al. (2022)](https://www.nature.com/articles/s41592-022-01426-1) [4] and distributed with the [SLEAP software](https://sleap.ai/). These datasets are available under the same license as the SLEAP codebase, [BSD-3-Clause](https://github.com/talmolab/sleap#BSD-3-Clause-Clear-1-ov-file), and have been copied [with permission](https://github.com/talmolab/sleap/discussions/2906#discussioncomment-19503747). 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: ```bash 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](https://doi.org/10.48550/arXiv.2011.11630) 2. Albi, Angela; Walter, Tristan; Carlesso, Daniele, 2025, "Example videos for multi-object tracking", [doi: 10.17617/3.7F5MGE](https://doi.org/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](https://doi.org/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](https://doi.org/10.1038/s41592-022-01426-1)