sketch-graph-xl
收藏资源简介:
该数据集包含几何基元的表示信息,包括直线、圆、圆弧以及绘画结束标记。每个基元都有其对应的类型标识、坐标参数以及规范顺序定义。例如,直线以起点和终点坐标表示,圆以最左和最右点表示,圆弧以顺时针方向上的起点、中间点和终点表示。该数据集可能用于训练模型识别或生成这类几何基元。图片文件名train_first_256表明该数据集包含训练集的前256个样本。
This dataset contains representation information of geometric primitives, including lines, circles, arcs, and a painting end marker. Each primitive has its corresponding type identifier, coordinate parameters, and canonical order definition. For example, a line is represented by its start and end coordinates, a circle by its leftmost and rightmost points, and an arc by its start, middle, and end points in clockwise order. This dataset may be used to train models to recognize or generate such geometric primitives. The image filename train_first_256 indicates that the dataset contains the first 256 samples of the training set.
数据集概述
基本信息
- 数据集名称:sketch-graph-xl
- 数据集地址:https://huggingface.co/datasets/benikm91/sketch-graph-xl
- 预览图片:https://cdn-uploads.huggingface.co/production/uploads/63a30ecacc2140620598a809/rOaquxONlLyEB5OS-Z4Wv.png (train_first_256)
图元(Primitive)定义规范
数据集包含以下图元类型及其对应的参数与规范化顺序:
| Primitive | type |
coordinates_params |
Canonical order |
|---|---|---|---|
| Line | PartLineWithId |
[start, end] |
左端点优先;若 x 值在 0.01 以内,则上端点优先 |
| Circle | Circle |
[leftmost, rightmost] |
先左后右;两点均具有圆心的 y 值 |
| Arc | Arc |
[start, mid, end] |
在图像上从 start 到 end 按顺时针方向;mid 为弧中点 |
| (end marker) | FinishDrawing |
无 | 始终位于最后 |





