Create, train, and start a Lookout for Vision model using an AWS SDK - AWS SDK Code Examples

There are more AWS SDK examples available in the AWS Doc SDK Examples GitHub repo.

Create, train, and start a Lookout for Vision model using an AWS SDK

The following code example shows how to create, train, and start a Lookout for Vision model.

Python
SDK for Python (Boto3)

Creates and optionally starts an Amazon Lookout for Vision model using command line arguments. The example code creates a new project, training dataset, optional test dataset, and model. After model training is completed, you can use a provided script to try your model with an image.

This example requires a set of images to train its model. You can find example circuit board images on GitHub that you can use for training and testing. For details on how to copy these images to an Amazon Simple Storage Service (Amazon S3) bucket, see Prepare example images.

For complete source code and instructions on how to set up and run, see the full example on GitHub.

Services used in this example
  • Lookout for Vision