Skip to content

oya163/checkbox-text-extraction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title emoji colorFrom colorTo sdk sdk_version app_file python_version pinned
Checkbox and Text Detector
🏆
red
yellow
gradio
4.36.1
app.py
3.11.2
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 libpoppler-cpp-dev

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

About

Extracts the text next to the detected checked checkboxes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published