FME Transformers: 2026.1

Categories
Web

Web

Related Transformers
AmazonAthenaConnector
AzureAIVisionConnector
AzureTextAnalyticsConnector
ComprehendConnector
GoogleLanguageConnector
GoogleVisionConnector
S3Connector
SQSConnector

RekognitionConnector

Connects to Amazon Rekognition for object detection in images.

Jump to Configuration

Typical Uses

  • Submitting images to the Amazon AWS Rekognition service to
    • detect individual objects
    • describe the general contents
    • extract small amounts of text
    • detect faces and facial descriptions in an image
    • detect explicit or suggestive adult content in an image
    • detect PPE (Personal Protective Equipment) in an image

How does it work?

The RekognitionConnector uses your Amazon AWS account credentials to connect and submit images for analysis.

Images may be provided as local files, files on S3, or as raster geometry, and each one may produce multiple output features.

Services supported are:

Detection Type Analysis

Face Detection

Successfully identified faces will result in output features with attributes describing the face.

Each feature will have a bounding box for the face. Facial landmarks may be included, such as nose, chinBottom, or midJawlineLeft will also be added as additional point geometries on the feature.

When using a local file or raster geometry as input, the bounding box is in pixel units, and will align with the input. When using a file on S3, the size of the image is not known, so the output bounding box will be expressed in terms of a ratio of the original image. For example, if a face takes up a quarter of the image, the bounding box will be 0.5 by 0.5 in size.

Image Moderation

Images submitted for moderation are not output via the Output port.

One Summary feature per image is produced, with details of potentially unsafe content.

Object Detection

Successfully identified objects will result in output features with attributes describing the objects.

If the service is able to identify the location of an object in the image, a bounding box geometry will also be returned, with a separate confidence value.

When using a local file or raster geometry as input, the bounding box is in pixel units, and will align with the input. When using a file on S3, the size of the image is not known, so the output bounding box will be expressed in terms of a ratio of the original image. For example, if an object takes up a quarter of the image, the bounding box will be 0.5 by 0.5 in size.

PPE Detection

Successfully identified objects will result in output features with attributes describing the objects.

A bounding box geometry will also be returned, with a separate confidence value.

Text Detection

Successfully identified text will result in output features with attributes describing the text.

Features will be output for lines of text, and for individual words in each line. Each feature will have a bounding box for the line or word.

When using a local file or raster geometry as input, the bounding box is in pixel units, and will align with the input. When using a file on S3, the size of the image is not known, so the output bounding box will be expressed in terms of a ratio of the original image. For example, if a line of text takes up 80% of the width of the image, the bounding box will have a width of 0.8.

Optional Input Port

This transformer has two modes, depending on whether a connector is attached to the Input port or not:

  • Input-driven: When input features are connected, the transformer runs once for each feature it receives in the Input port.
  • Run Once: When no input features are connected, the transformer runs one time.

When the Input port is in use, the Initiator output port is also enabled.

Usage Notes

  • For better performance, requests to the Rekognition service are made in parallel, and are returned as soon as they complete. Consequently, detection results will not be returned in the same order as their associated requests.
  • The RekognitionConnector is able to extract up to 50 words per image when performing text detection. This makes it unsuitable for detecting full pages of text, as from a scanned document.

  • For an overview of Rekognition's capabilities and limitations, see Amazon’s The Facts on Facial Recognition with Artificial Intelligence.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

Reference

Processing Behavior

Feature-Based

Feature Holding

No

Dependencies Amazon AWS Account with Rekognition access
Aliases AmazonAWSRekognitionConnector
History Released FME 2019.2

FME Online Resources

The FME Community and Support Center Knowledge Base have a wealth of information, including active forums with 35,000+ members and thousands of articles.

Search for all results about the RekognitionConnector on the FME Community.

 

Examples may contain information licensed under the Open Government Licence – Vancouver, Open Government Licence - British Columbia, and/or Open Government Licence – Canada.