File tree Expand file tree Collapse file tree 1 file changed +17
-13
lines changed
docs/install_usage/rapidocr Expand file tree Collapse file tree 1 file changed +17
-13
lines changed Original file line number Diff line number Diff line change @@ -103,9 +103,11 @@ result.vis()
103103
104104 其他参数传入方式,基本就是参考`config.yaml`,关键字之间用点分割,直接写就可以了。例如:
105105
106- <div class="grid" markdown>
106+ <div class =" grid cards " markdown >
107107
108- === "` config.yaml ` "
108+ - __ ` config.yaml ` __
109+
110+ ---
109111
110112 ```yaml linenums="1"
111113 Global:
@@ -118,17 +120,19 @@ result.vis()
118120 gpu_id: 0
119121 ```
120122
121- ``` title="对应参数写法"
122- ```python linenums="1"
123- {
124- "Global.with_openvino": True,
125- "Global.use_det": True,
126- "EngineConfig.torch.use_cuda", True, # 使用torch GPU版推理
127- "EngineConfig.torch.gpu_id": 1, # 指定GPU id
128- }
129- ```
130-
131- ```
123+ - __ 对应参数写法__
124+
125+ ---
126+
127+ ``` python linenums="1"
128+ {
129+ " Global.with_openvino" : True ,
130+ " Global.use_det" : True ,
131+ " EngineConfig.torch.use_cuda" , True , # 使用torch GPU版推理
132+ " EngineConfig.torch.gpu_id" : 1 , # 指定GPU id
133+ }
134+ ```
135+
132136 < / div>
133137
134138# ### 输出
You can’t perform that action at this time.
0 commit comments