Ocr-Using-Easy-Ocr / README (1).md
Shabdobhedi's picture
Update README
cd3b7ff verified

A newer version of the Streamlit SDK is available: 1.41.1

Upgrade

OCR and Document Search Web Application Prototype

Introduction

This project is a web-based prototype designed to perform Optical Character Recognition (OCR) on images containing text in both Hindi and English. The application allows users to upload an image, extract the text, and search for specific keywords within the extracted content. The goal is to demonstrate the functionality of OCR technology in a user-friendly web application.

Technologies

The following technologies and libraries were used in this project:

  • Python: Programming language used for development.
  • EasyOCR: Library for performing OCR on images.
  • Streamlit: Framework for building the web application interface.
  • Pillow: Library for image processing.

Requirements

To run this project, you will need the following libraries installed:

easyocr
streamlit
Pillow

Project Structure


/OCR-Document-Search-App
β”‚
β”œβ”€β”€ app.py              # Main application file
β”œβ”€β”€ ocr_utils.py        # Utility functions for OCR processing
└── requirements.txt     # List of required libraries

How to Run the Application

1.Clone the Repository:

git clone <repository-url>

2.Navigate to the Project Directory:

cd OCR-Document-Search-App

3.Install Dependencies:

pip install -r requirements.txt

4.Run the Application:

streamlit run app.py

5.Access the Application:

Open your web browser and go to http://localhost:8501.

##Features

##Image Upload: Users can upload images in JPG, JPEG, or PNG format. Text Extraction: The application uses EasyOCR to extract text from the uploaded image. Keyword Search: Users can enter keywords to search within the extracted text, with matching sections highlighted.

Features

  • Image Upload: Users can upload images in JPG, JPEG, or PNG format.
  • Text Extraction: The application uses EasyOCR to extract text from the uploaded image.
  • Keyword Search: Users can enter keywords to search within the extracted text, with matching sections highlighted.

Deployment

The application can be deployed on platforms such as Streamlit Sharing or Hugging Face Spaces. Follow their instructions to make your application accessible via a public URL.

Live URL

Conclusion

This project demonstrates how OCR technology can be integrated into a web application, providing an efficient tool for extracting and searching text from images.

Demo

Insert gif or link to demo