A newer version of the Gradio SDK is available:
5.7.1
metadata
title: OCR Demo
emoji: π
colorFrom: green
colorTo: purple
sdk: gradio
sdk_version: 4.43.0
app_file: app.py
pinned: false
license: apache-2.0
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
OCR Web Application
This project is an Optical Character Recognition (OCR) application built using PaddleOCR and Gradio. It detects both handwritten and printed text from images, identifies specific 'field', 'value' pairs from documents, and provides two downloadable JSON files.
Features
- Detects and labels text in images.
- Outputs bounding boxes around detected text.
- Generates two JSON files: one with all detected text and bounding boxes, and another with identified 'field', 'value' pairs.
Installation
You can run this project on Hugging Face Spaces. No local installation is required.
Usage
- Upload an image containing text.
- The application will return an image with bounding boxes and labels.
- Download the results as JSON files.
License
MIT License