Home icon

Automatically redact PII in images with Amazon Nova

Machine Learning Blog



This article demonstrates how Amazon Nova 2 Lite serves as an intelligent coordinator for automatically detecting and redacting personally identifiable information (PII) from images while maintaining regulatory compliance.

  • Nova 2 Lite performs initial PII assessment and routes images to specialized tools for textual or visual PII detection
  • Amazon Textract extracts text and coordinates; Nova evaluates context to identify sensitive information like addresses and names
  • Segment Anything Model (SAM 3) on SageMaker AI produces pixel-level segmentation masks for precise visual PII redaction
  • Lambda function merges coordinates and obscures identified PII regions while preserving non-sensitive image content
  • Final verification step uses Nova to ensure all PII is removed before moving images to approved folders
  • Early-exit routing for PII-free images reduces pipeline costs by avoiding unnecessary downstream service invocations

The serverless pipeline enables organizations to deploy compliant PII redaction at scale without custom model training, supporting edge cases like fingerprints, ID cards, and license plates in arbitrary orientations.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Jul 28
2026
Automated PII redaction for Amazon RDS for PostgreSQL audit logs
Jul 22
2026
Automate custom PII detection at scale with Amazon Macie and Step Functions
Jan 12
2024
Detect, mask, and redact PII data using AWS Glue before loading into Amazon OpenSearch Service
Oct 9
2025
Customizing text content moderation with Amazon Nova

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.