Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot load the dataset split (in streaming mode) to extract the first rows.
Error code:   StreamingRowsError
Exception:    CastError
Message:      Couldn't cast
frame: int64
timestamp: double
left_hand_active: bool
right_hand_active: bool
left_velocity: double
right_velocity: double
interactions: string
activities: string
-- schema metadata --
pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1261
to
{'frame': Value('int64'), 'timestamp': Value('float64')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/utils.py", line 147, in get_rows_or_raise
                  return get_rows(
                      dataset=dataset,
                  ...<4 lines>...
                      column_names=column_names,
                  )
                File "/src/libs/libcommon/src/libcommon/utils.py", line 272, in decorator
                  return func(*args, **kwargs)
                File "/src/services/worker/src/worker/utils.py", line 127, in get_rows
                  rows_plus_one = list(itertools.islice(safe_iter(ds, dataset=dataset), rows_max_number + 1))
                File "/src/services/worker/src/worker/utils.py", line 478, in safe_iter
                  yield from ds.decode(False) if ds.features else ds
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2818, in __iter__
                  for key, example in ex_iterable:
                                      ^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2355, in __iter__
                  for key, pa_table in self._iter_arrow():
                                       ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2388, in _iter_arrow
                  pa_table = cast_table_to_features(pa_table, self.features)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2271, in cast_table_to_features
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              frame: int64
              timestamp: double
              left_hand_active: bool
              right_hand_active: bool
              left_velocity: double
              right_velocity: double
              interactions: string
              activities: string
              -- schema metadata --
              pandas: '{"index_columns": [{"kind": "range", "name": null, "start": 0, "' + 1261
              to
              {'frame': Value('int64'), 'timestamp': Value('float64')}
              because column names don't match

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Cattle Farming Multimodal Dataset v1

Overview

The Cattle Farming Multimodal Dataset v1 is a publication-quality egocentric agricultural dataset designed to advance research in human-object interactions (HOI), egocentric vision, and embodied AI in farming/veterinary contexts. It captures fine-grained hand interactions, hand poses, activity recognition labels, and synthetic inertial/depth annotations from a first-person perspective during animal interaction and cattle care operations.

This dataset was generated using the Hand Egocentric Multimodal Annotation Pipeline, which integrates:

  • Egocentric RGB-D sequence recording.
  • Automated 2D and 3D hand keypoints estimation.
  • Hand-object interaction mapping.
  • Action and semantic natural language labeling.
  • Synthetic/pseudo sensor generation (IMU signals, motion statistics, and estimated depth).

By mapping fine-grained hand pose variations alongside physical motion profiles and environment objects, this dataset serves as a benchmark for training Embodied AI and action-recognition systems in agriculture and livestock management.


Dataset Highlights

  • Egocentric RGB & Monocular Depth: High-resolution first-person recordings paired with frame-aligned monocular depth estimation.
  • 2D/3D Hand Pose Keypoints: 21 landmark locations tracked in pixel coordinates and metric 3D space.
  • Hand-Object Interactions (HOI): Direct mapping of active hand-object intersections per frame.
  • Object Annotations: Detailed bounding boxes and labels for farm objects, animals, tools, and people (e.g., cow, horse, sheep, dog, bear, bird, bottle, angle grinder, person).
  • Motion Statistics & Pseudo IMU: Extracted motion metrics and synthetic linear acceleration / angular velocity signals.
  • Natural Language Semantic Annotations: Continuous descriptive actions describing step-by-step farming events.
  • Structured Export formats: Readily importable HDF5 structure and flattened CSV format for traditional ML models.

Dataset Structure

The dataset contains the main metadata, annotations, videos, and raw frame exports organized under three distinct activity sequences.

Folder Layout

cattle-farming-multimodal-v1/
β”‚
β”œβ”€β”€ README.md
β”œβ”€β”€ LICENSE
β”œβ”€β”€ .gitattributes
β”‚
β”œβ”€β”€ Animal_Farming_1/
β”‚   β”œβ”€β”€ rgb.mp4                          # Original egocentric RGB video
β”‚   β”œβ”€β”€ depth.mp4                        # Estimated monocular depth video
β”‚   β”œβ”€β”€ visualization_skeleton.mp4       # Video visualizing the estimated hand skeletons
β”‚   β”œβ”€β”€ metadata.json                    # Overall video and frame processing metadata
β”‚   β”œβ”€β”€ manifest.json                    # Full execution manifest with timestamp indices
β”‚   β”œβ”€β”€ hand_keypoints_2d.json           # Frame-wise pixel coordinates for 2D hand joints
β”‚   β”œβ”€β”€ hand_keypoints_3d.json           # Frame-wise metric 3D hand joint locations
β”‚   β”œβ”€β”€ hand_object_interactions.json    # Hand-to-object contact annotations per frame
β”‚   β”œβ”€β”€ object_annotations.json          # Bounding boxes and labels of detected objects
β”‚   β”œβ”€β”€ actions.json                     # Ground-truth action label categories per frame
β”‚   β”œβ”€β”€ semantic_actions.json            # Frame-aligned natural language action descriptions
β”‚   β”œβ”€β”€ motion_statistics.json           # Dynamic metrics (velocity, acceleration, jerk)
β”‚   β”œβ”€β”€ pseudo_imu.json                  # Synthesized 6-DOF IMU (accelerometer, gyroscope)
β”‚   β”œβ”€β”€ trajectories.json                # Wrist and finger-tip motion trajectories
β”‚   β”œβ”€β”€ task_summary.json                # Execution metadata and summary statistics
β”‚   β”œβ”€β”€ depth_metadata.json              # Technical properties of the depth camera/estimation
β”‚   β”œβ”€β”€ combined_dataset.csv             # Flattened tabular representations of all modalities
β”‚   β”œβ”€β”€ dataset.h5                       # Structured hierarchical HDF5 binary package
β”‚   β”œβ”€β”€ summary_report.txt               # Plain-text execution report
β”‚   β”œβ”€β”€ task_summary.txt                 # Plain-text task summary
β”‚   └── rgb_frames/                      # Directory containing 100 extracted JPEG frames (000001.jpg - 000100.jpg)
β”‚
β”œβ”€β”€ Animal_Farming_2/
β”‚   └── [Modality files identical in structure to Animal_Farming_1]
β”‚
└── Cattle_Farming/
    └── [Modality files identical in structure to Animal_Farming_1]

Annotation Files

File Description
metadata.json General video configuration and capture characteristics
hand_keypoints_2d.json Frame-wise 2D coordinates for 21 hand landmarks
hand_keypoints_3d.json Frame-wise 3D spatial points relative to the wrist
hand_object_interactions.json Contact events mapping hands to active objects
object_annotations.json Extracted object categories and bounding boxes
actions.json Action activity categorization tags
semantic_actions.json Continuous natural language activity descriptions
motion_statistics.json Computed velocity, acceleration, and jerk profiles
pseudo_imu.json Synthetic linear acceleration and angular rates
trajectories.json Spatial paths of major joints across frames
combined_dataset.csv Unified tabular annotations mapping all metrics per frame
dataset.h5 Hierarchical binary format storing the entire multimodal dataset
rgb.mp4 Egocentric driving camera feed
depth.mp4 Visual monocular depth estimation
visualization_skeleton.mp4 Overlay of 3D skeletal tracks onto the original RGB video

Dataset Statistics

The following statistics describe the version 1 release across the three activities:

1. Animal_Farming_1

  • Total Frames: 100 frames
  • Video Duration: 622.82 seconds (original recording)
  • FPS: 29.92 FPS
  • Resolution: 1920 x 1080 pixels
  • Detected Object Occurrences: dog, bird, sheep, person, apple, bear, cow, horse
  • Annotated Actions/Activities: idle, type_or_write

2. Animal_Farming_2

  • Total Frames: 100 frames
  • Video Duration: 286.08 seconds (original recording)
  • FPS: 29.91 FPS
  • Resolution: 1920 x 1080 pixels
  • Detected Object Occurrences: bird, bottle, spoon, person, frisbee, chair, cup, toilet, car, umbrella, bowl, suitcase, dog
  • Annotated Actions/Activities: idle, type_or_write, moving

3. Cattle_Farming

  • Total Frames: 100 frames
  • Video Duration: 74.90 seconds (original recording)
  • FPS: 29.93 FPS
  • Resolution: 1920 x 1080 pixels
  • Detected Object Occurrences: bear, angle grinder, sheep, person, bird, bottle, dog
  • Annotated Actions/Activities: wave, place, moving, type_or_write, pick, reach, idle, fast_motion, hold

Usage

Below are examples of how to load and parse this dataset in Python.

1. Reading metadata.json

import json

with open("Animal_Farming_1/metadata.json", "r") as f:
    metadata = json.load(f)

print(f"Video Resolution: {metadata['video_info']['width']}x{metadata['video_info']['height']}")
print(f"FPS: {metadata['video_info']['fps']:.2f}")

2. Loading dataset.h5

import h5py

with h5py.File("Cattle_Farming/dataset.h5", "r") as hf:
    # Print the available datasets in the H5 hierarchy
    print("Keys in H5:", list(hf.keys()))
    
    # Extract 3D hand keypoints and actions
    keypoints_3d = hf["hand_keypoints_3d"][:]
    actions = hf["actions"][:]
    
    print(f"Loaded 3D Keypoints shape: {keypoints_3d.shape}")

3. Loading combined_dataset.csv

import pandas as pd

df = pd.read_csv("Animal_Farming_2/combined_dataset.csv")
print(df.head())

4. Parsing hand_keypoints_3d.json

import json

with open("Animal_Farming_1/hand_keypoints_3d.json", "r") as f:
    keypoints_data = json.load(f)

# Print keypoints for the first frame
first_frame_keypoints = keypoints_data[0]["keypoints"]
print("First frame wrist position:", first_frame_keypoints[0]) # Wrist landmark (index 0)

Applications

  • Egocentric Agricultural Vision: Tracking user hand poses during manual farming operations and animal health checks.
  • Robotic Control & Imitation: Modeling human dexterity and hand postures for agricultural automation and robotic livestock helpers.
  • Hand Pose Estimation Benchmarking: 2D-to-3D pose mapping from monocular ego-views in rural environments.
  • Action Recognition: Fine-grained activity classification and temporal action localization (TAL).
  • Vision-Language-Action (VLA) Models: Correlating natural language action labels with real physical hand dynamics.

Citation

If you use this dataset in your research, please cite:

@misc{cattlefarmingmultimodalv1_2026,
  title={Cattle Farming Multimodal Dataset v1},
  author={DeepAnnotate AI},
  year={2026},
  howpublished={\url{https://huggingface.co/datasets/deepannotateai/cattle-farming-multimodal-v1}},
  note={Version 1.0}
}

License

This dataset is released under the Creative Commons Attribution 4.0 International (CC BY 4.0) license.

Version History

  • v1.0 (July 2026): Initial public release including video sequences, 2D/3D hand pose estimation, and synthetic sensory mappings for Animal_Farming_1, Animal_Farming_2, and Cattle_Farming.

Acknowledgements

This dataset was generated using the Hand Egocentric Multimodal Annotation Pipeline developed for this project.

Downloads last month
57