Custom - HTTP POST
Make sure the OCR engine can handle HTTP POST Requests
Variables
$IMAGE_BUFFER
$IMAGE_BASE64
Custom
Go to Settings ➜ Modules ➜ OCR ➜ Custom Engine - HTTP POST
1. Google Cloud Vision
Docs: https://cloud.google.com/vision/docs
URL:
Content Type: application/json
Headers: {}
Body:
Response Type: JSON
Response Query: responses[0].fullTextAnnotation.text
2. OCRSpace
Link: https://ocr.space/ocrapi
URL:
Content Type: application/x-www-form-urlencoded
Headers: {}
Body:
Response Type: JSON
Response Query: ParsedResults[0].ParsedText
Last updated