Skip to content

Smart Shopping Cart Demonstration applications to show integration of GCP Cloud IoT Core and Machine Leaning Engine

License

Notifications You must be signed in to change notification settings

groovenauts/SmartShoppingNavigator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Shopping Navigator

Smart Shopping Navigator is the demonstration application where it combines Cloud IoT Core and Cloud Machine Learning Engine.

Requirements

  • Google Cloud Platform billing enabled project
    • Enable the following APIs
      • Google Cloud Storage JSON API
      • Cloud IoT API
      • BigQuery API
      • Cloud Machine Learning Engine
      • Kubernetes Engine API
  • Raspberry Pi, Camera module and touch display

Setup

1. Name device ID for a new device and register it to Cloud IoT Core registory

2. Assemble Raspberry Pi device (see Setup Raspberry Pi for more details)

3. Built and push Docker container

$ export PROJCT_ID="REPLACE WITH YOUR GCP PROJECT ID HERE"
$ cd gke
$ docker build -t gcr.io/${PROJECT_ID}/iost-worker . && docker push gcr.io/${PROJECT_ID}/iost-worker

4. Create GKE cluster

$ gcloud container clusters create [CLUSTER_NAME] --zone [COMPUTE_ZONE]
$ gcloud container clusters get-credentials [CLUSTER_NAME] --zone [COMPUTE_ZONE]

See Creating cluster for more details.

5. Deploy workload

$ cd gke
$ cp deployment.yml.example deployment.yml
  Edit depoyment.yml
$ kubectl create -f deployment.yml

6. Deploy dashboard App Engine application

$ cd dashboard
$ gcloud app deploy --version v1 app.yaml

About

Smart Shopping Cart Demonstration applications to show integration of GCP Cloud IoT Core and Machine Leaning Engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published