diff --git a/README.md b/README.md index fb2b5a2..72f00b5 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,8 @@ python=3.10 python inference.py -img "/path/to/image.{jpg,png}" # 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 ``` > [!NOTE] diff --git a/assets/README_zh.md b/assets/README_zh.md index 0f4b560..c0243fd 100644 --- a/assets/README_zh.md +++ b/assets/README_zh.md @@ -58,9 +58,11 @@ python=3.10 4. 进入 `TexTeller/src`目录,在终端运行以下命令进行推理: ```bash - python inference.py -img "/path/to/image.{jpg,png}" - # use --inference-mode option to enable GPU(cuda or mps) inference - #+e.g. python inference.py -img "./img.jpg" --inference-mode cuda + python inference.py -img "/path/to/image.{jpg,png}" + # 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 ``` > [!NOTE]