edited readmes

This commit is contained in:
Kaushik Narayan R 2024-04-25 16:49:23 -07:00
parent 90e7947768
commit 5b8d23d75e
2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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