breezedeus commited on
Commit
da28373
1 Parent(s): d29919c

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +13 -2
README.md CHANGED
@@ -43,7 +43,18 @@ The resulting MFR model can be used to convert images of mathematical formulas i
43
  - Pix2Text Online Free Service: [p2t.breezedeus.com](https://p2t.breezedeus.com/) ;
44
  - Pix2Text More: [breezedeus.com/pix2text](https://breezedeus.com/pix2text) ;
45
 
46
-
 
 
 
 
 
 
 
 
 
 
 
47
 
48
  ## Model Use / 模型使用
49
 
@@ -54,7 +65,7 @@ This method doesn't need to install pix2text, but can only recognize pure formul
54
  这种方法无需安装 pix2text,但只能识别纯公式图片。
55
 
56
  ```python
57
- #! pip install transformers>=4.37.0 pillow optimum
58
  from PIL import Image
59
  from transformers import TrOCRProcessor
60
  from optimum.onnxruntime import ORTModelForVision2Seq
 
43
  - Pix2Text Online Free Service: [p2t.breezedeus.com](https://p2t.breezedeus.com/) ;
44
  - Pix2Text More: [breezedeus.com/pix2text](https://breezedeus.com/pix2text) ;
45
 
46
+
47
+ ## Examples / 示例
48
+
49
+ ### Printed Math Formula Images / 印刷体公式图片
50
+
51
+ ![printed-formula examples](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9341931a-53f0-48e1-b026-0f1ad17b457c%2F26046b54-ae87-4faa-ab18-9acda74fd920%2FUntitled.jpeg?table=block&id=f422e590-4465-4648-8edd-ce2e1b00d959)
52
+
53
+
54
+ ### Handwritten Math Formula Images / 印刷体公式图片
55
+
56
+ ![handwritten-formula examples](https://www.notion.so/image/https%3A%2F%2Fprod-files-secure.s3.us-west-2.amazonaws.com%2F9341931a-53f0-48e1-b026-0f1ad17b457c%2Fcdbebff6-5b01-4e2a-a6f0-250da5cc39fe%2FUntitled.jpeg?table=block&id=e1029b05-25c5-40f0-9c3e-505744c0afa5)
57
+
58
 
59
  ## Model Use / 模型使用
60
 
 
65
  这种方法无需安装 pix2text,但只能识别纯公式图片。
66
 
67
  ```python
68
+ #! pip install transformers>=4.37.0 pillow optimum[onnxruntime]
69
  from PIL import Image
70
  from transformers import TrOCRProcessor
71
  from optimum.onnxruntime import ORTModelForVision2Seq