Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
curl -X PUT "https://api.aspose.cloud/v3.0/pdf/eng.pdf/ocr?lang=rus,eng"
-H "accept: application/json"
-H "authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NzAzMDAzNzksImV4cCI6MTU3MDM4Njc3OSwiaXNzIjoiaHR0cHM6Ly9hcGkuYXNwb3NlLmNsb3VkIiwiYXVkIjpbImh0dHBzOi8vYXBpLmFzcG9zZS5jbG91ZC9yZXNvdXJjZXMiLCJhcGkucGxhdGZvcm0iLCJhcGkucHJvZHVjdHMiXSwiY2xpZW50X2lkIjoiOWYwYjI2ZDEtMGYxZi00MDNiLTliYTQtMTMzMzk4MGFjNmRiIiwiY2xpZW50X2lkU3J2SWQiOiIiLCJzY29wZSI6WyJhcGkucGxhdGZvcm0iLCJhcGkucHJvZHVjdHMiXX0.nc4L0UINWk0fBPUatKmr8yy0BN6WL6BTExUkPF57GO43Z4uOJnbhRgALdNRKgx-EeeSUHIagUplJQ3oBkqeQEZtKZbkzi--ZH8WCj-r83P56vLEIchhX8r47wwfeiReF5BBRHfM7FLXzMtvmPPscH7rEnTyonyjKOrcspBzjVlbz8ffLHyawKaIJ6E1SduBsJwPpITE-mh_p1KfWiCmXLmTuJDdbnKkcLkYA7UJsbiCeOe_ubo2lmWdqnhAWfLetnzFqhMGCl5-dyXur3B6fc-CB8d2SOG1GbmdhoyzWhLNhiNF9kzdh4G6GzvkEPOYw-TK9fxNpk2keUIFo8P5euA"
curl -X GET "https://api.aspose.cloud/v3.0/pdf/eng.pdf/text?LLX=0&LLY=0&URX=0&URY=0"
-H "accept: application/json"
-H "authorization: Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE1NzAzMDAzNzksImV4cCI6MTU3MDM4Njc3OSwiaXNzIjoiaHR0cHM6Ly9hcGkuYXNwb3NlLmNsb3VkIiwiYXVkIjpbImh0dHBzOi8vYXBpLmFzcG9zZS5jbG91ZC9yZXNvdXJjZXMiLCJhcGkucGxhdGZvcm0iLCJhcGkucHJvZHVjdHMiXSwiY2xpZW50X2lkIjoiOWYwYjI2ZDEtMGYxZi00MDNiLTliYTQtMTMzMzk4MGFjNmRiIiwiY2xpZW50X2lkU3J2SWQiOiIiLCJzY29wZSI6WyJhcGkucGxhdGZvcm0iLCJhcGkucHJvZHVjdHMiXX0.nc4L0UINWk0fBPUatKmr8yy0BN6WL6BTExUkPF57GO43Z4uOJnbhRgALdNRKgx-EeeSUHIagUplJQ3oBkqeQEZtKZbkzi--ZH8WCj-r83P56vLEIchhX8r47wwfeiReF5BBRHfM7FLXzMtvmPPscH7rEnTyonyjKOrcspBzjVlbz8ffLHyawKaIJ6E1SduBsJwPpITE-mh_p1KfWiCmXLmTuJDdbnKkcLkYA7UJsbiCeOe_ubo2lmWdqnhAWfLetnzFqhMGCl5-dyXur3B6fc-CB8d2SOG1GbmdhoyzWhLNhiNF9kzdh4G6GzvkEPOYw-TK9fxNpk2keUIFo8P5euA"
{
"TextOccurrences": {
"List": [
{
"Text": " ",
"Page": 1,
"Rect": {
"LLX": 540.1,
"LLY": 365.9500000095367,
"URX": 542.5950399913788,
"URY": 378.09399996757503
},
"HorizontalAlignment": "Left",
"VerticalAlignment": "Top",
"Position": {
"XIndent": 540.1,
"YIndent": 365.9500000095367
},
"BaselinePosition": {
"XIndent": 540.1,
"YIndent": 368.71
},
"TextState": {
"FontSize": 11.04,
"Font": "Calibri",
"ForegroundColor": {
"A": 255,
"R": 0,
"G": 0,
"B": 0
},
"BackgroundColor": null,
"FontStyle": "Regular"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.