|
Download README.md from OpenTensorLab/signature-detection-annotated: direct link, hf CLI and curl.
- Browser
- Download file 2.9 kB
-
https://huggingface.co/datasets/OpenTensorLab/signature-detection-annotated/resolve/main/README.md
- Command line
-
hf download hf://datasets/OpenTensorLab/signature-detection-annotated/README.md
-
curl -L -o README.md https://huggingface.co/datasets/OpenTensorLab/signature-detection-annotated/resolve/main/README.md
2.9 kB
| 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]) | |
| ``` | |