Custom OCR
OCR Custom Text Extraction API
This custom text extraction API is a Datasaur feature which allows creating a custom OCR project using your own text extraction API.
Request from Datasaur
POST https://custom-text-extractor.com/text-extraction/example
Request headers
Accept
application/json, text/plain
Form Data Parameters
upload
Expected API Response
Datasaur can process the response differently based on the Content-Type
header returned from the API response.
Text response (Content-Type: text/plain)
Content-Type: text/plain)
JSON response (Content-Type: application/json
)
Content-Type: application/json
)Datasaur uses Importable format to process the API response.
Apply custom API
Upload the PDF or images through Project Creation Wizard
In Step 2,
Select +Add new API... as the OCR method
Put your API name, API URL, and the secret
After clicking Save, the custom API will be saved to the list, and you can choose it as the OCR method
The interface will appear side-by-side with the PDF on the left and the transcription on the right
ASR Custom Text Extraction API
This custom text extraction API is a Datasaur feature which allows creating a custom Audio project using your own text extraction API.
Request from Datasaur
POST https://custom-text-extractor.com/text-extraction/example
Request headers
Accept
application/json, text/plain
Form Data Parameters
upload
Your document file (e.g.: audio2.flac)
Expected API Response
Datasaur can process the response differently based on the Content-Type
header returned from the API response.
Text response (Content-Type: text/plain)
Content-Type: text/plain)
JSON response (Content-Type: application/json
)
Content-Type: application/json
)Datasaur uses Importable format to process the API response.
Apply custom API
Upload the audio files through Project Creation Wizard
In Step 2,
Select +Add new API... as the ASR method
Put your API name, API URL, and the secret
After clicking Save, the custom API will be saved to the list, and you can choose it as the ASR method
The interface will appear like the screenshot below, with the audio on the top and the transcription on the bottom
Custom API capabilities are only supported in team workspaces. If you would like access, please email us at support@datasaur.ai.
Last updated