You're looking at a specific version of this model. Jump to the model overview.
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 |
string
(enum)
|
English
Options: Afrikaans, Albanian, Amharic, Arabic, Armenian, Assamese, Azerbaijani, Basque, Belarusian, Bengali, Bosnian, Breton, Bulgarian, Burmese, Catalan, Chinese, Croatian, Czech, Danish, Dutch, English, Esperanto, Estonian, Finnish, French, Galician, Georgian, German, Greek, Gujarati, Hausa, Hebrew, Hindi, Hungarian, Icelandic, Indonesian, Irish, Italian, Japanese, Javanese, Kannada, Kazakh, Khmer, Korean, Kurdish, Kyrgyz, Lao, Latin, Latvian, Lithuanian, Macedonian, Malagasy, Malay, Malayalam, Marathi, Mongolian, Nepali, Norwegian, Oriya, Oromo, Pashto, Persian, Polish, Portuguese, Punjabi, Romanian, Russian, Sanskrit, Scottish Gaelic, Serbian, Sindhi, Sinhala, Slovak, Slovenian, Somali, Spanish, Sundanese, Swahili, Swedish, Tagalog, Tamil, Telugu, Thai, Turkish, Ukrainian, Urdu, Uyghur, Uzbek, Vietnamese, Welsh, Western Frisian, Xhosa, Yiddish |
Languages
|
languages_input |
string
|
English
|
Languages (comma-separated list)
|
action |
string
(enum)
|
Run OCR
Options: Run Text Detection, Run OCR |
Action
|
Output schema
The shape of the response you’ll get when you run this model with an API.
{'properties': {'image': {'format': 'uri', 'title': 'Image', 'type': 'string'},
'jsona': {'format': 'uri', 'title': 'Jsona', 'type': 'string'},
'text': {'title': 'Text', 'type': 'string'}},
'required': ['image', 'jsona'],
'title': 'Output',
'type': 'object'}