Vishva R commited on
Update README.md
Browse files123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108---dataset_info:features:- name: image_iddtype: int64- name: imagedtype: image- name: widthdtype: int32- name: heightdtype: int32- name: objectsstruct:- name: idlist: int64- name: arealist: int64- name: bboxlist:list: float32length: 4- name: categorylist:class_label:names:'0': signature- name: ground_truth_bboxes_norm_1000struct:- name: '1'list: int64- name: '2'list: int64- name: '3'list: int64- name: '4'list: int64- name: '5'list: int64- name: '6'list: int64- name: '7'list: int64- name: '8'list: int64- name: has_signaturesdtype: bool- name: markslist:- name: iddtype: int64- name: labeldtype: string- name: positive_groundinglist:- name: queried_roledtype: string- name: questiondtype: string- name: answer_textdtype: string- name: target_idslist: int64- name: hard_negative_groundinglist:- name: queried_roledtype: string- name: questiondtype: string- name: answer_textdtype: string- name: target_idslist: int64- name: open_discoverylist:- name: questiondtype: string- name: answer_textdtype: string- name: target_idslist: int64- name: pure_vqalist:- name: questiondtype: string- name: answer_textdtype: stringsplits:- name: trainnum_bytes: 115855298num_examples: 1980- name: validationnum_bytes: 18509159num_examples: 420- name: testnum_bytes: 18733823num_examples: 419download_size: 150529595dataset_size: 153098280configs:- config_name: defaultdata_files:- split: trainpath: data/train-*- split: validationpath: data/validation-*- split: testpath: data/test-*---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960---pretty_name: Signature Detection Annotatedlicense: othertask_categories:- question-answering- image-text-to-textlanguage:- ensize_categories:- 1K<n<10Ktags:- signature-detection- visual-grounding- document-ai- vqa---# Signature Detection AnnotatedTeacher-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 || --- | --- | --- || `ground_truth_bboxes_norm_1000` | struct of `list<int64>` | Ground-truth signature boxes, keyed by badge id (`"1"`, `"2"`, ...), in normalized `(x1, y1, x2, y2)` coordinates on a 0-1000 grid. `null` for boxes that do not exist in that sample. || `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 produced1. 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. `Vishva007/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```pythonfrom datasets import load_datasetds = load_dataset("Vishva007/signature-detection-annotated")print(ds["train"][0])```
README.md+58-106