mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
* fix(vis_result): support to download direct font file * chore: update files * feat(rapidocr): update vis * feat(rapidocr): update vis
13 lines
284 B
Python
13 lines
284 B
Python
# -*- encoding: utf-8 -*-
|
|
# @Author: SWHL
|
|
# @Contact: liekkaskono@163.com
|
|
from rapidocr import RapidOCR
|
|
|
|
engine = RapidOCR()
|
|
|
|
img_url = "https://img1.baidu.com/it/u=3619974146,1266987475&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=516"
|
|
result = engine(img_url)
|
|
print(result)
|
|
|
|
result.vis()
|