/CognitiveServicesQuickstart

Azure Cognitive Services Quickstart steps

Primary LanguageJavaScript

Cognitive Services Quickstart

Azure Cognitive Services Quickstart completed steps divided into branches.

Custom Vision

Azure Cognitive Services - Custom Vision Quickstart completed steps divided into branches.

Running locally

  1. Create a .env file and add your variables that are defined in '.env.example' file, then run the following commands:

  2. Install dependencies

npm install
  1. Start the sample file
node sample.js

Or by running

npm st
git init
npm init
npm install @azure/cognitiveservices-customvision-training
npm install @azure/cognitiveservices-customvision-prediction
export trainingKey={your training key}
export predictionKey={your predictionKey key}
export predictionResourceId={your predictionResourceId key}
const trainingKey = process.env.trainingKey;
const predictionKey = process.env.predictionKey;
const predictionResourceId = process.env.predictionResourceId;