Skip to content

Mathpix alternative Convert images to text using Pix2Text OCR and PyQt5 GUI with screen snap feature.

Notifications You must be signed in to change notification settings

mohammadabidhafiz1294/Mathpix-OCR-Alternative

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mathpix Alternative for generate math equation in latex form with Pix2Text and GUI using PyQt5

Convert images to text using Pix2Text OCR and PyQt5 GUI with screen snap feature (Now tested in Linux).X11 display manager supported.

Introduction

This project aims to provide a user-friendly GUI for Optical Character Recognition (OCR) using the Pix2Text package. The GUI is built using PyQt5 and includes a screen capture feature to extract text from images.Thanks to Breezedeus.

Features

GUI Image

  • Pix2Text OCR integration
  • PyQt5 GUI with intuitive interface
  • Screen capture capability
  • Linux compatibility
  • maim package integration (GNU compatibility)
  • Copy button the output as a text
  • Latex Generate compatibility. Latex generate

Installation

  1. REQUIREMENTS:

    1. Python 3.11
    2. Install the required dependencies:
        pip install pix2text PyQt5
    1. Maim Installation-(differ on linux package manager) for apt-get:
        sudo apt install maim
  2. Clone the repository:

git clone https://github.com/
  1. Installation of Requirements.txt:
pip install -r requirements.txt

Usage

  1. Run the GUI application:

        python linux-main.py
  2. Use the "Capture and Generate" button to take a screenshot of the desired area.

    Generated text

  3. Click the "Copy Output" button for copying the output text/math-latex.

    Copied Notification

License

This repository is licensed under the MIT License. See the LICENSE file for more information.

Contribution

This repository is only run in the linux distribution.You can contribute to this repository by following CONTRIBUTING.md.

About

Mathpix alternative Convert images to text using Pix2Text OCR and PyQt5 GUI with screen snap feature.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages