Simple usage of Computer Vision API with Express JS
-
Create a Computer Vision Resource on Azure, get the subscription key and end point.
-
Go to project directory and run the following command to install dependencies.
npm install
- In server.js changed the following code with your subscription key and enpoint.
const key = '<your-subscription-key';
const endpoint = '<your-endpoint>';- run the application on localhost:3000
npm start