Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 855 Bytes

File metadata and controls

32 lines (20 loc) · 855 Bytes

tools

Global listener in pix2tex

The pix2tex works great in latex ocr, the problem is the hotkey applied only valid when the gui is focused. This tool mainly modify the gui.py to result better experience.

Requirement

  1. package keyboard:
pip install keyboard
  1. latexocr

https://github.com/lukas-blecher/LaTeX-OCR

Procedure

  1. Identify the location of pix2tex

image

  1. Replace gui.py with given file
  2. Run the result with cmd:
python -m pix2tex.__main__ --gui

or modifying the .bat file to match your environemnt