{"openapi":"3.2.0","info":{"title":"Text Recognition API","description":"Advanced solution for Optical Character Recognition (OCR) with industry-leading accuracy. See: https://api4.ai/apis/ocr","version":"1.0.0"},"servers":[{"url":"https://pnlfa.jojapi.net"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/results":{"post":{"operationId":"post_results","summary":"Recognize","description":"Recognize text in image or PDF document and get results.","parameters":[{"name":"algo","in":"query","description":"Query parameter \"algo\" is optional and may be used to select one of the algorithms to perform OCR. By default the service uses \"simple-text\".\n\nAvailable algorithms: \"simple-text\" (default; extract the whole text present in a picture/page), \"simple-words\" (find each word separately).","required":false,"schema":{"type":"string","title":"Algorithm","example":"simple-text"}}],"requestBody":{"required":false,"content":{"application/x-www-form-urlencoded":{"schema":{"type":"object","properties":{"image":{"type":"string","title":"Binary image or PDF document","description":"Binary file representing an image or document. If you would prefer to provide a URL to the image or document instead, use the \"URL\" form parameter."},"url":{"type":"string","title":"URL to image or PDF document","example":"https://static.api4.ai/samples/ocr-1.png","description":"URL to a public resource (such as an image or PDF document). If you would like to pass an image or document as a binary file, then use the \"image\" form parameter instead."}}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-JoJAPI-Key","description":"Your JoJ API key."}}}}