File size: 2,899 Bytes
baaf6b8 | 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 | ---
pretty_name: Signature Detection Annotated
license: other
task_categories:
- question-answering
- image-text-to-text
language:
- en
size_categories:
- 1K<n<10K
tags:
- signature-detection
- visual-grounding
- document-ai
- vqa
---
# Signature Detection Annotated
Teacher-annotated extension of [`tech4humans/signature-detection`](https://huggingface.co/datasets/tech4humans/signature-detection). Every original column and every original row of the source splits (`train`, `validation`, `test`) is preserved. Seven annotation columns generated by `dataset_generation.py` are added on top.
Rows without a generated annotation JSON keep the source row and get `null` / empty values in the added columns, so the splits remain row-for-row identical to the source dataset.
## Added columns
| Column | Type | Description |
| --- | --- | --- |
| `has_signatures` | bool | Whether the document contains at least one signature. |
| `marks` | list of `{id, label}` | Badge id and inferred role/title (e.g. `Director`, `Secretary`) for every marked region. |
| `positive_grounding` | list of QA | Signature-presence questions whose answers point to one or more badge ids in `target_ids`. |
| `hard_negative_grounding` | list of QA | Signature-presence questions for plausible roles that are absent; `target_ids` is empty. |
| `open_discovery` | list of QA | Ask to identify and locate all signatures; `target_ids` holds every badge id. |
| `pure_vqa` | list of QA | Questions about signature count, signed status, or which roles signed; no bounding-box targets. |
Questions and answers never mention badge numbers or red boxes; ids appear only in `marks[].id` and `target_ids`.
## How the annotations were produced
1. Document images are orientation-corrected with `PP-LCNet_x1_0_doc_ori`; COCO boxes are rotated with the image.
2. Images are upscaled (min dimension 1600 px), sharpened, and contrast-adjusted.
3. Signature regions are drawn as red boxes with numbered badges (Set-of-Mark).
4. `OpenTensorLab/Qwen3.5-9B-W4A16-AutoRound-GPTQ` served through vLLM returns structured JSON teacher annotations, which are post-processed to enforce per-task caps, valid target ids, and text rules.
Source: `tech4humans/signature-detection`. See that dataset's card for its license, citation, and provenance.
## Limitations
- Annotations are model-generated and not human-verified; treat role labels and negative questions as weak supervision.
- Rows without a generated JSON have empty annotation columns; filter on `has_signatures` or on non-empty `marks` when a fully annotated subset is needed.
- Bounding boxes are normalized to 0-1000 and refer to the orientation-corrected, enhanced image.
## Usage
```python
from datasets import load_dataset
ds = load_dataset("OpenTensorLab/signature-detection-annotated")
print(ds["train"][0])
```
|