Processing data in a custom labeling workflow with AWS Lambda (original) (raw)
In this topic, you can learn how to deploy optional AWS Lambda functions when creating a custom labeling workflow. You can specify two types of Lambda functions to use with your custom labeling workflow.
- Pre-annotation Lambda: This function pre-processes each data object sent to your labeling job prior to sending it to workers.
- Post-annotation Lambda: This function processes the results once workers submit a task. If you specify multiple workers per data object, this function may include logic to consolidate annotations.
If you are a new user of Lambda and Ground Truth, we recommend that you use the pages in this section as follows:
- First, review Using pre-annotation and post-annotation Lambda functions.
- Then, use the page Add required permissions to use AWS Lambda with Ground Truth to learn about security and permission requirements to use your pre-annotation and post-annotation Lambda functions in a Ground Truth custom labeling job.
- Next, you need to visit the Lambda console or use Lambda's APIs to create your functions. Use the section Create Lambda functions using Ground Truth templates to learn how to create Lambda functions.
- To learn how to test your Lambda functions, see Test pre-annotation and post-annotation Lambda functions.
- After you create pre-processing and post-processing Lambda functions, select them from the Lambda functions section that comes after the code editor for your custom HTML in the Ground Truth console. To learn how to use these functions in a
CreateLabelingJobAPI request, see Create a Labeling Job (API).
For a custom labeling workflow tutorial that includes example pre-annotation and post-annotation Lambda functions, see Demo template: Annotation of images with crowd-bounding-box.
Topics
- Using pre-annotation and post-annotation Lambda functions
- Add required permissions to use AWS Lambda with Ground Truth
- Create Lambda functions using Ground Truth templates
- Test pre-annotation and post-annotation Lambda functions
Liquid automation
Using Lambda functions
Did this page help you? - Yes
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Did this page help you? - No
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.