Signature Detection with AWS | MuleSoft Documentation
# Signature Detection with AWS
Detect signatures in a PNG, JPEG, or PDF file using the AWS Signature Detection services. You can configure the action step to expect one or more signatures and adjust the confidence level for the detection.
This action step processes the document in a synchronous fashion (Amazon does not store the document) and automatically converts PDF files to PNG images. You can adjust the fidelity of the conversion in the properties grid.
## Inbound Variables
  * **Directory Path**
  * **File Name**
  * **Password**
  * **Read text from page**
  * **Read text to page**
  * **AWS Credentials**
  * **Client Id**
  * **Client Secret**
  * **Session Token**
  * **Use Session Token**
  * **Region Endpoint**
  * **Json Path**


## Outbound Variables
  * **Raw Json**
The complete AWS response.
  * **Normalized Json**
The parsed JSON response including page number, signature name, and confidence score.
  * **Signature Found**
A boolean value to confirm if a signature was found.
  * **Signature Count**
The number of signatures found.


## Properties
  * **Authentication Settings**
    * **Region Endpoint**
The region endpoint to use for the AWS Service.
    * **Use Session Token**
Enables using a session token for authentication.
  * **Common**
See Common Properties for a description.
  * **File Settings**
    * **Directory path**
The path to the directory where the file is located.
    * **File name**
The name of the file to analyze. Supported file types: PDF, JPEG, and PNG.
    * **Json Path**
The Json path to the property of the response object.
  * **PDF Settings**
These settings show when the selected file is a PDF.
    * **Automatically detect the best quality for conversion**
Disable this option to manually adjust the image quality.
    * **Image Quality**
Specifies the quality of the image created from the PDF. The value ranges from `10` (lowest quality) to `100` (highest quality).
This property is not available in the Wizard.
    * **PDF file is password protected**
Specifies if the selected PDF file is password protected. When selected, specify the password to open the file in the **Password to open PDF file** filed.
    * **Read entire file**
Instructs the service to read the entire file.
    * **Read page range**
Instructs the service to read the selected range of pages.
      * **From page**
Specify from which page the service starts reading the file.
      * **To page**
Specifies until which page the service reads the file.
      * **Read to end of file**
Instructs the service to continue reading until the end of the file.
  * **Signature Detection Settings**
    * **Minimum Confidence Score**
The minimum confidence score for the detected signatures.
    * **Signature Detection mismatch handling**
Defines if a mismatch between the expected and the actual detection causes a warning or an error.
    * **Signature Detection Mode**
Defines the amount of expected signatures.


## Wizard
The Wizard enables you to configure:
  * **Authentication Settings** : The credentials to use when connecting to the AWS services. You can either configure the credentials manually or reference an existing configuration of Credentials with AWS.
  * **Response settings** : The JsonPath Expression to filter the JSON response.
  * **File Settings** : The path and file name of the file to read.
  * **Signature Detection Settings** : The number of expected signatures (one, one or more, multiple), the minimum confidence level, and the expected behavior (warning or error) when the detection is below the configured confidence level.


## See Also
  *   * Amazon Textract: Analyzing Documents