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 |
- 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
# 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
This is currently deployed in HuggingFace Spaces
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.
You should be able to find the models/detector-model.pt
file here in google drive. If not, please email me.