Dataset Viewer
Auto-converted to Parquet Duplicate
image
imagewidth (px)
640
640
bbox
stringlengths
82
95
split
stringclasses
3 values
{"class": 0, "x_center": 0.355469, "y_center": 0.230469, "width": 0.048438, "height": 0.048438}
train
{"class": 0, "x_center": 0.944531, "y_center": 0.675781, "width": 0.032813, "height": 0.032813}
train
{"class": 0, "x_center": 0.807813, "y_center": 0.970313, "width": 0.046875, "height": 0.046875}
train
{"class": 0, "x_center": 0.378125, "y_center": 0.746875, "width": 0.065625, "height": 0.065625}
train
{"class": 0, "x_center": 0.684375, "y_center": 0.559375, "width": 0.040625, "height": 0.040625}
train
{"class": 0, "x_center": 0.146875, "y_center": 0.607812, "width": 0.034375, "height": 0.034375}
train
{"class": 0, "x_center": 0.076563, "y_center": 0.742188, "width": 0.05, "height": 0.05}
train
{"class": 0, "x_center": 0.883594, "y_center": 0.469531, "width": 0.032813, "height": 0.032813}
train
{"class": 0, "x_center": 0.117188, "y_center": 0.090625, "width": 0.04375, "height": 0.04375}
train
{"class": 0, "x_center": 0.372656, "y_center": 0.161719, "width": 0.032813, "height": 0.032813}
train
{"class": 0, "x_center": 0.258594, "y_center": 0.591406, "width": 0.060937, "height": 0.060937}
train
{"class": 0, "x_center": 0.973437, "y_center": 0.273438, "width": 0.03125, "height": 0.03125}
train
{"class": 0, "x_center": 0.45625, "y_center": 0.91875, "width": 0.0625, "height": 0.0625}
train
{"class": 0, "x_center": 0.039062, "y_center": 0.520312, "width": 0.046875, "height": 0.046875}
train
{"class": 0, "x_center": 0.339062, "y_center": 0.798438, "width": 0.05625, "height": 0.05625}
train
{"class": 0, "x_center": 0.424219, "y_center": 0.222656, "width": 0.039062, "height": 0.039062}
train
{"class": 0, "x_center": 0.960156, "y_center": 0.667969, "width": 0.067187, "height": 0.067187}
train
{"class": 0, "x_center": 0.789062, "y_center": 0.145313, "width": 0.075, "height": 0.075}
train
{"class": 0, "x_center": 0.257031, "y_center": 0.678906, "width": 0.039062, "height": 0.039062}
train
{"class": 0, "x_center": 0.857031, "y_center": 0.413281, "width": 0.070312, "height": 0.070312}
train
{"class": 0, "x_center": 0.866406, "y_center": 0.439844, "width": 0.035937, "height": 0.035937}
train
{"class": 0, "x_center": 0.695312, "y_center": 0.251563, "width": 0.053125, "height": 0.053125}
train
{"class": 0, "x_center": 0.314063, "y_center": 0.845313, "width": 0.075, "height": 0.075}
train
{"class": 0, "x_center": 0.982812, "y_center": 0.351562, "width": 0.034375, "height": 0.075}
train
{"class": 0, "x_center": 0.967187, "y_center": 0.528125, "width": 0.025, "height": 0.025}
train
{"class": 0, "x_center": 0.391406, "y_center": 0.116406, "width": 0.054688, "height": 0.054688}
train
{"class": 0, "x_center": 0.111719, "y_center": 0.855469, "width": 0.073438, "height": 0.073438}
train
{"class": 0, "x_center": 0.890625, "y_center": 0.276562, "width": 0.071875, "height": 0.071875}
train
{"class": 0, "x_center": 0.336719, "y_center": 0.861719, "width": 0.067187, "height": 0.067187}
train
{"class": 0, "x_center": 0.597656, "y_center": 0.700781, "width": 0.064062, "height": 0.064062}
train
{"class": 0, "x_center": 0.101562, "y_center": 0.540625, "width": 0.046875, "height": 0.046875}
train
{"class": 0, "x_center": 0.017188, "y_center": 0.1125, "width": 0.034375, "height": 0.046875}
train
{"class": 0, "x_center": 0.05, "y_center": 0.528125, "width": 0.03125, "height": 0.03125}
train
{"class": 0, "x_center": 0.371094, "y_center": 0.896094, "width": 0.073438, "height": 0.073438}
train
{"class": 0, "x_center": 0.3875, "y_center": 0.75625, "width": 0.071875, "height": 0.071875}
train
{"class": 0, "x_center": 0.695312, "y_center": 0.576562, "width": 0.034375, "height": 0.034375}
train
{"class": 0, "x_center": 0.104688, "y_center": 0.65625, "width": 0.034375, "height": 0.034375}
train
{"class": 0, "x_center": 0.308594, "y_center": 0.308594, "width": 0.048438, "height": 0.048438}
train
{"class": 0, "x_center": 0.444531, "y_center": 0.738281, "width": 0.042188, "height": 0.042188}
train
{"class": 0, "x_center": 0.08125, "y_center": 0.865625, "width": 0.034375, "height": 0.034375}
train
{"class": 0, "x_center": 0.264844, "y_center": 0.649219, "width": 0.048438, "height": 0.048438}
train
{"class": 0, "x_center": 0.261719, "y_center": 0.605469, "width": 0.029687, "height": 0.029687}
train
{"class": 0, "x_center": 0.457031, "y_center": 0.677344, "width": 0.070312, "height": 0.070312}
train
{"class": 0, "x_center": 0.275781, "y_center": 0.336719, "width": 0.073438, "height": 0.073438}
train
{"class": 0, "x_center": 0.502344, "y_center": 0.091406, "width": 0.029687, "height": 0.029687}
train
{"class": 0, "x_center": 0.090625, "y_center": 0.8125, "width": 0.040625, "height": 0.040625}
train
{"class": 0, "x_center": 0.376563, "y_center": 0.646875, "width": 0.03125, "height": 0.03125}
train
{"class": 0, "x_center": 0.988281, "y_center": 0.129688, "width": 0.023438, "height": 0.028125}
train
{"class": 0, "x_center": 0.417187, "y_center": 0.335938, "width": 0.05625, "height": 0.05625}
train
{"class": 0, "x_center": 0.235156, "y_center": 0.508594, "width": 0.064062, "height": 0.064062}
train
{"class": 0, "x_center": 0.734375, "y_center": 0.996094, "width": 0.025, "height": 0.007812}
train
{"class": 0, "x_center": 0.810156, "y_center": 0.425781, "width": 0.045312, "height": 0.045312}
train
{"class": 0, "x_center": 0.591406, "y_center": 0.457031, "width": 0.048438, "height": 0.048438}
train
{"class": 0, "x_center": 0.975, "y_center": 0.844531, "width": 0.05, "height": 0.054688}
train
{"class": 0, "x_center": 0.164844, "y_center": 0.213281, "width": 0.054688, "height": 0.054688}
train
{"class": 0, "x_center": 0.444531, "y_center": 0.449219, "width": 0.039062, "height": 0.039062}
train
{"class": 0, "x_center": 0.428906, "y_center": 0.814844, "width": 0.045312, "height": 0.045312}
train
{"class": 0, "x_center": 0.678906, "y_center": 0.444531, "width": 0.032813, "height": 0.032813}
train
{"class": 0, "x_center": 0.278125, "y_center": 0.728125, "width": 0.05, "height": 0.05}
train
{"class": 0, "x_center": 0.135156, "y_center": 0.253906, "width": 0.035937, "height": 0.035937}
train
{"class": 0, "x_center": 0.688281, "y_center": 0.203906, "width": 0.039062, "height": 0.039062}
train
{"class": 0, "x_center": 0.335938, "y_center": 0.398438, "width": 0.059375, "height": 0.059375}
train
{"class": 0, "x_center": 0.992969, "y_center": 0.276562, "width": 0.014063, "height": 0.065625}
train
{"class": 0, "x_center": 0.065625, "y_center": 0.315625, "width": 0.065625, "height": 0.065625}
train
{"class": 0, "x_center": 0.446094, "y_center": 0.275781, "width": 0.048438, "height": 0.048438}
train
{"class": 0, "x_center": 0.751563, "y_center": 0.354687, "width": 0.028125, "height": 0.028125}
train
{"class": 0, "x_center": 0.363281, "y_center": 0.355469, "width": 0.054688, "height": 0.054688}
train
{"class": 0, "x_center": 0.446094, "y_center": 0.111719, "width": 0.057813, "height": 0.057813}
train
{"class": 0, "x_center": 0.66875, "y_center": 0.892188, "width": 0.075, "height": 0.075}
train
{"class": 0, "x_center": 0.944531, "y_center": 0.442969, "width": 0.042188, "height": 0.042188}
train
{"class": 0, "x_center": 0.501563, "y_center": 0.696875, "width": 0.059375, "height": 0.059375}
train
{"class": 0, "x_center": 0.423438, "y_center": 0.090625, "width": 0.04375, "height": 0.04375}
train
{"class": 0, "x_center": 0.598437, "y_center": 0.709375, "width": 0.04375, "height": 0.04375}
train
{"class": 0, "x_center": 0.198437, "y_center": 0.479687, "width": 0.05625, "height": 0.05625}
train
{"class": 0, "x_center": 0.64375, "y_center": 0.48125, "width": 0.05625, "height": 0.05625}
train
{"class": 0, "x_center": 0.303125, "y_center": 0.990625, "width": 0.0625, "height": 0.01875}
train
{"class": 0, "x_center": 0.495312, "y_center": 0.46875, "width": 0.025, "height": 0.025}
train
{"class": 0, "x_center": 0.74375, "y_center": 0.70625, "width": 0.05625, "height": 0.05625}
train
{"class": 0, "x_center": 0.270313, "y_center": 0.134375, "width": 0.071875, "height": 0.071875}
train
{"class": 0, "x_center": 0.149219, "y_center": 0.375781, "width": 0.057813, "height": 0.057813}
train
{"class": 0, "x_center": 0.039844, "y_center": 0.074219, "width": 0.039062, "height": 0.039062}
train
{"class": 0, "x_center": 0.689844, "y_center": 0.952344, "width": 0.070312, "height": 0.070312}
train
{"class": 0, "x_center": 0.389844, "y_center": 0.236719, "width": 0.064062, "height": 0.064062}
train
{"class": 0, "x_center": 0.367969, "y_center": 0.280469, "width": 0.067187, "height": 0.067187}
train
{"class": 0, "x_center": 0.889844, "y_center": 0.397656, "width": 0.029687, "height": 0.029687}
train
{"class": 0, "x_center": 0.707812, "y_center": 0.975781, "width": 0.05625, "height": 0.048438}
train
{"class": 0, "x_center": 0.253125, "y_center": 0.759375, "width": 0.06875, "height": 0.06875}
train
{"class": 0, "x_center": 0.833594, "y_center": 0.775781, "width": 0.051562, "height": 0.051562}
train
{"class": 0, "x_center": 0.460938, "y_center": 0.379688, "width": 0.03125, "height": 0.03125}
train
{"class": 0, "x_center": 0.225781, "y_center": 0.246094, "width": 0.032813, "height": 0.032813}
train
{"class": 0, "x_center": 0.108594, "y_center": 0.669531, "width": 0.045312, "height": 0.045312}
train
{"class": 0, "x_center": 0.098437, "y_center": 0.340625, "width": 0.065625, "height": 0.065625}
train
{"class": 0, "x_center": 0.921094, "y_center": 0.608594, "width": 0.026562, "height": 0.026562}
train
{"class": 0, "x_center": 0.644531, "y_center": 0.694531, "width": 0.054688, "height": 0.054688}
train
{"class": 0, "x_center": 0.798438, "y_center": 0.370312, "width": 0.046875, "height": 0.046875}
train
{"class": 0, "x_center": 0.5375, "y_center": 0.646875, "width": 0.0625, "height": 0.0625}
train
{"class": 0, "x_center": 0.988281, "y_center": 0.859375, "width": 0.023438, "height": 0.0375}
train
{"class": 0, "x_center": 0.133594, "y_center": 0.685156, "width": 0.026562, "height": 0.026562}
train
{"class": 0, "x_center": 0.626563, "y_center": 0.545312, "width": 0.05, "height": 0.05}
train
{"class": 0, "x_center": 0.44375, "y_center": 0.673438, "width": 0.0625, "height": 0.0625}
train
End of preview. Expand in Data Studio

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Cursor Detection Synthetic Dataset

A synthetic object detection dataset for mouse cursor detection, generated by compositing real cursor images onto website screenshots.

Dataset Structure

Dataset({
    features: ['image', 'bbox', 'split'],
    num_rows: 650
})
Feature Type Description
image PIL Image 640x640 RGB image with cursor composited
bbox string (JSON) YOLO-format bounding box: {class, x_center, y_center, width, height}
split string train / val / test

Splits

Split Images
train 500
val 100
test 50

Dataset Generation

The dataset was generated by:

  1. Cursors: 366 cursor types from Fraser/cursors — includes various OS themes (macOS, Windows, Linux) and cursor states (default, pointer, text, grab, etc.) with alpha channels and hotspot metadata.

  2. Backgrounds: 1,688 website screenshots from naorm/website-screenshots.

  3. Augmentation: Each image was created by:

    • Randomly selecting a screenshot background
    • Randomly selecting a cursor type
    • Resizing cursor to 16–48px
    • Placing it at a random position using alpha compositing with correct hotspot alignment
    • Generating a normalized YOLO bounding box label

Usage

from datasets import load_dataset
import json

ds = load_dataset("AdithyaSK/cursor-detection-synthetic-dataset", split="train")

sample = ds[0]
img = sample["image"]
bbox = json.loads(sample["bbox"])
print(f"Cursor at: ({bbox['x_center']}, {bbox['y_center']}) size {bbox['width']}x{bbox['height']}")

Convert to YOLO format

import os
from datasets import load_dataset

def save_yolo_format(output_dir="cursor_yolo"):
    ds = load_dataset("AdithyaSK/cursor-detection-synthetic-dataset")
    
    for split in ["train", "val", "test"]:
        img_dir = os.path.join(output_dir, "images", split)
        lbl_dir = os.path.join(output_dir, "labels", split)
        os.makedirs(img_dir, exist_ok=True)
        os.makedirs(lbl_dir, exist_ok=True)
        
        for i, sample in enumerate(ds[split]):
            # Save image
            sample["image"].save(os.path.join(img_dir, f"{i:06d}.jpg"))
            # Save label
            bbox = json.loads(sample["bbox"])
            with open(os.path.join(lbl_dir, f"{i:06d}.txt"), "w") as f:
                f.write(f"{bbox['class']} {bbox['x_center']} {bbox['y_center']} {bbox['width']} {bbox['height']}\n")

save_yolo_format()

License

Cursor images from Fraser/cursors are under their respective licenses. Website screenshots are from naorm/website-screenshots.

Downloads last month
40