How to use the Rekognition function from aws-sdk
Find comprehensive JavaScript aws-sdk.Rekognition code examples handpicked from public code repositorys.
76 77 78 79 80 81 82 83 84 85
### Lambda function: ```javascript const AWS = require('aws-sdk') AWS.config.update({region: 'us-east-2'}) const rekognition = new AWS.Rekognition() const axios = require('axios') const gql = require('graphql-tag') const graphql = require('graphql') const { print } = graphql
8
48
2
257 258 259 260 261 262 263 264 265 266
if (image != undefined && image.dataURI != undefined) { baseAPIResponse.inputDataPresent = "true"; var rek = new AWS.Rekognition({region: 'us-west-2'}); serverPack.rek = rek; serverPack.amazonParameters = { image: image
1
1
1
+ 37 other calls in file
1 2 3 4 5 6 7 8 9 10 11 12 13 14
const AWS = require('aws-sdk'); const lambda = new AWS.Lambda(); const rekognition = new AWS.Rekognition(); // from serverless.yml const BUCKET_NAME = process.env.BUCKET_NAME; // 'attendance-image-bucket" const REGION = process.env.REGION; // 'us-east-1"
0
0
0
aws-sdk.S3 is the most popular function in aws-sdk (7245 examples)