Spaces:
Runtime error
Runtime error
A newer version of the Gradio SDK is available:
5.42.0
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
Workflow
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.