Skip to content

Commit

Permalink
fix: fixed error of visualizing det results
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Dec 9, 2024
1 parent 5052fe1 commit 8f47207
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/install_usage/api/VisRes.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,12 @@ def __call__(
img = cv2.imread(image_path)

result, elapse_list = engine(img)
boxes, txts, scores = list(zip(*result))
res = vis(img, boxes)
res = vis(img, result)
cv2.imwrite("only_vis_det.png", res)
```

![](https://github.com/RapidAI/RapidOCR/releases/download/v1.3.25/only_vis_det.png)

=== "可视化检测和识别"

```python linenums="1"
Expand Down

0 comments on commit 8f47207

Please sign in to comment.