From 720795e4780f62cc09cb89f40cc29125dfe3c26a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E6=B4=8B=E4=B8=89=E6=B4=8B?= <1258009915@qq.com> Date: Fri, 10 May 2024 03:48:31 +0000 Subject: [PATCH] update --- README.md | 6 +++--- assets/README_zh.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 360d181..6ef4783 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ TexTeller was trained with 7.5M image-formula pairs (dataset available [here](ht * 📮[2024-04-12] Trained a **formula detection model**, thereby enhancing the capability to detect and recognize formulas in entire documents (whole-image inference)! -* 📮[2024-05-02] Support **mixed Chinese English formula recognition**. +* 📮[2024-05-02] Support mixed Chinese English formula recognition(Beta). ## 🔑 Prerequisites @@ -45,7 +45,7 @@ python=3.10 git clone https://github.com/OleehyO/TexTeller ``` -2. [Installing pytorch](https://pytorch.org/get-started/locally/#start-locally) +2. [Install pytorch](https://pytorch.org/get-started/locally/#start-locally) 3. Install the project's dependencies: @@ -60,7 +60,7 @@ python=3.10 # use --inference-mode option to enable GPU(cuda or mps) inference #+e.g. python inference.py -img "./img.jpg" --inference-mode cuda # use -mix option to enable mixed text and formula recognition - #+e.g. python inferene.py -img "./img.jpg" -mix -lang "en" + #+e.g. python inference.py -img "./img.jpg" -mix -lang "en" ``` > The first time you run it, the required checkpoints will be downloaded from Hugging Face diff --git a/assets/README_zh.md b/assets/README_zh.md index e8da0bd..9432132 100644 --- a/assets/README_zh.md +++ b/assets/README_zh.md @@ -28,7 +28,7 @@ TexTeller用了7.5M的图片-公式对进行训练(数据集可以在[这里](ht > * 📮[2024-04-12] 训练了**公式检测模型**,从而增加了对整个文档进行公式检测+公式识别(整图推理)的功能! -* 📮[2024-05-02] 支持**中英文-公式混合识别**。 +* 📮[2024-05-02] 支持中英文-公式混合识别(Beta)。 ## 🔑 前置条件 @@ -61,7 +61,7 @@ python=3.10 # use --inference-mode option to enable GPU(cuda or mps) inference #+e.g. python inference.py -img "./img.jpg" --inference-mode cuda # use -mix option to enable mixed text and formula recognition - #+e.g. python inferene.py -img "./img.jpg" -mix -lang "en" + #+e.g. python inference.py -img "./img.jpg" -mix -lang "en" ``` > 第一次运行时会在Hugging Face上下载所需要的权重