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

cudanexus /ocr-surya:7ab5bede

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
string
Upload PDF or Image
page_number
integer
1
Page Number
languages_choices
None
English
Languages
languages_input
string
English
Languages (comma-separated list)
action
None
Run Text Detection
Action

Output schema

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

Schema
{'properties': {'Status': {'title': 'Status', 'type': 'string'},
                'image': {'format': 'uri', 'title': 'Image', 'type': 'string'},
                'text_file': {'format': 'uri',
                              'title': 'Text File',
                              'type': 'string'}},
 'required': ['image'],
 'title': 'Output',
 'type': 'object'}