镜像社区
部署GPU实例
模型API
文档中心
常见问题(FAQ)
深度学习
RapidOCR_API_Torch_GPU
基于 ONNXRuntime、OpenVINO、PaddlePaddle 和 PyTorch 的超棒 OCR 多编程语言工具包。
0/小时
v0.1

RapidOCRAPI_Torch_GPU

该镜像为rapidocr_api部署的GPU版本。采用的是PyTorch GPU版本作为推理引擎。

镜像使用教程

1、选择RapidOCR_Torch_GPU的云端镜像创建实例

2、然后在这里选择显卡并部署,推荐选择4090

image.png

3、点击开机并启动

启动.png

4、点击登录

image.png

5、进入镜像里面,执行rapidocr_api

image.png

6.、查看启动镜像的外网ip:

image.png

客户端使用方法

⚠️注意:下面的IP地址需要更换为启动该实例后的外网IP

💻 命令行使用:

curl -F image_file=@1.png http://0.0.0.0:9003/ocr

🐍 Python脚本使用:

import requests

url = 'http://localhost:9003/ocr'
img_path = 'tests/test_files/ch_en_num.jpg'

with open(img_path, 'rb') as f:
    file_dict = {'image_file': (img_path, f, 'image/png')}
    response = requests.post(url, files=file_dict, timeout=60)

print(response.json())
镜像信息
@SWHL
已使用
2
镜像大小30GB
最近编辑2025-08-25
支持卡型
RTX40系
+1
框架版本
PyTorch-2.7.1
CUDA版本
12.6
应用
JupyterLab: 8888
自定义开放端口
9003
+1
版本
v0.1
2025-08-27
PyTorch:2.7.1 | CUDA:12.6 | 大小:30.00GB