Azure JS Cognitive Services

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

  1. Create new cognitive services computer vision resource
    run az login, then npm run provision
    OR via portal
  2. Copy .env.sample to .env and populate with values via the following steps.
  3. CLIENT_ID, DOMAIN
  4. SUBSCRIPTION_ID
  5. COGNITIVE_SERVICES_ENDPOINT
  6. COGNITIVE_SERVICES_KEY
  7. run npm start