diff --git a/Project-2/Part-2/src/face-recognition/README.md b/Project-2/Part-2/src/face-recognition/README.md index c132fd4..6cdb5d7 100644 --- a/Project-2/Part-2/src/face-recognition/README.md +++ b/Project-2/Part-2/src/face-recognition/README.md @@ -1,4 +1,6 @@ # Stage 2: face recognition -- invoked from stage 1 +- invoked from stage 1 with bucket name and image file name as event parameters - provided model code and data is used to get text output +- `stage2_policy.json` defines the permission policy needed for the lambda function's IAM role +- `dummy_lambda_invocation_event.json` is a sample invocation event with parameters diff --git a/Project-2/Part-2/src/video-splitting/README.md b/Project-2/Part-2/src/video-splitting/README.md index 6cf9662..2ae8d78 100644 --- a/Project-2/Part-2/src/video-splitting/README.md +++ b/Project-2/Part-2/src/video-splitting/README.md @@ -1,4 +1,6 @@ # Stage 1: video splitting -- same as part 1 -- added functionality is asynchronous invocation of the stage 2 lambda +- `handler.py` gets the uploaded video file, splits a frame using `ffmpeg`, uploads the output frame to another bucket +- then it asynchronously invokes the lambda function for stage 2 +- `stage1_policy.json` defines the permission policy needed for the lambda function's IAM role +- `dummy_s3_trigger_event.json` is a sample S3 PUT event