Azure JS Cognitive Services
1 min read
azure, javascript
Written in 2019. Tools, APIs and prices may have changed since.
Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/azure-js-cognitive-services-playground.
learn azure cognitive services
Examples
runHandwrittenOCRForURL() - uses computer vision batchReadFile API to perform handwritten OCR on a image of a form (image sourced from public URL).
Resources
Running
- Create new cognitive services computer vision resource
runaz login, thennpm run provision
OR via portal
- Copy
.env.sampleto.envand populate with values via the following steps. CLIENT_ID,DOMAIN
- SUBSCRIPTION_ID

COGNITIVE_SERVICES_ENDPOINT
COGNITIVE_SERVICES_KEY
- run
npm start