Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 985 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 985 Bytes

Text Detection and Recognition with Bounding Boxes

This Python script demonstrates how to perform text detection and recognition on images using EasyOCR and OpenCV. It draws bounding boxes around detected text regions and displays the images with the recognized text.

Requirements

  • Python 3.x
  • easyocr library (pip install easyocr)
  • opencv-python library (pip install opencv-python)
  • matplotlib library (pip install matplotlib)

Usage

  1. Install the required Python libraries using the provided commands:

    pip install easyocr opencv-python matplotlib
  2. Clone or download this repository to your local machine.

  3. Navigate to the directory containing the script text_detection_recognition.py.

  4. Replace the image variable with the list of image paths you want to process.

  5. Set the threshold variable to adjust the confidence threshold for accurate text recognition.

  6. Run the script: