services | platforms | author |
---|---|---|
cognitive-services, computer-vision |
js |
sarangan12 |
This sample code uses image description with the Computer Vision Cognitive Service. It will retrieve and print tags from the image.
- If you don't have a Microsoft Azure subscription you can visit the Microsoft Cognitive Services Web site, create a new Azure account, and try Cognitive Services for free.
- Get an Azure Computer Vision account to get your subscription key and endpoint.
- Add AZURE_COMPUTER_VISION_ENDPOINT, AZURE_TENANT_ID, AZURE_CLIENT_SECRET and AZURE_CLIENT_ID to your environment variables with your endpoint.
Execute from the command line:
git clone https://github.com/sarangan12/computer-vision-js-sdk-sample.git
cd computer-vision-js-sdk-sample
npm install
tsc -p .
node .\dist\index.js
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.