Skip to content

ImageToTextOCR is a repository for Optical Character Recognition (OCR) applications that allow users to extract text from images. It offers the resources to help quickly convert images to text.

Notifications You must be signed in to change notification settings

orbitalmartian/ImageToTextOCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCR Website

This is a simple website that allows users to upload or drag and drop an image, and extract the text from the image using OCR (Optical Character Recognition).

Prerequisites

  • Python 3.6 or higher
  • Flask
  • PIL (Python Imaging Library)
  • pytesseract

Installation

  1. Clone the repository:
git clone https://github.com/orbitalmartian/ImageToTextOCR
  1. Navigate to the project directory:
cd ImageToTextOCR
  1. Install the required libraries:
pip install -r requirements.txt

Usage

  1. Run the application:
python main.py
  1. Open your web browser and go to http://localhost:5000.

  2. Choose a file or drag and drop an image into the designated area.

  3. Click the "Extract Text" button to extract the text from the image.

Styling

To add your own styling to the website, create a static/css/style.css file and include it in the HTML file:

<link rel="stylesheet" type="text/css" href="static/css/style.css">

Future Improvements

  • Allow users to download the extracted text as a text file.
  • Add the option to select the language of the text in the image.

About

ImageToTextOCR is a repository for Optical Character Recognition (OCR) applications that allow users to extract text from images. It offers the resources to help quickly convert images to text.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published