You're looking at a specific version of this model. Jump to the model overview.

jichengdu /got-ocr-2:7e73137a

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image_file
string
输入的图像文件路径
ocr_type
string (enum)
ocr

Options:

ocr, format

OCR 类型 ('ocr', 'format')
box
string
指定 OCR 的坐标框 (格式: '[x1,y1,x2,y2]')
color
string
指定 OCR 的颜色 (如 'red', 'blue')

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'anyOf': [{'type': 'string'}, {'format': 'uri', 'type': 'string'}]},
 'title': 'Output',
 'type': 'array',
 'x-cog-array-type': 'iterator'}