Hoff97 / detext

Simple app to detect math symbols and get their latex code

Home Page:https://detext.haskai.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status codecov

Whats this?

This is a simple app for detecting and classifying math symbols. It displays the class of the input of the user and further information (like the latex code) for it.

Its run at https://detext.haskai.de

Running

Start the server

 $ cd server
 $ pip install -r requirements.txt
 $ python manage.py migrate        #This can take a while on the first run
 $ python manage.py createsuperuser --email admin@example.com --username admin
 $ python manage.py runserver

Then start the client:

 $ cd client
 $ npm install
 $ npm run dev

And tex2svg (creates SVG's from latex codes)

 $ docker run -p 0.0.0.0:9000:8000 hoff97/tex2svg

Alternatively, you can run

 $ docker-compose -f docker-compose-dev.yml up

About

Simple app to detect math symbols and get their latex code

https://detext.haskai.de


Languages

Language:Python 45.5%Language:TypeScript 44.0%Language:HTML 6.7%Language:JavaScript 1.3%Language:CSS 1.0%Language:Shell 0.8%Language:Dockerfile 0.7%