Skip to content

Latest commit

 

History

History
79 lines (67 loc) · 1.53 KB

README.md

File metadata and controls

79 lines (67 loc) · 1.53 KB

LaTeXer

Turn your handwritten equations into LaTeX!


Table of Contents


Description

Application to help you turn your handwritten mathmatical equations into inline LaTeX code.

Testing

  1. Clone and configure your environment
git clone https://github.com/BoulaZa5/latexer
cd latexer
sudo bash ./scripts/configure_latexer.sh
  1. Try the command line interface
python3 ./src/latexercli.py --image ./data/1.jpg
  1. Try the JSON request API
python3 ./src/latexerapi.py
firefox http://127.0.0.1:5000/latexer?image=./data/1.jpg
  1. Try the Web Application

    You need to have php, nodejs installed on your machine

    cd beta
    php -S localhost:8000

    open another terminal in the master branch

    cd latexConverter
    node server.js

    open another terminal in the master branch

    cd src/latexer/
    export FLASK_APP=latexerapi.py
    flask run

    in your browser

    http://localhost:8000

To Do

  • Image Preprocessing
  • OCR
  • OCR output cleaner
  • String equation to LaTeX
  • String equation parser
  • Parsetree to LaTeX
  • CLI
  • API
  • Web Application
  • Desktop Application
  • Mobile Application