Skip to main content

Feature Overview

The multi-image cropping function can automatically recognize multiple independent images or tickets contained in one page of a document and separately crop them into independent sub-documents. This is particularly useful for scenarios such as processing reimbursement attachments or scans containing multiple receipts.

Use Cases

1. Expense Receipt Pasting Scenario

An A4 paper with multiple tickets laid flat:
  • Train tickets
  • Flight itineraries
  • Multiple taxi invoices
  • Restaurant invoices
Through the multi-image cropping function, each ticket can be separately recognized and cropped, facilitating subsequent classification and amount extraction. crop example

API Parameter Configuration

Enable Multi-Image Cropping Function

Set crop_flag=true in the upload interface to enable the multi-image cropping function:

Parameter Description

Example Code

Return Result Description

Multi-Image Cropping Result Structure

After enabling the multi-image cropping function, the result returned by the file/fetch interface will include the child_files field, which describes the information of sub-documents after cropping:

Key Field Description