--- license: apache-2.0 task_categories: - object-detection tags: - roboflow - signature pretty_name: Handwritten Signature size_categories: - 1K [![OpenVINO](https://img.shields.io/badge/OpenVINO-00c7fd?style=flat&logo=intel&logoColor=white)](https://docs.openvino.ai/2025/index.html) [![Docker](https://img.shields.io/badge/Docker-2496ED?logo=docker&logoColor=fff)](https://www.docker.com/) [![Triton](https://img.shields.io/badge/Triton-Inference%20Server-76B900?labelColor=black&logo=nvidia)](https://developer.nvidia.com/triton-inference-server) | | **Live Demo** | [![HF Space](https://huggingface.co/datasets/huggingface/badges/resolve/main/open-in-hf-spaces-md.svg)](https://huggingface.co/spaces/tech4humans/signature-detection) | Graphical interface with real-time inference
[![Gradio](https://img.shields.io/badge/Gradio-FF5722?style=flat&logo=Gradio&logoColor=white)](https://www.gradio.app/) [![Plotly](https://img.shields.io/badge/PLotly-000000?style=flat&logo=plotly&logoColor=white)](https://plotly.com/python/) | ## Dataset Components 1. **[Tobacco800](https://paperswithcode.com/dataset/tobacco-800):** - Subset of the Complex Document Image Processing (CDIP) Test Collection. - Contains scanned images of documents related to the tobacco industry, created by the Illinois Institute of Technology. 2. **[signatures-xc8up](https://universe.roboflow.com/roboflow-100/signatures-xc8up):** - Part of [Roboflow 100](https://rf100.org/), an Intel initiative. - Includes 368 annotated images for handwritten signature detection. Both were unified to provide a robust and diverse foundation for object detection tasks. ### **Dataset Details** - **Dataset Split:** - Training: 1,980 images (70%) - Validation: 420 images (15%) - Testing: 419 images (15%) - **Format:** COCO JSON - **License:** Apache 2.0 ### **Preprocessing and Augmentations** - **Preprocessing:** - Auto-Orientation: Applied - Resizing: 640x640 pixels - **Applied Augmentations:** - 90° Rotation: Clockwise, counterclockwise, and upside down - Rotation: Between -10° and +10° - Shearing: ±4° Horizontal, ±3° Vertical - Brightness: Between -8% and +8% - Exposure: Between -13% and +13% - Blur: Up to 1.1 pixels - Noise: Up to 0.97% of pixels These steps were implemented to enhance the model's robustness and generalization ability. --- ## **Model** This dataset was used to train the [yolov8s-signature-detector](https://huggingface.co/tech4humans/yolov8s-signature-detector) model for handwritten signature detection. For full technical details including performance metrics and architecture specifications, see the [Model Card](https://huggingface.co/tech4humans/yolov8s-signature-detector). --- ## **How to Use with the Datasets Library** This dataset is available on the Hugging Face Hub and can be loaded directly using the `datasets` library. ### **Installing the Library** ```bash pip install datasets ``` ### **Loading the Dataset** ```python from datasets import load_dataset dataset = load_dataset("samuellimabraz/signature-detection") # Visualyze the first sample print(dataset["train"][0]) ``` ### **Use Case Example** ```python import matplotlib.pyplot as plt import matplotlib.patches as patches import random from datasets import load_dataset dataset = load_dataset("samuellimabraz/signature-detection") # Randomly select a sample from the test set sample = dataset["test"][random.randint(0, len(dataset["test"]))] image = sample["image"] bboxes = sample["objects"]["bbox"] fig, ax = plt.subplots(1, figsize=(8, 8)) ax.imshow(image) for bbox in bboxes: x, y, width, height = bbox rect = patches.Rectangle( (x, y), width, height, linewidth=2, edgecolor="red", facecolor="none" ) ax.add_patch(rect) plt.axis("off") plt.show() ``` --- ## **License** The dataset is distributed under the [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) license. You are free to use, modify, and distribute the dataset as long as you comply with the license terms. --- ## **Contact and Information** For more information, questions, and contributions, please contact iag@tech4h.com.br.

📧 Email: iag@tech4h.com.br
🌐 Website: www.tech4.ai
💼 LinkedIn: Tech4Humans

## **Author**
Samuel Lima

Samuel Lima

AI Research Engineer

HuggingFace

Responsibilities in this Project

  • 🔬 Model development and training
  • 📊 Dataset analysis and processing
  • ⚙️ Hyperparameter optimization and performance evaluation
  • 📝 Technical documentation and model card
---

Developed with 💜 by Tech4Humans