Amazon Rekognition

Amazon Rekognition is a managed computer-vision service for images and video. It provides pre-trained APIs for object and scene detection, facial analysis, text-in-image OCR, content moderation, celebrity recognition, and PPE detection — plus Custom Labels for training bespoke image classifiers with a small labeled dataset.


Key Features:


Common Use Cases:


Example: Detect Labels in an Image


import boto3

rek = boto3.client("rekognition", region_name="us-west-2")

resp = rek.detect_labels(
    Image={"S3Object": {"Bucket": "my-images", "Name": "warehouse/row-4.jpg"}},
    MaxLabels=10,
    MinConfidence=75,
)

for label in resp["Labels"]:
    print(f"{label['Name']:20s} {label['Confidence']:.1f}%")
  

Rekognition covers the common vision tasks end-to-end; reach for SageMaker when you need fully custom models, non-standard outputs, or on-premises deployment.