Text Generation
Image Generation
Model Training
Content Moderation
Authentication
Server Status
Image Analysis
Image Text Detection
Image Analysis
Image Text Detection
Identifying and extracting text from images using machine learning
POST
/
api
/
ai
/
images
/
v2
/
image-text-detection
curl --request POST \
--url https://api.worqhat.com/api/ai/images/v2/image-text-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'output_type=<string>'
{
"data": {
"lines": [
{
"detected_text": "veniam in proident laboris id",
"confidence": -30895365.34443526,
"geometry": {
"bounding_box": {
"height": -31206125.179928318,
"left": -96637320.12569612,
"top": 72105085.85295844,
"width": -21593577.009167224
},
"polygon": [
{
"x": 63376361.36601299,
"y": -77803673.34713829
},
{
"x": -74521114.12606373,
"y": -26135173.209431574
}
]
}
},
{
"detected_text": "Excepteur pariatur ullamco Duis consequat",
"confidence": -4261648,
"geometry": {
"bounding_box": {
"height": -28190953.19340624,
"left": 89239545.47935206,
"top": -71673093.96241266,
"width": 32407390.979280755
},
"polygon": [
{
"x": -31253958.583303064,
"y": -84851443.30001076
},
{
"x": -84473196.48598465,
"y": 89028023.30285352
},
{
"x": -27443724.96811551,
"y": -48401381.156853415
}
]
}
},
{
"detected_text": "velit magna nisi proident cupidatat",
"confidence": 8906688.849750921,
"geometry": {
"bounding_box": {
"height": 75834347.91818768,
"left": -11821339.03140232,
"top": -56033619.35002953,
"width": 76017443.26157764
},
"polygon": [
{
"x": -77358190.00776175,
"y": 14847286.609454796
},
{
"x": -67689260.22278014,
"y": 77141078.64575005
},
{
"x": -67744233.95401081,
"y": 57326317.07390183
}
]
}
}
],
"words": [
{
"detected_text": "id",
"confidence": -39853875,
"geometry": {
"bounding_box": {
"height": -45470979.08876139,
"left": -47060244.255420305,
"top": 71232768.62651542,
"width": -8867599.416114032
},
"polygon": [
{
"x": 46436426.86077446,
"y": -55724084.958356544
},
{
"x": -64429934.47571213,
"y": -78355501.72030827
},
{
"x": -85404678.74940693,
"y": 54295701.94300091
}
]
}
},
{
"detected_text": "do",
"confidence": -92029197.6418579,
"geometry": {
"bounding_box": {
"height": 91937297.73557901,
"left": 8812557.612716526,
"top": -48544210.269565366,
"width": -59430361.40269524
},
"polygon": [
{
"x": -9339996.09998338,
"y": 10790946.627500102
},
{
"x": 22327456.373290613,
"y": -79893445.13945813
},
{
"x": 61168081.628799826,
"y": -74684930.63338909
}
]
}
}
]
},
"processingTime": 62100747.350598514,
"processingId": "in quis consectetur aute",
"processingCount": 89795562
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Response
200
application/json
OK
curl --request POST \
--url https://api.worqhat.com/api/ai/images/v2/image-text-detection \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form 'output_type=<string>'
{
"data": {
"lines": [
{
"detected_text": "veniam in proident laboris id",
"confidence": -30895365.34443526,
"geometry": {
"bounding_box": {
"height": -31206125.179928318,
"left": -96637320.12569612,
"top": 72105085.85295844,
"width": -21593577.009167224
},
"polygon": [
{
"x": 63376361.36601299,
"y": -77803673.34713829
},
{
"x": -74521114.12606373,
"y": -26135173.209431574
}
]
}
},
{
"detected_text": "Excepteur pariatur ullamco Duis consequat",
"confidence": -4261648,
"geometry": {
"bounding_box": {
"height": -28190953.19340624,
"left": 89239545.47935206,
"top": -71673093.96241266,
"width": 32407390.979280755
},
"polygon": [
{
"x": -31253958.583303064,
"y": -84851443.30001076
},
{
"x": -84473196.48598465,
"y": 89028023.30285352
},
{
"x": -27443724.96811551,
"y": -48401381.156853415
}
]
}
},
{
"detected_text": "velit magna nisi proident cupidatat",
"confidence": 8906688.849750921,
"geometry": {
"bounding_box": {
"height": 75834347.91818768,
"left": -11821339.03140232,
"top": -56033619.35002953,
"width": 76017443.26157764
},
"polygon": [
{
"x": -77358190.00776175,
"y": 14847286.609454796
},
{
"x": -67689260.22278014,
"y": 77141078.64575005
},
{
"x": -67744233.95401081,
"y": 57326317.07390183
}
]
}
}
],
"words": [
{
"detected_text": "id",
"confidence": -39853875,
"geometry": {
"bounding_box": {
"height": -45470979.08876139,
"left": -47060244.255420305,
"top": 71232768.62651542,
"width": -8867599.416114032
},
"polygon": [
{
"x": 46436426.86077446,
"y": -55724084.958356544
},
{
"x": -64429934.47571213,
"y": -78355501.72030827
},
{
"x": -85404678.74940693,
"y": 54295701.94300091
}
]
}
},
{
"detected_text": "do",
"confidence": -92029197.6418579,
"geometry": {
"bounding_box": {
"height": 91937297.73557901,
"left": 8812557.612716526,
"top": -48544210.269565366,
"width": -59430361.40269524
},
"polygon": [
{
"x": -9339996.09998338,
"y": 10790946.627500102
},
{
"x": 22327456.373290613,
"y": -79893445.13945813
},
{
"x": 61168081.628799826,
"y": -74684930.63338909
}
]
}
}
]
},
"processingTime": 62100747.350598514,
"processingId": "in quis consectetur aute",
"processingCount": 89795562
}