Skip to content

MODCT/CeleryMath

Repository files navigation

CeleryMath

Another LaTex OCR Project

Give me a star ⭐ if you like this project~

English | 简体中文

images/cmpreview.gif

Usage

  1. Download prebuilt files from Release.
  2. Extract celeryMah-weights-\*.zip and celeryMath-\*.zip
  3. Move Tokenizer.jsonceleryMathEncoder.onnxceleryMathDecoder.onnx to conf directory.
  4. Open celeryMath.exe and Click settings to config path.
  5. Have fun!

Build from source

Install python-poetry first

  1. clone repo and creat environment
git clone https://github.com/MODCT/CeleryMath.git
cd CeleryMath
poetry install
  1. build
poe build  // using default settings, details canbe found in build.py
poe build -j 32  // multithread

NOTE

We take NO Responsibility for the OCR results, you can open an issue when you have any errors, users should take care and check the results carefully themselves.

TODO

  • API
  • Desktop Deploy
  • ONNX
  • Compile to module
  • Reduce package size
  • Beam Search

Developers

Any suggestions and PRs are welcome.

Thanks

License

GPL-V3 Read More