Amazon Rekognition
Cloud service · AWS · Updated

Amazon Rekognition

In short

Amazon Rekognition is a cloud-based software service that allows users to integrate image and video analysis using deep learning technology to identify objects, people, text, scenes, and activities, as well as detect potentially inappropriate content.

Cloud Services Hub →

10 key features of Amazon Rekognition

Amazon Rekognition provides features for object and scene detection, facial analysis and recognition, text detection in images, unsafe content detection, and person tracking with activity recognition in images and videos.

01
Object and Scene Detection

Amazon Rekognition can identify thousands of objects (such as bike, telephone, building) and scenes (such as parking lot, beach, city) in images, allowing for rich image analysis and categorization.

02
Facial Analysis

This feature enables users to analyze faces in images and videos to detect attributes such as emotions (happy, sad, etc.), approximate age, gender, whether eyes are open, and the presence of glasses or facial hair.

03
Facial Recognition

Amazon Rekognition can compare faces in images and videos to a database of faces and find matches, useful in security applications or for indexing and managing video content.

04
Text in Image

With this feature, Amazon Rekognition can detect text in images, such as street names, captions, product names, and license plates, enabling automated text analysis in visual content.

05
Unsafe Content Detection

This feature helps in identifying potentially unsafe or inappropriate content across images and videos, aiding in content moderation workflows.

06
Person Tracking and Activity Recognition

Rekognition allows for the tracking of persons across frames in a video and recognizes activities such as 'running' or 'playing soccer', providing insights into human behavior in video content.

07
Personal Protective Equipment Detection

Detect personal protective equipment worn by people in images to support workplace safety practices.

08
Celebrity Recognition

Identify well-known people in images and stored videos to catalog photos and footage for media, marketing, and advertising.

09
Video Segment Detection

Detect key segments in stored videos, including black frames, start or end credits, slates, color bars, and shots.

10
Custom Labels

Detect custom objects in images, such as brand logos, using automated machine learning to train models with as few as 10 images.

Where Amazon Rekognition is used

Amazon Rekognition facilitates automated content moderation, enhances security systems with facial recognition, improves searchability in media libraries, offers sentiment analysis in customer interactions, and enables personalized advertising through demographic insights.

  1. 01
    Automated Content Moderation

    Amazon Rekognition can automatically identify inappropriate or unsafe content within images and videos, enabling platforms and services to filter out harmful material before it reaches users. This use can greatly enhance user experience and comply with regulatory standards.

  2. 02
    Facial Recognition for Security Systems

    Integrating Amazon Rekognition into security systems allows for the identification and verification of individuals in real-time, enhancing security measures for premises. It can be used for access control in buildings, event monitoring, and maintaining logs of personnel movements.

  3. 03
    Intelligent Searchability in Media Libraries

    By analyzing and identifying objects, people, text, scenes, and activities in images and videos, Amazon Rekognition enables users to search and filter their media libraries using descriptive tags. This makes finding specific media content easier and more efficient.

  4. 04
    Sentiment Analysis in Customer Service

    Amazon Rekognition can analyze facial expressions in customer service interactions to gauge customer sentiments, providing valuable feedback on customer satisfaction and helping businesses tailor their services to improve customer experience.

  5. 05
    Personalized Advertising

    Using demographic information such as age or gender identified by Amazon Rekognition, businesses can tailor their advertising to target specific segments of their audience more effectively, thereby increasing engagement and conversion rates.

How Amazon Rekognition is priced

Amazon Rekognition pricing models include pay-as-you-go rates for image and video analysis based on volume, with separate rates for specific features and custom label detection, providing discounts at higher usage tiers.

Amazon Rekognition Image

Amazon Rekognition Image pricing is based on the number of images processed, with different rates for feature detection (such as object, scene, and activity detection, facial analysis, etc.) and facial recognition tasks. Pricing varies for the first millions of images processed monthly and decreases for subsequent images, offering volume discounts.

Amazon Rekognition Video

For video analysis, Amazon Rekognition Video charges are based on the minutes of video processed and the features used, such as pathing, activity detection, person tracking, etc. Stored video analysis is charged separately for each API run against the same section of video.

Amazon Rekognition Custom Labels

Custom Labels charges for training compute hours and for each hour the trained custom model is available to process images. Parallel compute resources increase the billed hours beyond elapsed time.

Face Metadata Storage

Face and user vectors stored for search incur monthly storage charges, prorated for partial months.

Image Properties

Calling DetectLabels with both IMAGE_PROPERTIES and GENERAL_LABEL incurs both the Image Properties and DetectLabels charges.

Amazon Rekognition Face Liveness

Face Liveness is billed per check, with monthly volume tiers for the first 500,000 checks, the next 2.5 million checks, and checks above 3 million.

Amazon Rekognition Custom Moderation

Custom Moderation charges for adapter training compute minutes and for each image analyzed with the adapter, with inference rates tiered by monthly image volume.

Services Amazon Rekognition works with

Amazon S3Amazon S3

Amazon Rekognition can analyze images and videos stored in Amazon S3 buckets. By integrating with Amazon S3, you can trigger Rekognition operations on S3 objects using AWS Lambda or other event-driven triggers.

AWS LambdaAWS Lambda

AWS Lambda can be triggered by Amazon Rekognition events to automate image and video processing workflows. For instance, when an image is uploaded to an S3 bucket, a Lambda function can automatically invoke Rekognition to analyze the image.

Amazon Augmented AI (Amazon A2I)Amazon Augmented AI (Amazon A2I)

Amazon Rekognition can send image moderation predictions to Amazon A2I for human review. Review conditions can use prediction confidence thresholds to route uncertain results to reviewers.

Amazon CloudWatchAmazon CloudWatch

Amazon Rekognition publishes usage, latency, success, and error metrics to CloudWatch. CloudWatch alarms can monitor these metrics to identify throttling or elevated failure rates.

Amazon EventBridgeAmazon EventBridge

Amazon Rekognition API activity recorded by CloudTrail can trigger EventBridge rules. Rules can match specific Rekognition API operations and route those events to notification or automation targets.

Amazon Kinesis Data StreamsAmazon Kinesis Data Streams

Amazon Rekognition Video face-search stream processors write face-search results to a Kinesis data stream for downstream processing. Rekognition Streaming Video is no longer available to new customers.

Amazon Kinesis Video StreamsAmazon Kinesis Video Streams

Amazon Rekognition Video stream processors read video from Kinesis Video Streams to search for faces or detect people, pets, and packages. Rekognition Streaming Video is no longer available to new customers.

Amazon SageMaker Ground TruthAmazon SageMaker Ground Truth

Amazon Rekognition Custom Labels can import labeled datasets in SageMaker Ground Truth manifest format from Amazon S3. This allows Ground Truth image-classification and bounding-box annotations to supply training and test data for custom models.

Amazon Simple Notification Service (Amazon SNS)Amazon Simple Notification Service (Amazon SNS)

Amazon Rekognition Video publishes asynchronous video-analysis job completion notifications to an SNS topic. Supported streaming-video processors can also publish detection notifications to SNS.

Amazon Simple Queue Service (Amazon SQS)Amazon Simple Queue Service (Amazon SQS)

Amazon Rekognition Video completion notifications can be delivered through an SNS subscription to an SQS queue. Consumers can process the queued job identifiers and retrieve the corresponding analysis results.

Alternatives to Amazon Rekognition in other clouds

Azure

Azure AI Video Indexer

Amazon Rekognition and Azure AI Video Indexer detect objects and on-screen text in video and help teams search media libraries. Rekognition also analyzes standalone images and supports event-triggered analysis of cloud video streams, while Video Indexer also indexes audio and uses an asynchronous file or URL workflow for cloud indexing.

Compare fact by fact
Amazon RekognitionAzure AI Video Indexer
Media inputsImages and videoAudio and video
Cloud video workflowStored video or stream eventsAsynchronous file or URL indexing
Stored video billingPer API run, by minutes and featureBy media minutes and analysis preset
Azure Face in Foundry Tools

Amazon Rekognition and Azure Face in Foundry Tools both detect and match faces and perform liveness checks. Rekognition also analyzes objects, scenes, and text in images and videos, while Azure Face focuses on face detection and identity matching in images.

Compare fact by fact
Amazon RekognitionAzure Face in Foundry Tools
Analysis scopeFaces, objects, and text in images/videoFace detection and matching in images
Standard analysis billingPer image or video minutePer API transaction, by tier
Azure Vision in Foundry Tools

Amazon Rekognition and Azure Vision in Foundry Tools both detect objects and extract text from images. Rekognition also analyzes video and includes face recognition, whereas Azure Vision supports OCR for multipage documents and does not include Azure’s separate face recognition service.

Compare fact by fact
Amazon RekognitionAzure Vision in Foundry Tools
Analysis inputsImages and videoImages and documents
Face recognitionBuilt into RekognitionOutside Azure Vision
Image and OCR billing unitsImages processedFeature transactions or processed pages

What is Amazon Rekognition

4 min read

Amazon Rekognition is a sophisticated cloud-based service provided by Amazon Web Services (AWS) that integrates deep learning technology to enable applications to identify objects, people, text, scenes, and activities in images and videos, as well as detect potentially inappropriate content. Essentially, Rekognition makes it easier for developers to add image and video analysis to their applications without needing deep expertise in machine learning or computer vision technologies. 

At its core, Amazon Rekognition is designed to be highly accessible, allowing users to harness the power of advanced image and video analysis with simple API calls. This service is built on a scalable infrastructure, which means it can analyze billions of images and videos daily, supporting real-time analysis as well as batch processing. This scalability makes Rekognition an ideal solution for a wide range of applications, from social media content filtering to surveillance systems. 

Rekognition Video supports stored video analysis and streaming video events. Streaming video events process new or existing Kinesis Video Streams only after a notification starts analysis, with up to 120 seconds of video analyzed per event.

Quota increases apply only to the specific API operation and Region requested; they do not increase quotas for other operations or Regions.

One of the key features of Amazon Rekognition is its facial recognition capabilities. The service can detect, analyze, and compare faces for a variety of user verification, people counting, and public safety use cases. It can recognize and analyze attributes of faces in images and videos, such as emotions, age range, gender, and even facial movements, providing a comprehensive set of facial analysis data points. Moreover, Amazon Rekognition can identify objects and scenes within images and videos. This functionality enables developers to build applications that can categorize and organize vast amounts of visual data. 

Face Liveness analyzes a short selfie video to detect presentation spoofs, such as printed photos and masks, and camera-bypass spoofs, such as prerecorded or deepfake videos. It supports React web, native iOS, and native Android applications on most devices with a front-facing camera.

Image Properties detects dominant colors and measures image quality through brightness, sharpness, and contrast scores. Call DetectLabels with IMAGE_PROPERTIES, either alone or together with GENERAL_LABEL.

Face detection, facial attribute analysis, and face comparison are non-storage operations. To retain facial metadata for later searches in images and videos, use storage operations and face collections.

Rekognition's gender predictions are based on physical appearance, not gender identity, and must not be used to determine gender identity. AWS recommends aggregate statistical uses rather than decisions affecting an individual's rights, privacy, or access to services.

It's particularly useful in retail and inventory management, where it can simplify product identification and automate cataloging. Another significant feature is its ability to detect unsafe or inappropriate content automatically. This capability is essential for social media platforms, online communities, and content publishers, helping them to moderate content in compliance with their policies and community standards efficiently. 

Custom Moderation lets you train a custom adapter with as few as 20 annotated images to improve moderation accuracy for your use case. To use the trained adapter for inference, provide its AdapterID to DetectModerationLabels.

Custom Labels uses provisioned custom models. For periodic image processing, start provisioning at the scheduled time and stop provisioning after processing; leaving the model provisioned incurs charges even when no images are processed.

Text detection and analysis is yet another crucial feature offered by Amazon Rekognition. It can detect and recognize text within images and videos - such as license plates, product names, and street signs, thereby enabling a myriad of use cases from traffic management systems to retail and advertising analytics. Amazon Rekognition is also designed with privacy and security in mind, providing users with robust data protection and access control mechanisms. 

AWS ensures that all data processed by Amazon Rekognition is encrypted in transit and at rest, incorporating user privacy and compliance into the service's architecture. In summary, Amazon Rekognition presents a versatile, powerful, and accessible cloud service that integrates advanced machine learning models for comprehensive image and video analysis. 

Its broad range of features supports a multitude of applications across various industries, making it an indispensable tool for developers and businesses looking to leverage sophisticated visual analysis capabilities without the need for deep technical expertise in AI or machine learning.

Concepts related to Amazon Rekognition

Amazon Rekognition exam questions

Real practice exam questions on Amazon Rekognition, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIB-C01

A stock-photo marketplace is introducing AI-assisted review of contributor uploads before making images available for commercial purchase. Leadership requires controls that detect explicit sexual content and graphic violence, avoid unnecessarily rejecting legitimate images, and prevent publication when commercial-use rights have not been established. Which approach BEST meets these requirements?

Show answerCORRECT ANSWER

Use Amazon Rekognition content moderation with thresholds validated against the marketplace’s policies. Route uncertain cases to human reviewers, and require a separate check of ownership or commercial licensing evidence before publication.

Rekognition content moderation detects potentially inappropriate visual content. Policy-specific threshold evaluation and human review help balance missed harmful content against unnecessary rejection. A separate rights check is necessary because moderation results do not establish ownership or permission for commercial distribution.

MLA-C02

A warehouse operator wants to review still images from loading-area cameras for compliance with a face-covering policy. Each image can contain several workers with clearly visible faces. The application must locate each person and flag anyone whose face covering does not cover both the nose and mouth, including people who are not wearing a face covering. Flagged images will be reviewed by a supervisor. The company has no labeled training images and wants to minimize custom model development. Which approach best meets these requirements?

Show answerCORRECT ANSWER

Use Amazon Rekognition DetectProtectiveEquipment. Evaluate the FACE_COVER detections, their CoversBodyPart values, and confidence scores for each detected person, and flag missing or insufficient coverage.

DetectProtectiveEquipment provides person-level protective-equipment detections without custom training. For FACE_COVER, CoversBodyPart indicates whether the covering covers the nose and mouth. The application can use these results and confidence thresholds to route missing, inadequate, or uncertain coverage to a supervisor.

AIF-C01

A delivery company receives photographs of building entrances. Its application must extract the printed words visible on entrance signs so drivers can search for a building by its sign text. The company does not need to interpret the meaning of the words and does not want to train a custom model. Which approach and AI concept best match these requirements?

Show answerCORRECT ANSWER

Use Amazon Rekognition text detection to extract the visible words. This is computer vision.

Amazon Rekognition can detect text in images using a pretrained capability. Recognizing printed words from image pixels is a computer vision task, even though the resulting output is text.

Practice Amazon Rekognition in a full exam

Questions on Amazon Rekognition in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn Amazon Rekognition in lessons

5 short lessons on Amazon Rekognition in 4 certification courses.

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.