Giter Club home page Giter Club logo

rekognition-example's Introduction

rekognition-examples

This repo contains examples of capabilities of rekognition. Following examples are available in this repo:

  • detecting custom labels
  • detecting random labels
  • detecting faces with bounding boxes
  • detecting labels in videos

Detecting custom labels

for detecting custom labels, the following pre-requisites should be met:

  • create three s3 buckets for containing training data, testing data and output of rekognition training job.
  • ensure than rekognition has appropriate permissions on those s3 buckets. for details on how to set this up, please refer to: https://docs.aws.amazon.com/rekognition/latest/customlabels-dg/su-sdk-bucket-permssions.html
  • understand how the manifest file for custom label looks like. read: https://docs.aws.amazon.com/rekognition/latest/ customlabels-dg/cd-required-fields.html
  • unzip the training_dataset.zip and upload the contents of it to the training bucket you created in first step.
  • unzip the content of test_dataset.zip and upload the contents of it to the testing dataset bucket you created in first step.
  • (Optional) change the region from us-east-1 to your choice of region, if you want to. you can find the region value in scripts/custom_labels/custom_label_runner.py

once all the above points are setup, run the custom_label_runner.py located under scripts/custom_labels. it will ask for a number of inputs like project name, version number, bucket locations etc. Once all the info is filled up correctly, it will start the job. The training job might take around 30-40 minutes to complete. Once the job is complete, just go back to the rekognition console, and you will see lot of information available regarding the model which has just been training along with an endpoint which you can deploy to start using it.

the same datasets are already present under scripts/custom_labels folder. you can extract it and upload the training and testing images in different s3 buckets with their manifest files respectively.

rekognition-example's People

Contributors

vikeshpandey avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.