baris5d / nodejs_cognitive

Simple usage of Computer Vision API with Express JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Azure Computer Vision API with JS Client SDK

Simple usage of Computer Vision API with Express JS

Usage

  1. Create a Computer Vision Resource on Azure, get the subscription key and end point.

  2. Go to project directory and run the following command to install dependancies.

npm install
  1. In server.js changed the following code with your subscription key and enpoint.
const key = '<your-subscription-key';
const endpoint = '<your-endpoint>';
  1. run the application on localhost:3000
npm start

Resources

Computer Vision JS Client SDK

About

Simple usage of Computer Vision API with Express JS


Languages

Language:HTML 56.4%Language:JavaScript 38.9%Language:CSS 4.7%