Skip to content

Mohamed-Abusaif/EasyOCR---Use-Case-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

This is a Simple OCR Text Detection System (and Filtering for the photos) Using Python

Getting Started

  • These instructions will get you a copy of the project up and running on your local machine for text detection and filtering purposes.
  • The project consists of two separate files:
    • main.py: contains the model with the interface to use it
    • cleanimages.py: script to filter the photos based on specific criteria
  • Both files are independat, you can use cleanimage.py to filter the photos you want to put in the input folder
  • Then you use the model to detect the text on the photos you input

Prerequisites

  • Python 3: Ensure Python 3 is installed on your system. You can download and install Python from the official Python website.
  • Virtual Environment: It's recommended to use a virtual environment to manage project dependencies.
  • You can create a virtual environment using venv or virtualenv.
  • OpenCV: OpenCV (Open Source Computer Vision Library) is a library of programming functions mainly aimed at real-time computer vision. You can install it using
    pip: pip install opencv-python.
  • EasyOCR: EasyOCR is an easy-to-use optical character recognition (OCR) tool. You can install it using pip:
    pip install easyocr.
  • NumPy: NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices, along with a collection of mathematical functions to operate on these arrays. You can install it using pip:
    pip install numpy.

Installing

  • Clone the repository to your local machine using git (ssh - http- zip file) as you want.
  • Navigate to the project directory
  • Create and activate a virtual environment:
    python -m venv venv
    source venv/bin/activate
    venv\Scripts\activate
  • Install the required dependencies:
    pip install -r requirements.txt
  • Run the Python scripts to perform text detection and filtering.

Built With

  • Python programming language: Python is a high-level, interpreted programming language known for its simplicity and readability.

  • OpenCV: OpenCV is a library of programming functions mainly aimed at real-time computer vision.

  • EasyOCR: EasyOCR is an easy-to-use optical character recognition (OCR) tool.

  • NumPy: NumPy is a library for the Python programming language, adding support for large, multi-dimensional arrays and matrices.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages