Skip to content

amfoss/Image2Latex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿงฎ Image2LaTeX (Backend)

A simple Flask web app that converts mathematical equation images into LaTeX code using the Pix2Text model.

๐Ÿš€ Features

  • Provide an image containing a math equation
  • Convert it to LaTeX Code instantly

๐Ÿ› ๏ธ Setup Instructions

  1. Clone the repository

    git clone https://github.com/amfoss/Image2Latex.git  
    cd Image2Latex
    
  2. Create a virtual environment

    python3 -m venv venv  
    source venv/bin/activate   # on Linux or macOS  
    venv\Scripts\activate      # on Windows
    
  3. Install dependencies

    pip install -r requirements.txt
    
  4. Run the Flask app

    python3 main.py
    

The app will run at: http://127.0.0.1:5000

๐Ÿค Contributing

  1. Fork this repository and clone your forked repository

  2. Create a new branch

    git checkout -b feature/new
    
  3. Make your changes

  4. Commit and push

    git add .  
    git commit -m "feat: improved backend"  
    git push origin feature/new
    
  5. Open a Pull Request to the main repository on GitHub ๐Ÿš€

  • If you find bugs or have ideas for improvements, open a New Issue in the Issues tab and describe your suggestion or problem clearly.

๐Ÿง  Future Improvements

  • Better error handling for non-math images

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages