Baidu OCR icon

Baidu OCR

使用百度智能云 OCR API 识别图片和文档中的文字

营业执照识别

AI-generated

Summary

Identify business license fields

Inputs

  • inputType — How the image is provided: binaryData (binary payload from upstream) or url (image URL).
  • binaryPropertyName — Comma-separated list of binary attribute names to read from the input item; the node auto-detects which contain binary data.
  • pdfPageRange — Range of PDF pages to process (e.g., 'all', '1', '1-5', '1,3,5'); ignored for image inputs.
  • imageUrl — Network URL of the image to recognize; used when inputType is 'url'.

Output shape

JSON object with fields 'text', 'results', 'fileCount', and 'processedProperties'

One output per workflow item; 'results' array details each detected property, including page number and extracted text; may contain an 'error' field on failure.

Examples

Example 1: Provide binary image data of a business license via upstream node

inputType: binaryData, binaryPropertyName: data

Example 2: Use a public image URL for recognition

inputType: url, imageUrl: https://example.com/business-license.jpg

Example 3: Process specific PDF pages of a license

inputType: binaryData, binaryPropertyName: data,pdfPageRange: 1-3

Links

Discussion