Robotic Fish Dataset
Collection
Toward Coordination Control of Multiple Fish-Like Robots: Real-Time Vision-Based Pose Estimation and Tracking via Deep Neural Networks. β’ 1 item β’ Updated
β’ 1
A pose estimation dataset for robotic fish, annotated in COCO format with bounding boxes and 3 keypoints per fish instance: head, body, and tail.
| Split | Images | Annotations | Source |
|---|---|---|---|
train_images |
818 | 3,521 | Labeled still images |
train_videos |
301 | 1,505 | Labeled video frames |
test |
200 | 1,000 | Test video frames |
Additionally, 2 unlabeled .avi video files are included in data/unlabeled_videos/ for semi-supervised learning.
Annotations follow the COCO keypoint detection format. Each image has a metadata.jsonl entry with an annotations field containing a JSON list of objects:
[x, y, width, height] in pixels[x1, y1, v1, x2, y2, v2, x3, y3, v3] where each keypoint has (x, y, visibility)[[1, 2], [2, 3]] (head-body, body-tail)image (Image): The image fileimage_id (string): Unique identifier for the imagewidth (int): Image width in pixels (752)height (int): Image height in pixels (480)annotations (string): JSON-encoded list of fish annotations, each containing:id (int): Annotation IDbbox (list[float]): Bounding box [x, y, w, h]area (float): Bounding box areakeypoints (list[float]): 9 values for 3 keypointsnum_keypoints (int): Number of labeled keypointsiscrowd (int): 0 for individual instancesfrom datasets import load_dataset
import json
# Load from HuggingFace Hub
dataset = load_dataset("xjh19972/Robotic-Fish-Pose-Dataset")
# Access splits
train_images = dataset["train_images"]
train_videos = dataset["train_videos"]
test = dataset["test"]
# Inspect a sample
sample = train_images[0]
print(sample["image_id"])
annotations = json.loads(sample["annotations"])
for ann in annotations:
print(f" bbox: {ann['bbox']}, keypoints: {ann['keypoints']}")
Robotic-Fish-Pose-Dataset/
βββ README.md
βββ .gitattributes
βββ data/
β βββ train_images/ # 818 labeled still images (.jpg) + metadata.jsonl
β βββ train_videos/ # 301 labeled video frames (.jpg) + metadata.jsonl
β βββ test/ # 200 test video frames (.jpg) + metadata.jsonl
β βββ unlabeled_videos/ # 2 unlabeled .avi files