bl-crop-tighten-v1
收藏资源简介:
bl-crop-tighten-v1数据集专注于书籍图像裁剪收紧任务,基于British Library Book Images集合构建。数据集包含7,565个ABBYY图片块裁剪样本,划分为训练集(6,050个)、验证集(757个)和测试集(758个),且分割保证书安全(每本书仅出现在一个分割中,共涉及4,484本书)。所有标签均为弱标签,由tiiuae/Falcon-Perception-0.6B模型对8,400个分层裁剪样本进行开放词汇分割后,经过滤筛选得到。每个实例提供边界框(bbox,格式为[x, y, w, h],像素单位)、COCO RLE格式的分割掩码以及几何诊断信息(rectangularity矩形度、n_components组件数、frac_largest最大组件比例)。数据集适用于图像分割任务,特别是实例分割与书籍图像裁剪收紧模型的训练与评估。
The bl-crop-tighten-v1 dataset focuses on the book image cropping and tightening task, built upon the British Library Book Images collection. It contains 7,565 ABBYY image block cropping samples, divided into training set (6,050), validation set (757), and test set (758), with split ensuring book safety (each book appears in only one split, involving 4,484 books in total). All labels are weak labels, obtained by filtering after open-vocabulary segmentation of 8,400 hierarchical cropping samples using the tiiuae/Falcon-Perception-0.6B model. Each instance provides a bounding box (bbox in [x, y, w, h] format, pixel units), a COCO RLE-format segmentation mask, and geometric diagnostic information (rectangularity, n_components, frac_largest). The dataset is suitable for image segmentation tasks, particularly for training and evaluating instance segmentation and book image cropping and tightening models.
bl-crop-tighten-v1 数据集详情
基本信息
- 数据集名称: bl-crop-tighten-v1
- 许可证: CC0-1.0(公有领域)
- 任务类型: 图像分割(image-segmentation)
- 标签类型: 弱标签(weak-labels),非人工标注
- 构建者: Daniel van Strien
数据来源
该数据集基于大英图书馆图书图像集构建,源图像由大英图书馆数字化(CC0协议)。数据集包含来自4,484本书籍的7,565个ABBYY图片块裁剪样本。
数据集结构
特征字段
| 字段 | 类型 | 说明 |
|---|---|---|
| image | image | 图像数据 |
| image_id | string | 图像标识符 |
| split_src | string | 源划分信息 |
| width / height | int32 | 图像尺寸 |
| objects | struct | 实例对象信息 |
| masks_rle | string | RLE格式掩码 |
| flags | string | 标志信息 |
| n_instances | int32 | 实例数量 |
objects字段详细结构
- id: int64列表,实例ID
- category: int64列表,类别
- bbox: float32列表,边界框[x, y, w, h](像素)
- area: float32列表,面积
- segmentation: COCO RLE格式分割掩码(包含size和counts)
- iscrowd: int64列表
- rectangularity: float32列表,矩形度
- n_components: int64列表,组件数
- frac_largest: float32列表,最大组件占比
数据划分
| 划分 | 样本数 | 大小 |
|---|---|---|
| train | 6,050 | 499,709,244 字节 |
| validation | 757 | 86,384,241 字节 |
| test | 758 | 87,451,512 字节 |
| 总计 | 7,565 | 673,544,997 字节 |
数据划分具有书籍安全性,任何一本书不会同时出现在多个划分中。
数据生成方法
- 使用tiiuae/Falcon-Perception-0.6B模型对8,400个分层采样裁剪图像(包括装饰、图版、中等大小图像,普通封面作为负样本)进行开放词汇分割
- 经过过滤筛选后保留7,565个样本
- 每个实例包含边界框、COCO RLE分割掩码及几何诊断信息(矩形度、组件数、最大组件占比)
相关资源
- 训练模型: small-models-for-glam/bl-crop-tighten-rfdetrseg-clip10
- 模型预测结果: 已作为源数据集的
crop_masks配置发布,覆盖完整的100万图像语料库
使用示例
python from datasets import load_dataset ds = load_dataset("small-models-for-glam/bl-crop-tighten-v1", split="train")
注意事项
该数据集的标签为弱标签,并非人工标注,使用时需谨慎对待标签质量。




