mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-11 05:20:49 +08:00
13 lines
300 B
Python
13 lines
300 B
Python
# -*- encoding: utf-8 -*-
|
|
# @Author: SWHL
|
|
# @Contact: liekkaskono@163.com
|
|
from rapidocr import RapidOCR
|
|
|
|
engine = RapidOCR()
|
|
|
|
img_url = "https://github.com/RapidAI/RapidOCR/blob/main/python/tests/test_files/ch_en_num.jpg?raw=true"
|
|
result = engine(img_url)
|
|
print(result)
|
|
|
|
result.vis("vis_result.jpg")
|