avatar
Articles
98
Tags
16

la la la
Search

Python识别图片上的数学公式

Created2024-05-22|Updated2025-10-31
|Post View:

使用的是的:lukas-blecher/LaTeX-OCR: pix2tex: Using a ViT to convert images of equations into LaTeX code. (github.com)

其实很简单

Docker安装并运行

docker pull lukasblecher/pix2tex:api
docker run --rm -p 8502:8502 lukasblecher/pix2tex:api

然后访问http://127.0.0.8502/docs可以查看接口文档。

怎么安装Docker?之前的文章有写。

Python
cover of previous post
Previous Post
LeetCode 11. 盛最多水的容器
cover of next post
Next Post
通过编译源码的方式安装Python
Related Articles
cover
2024-05-21
通过编译源码的方式安装Python
cover
2020-11-27
pip换源
avatar
zhoupb
Articles
98
Tags
16
Recent Post
Claude Code最佳使用方式~
Claude Code最佳使用方式~2025-07-17
Golang
Golang2025-07-08
LeetCode 1436. 旅行终点站
LeetCode 1436. 旅行终点站2024-10-08
LeetCode 2734. 执行子串操作后的字典序最小字符串
LeetCode 2734. 执行子串操作后的字典序最小字符串2024-06-27
LeetCode 11. 盛最多水的容器
LeetCode 11. 盛最多水的容器2024-06-26
©2020 - 2025 By zhoupb
Framework Hexo|Theme Butterfly
湘ICP备19015306号-1
Local search