银行卡识别
AI-generatedSummary
Extract bank card information using Baidu OCR
Inputs
- inputType — Method of providing the image; either binary data from a previous node or a URL.
- binaryPropertyName — Comma‑separated list of binary property names that may contain the image data; defaults to 'data,data0,data1,data2,data3'.
- pdfPageRange — PDF page range to process when the input is a PDF; default 'all'.
- imageUrl — Direct URL of the image to be processed when inputType is 'url'.
Output shape
array of result objects
Each result includes a 'json' field with extracted bank card data and a 'pairedItem' indicating the input index; errors are returned as objects with an 'error' property when continueOnFail is enabled.
Examples
Example 1: Extract card data from a binary image uploaded by a previous node.
inputType=binaryData, binaryPropertyName='data', operation='银行卡识别'
Example 2: Extract card data from a public image URL.
inputType=url, imageUrl='https://example.com/card.png', operation='银行卡识别'
Example 3: Process a PDF containing a bank card, using page 1 only.
inputType=binaryData, binaryPropertyName='data', pdfPageRange='1', operation='银行卡识别'