Skip to content

Turn your handwritten equations into LaTeX

License

Notifications You must be signed in to change notification settings

MennaAbdallah/latexer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Turn your handwritten equations into LaTeX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.0%
  • CSS 28.2%
  • PHP 11.8%
  • JavaScript 1.9%
  • Other 0.1%