This lab introduces a face attendance system that combines AWS Rekognition and Amplify to verify user identity using real-time face liveness detection and face matching.
The system eliminates spoofing by requiring a live user presence before matching their face against a stored collection.
The core flow includes:
FaceLivenessDetector
CompareFaces
and SearchFacesByImage
Here’s the architechture of a live session (when deploying serverless)
Overview of the project goal, architecture, and Rekognition features used.
Set up both your development and AWS environments:
aws configure
)npm install -g @aws-amplify/cli
)amplify init
)Integrate Amplify to capture live user sessions in the browser.
Create and setup correct S3 for Rekognition to connect
Build the complete check-in logic: from frontend liveness → to backend match → to recording attendance (e.g., in DynamoDB).
Deploy locally, then to Amplify for serverless deployment.
Deploy the Lambda functions to API Gateway to expose them as REST APIs.
Deploy the frontend to S3 + CloudFront Hosting.
Clean up resources to avoid unnecessary costs.