- Accept base64 JPEG input from API Gateway.
- Decode and send to SageMaker.
- Receive annotated image, encode to base64, return to user.
- Create a new Lambda function in the AWS Console.
- Edit the
scripts/lambda_function.py
code. - Copy-paste it into the Lambda editor.
- Test the function with a base64-encoded image.
- Deploy the function.