Oyeesh Mann Singh
Embedded hugging face space in README
ce3be30

A newer version of the Gradio SDK is available: 5.42.0

Upgrade
metadata
title: Checkbox and Text Detector
emoji: πŸ†
colorFrom: red
colorTo: yellow
sdk: gradio
sdk_version: 4.36.1
app_file: app.py
python_version: 3.11.2
pinned: false

Checkbox Detection and Text Extraction

Introduction

  • This tool helps you to extract the checked text (The text next to the checked box).
  • It is built on top of Checkbox-Detection by LynnHaDo.
  • It uses the Euclidean Distance to extract the checked text following the result from checkbox detection model and the OCR Checkbox Text Extraction

Workflow

Checkbox Detection and corresponding text extraction

Installation

# Create virtual environment
python3.11 -m venv .venv

# Activate the virtual environment
source .venv/bin/activate

# Install the requirements from requirements.txt
pip install -r requirements.txt

# Install poppler-utils
sudo apt-get install poppler-utils

Demo

This is currently deployed in HuggingFace Spaces

Note

Please use the sample image provided in images folder for testing purpose. You might want to modify the OCR parameters for your image to get more accurate later.

References