File size: 3,969 Bytes
d7f6034 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 |
---
pretty_name: Animations Dataset
size_categories:
- 1M<n<10M
task_categories:
- image-classification
- image-to-text
- text-to-image
- other
annotations_creators:
- found
language:
- en
multilinguality:
- monolingual
source_datasets:
- original
configs:
- config_name: default
data_files:
- split: train
path: "animations_part_*.jsonl.zst"
default: true
tags:
- image
- animation
license: other
---
# Dataset Card for Animations Dataset
### Dataset Summary
This dataset contains 50,849 animations with their associated metadata, frames, and source images. Each animation consists of multiple frames composed of simple sketch-level drawings, text elements, and potentially embedded images. The dataset provides complete information about each animation, including frame components, source images, timing between frames, and canvas settings. This makes it suitable for various tasks such as animation analysis, generation, and modification. All animations are stored in a structured format that preserves the relationship between component images and their composition within animation frames.
### Languages
The dataset is primarily monolingual:
- English (en): Any text elements within animations are predominantly in English.
## Dataset Structure
### Data Files
The dataset consists of two main types of files:
1. **Metadata files**:
- `.jsonl.zst` compressed files (e.g., `animations_part_1.jsonl.zst`)
- Each contains metadata for approximately 1,000 animations
- Located in the dataset root directory
2. **Frame and source image files**:
- `.tar.zst` compressed tar archives (e.g., `files/animations_part_1.tar.zst`)
- Each contains frames and source images for approximately 1,000 animations
- Located in the `files` directory
### Data Fields
Each animation entry in the metadata files contains the following fields:
- `id`: Unique identifier (UUID) for the animation.
- `settings`: Object containing canvas configuration:
- `canvas_width`, `canvas_height`: Dimensions of the animation canvas.
- `fillcolor`: Background color of the canvas (if specified).
- `default_font`: Default font used for text elements.
- `default_font_size`: Default font size.
- `images`: Array of image resources used in the animation.
- `dtimes`: Array of time delays between frames in milliseconds.
- `frames_data`: Array of arrays representing each frame's elements:
- `type_for_loader`: Element type (e.g., "text").
- `data`: Object containing element properties:
- `type`: Element type.
- `centerx`, `centery`: Position coordinates of the element on the canvas.
- `text`: Text content (for text elements).
- `font`: Font used for the text.
- `size`: Font size.
- `rotate_angle`: Rotation angle.
- `strokeColor`: Stroke color (if specified).
- `fillColor`: Fill color (if specified).
- `textColor`: Text color (for text elements).
- `align`: Text alignment.
- `angle`: Angle for the element.
- `radius`: Radius (for circular elements).
- `children_data`: Array of child elements (if any).
### Directory Structure
The frame and source image files are organized within the tar archives as follows:
```
[uuid]/
βββ frames/
β βββ frame_0000.png
β βββ frame_0001.png (if multiple frames)
β βββ ...
βββ source_images/
βββ src_image_0000.png (if source images are used)
βββ src_image_0001.png (if multiple source images)
βββ ...
```
Where `[uuid]` is the unique identifier for each animation. Note that the `source_images` directory will be created even if it contains no files, as some animations may not use any source images.
### Data Splits
The dataset contains a single split:
| Split | Description | Number of Examples |
|-------|-------------|--------------------|
| `train` | Animation data with frames and source images | 50,849 |
Total dataset size: 50,849 entries
|