遇见数据集

small-models-for-glam/index-card-detection-v3

收藏
Hugging Face2026-05-27 更新2026-05-31 收录
官方服务:

资源简介:

--- language: - en license: cc0-1.0 license_details: "Mixed across collections — see Source Data. NLS data is unrestricted use under NLS terms; navy-nurse-corps is US Government public-domain; bpl-card-catalog and rubenstein-manuscript-catalog are CC0-1.0." tags: - object-detection - index-cards - archives - glam - cultural-heritage - libraries - manuscripts annotations_creators: - machine-generated - expert-generated language_creators: - expert-generated pretty_name: Archival Index Card Detection — mixed collections size_categories: - 1K<n<10K source_datasets: - NationalLibraryOfScotland/nls-index-cards-object-detection - biglam/index-cards-navy-nurse-corps - biglam/bpl-card-catalog - biglam/rubenstein-manuscript-catalog task_categories: - object-detection configs: - config_name: default data_files: - split: train path: data/train-* dataset_info: config_name: default features: - name: image dtype: image - name: source_collection dtype: string - name: source_repo dtype: string - name: source_row_id dtype: int64 - name: source_url dtype: string - name: text dtype: string - name: objects struct: - name: bbox sequence: sequence: float32 length: 4 - name: category sequence: class_label: names: "0": card - name: box_source sequence: string splits: - name: train num_bytes: 330329844 num_examples: 1425 download_size: 330102842 dataset_size: 330329844 --- # Dataset Card for Archival Index Card Detection — mixed collections A training dataset for object detection of index cards in archival scans. Combines four publicly-released collections — NLS Advocates Library single-card pages, US Navy Nurse Corps multi-card biographical sheets, Boston Public Library catalog cards, and Duke Rubenstein manuscript catalog cards — into a single object-detection schema. ## Dataset Details ### Dataset Description 1,425 archival scans across four institutional collections. Constructed to extend the existing single-card NLS detector ([`NationalLibraryOfScotland/archival-index-card-detector`](https://huggingface.co/NationalLibraryOfScotland/archival-index-card-detector)) to handle multi-card scans and pre-cropped single-card images from other institutions, without regressing on the original NLS distribution. - **Curated by:** [Daniel van Strien](https://huggingface.co/davanstrien), Machine Learning Librarian, Hugging Face - **Language(s):** en (card content; English-only) - **License:** Mixed — see Source Data table below. Effectively unrestricted re-use for academic / research / non-commercial purposes; check the source dataset for commercial reuse. ### Dataset Sources - **Repository:** https://huggingface.co/datasets/small-models-for-glam/index-card-detection-v3 - **Trained model:** https://huggingface.co/small-models-for-glam/index-card-detector-v4 - **Demo Space:** https://huggingface.co/spaces/small-models-for-glam/index-card-detector ## Uses ### Direct Use Train an object detector to find archival index cards on: - Full archival page scans with one or more cards (NLS-style multi-card pages) - Multi-card sheets (2–9 cards arranged on a backing sheet, e.g. Navy biographical records) - Pre-cropped single-card images (BPL / Rubenstein style) The accompanying YOLO26n checkpoint at `small-models-for-glam/index-card-detector-v4` is fine-tuned from the NLS v1 baseline on this data. ### Out-of-Scope Use - **Not for OCR.** Detection only — bbox tells you *where* the card is, not *what it says*. Pair with a downstream OCR/VLM model (NuExtract3, Qwen-VL, etc.). - **Not for content classification.** Single class `card` — does not distinguish card type, content, or blank/content. - **English-only.** Cards in other languages may not generalise. - **Not a benchmark dataset.** Train/val split is automatic and stratified per collection; not held back as a community evaluation set. ## Dataset Structure One row per image: | Column | Type | Description | |---|---|---| | `image` | `Image` | RGB scan, original resolution | | `source_collection` | `string` | One of `nls-advocates`, `navy-nurse-corps`, `bpl`, `rubenstein` | | `source_repo` | `string` | Source HF dataset id | | `source_row_id` | `int64` | Index in the source dataset | | `source_url` | `string` | Link to original item (when present in source) | | `text` | `string` | OCR or filename from source (preserved as-is) | | `objects.bbox` | `list[[float, 4]]` | xywh in original pixel coordinates | | `objects.category` | `ClassLabel(["card"])` | Single class; always `0` | | `objects.box_source` | `list[string]` | Provenance per box: `nls-original` \| `sam3+human` \| `auto-full` | Per-collection breakdown: | Collection | Rows | Boxes | Avg boxes/row | Avg image size | |---|---|---|---|---| | nls-advocates | 100 | ~155 | 1.55 (incl. some has_card=False) | ~2900×1800 | | navy-nurse-corps | 25 | ~85 | 3.4 | varied (3K×4K to 10K×6K) | | bpl | 800 | 800 | 1.0 | ~1175×710 | | rubenstein | 500 | 500 | 1.0 | ~1555×1100 | | **Total** | **1,425** | **~1,540** | | | ## Dataset Creation ### Curation Rationale The existing NLS detector (v1) was trained on 100 NLS Advocates Library pages and reached 99.1% mAP@50:95 on that distribution, but had not been tested on multi-card scans or cards from other institutions. This dataset extends v1's training distribution while preserving the NLS samples to prevent catastrophic forgetting. ### Source Data #### Data Collection and Processing Four source collections, all publicly hosted on the Hugging Face Hub: | Collection | Source | n used | Label provenance | License (source) | |---|---|---|---|---| | NLS Advocates Library | `NationalLibraryOfScotland/nls-index-cards-object-detection` | 100 (all) | Original NLS bboxes (10 has_card=False negatives included) | Per source repo | | US Navy Nurse Corps | `biglam/index-cards-navy-nurse-corps` | 25 (all) | SAM3 bootstrap + human review/correction | Public domain (US Govt) | | Boston Public Library | `biglam/bpl-card-catalog` | 800 (first rows) | `bbox = whole image` (auto, pre-cropped) | CC0-1.0 | | Duke Rubenstein | `biglam/rubenstein-manuscript-catalog` | 500 (first rows) | `bbox = whole image` (auto, pre-cropped) | CC0-1.0 | Sloane Catalogues (`biglam/sloane-catalogues`) was considered and **excluded** — those scans are two-page manuscript catalog book spreads, not index cards. #### Who are the source data producers? Original archival cards were created by librarians and archivists at the four source institutions over the late 19th / 20th century. Digitisation by each institution and/or via Internet Archive. ### Annotations #### Annotation process Three different paths into the same object-detection schema: 1. **NLS Advocates (100 imgs):** original bboxes from the NLS detector v1 training set, passed through unchanged. Includes 10 has_card=False pages as negatives. 2. **Navy Nurse Corps (25 imgs):** bootstrap with Meta's SAM3 ([`uv-scripts/sam3`](https://huggingface.co/datasets/uv-scripts/sam3), `--class-name "card" --confidence-threshold 0.15` on an A100). Outputs were reviewed and corrected in a custom single-page HTML bbox editor. One systematic SAM3 failure (an "envelope" box wrapping all cards on tall multi-card scans, ~95–98% image area) was auto-filtered before review. Final per-image: ~3.4 cards on average. 3. **BPL + Rubenstein (1,300 imgs):** auto-labelled `bbox = [1, 1, W-2, H-2]` based on the structural fact that source images are pre-cropped single cards filling the frame. No human review pass. The `objects.box_source` column records which path produced each box. #### Who are the annotators? - NLS: NLS internal team - Navy: [Daniel van Strien](https://huggingface.co/davanstrien) (review and correction over SAM3 bootstrap) - BPL + Rubenstein: rule-based (no human pass) #### Personal and Sensitive Information Cards contain names, addresses, and biographical details of individuals (Navy Nurse Corps records in particular). All source datasets are from publicly-released collections — personal information is in the public archival record by virtue of original institutional release. Downstream users should respect each source institution's usage policies. ## Bias, Risks, and Limitations - **English-only.** Cards in other languages are not represented. - **US/UK archival conventions only.** Card stocks, layouts, and aesthetics outside that tradition (e.g. continental European library catalogs, East Asian indices, hand-coloured cards) are out-of-distribution. - **Multi-card variety concentrated in 25 navy images.** Multi-card scans with very different layouts (e.g., card grids of 12+, severely overlapping cards) may not generalise. - **No true negative non-card examples beyond the 10 NLS background pages.** Newspaper clippings, photographs, and book pages are not in the training set; models trained on this may over-predict on those inputs. Pair with downstream filtering or train v5 with additional negatives. - **BPL + Rubenstein labels are rule-based, not human-verified.** `bbox = whole image` is a reasonable approximation for pre-cropped cards but slight cropping noise around the edges is not captured. Tight pixel-accuracy downstream tasks may want a hand-labelled refresh. ### Recommendations - For tight cropping or pixel-accurate downstream OCR, validate model output on a small held-out set before bulk processing. - For archives mixing cards with other content, add negatives or apply a downstream non-card filter. - For cards in other languages, fine-tune with additional samples from those traditions before deployment. ## Citation **BibTeX:** ```bibtex @dataset{vanstrien_archival_index_cards_v3_2026, author = {van Strien, Daniel}, title = {Archival Index Card Detection — mixed collections (v3)}, year = {2026}, publisher = {Hugging Face}, url = {https://huggingface.co/datasets/small-models-for-glam/index-card-detection-v3} } ``` ## Dataset Card Authors [Daniel van Strien](https://huggingface.co/davanstrien) ## Dataset Card Contact Open an issue on the [dataset repo](https://huggingface.co/datasets/small-models-for-glam/index-card-detection-v3/discussions) or contact [@davanstrien](https://huggingface.co/davanstrien).

A training dataset for object detection of index cards in archival scans. Combines four publicly-released collections — NLS Advocates Library single-card pages, US Navy Nurse Corps multi-card biographical sheets, Boston Public Library catalog cards, and Duke Rubenstein manuscript catalog cards — into a single object-detection schema. 1,425 archival scans across four institutional collections. Constructed to extend the existing single-card NLS detector (NationalLibraryOfScotland/archival-index-card-detector) to handle multi-card scans and pre-cropped single-card images from other institutions, without regressing on the original NLS distribution.

提供机构:
small-models-for-glam
搜集汇总
数据集介绍
small-models-for-glam/index-card-detection-v3 数据集图片
构建方式
该数据集由四类公开馆藏档案扫描图构成:NLS Advocates Library单卡页面(100张,保留原始边界框及10张负样本)、美国海军护士团多卡传记表(25张,采用SAM3自动分割后经人工审查修正)、波士顿公共图书馆与杜克大学鲁宾斯坦手稿目录卡片(1300张,基于图像已裁切至单卡的事实自动标注全图边界框)。所有数据经统一目标检测模式整合,并在objects.box_source字段记录每张边界框的生成路径——原始NLS标注、SAM3辅助人工修正或全图自动标注。最终形成1425张训练图像、约1540个边界框的混合数据集。
特点
本数据集的核心创新在于跨馆藏泛化能力:既保留了NLS单卡检测器的99.1% mAP@50:95基线,又首次将多卡页面(平均3.4卡/张)与预裁切单卡图像纳入统一训练分布,防止灾难性遗忘。数据质量分级透明——NLS标注可直接继承,Navy样本经人工校准,BPL与Rubenstein采用规则近似但标注来源明确。单类别card设计聚焦空间定位,不涉内容分类或语言外推,适合下游OCR或视觉语言模型二次开发。此构建策略特别适用于GLAM领域异构档案数字化的检测需求。
使用方法
数据集专用于训练档案索引卡目标检测器,可直接加载为HuggingFace数据集对象,通过image字段读取RGB扫描图,objects字段提供xywh格式边界框坐标及单类别标签。配套的YOLO26n检查点index-card-detector-v4在此数据上微调得到,支持推理和迁移学习。使用建议:上游检测后需配对OCR或VLM模型进行卡面文字提取;对于包含非卡内容(如照片、剪报)的档案页推荐添加负样本或下游过滤器;涉及非英语、非英美档案美学风格的卡片应补充领域数据进行微调以避免分布外退化。
背景与挑战
背景概述
在文化遗产数字化进程中,档案索引卡作为连接手稿、图书与用户的关键纽带,其自动化检测对提升大规模馆藏元数据生产效率至关重要。2026年,由Hugging Face机器学习馆员Daniel van Strien主导创建的index-card-detection-v3数据集,整合了苏格兰国家图书馆、美国海军护士团、波士顿公共图书馆及杜克大学鲁宾斯坦图书馆四大机构馆藏,形成涵盖1,425张档案扫描图像的训练集合。该数据集的核心研究问题在于突破原有单一机构检测模型的局限性,通过融合单页多卡与预裁剪单卡图像,构建跨机构、跨格式的通用检测方案,为文化遗产机构提供零门槛的索引卡定位工具,显著推动了GLAM领域计算机视觉应用的普惠化进程。
当前挑战
该数据集致力于解决档案索引卡检测中多源异构图像的泛化挑战。首先,不同机构的扫描规格差异悬殊,从海军护士团的多页复合卡片(2-9张/页)到波士顿图书馆的预裁剪单卡,图像尺寸跨越1,100至10,000像素,模型需自适应宽高比与版面布局的剧烈变化。其次,标注构建面临成本与精度的权衡:25张海军图像采用SAM3模型预标注后人工校核,而1,300张BPL/鲁宾斯坦图像仅基于结构规则(全图边界框)自动生成,缺乏像素级验证,可能导致边缘裁剪噪声。此外,英文以外的卡片类型(如欧陆手绘彩卡)及非卡片文件(如报纸剪报)的缺失,使得模型在真实复杂馆藏场景中易产生误检,亟需通过负样本增强或下游分类过滤来弥补训练分布的偏差。
常用场景
经典使用场景
在文化遗产数字化与档案管理领域,index-card-detection-v3数据集专为检测档案扫描件中的索引卡片而设计,其核心应用场景聚焦于目标检测模型的训练与验证。该数据集汇聚了来自苏格兰国家图书馆、美国海军护士团、波士顿公共图书馆及杜克大学鲁宾斯坦图书馆的四类馆藏扫描图像,涵盖单卡片页面、多卡片编排页面及预裁剪单卡片图像等多种形态,为模型提供了丰富的尺度与布局多样性。研究者可基于此数据集训练出能够精准定位档案页面内卡片区域的通用检测器,从而加速大规模档案数字化的自动化流程。
衍生相关工作
该数据集衍生了一系列具有衔接性的经典工作,其中最具代表性的是此前基于100张NLS页面的v1检测器(NationalLibraryOfScotland/archival-index-card-detector)及其在v3数据上微调后发布的v4检查点(small-models-for-glam/index-card-detector-v4)。此外,数据集的构建过程催生了半自动标注方法的探索,如利用SAM3模型进行初始框生成并辅以人工校正的流水线,相关脚本与策略被记录于uv-scripts/sam3仓库中。这些工作共同构成了一个从单一馆藏到多源异构数据、从纯监督学习到主动学习混合标注的技术演进路线,为文化遗产领域的低资源目标检测任务提供了可复现的范例。
数据集最近研究
最新研究方向
面向文化遗产数字化保护的档案索引卡目标检测数据集扩展研究
以上内容由遇见数据集搜集并总结生成
二维码
社区交流群
二维码
科研交流群
商业服务