Use these scripts to build container images using the ocv-dnn-lambda-handler and your own object detection model.
- Docker Engine
- An AWS Account, signed in with the AWS cli
Two scripts are included, one for building the container image and another to upload this image to your own private Amazon Elastic Container Registry
bin/build
- Builds the ocv-dnn-detector-lambda container image.
bin/push
- Push the newly created image to ECR
By default, this script will download and include YOLOv4-tiny for this container image.
To change this behavior, place custom model config and weights files in a directory named tmp
into the root directory of this project.
Repository contents are licensed under the MIT No Attribution License. Downloaded software retains its original license.