Giter Site home page Giter Site logo

harshaparida / textdetect Goto Github PK

View Code? Open in Web Editor NEW
4.0 2.0 0.0 1.7 MB

This is a Python script that leverages EasyOCR and OpenCV to detect and recognize text in images. It draws bounding boxes around the detected text and displays the result visually.

Python 100.00%

textdetect's Introduction

Text Detection and Recognition using EasyOCR and OpenCV

Example Output

Overview

This Python script utilizes EasyOCR and OpenCV to detect and recognize text in images. It draws bounding boxes around the detected text and displays the result visually.

Requirements

  • Python 3.x
  • OpenCV: For image processing tasks.
  • EasyOCR: For optical character recognition.
  • Matplotlib: For displaying the processed image.

You can install the required libraries using pip:

pip install opencv-python easyocr matplotlib

Usage

  1. Clone or Download: Obtain a copy of this repository.

  2. Navigate to Directory: Open your terminal and navigate to the directory containing the script.

  3. Specify Input Image: Replace 'test.png' with the path to your input image within the script.

  4. Run Script: Execute the script by running the following command:

    python text_detection_recognition.py

Output

The script will display the input image with bounding boxes drawn around the detected text. The recognized text will be overlaid on top of the image.

Customization

  • Threshold Adjustment: Modify the threshold variable to control the minimum confidence score for displaying text. Lower values show more text but may include false positives.

Example Output

Example Output


textdetect's People

Contributors

harshaparida avatar

Stargazers

 avatar Ashis Moharana avatar Mr_Holmes avatar  avatar

Watchers

Kostas Georgiou avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.