Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

This demo shows how you can use Amazon IVS's Auto-Record-to-S3 feature in conjunction with Amazon Rekognition to moderate streams.

License

Notifications You must be signed in to change notification settings

aws-samples/amazon-ivs-moderation-with-record-to-s3-web-demo

Amazon IVS Moderation with Amazon Rekognition demo

This demo shows how you can use Amazon IVS's Auto-record to S3 feature in conjunction with Amazon Rekognition to build an automated moderation solution.

Amazon IVS Moderation demo screenshot

This project is intended for education purposes only and not for production usage.

This is a serverless web application, leveraging Amazon IVS, Amazon Rekognition, Amazon API Gateway, AWS Lambda, Amazon DynamoDB, Amazon S3. The web user interface is built using React.js.


Getting Started

⚠️ IMPORTANT NOTE: Deploying this demo application in your AWS account will create and consume AWS resources, which will cost money.


To get the demo running in your own AWS account, follow these instructions.
  1. If you do not have an AWS account, please see How do I create and activate a new Amazon Web Services account?
  2. Log into the AWS console if you are not already. Note: If you are logged in as an IAM user, ensure your account has permissions to create and manage the necessary resources and components for this application.

Deploy and run the app

To deploy the serverless backend and run the client UI locally, complete the following steps:

  1. Follow the steps in the serverless app setup to deploy the backend to your AWS account.
  2. Follow the steps in the web-ui app setup to run the client app locally.

------

This demo allows members of an admin group to configure parameters used when performing moderation checks. There are currently three controls available:

  • Confidence Test - The confidence value set to Rekognition as part of the detection API call
  • Alert Threshold - The confidence threshold above which an alert will be set but no proactive action taken
  • Terminated Threshold - The confidence threshold above which the channel will by automatically stopped along with an accompanying notification.

Amazon IVS Moderation demo gif: settings modal

Each of the thresholds represent a confidence value that if any of the checks breach will trigger the associated action. These settings are currently configured as environment variables associated with the Lambda function.


About Amazon IVS