Skip to content

you can extract the text from image to text file

Notifications You must be signed in to change notification settings

xshbi/txt_extrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

txt_extrator

you can extract the text from image to text file

Project Name

Extration of text from image

Overview

you can extract the text from image to text file.

Prerequisites

  • Python 3.x installed
  • Git installed

Setting up a Virtual Environment

  1. Clone the repository to your local machine:

    git clone https://github.com/xshbi/txt_extrator.git
    
  2. Navigate to the project directory:

    cd txt_extrator
  3. Create a virtual environment. Run the following command based on your operating system:

    • For Windows:

      python -m venv venv
    • For macOS/Linux:

      python3 -m venv venv
  4. Activate the virtual environment:

    • For Windows:

      .\venv\Scripts\activate
    • For macOS/Linux:

      source venv/bin/activate

    Your command prompt should now show the virtual environment name, indicating that it's active.

Installing Dependencies

  1. Install Tesseract:

  2. Install Python packages:

    pip install -r requirements.txt

    This will install the necessary Python packages, including pytesseract and opencv.

Running the Project

Ensure that your virtual environment is activated. If not, activate it using the appropriate command mentioned in the "Setting up a Virtual Environment" section.

Run your project:

python app.py

About

you can extract the text from image to text file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages