This is an example on how we can use @cloud-annotations in Nodejs.
You can find an in depth walkthrough for training a TensorFlow.js model here.
git clone
the repo and cd
into it by running the following command:
git clone https://github.com/cloud-annotations/Node-ObjectDetection.git
cd object-detection-node
Note: You’ll need to have Node 8.10.0 or later on your local development machine. You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.
Copy the model_web
directory generated from the object detection walkthrough and paste it into the root directory of this repo.
It will open a window and show live stream of processed images through @cloud-annotations/models-node