Skip to content

CDK app that detects whether an uploaded image contains a cat or not

License

Notifications You must be signed in to change notification settings

garysassano/cdk-aws-cat-rekognizer

Repository files navigation

cdk-aws-cat-rekognizer

CDK app that detects whether an uploaded image contains a cat or not.

Prerequisites

Installation

npx projen install

Deployment

npx projen deploy

Usage

  1. Access the website by clicking the <CLOUDFRONT_DISTRIBUTION_URL>:

    ✅  cdk-aws-cat-rekognizer-dev
    
    ✨  Deployment time: 390.01s
    
    Outputs:
    cdk-aws-cat-rekognizer-dev.WebsiteDistributionUrl = <CLOUDFRONT_DISTRIBUTION_URL>
  2. Upload your image from the UI:

    Upload Image

  3. In AWS Console, DynamoDBidempotency-table-XXXXXXXX:

    Persist Data

  4. The DynamoDB table displays the cat detection result and S3 URL for unique uploaded images.

Cleanup

npx projen destroy

Architecture Diagram

Architecture Diagram