AWSTextractAnalyzeDocumentRequest

@interface AWSTextractAnalyzeDocumentRequest
  • The input document as base64-encoded bytes or an Amazon S3 object. If you use the AWS CLI to call Amazon Textract operations, you can’t pass image bytes. The document must be an image in JPG or PNG format.

    If you are using an AWS SDK to call Amazon Textract, you might not need to base64-encode image bytes passed using the Bytes field.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSTextractDocument *_Nullable document;

    Swift

    var document: AWSTextractDocument? { get set }
  • A list of the types of analysis to perform. Add TABLES to the list to return information about the tables detected in the input document. Add FORMS to return detected fields and the associated text. To perform both types of analysis, add TABLES and FORMS to FeatureTypes.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable featureTypes;

    Swift

    var featureTypes: [String]? { get set }