Dataset Viewer
Auto-converted to Parquet Duplicate
image
image
matte
image
foreground
image
cutout
image
id
string
frame_id
string
source_id
string
collection
string
source_path
string
shot_index
int32
frame_index
int32
width
int32
height
int32
random/sample-000-0-f19
sample-000-0-f19
sample-000
random
data/expanded/random/sample-000-0-f19.png
0
19
640
640
random/sample-000-0-f24
sample-000-0-f24
sample-000
random
data/expanded/random/sample-000-0-f24.png
0
24
640
640
random/sample-000-0-f26
sample-000-0-f26
sample-000
random
data/expanded/random/sample-000-0-f26.png
0
26
640
640
random/sample-000-1-f17
sample-000-1-f17
sample-000
random
data/expanded/random/sample-000-1-f17.png
1
17
640
640
random/sample-000-1-f62
sample-000-1-f62
sample-000
random
data/expanded/random/sample-000-1-f62.png
1
62
640
640
random/sample-000-1-f79
sample-000-1-f79
sample-000
random
data/expanded/random/sample-000-1-f79.png
1
79
640
640
random/sample-001-0-f14
sample-001-0-f14
sample-001
random
data/expanded/random/sample-001-0-f14.png
0
14
640
640
random/sample-001-0-f2
sample-001-0-f2
sample-001
random
data/expanded/random/sample-001-0-f2.png
0
2
640
640
random/sample-001-0-f33
sample-001-0-f33
sample-001
random
data/expanded/random/sample-001-0-f33.png
0
33
640
640
random/sample-002-1-f12
sample-002-1-f12
sample-002
random
data/expanded/random/sample-002-1-f12.png
1
12
640
640
random/sample-002-1-f20
sample-002-1-f20
sample-002
random
data/expanded/random/sample-002-1-f20.png
1
20
640
640
random/sample-002-1-f26
sample-002-1-f26
sample-002
random
data/expanded/random/sample-002-1-f26.png
1
26
640
640
random/sample-003-0-f17
sample-003-0-f17
sample-003
random
data/expanded/random/sample-003-0-f17.png
0
17
640
640
random/sample-003-0-f36
sample-003-0-f36
sample-003
random
data/expanded/random/sample-003-0-f36.png
0
36
640
640
random/sample-003-0-f37
sample-003-0-f37
sample-003
random
data/expanded/random/sample-003-0-f37.png
0
37
640
640
random/sample-003-1-f17
sample-003-1-f17
sample-003
random
data/expanded/random/sample-003-1-f17.png
1
17
640
640
random/sample-003-1-f33
sample-003-1-f33
sample-003
random
data/expanded/random/sample-003-1-f33.png
1
33
640
640
random/sample-003-2-f10
sample-003-2-f10
sample-003
random
data/expanded/random/sample-003-2-f10.png
2
10
640
640
random/sample-003-2-f23
sample-003-2-f23
sample-003
random
data/expanded/random/sample-003-2-f23.png
2
23
640
640
random/sample-003-2-f4
sample-003-2-f4
sample-003
random
data/expanded/random/sample-003-2-f4.png
2
4
640
640
random/sample-004-0-f13
sample-004-0-f13
sample-004
random
data/expanded/random/sample-004-0-f13.png
0
13
640
640
random/sample-004-0-f19
sample-004-0-f19
sample-004
random
data/expanded/random/sample-004-0-f19.png
0
19
640
640
random/sample-004-0-f36
sample-004-0-f36
sample-004
random
data/expanded/random/sample-004-0-f36.png
0
36
640
640
random/sample-004-2-f0
sample-004-2-f0
sample-004
random
data/expanded/random/sample-004-2-f0.png
2
0
640
640
random/sample-004-2-f17
sample-004-2-f17
sample-004
random
data/expanded/random/sample-004-2-f17.png
2
17
640
640
random/sample-004-2-f36
sample-004-2-f36
sample-004
random
data/expanded/random/sample-004-2-f36.png
2
36
640
640
random/sample-005-1-f17
sample-005-1-f17
sample-005
random
data/expanded/random/sample-005-1-f17.png
1
17
640
640
random/sample-005-1-f30
sample-005-1-f30
sample-005
random
data/expanded/random/sample-005-1-f30.png
1
30
640
640
random/sample-005-1-f35
sample-005-1-f35
sample-005
random
data/expanded/random/sample-005-1-f35.png
1
35
640
640
random/sample-005-3-f12
sample-005-3-f12
sample-005
random
data/expanded/random/sample-005-3-f12.png
3
12
640
640
random/sample-005-3-f2
sample-005-3-f2
sample-005
random
data/expanded/random/sample-005-3-f2.png
3
2
640
640
random/sample-005-3-f6
sample-005-3-f6
sample-005
random
data/expanded/random/sample-005-3-f6.png
3
6
640
640
random/sample-006-2-f23
sample-006-2-f23
sample-006
random
data/expanded/random/sample-006-2-f23.png
2
23
640
640
random/sample-006-2-f30
sample-006-2-f30
sample-006
random
data/expanded/random/sample-006-2-f30.png
2
30
640
640
random/sample-006-2-f38
sample-006-2-f38
sample-006
random
data/expanded/random/sample-006-2-f38.png
2
38
640
640
random/sample-011-0-f33
sample-011-0-f33
sample-011
random
data/expanded/random/sample-011-0-f33.png
0
33
640
640
random/sample-011-0-f34
sample-011-0-f34
sample-011
random
data/expanded/random/sample-011-0-f34.png
0
34
640
640
random/sample-011-0-f7
sample-011-0-f7
sample-011
random
data/expanded/random/sample-011-0-f7.png
0
7
640
640
random/sample-013-0-f11
sample-013-0-f11
sample-013
random
data/expanded/random/sample-013-0-f11.png
0
11
640
640
random/sample-013-0-f40
sample-013-0-f40
sample-013
random
data/expanded/random/sample-013-0-f40.png
0
40
640
640
random/sample-013-0-f6
sample-013-0-f6
sample-013
random
data/expanded/random/sample-013-0-f6.png
0
6
640
640
random/sample-015-0-f48
sample-015-0-f48
sample-015
random
data/expanded/random/sample-015-0-f48.png
0
48
640
640
random/sample-015-0-f5
sample-015-0-f5
sample-015
random
data/expanded/random/sample-015-0-f5.png
0
5
640
640
random/sample-015-0-f53
sample-015-0-f53
sample-015
random
data/expanded/random/sample-015-0-f53.png
0
53
640
640
random/sample-017-1-f14
sample-017-1-f14
sample-017
random
data/expanded/random/sample-017-1-f14.png
1
14
640
640
random/sample-017-1-f25
sample-017-1-f25
sample-017
random
data/expanded/random/sample-017-1-f25.png
1
25
640
640
random/sample-017-1-f31
sample-017-1-f31
sample-017
random
data/expanded/random/sample-017-1-f31.png
1
31
640
640
random/sample-017-2-f11
sample-017-2-f11
sample-017
random
data/expanded/random/sample-017-2-f11.png
2
11
640
640
random/sample-017-2-f18
sample-017-2-f18
sample-017
random
data/expanded/random/sample-017-2-f18.png
2
18
640
640
random/sample-017-2-f30
sample-017-2-f30
sample-017
random
data/expanded/random/sample-017-2-f30.png
2
30
640
640
random/sample-018-2-f21
sample-018-2-f21
sample-018
random
data/expanded/random/sample-018-2-f21.png
2
21
640
640
random/sample-018-2-f28
sample-018-2-f28
sample-018
random
data/expanded/random/sample-018-2-f28.png
2
28
640
640
random/sample-018-2-f31
sample-018-2-f31
sample-018
random
data/expanded/random/sample-018-2-f31.png
2
31
640
640
random/sample-019-1-f13
sample-019-1-f13
sample-019
random
data/expanded/random/sample-019-1-f13.png
1
13
640
640
random/sample-019-1-f18
sample-019-1-f18
sample-019
random
data/expanded/random/sample-019-1-f18.png
1
18
640
640
random/sample-019-1-f59
sample-019-1-f59
sample-019
random
data/expanded/random/sample-019-1-f59.png
1
59
640
640
random/sample-024-1-f20
sample-024-1-f20
sample-024
random
data/expanded/random/sample-024-1-f20.png
1
20
640
640
random/sample-024-1-f21
sample-024-1-f21
sample-024
random
data/expanded/random/sample-024-1-f21.png
1
21
640
640
random/sample-024-1-f32
sample-024-1-f32
sample-024
random
data/expanded/random/sample-024-1-f32.png
1
32
640
640
random/sample-025-0-f17
sample-025-0-f17
sample-025
random
data/expanded/random/sample-025-0-f17.png
0
17
640
640
random/sample-025-0-f4
sample-025-0-f4
sample-025
random
data/expanded/random/sample-025-0-f4.png
0
4
640
640
random/sample-025-0-f40
sample-025-0-f40
sample-025
random
data/expanded/random/sample-025-0-f40.png
0
40
640
640
random/sample-031-2-f1
sample-031-2-f1
sample-031
random
data/expanded/random/sample-031-2-f1.png
2
1
640
640
random/sample-031-2-f21
sample-031-2-f21
sample-031
random
data/expanded/random/sample-031-2-f21.png
2
21
640
640
random/sample-031-2-f7
sample-031-2-f7
sample-031
random
data/expanded/random/sample-031-2-f7.png
2
7
640
640
random/sample-032-0-f13
sample-032-0-f13
sample-032
random
data/expanded/random/sample-032-0-f13.png
0
13
640
640
random/sample-032-0-f24
sample-032-0-f24
sample-032
random
data/expanded/random/sample-032-0-f24.png
0
24
640
640
random/sample-032-0-f7
sample-032-0-f7
sample-032
random
data/expanded/random/sample-032-0-f7.png
0
7
640
640
random/sample-034-1-f11
sample-034-1-f11
sample-034
random
data/expanded/random/sample-034-1-f11.png
1
11
640
640
random/sample-034-1-f19
sample-034-1-f19
sample-034
random
data/expanded/random/sample-034-1-f19.png
1
19
640
640
random/sample-034-1-f9
sample-034-1-f9
sample-034
random
data/expanded/random/sample-034-1-f9.png
1
9
640
640
random/sample-034-2-f0
sample-034-2-f0
sample-034
random
data/expanded/random/sample-034-2-f0.png
2
0
640
640
random/sample-034-2-f15
sample-034-2-f15
sample-034
random
data/expanded/random/sample-034-2-f15.png
2
15
640
640
random/sample-034-2-f36
sample-034-2-f36
sample-034
random
data/expanded/random/sample-034-2-f36.png
2
36
640
640
random/sample-035-0-f18
sample-035-0-f18
sample-035
random
data/expanded/random/sample-035-0-f18.png
0
18
640
640
random/sample-035-0-f30
sample-035-0-f30
sample-035
random
data/expanded/random/sample-035-0-f30.png
0
30
640
640
random/sample-035-0-f38
sample-035-0-f38
sample-035
random
data/expanded/random/sample-035-0-f38.png
0
38
640
640
random/sample-038-0-f30
sample-038-0-f30
sample-038
random
data/expanded/random/sample-038-0-f30.png
0
30
640
640
random/sample-038-0-f5
sample-038-0-f5
sample-038
random
data/expanded/random/sample-038-0-f5.png
0
5
640
640
random/sample-038-0-f9
sample-038-0-f9
sample-038
random
data/expanded/random/sample-038-0-f9.png
0
9
640
640
random/sample-040-1-f19
sample-040-1-f19
sample-040
random
data/expanded/random/sample-040-1-f19.png
1
19
640
640
random/sample-040-1-f2
sample-040-1-f2
sample-040
random
data/expanded/random/sample-040-1-f2.png
1
2
640
640
random/sample-040-1-f38
sample-040-1-f38
sample-040
random
data/expanded/random/sample-040-1-f38.png
1
38
640
640
random/sample-042-0-f20
sample-042-0-f20
sample-042
random
data/expanded/random/sample-042-0-f20.png
0
20
640
640
random/sample-042-0-f32
sample-042-0-f32
sample-042
random
data/expanded/random/sample-042-0-f32.png
0
32
640
640
random/sample-042-0-f37
sample-042-0-f37
sample-042
random
data/expanded/random/sample-042-0-f37.png
0
37
640
640
random/sample-042-1-f26
sample-042-1-f26
sample-042
random
data/expanded/random/sample-042-1-f26.png
1
26
640
640
random/sample-042-1-f28
sample-042-1-f28
sample-042
random
data/expanded/random/sample-042-1-f28.png
1
28
640
640
random/sample-042-1-f5
sample-042-1-f5
sample-042
random
data/expanded/random/sample-042-1-f5.png
1
5
640
640
random/sample-048-0-f11
sample-048-0-f11
sample-048
random
data/expanded/random/sample-048-0-f11.png
0
11
640
640
random/sample-048-0-f35
sample-048-0-f35
sample-048
random
data/expanded/random/sample-048-0-f35.png
0
35
640
640
random/sample-048-0-f5
sample-048-0-f5
sample-048
random
data/expanded/random/sample-048-0-f5.png
0
5
640
640
random/sample-051-1-f1
sample-051-1-f1
sample-051
random
data/expanded/random/sample-051-1-f1.png
1
1
640
640
random/sample-051-1-f15
sample-051-1-f15
sample-051
random
data/expanded/random/sample-051-1-f15.png
1
15
640
640
random/sample-051-1-f32
sample-051-1-f32
sample-051
random
data/expanded/random/sample-051-1-f32.png
1
32
640
640
random/sample-053-0-f0
sample-053-0-f0
sample-053
random
data/expanded/random/sample-053-0-f0.png
0
0
640
640
random/sample-053-0-f22
sample-053-0-f22
sample-053
random
data/expanded/random/sample-053-0-f22.png
0
22
640
640
random/sample-053-0-f27
sample-053-0-f27
sample-053
random
data/expanded/random/sample-053-0-f27.png
0
27
640
640
random/sample-053-1-f2
sample-053-1-f2
sample-053
random
data/expanded/random/sample-053-1-f2.png
1
2
640
640
random/sample-053-1-f24
sample-053-1-f24
sample-053
random
data/expanded/random/sample-053-1-f24.png
1
24
640
640
End of preview. Expand in Data Studio

SpriteDX — Sprite Matting and Animation Annotations

Explore sprite frames with matching mattes, foreground images, and transparent cutouts; inspect human annotations for animation loops and shot boundaries. This collection comes from experiments on the SpriteDX project by Sprited.

Start with the matting subset in the viewer above. Each row shows the original frame and its three paired representations. Use the subset selector for loops or scene_boundaries.

Subset Rows What you can do with it
matting (default) 1,080 Inspect sprite edges, compare background removal, and experiment with compositing
loops 248 Explore human loopability decisions and selected frame ranges: 227 positive, 21 negative
scene_boundaries 257 Experiment with splitting multi-shot sprite animations using human boundary annotations

This is a small experimental collection. The mattes and processed foregrounds are pipeline outputs, not verified ground-truth masks. Human loop labels are subjective. See the limitations below before treating these as evaluation targets.

Looking for assets to use directly in a game? The separate free animated character pack on itch.io provides 77 CC0 characters, 231 animated clips, and PNG atlases. Its CC0 release does not establish a license for this older experimental dataset.

A sample

Original frame Matte Transparent cutout
Original sprite frame Matte Transparent sprite

Sample sample-000-0-f19. All three images come from the same source frame. The foreground column additionally contains the processed RGB colors used by the cutout.

Load a subset

pip install datasets pillow
from datasets import load_dataset

# Streaming reads examples without downloading the entire collection first.
frames = load_dataset("sprited/sprite-dx-data", "matting", split="train", streaming=True)
row = next(iter(frames))

row["image"].save("source.png")
row["matte"].convert("L").save("matte.png")
row["cutout"].save("cutout.png")  # RGBA; keep the alpha channel

The Parquet tables embed their image and video bytes, so media columns do not depend on local file paths. For a fully downloaded dataset, omit streaming=True.

Composite a sprite

from PIL import Image

cutout = row["cutout"].convert("RGBA")
background = Image.new("RGBA", cutout.size, (65, 80, 105, 255))
background.alpha_composite(cutout)
background.convert("RGB").save("composite.png")

Read an annotated animation segment

from io import BytesIO
from urllib.request import urlopen
from PIL import Image
from datasets import Video, load_dataset

loops = load_dataset("sprited/sprite-dx-data", "loops", split="train", streaming=True)
# Read labels and the original WebP without installing a Python video decoder.
loops = loops.cast_column("video", Video(decode=False))
loop = next(row for row in loops if row["is_loop"])
with urlopen(loop["animation_url"]) as response:
    animation_bytes = response.read()
with Image.open(BytesIO(animation_bytes)) as animation:
    frames = []
    for index in range(loop["start_frame"], loop["end_frame_exclusive"]):
        animation.seek(index)
        frames.append(animation.convert("RGBA").copy())
print(loop["id"], len(frames))

The animation subsets include a playable video column and a static filmstrip with frame numbers. The MP4 videos are viewing copies, limited to 320 pixels on the longer side, with source frame durations preserved. H.264 does not preserve alpha; any transparency is composited onto a neutral background. animation_url links to the complete original animated WebP at a pinned source revision.

For loops, the video plays the human-selected range, including for negative examples; it is not a newly verified seamless loop. For scene_boundaries, it plays the complete source animation. To decode video tensors in Python, install the video dependencies described in the Datasets video guide; use Video(decode=False) when you only need labels or encoded bytes.

Column guide

All subsets include id and source_id. Use source_id to group examples from the same source animation.

Subset Columns Meaning
matting image, matte, foreground, cutout Embedded original RGB, matte, processed RGB, and RGBA images
matting frame_id, shot_index, frame_index Identity and zero-based position within the source shot
matting collection, source_path Original folder group and source-frame location
loops is_loop Human loopability label; false is an explicit negative label
loops start_frame, end_frame_exclusive Human-selected range within the shot, normalized to Python slice semantics
scene_boundaries scene_end_frames, num_shots Last frame of each shot except the final shot; number of resulting shots
Both animation subsets video, preview, animation_url, num_frames, annotation_path Playable MP4, filmstrip, original WebP URL, full animation/shot length, and original human-label file
All subsets width, height Full-resolution source dimensions, not filmstrip dimensions

All frame indices are zero-based. For scene boundaries, the next shot starts at scene_end_frame + 1.

The single train split is an unsplit collection provided for loader compatibility, not a prescribed training benchmark. There is no held-out validation or test set. Split by source_id rather than by row to reduce leakage from related frames; this does not guarantee distinct character identities across splits.

Coverage and limitations

  • The 1,080 matting rows contain 1,071 distinct frame_id values. Nine frame identities occur in both a sample folder and random/. Preserve collection when examining processing variants; deduplicate by frame_id when appropriate for training.
  • Matting coverage is uneven: 378 rows are in random/, and 702 are concentrated in six source-animation folders. These are not independent scenes or a balanced sample.
  • The four image columns are paired representations of each row, not four times as many examples. Mattes are stored as RGB PNGs and can be converted to grayscale. They may contain edge errors, halos, or missing detail.
  • Only 248 of 744 shot clips have human loop annotations. The remaining 496 are excluded from loops; absence of feedback is not a negative label.
  • Loop ranges use exclusive ends in the release tables. Original *.loop.hf.json uses inclusive ends in the labeling UI; conversion adds one to that endpoint. Original labels are preserved.
  • No verified quality scores, character categories, action captions, or generation prompts are supplied. This collection does not establish broad model performance.

Source archive and reproducibility

The original media, annotations, and experimental scripts remain available in data/ and at the repository root. The viewer loads only the curated release/ tables, so incompatible historical JSON files are not mixed together.

See the source archive guide for file counts, original annotation conventions, and known issues in the old loop generator. TransNetV2 is no longer used by the project; its historical artifacts are excluded from these tables and are not needed to load or rebuild them.

Rebuild the tables from the original archive with:

Install FFmpeg (with the libx264 encoder) on your system first. It is only needed to generate or validate the viewing copies, not to browse or download the dataset.

pip install -r requirements-release.txt
python scripts/build_release.py
python -m unittest discover -s tests

The builder refuses to overwrite an existing release. Run it in a source checkout without release/ to regenerate the files. release/manifest.json records row counts and SHA-256 checksums for each shard. Tests load every subset through the README configuration, decode all embedded images, and verify streaming access.

Provenance and reuse

These files were collected for SpriteDX experiments. Complete per-sample generation provenance and the exact matte-generation run are not recorded in this archive. An explicit license for this dataset has not yet been established; no CC0 or other reuse grant is asserted by this card.

Downloads last month
443