/api/ddddocr/ocr
Total calls: 0
OCR Text Recognition
Recognize the text content in an image and return the recognized text; it can also return probability and filter by color.
Upload a local image (page debugging now supports real file upload)
or fill in the image URL / base64 (use when no local file is available)
When true, returns data={text, probability}; when false, data is the text
When true, apply white-background repair to images with a transparent channel
Optional: recognize only text of the specified colors, e.g. ["red","blue","green"]
Optional: an HSV range dictionary, used together with colors
When true, use the Beta OCR model (more accurate for some CAPTCHAs)
- This Service requires a project signature; when uploading a file, the request body is multipart/form-data.
- Provide at least one of the file field or the URL/base64 field; when both are provided, the file takes precedence.
data varies with the parameters: when probability=false it is the recognized text string; when probability=true it is an object {text, probability}, where probability is ddddocr's raw probability distribution.
"8k3m"