Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 415 Bytes

3-lambda-function.md

File metadata and controls

15 lines (11 loc) · 415 Bytes

Lambda Function: yolopredict

Responsibilities

  • Accept base64 JPEG input from API Gateway.
  • Decode and send to SageMaker.
  • Receive annotated image, encode to base64, return to user.

Setup

  1. Create a new Lambda function in the AWS Console.
  2. Edit the scripts/lambda_function.py code.
  3. Copy-paste it into the Lambda editor.
  4. Test the function with a base64-encoded image.
  5. Deploy the function.