First, install python and then call it directly with the command
Article directory
1. Installation steps
也可以安装精简版的python
Prepare the Python environment. For the steps to install python, please see my previous blog post:
Anaconda latest version 2023 installation tutorial Spyder installation tutorial
-
Make sure your computer has Python 3.x installed.
Install the pip tool, which is Python's package management tool. -
Open the command line terminal (Windows users can use PowerShell or CMD), directly open it with win+R, enter powershell or cmd
-
Run the following commands in order to install LaTeXOCR
pip install torch torchvision torchaudio
pip install pix2tex[gui]
pip install latexocr
完成上述步骤后,即可安装完成,下次使用时直接输入latexocr即可调用
2. Usage steps
- Click snip (Alt + S) to select the formula
- Waiting for recognition
- Just copy the latex code above the retry box into Mathtype)