deep-foundation / deep-memo-app

The Unlicense
11 stars 8 forks source link

React in async handler when video or photo appears https://www.npmjs.com/package/@google-cloud/vision #14

Open FreePhoenix888 opened 1 year ago

FreePhoenix888 commented 1 year ago

https://www.npmjs.com/package/@google-cloud/vision

FreePhoenix888 commented 1 year ago
const client = new ImageAnnotatorClient({
    key: serviceAccount
  });

You need to pass auth instance to use gRPC-fallback client in browser or other non-Node.js environments. Use OAuth2Client from google-auth-library.

UPD: This comment is not relevant. Take in account how we made google cloud speech package