驾驶证识别
AI-generatedSummary
Detects driving‑license text from an image, supporting binary payloads or image URLs and allowing selection of front or back side.
Inputs
- inputType — How the image is provided: 'binaryData' for binary data from upstream nodes, or 'url' for a public image URL.
- binaryPropertyName — Comma‑separated list of binary property names to search for image data; the node auto‑detects the first supported format.
- pdfPageRange — Range of PDF pages to process when the binary data is a PDF; defaults to 'all'.
- imageUrl — Direct URL of the image to recognize when inputType is 'url'.
- drivingLicenseSide — Which side of the driver's license to analyze; 'front' (main page) or 'back' (reverse).
Output shape
An array of result objects, each containing a json field with the OCR output (text and structured fields).
When binary input is used the JSON also includes
results,fileCountandprocessedProperties; for URL input it returns the raw OCR response. The array is always present.
Examples
Example 1: Pass a binary image from a previous node and select the front side of the license.
inputType = binaryData, binaryPropertyName = data, drivingLicenseSide = front, pdfPageRange = all
Example 2: Use a public image URL to read the back side of the license.
inputType = url, imageUrl = https://example.com/license_back.jpg, drivingLicenseSide = back
Example 3: Process a PDF containing the license and handle pages 1‑2.
inputType = binaryData, binaryPropertyName = file, pdfPageRange = 1-2, drivingLicenseSide = front