amazon-rekognition

AWS Rekognition: Add extra faces of same person

走远了吗. 提交于 2021-02-05 07:09:48
问题 I can manage to add an image to AWS Rekognition Collection using the IndexFacesRequest. However, to improve accuracy I would like to add more images of the same user. How do I let the request know it is the same user? 回答1: Rekognition does not allow you to provide multiple face images for a single face ID. But you can upload multiple faces of the same person and give them the same ExternalImageId. That's the ID that you typically use to correlate a face match to your person database. When

AWS live human detection from video

纵然是瞬间 提交于 2020-07-22 06:09:38
问题 Is there any AWS api for detecting live human in a video ? For example a person can fake the human detection by just showing an image of another person. So is there a way to overcome this ? The recognition will first verify if there is a person in the video or not. If not AWS is there any other api or python libraries to do that? 回答1: Depending on the expected attack vector(s), it is likely going to be your responsibility to craft a solution comprised of other identity verification building

How to use AWS Rekognition to Compare Face in Swift 3

不问归期 提交于 2020-02-15 10:08:08
问题 I've been trying to use the AWSRekognition SDK in order to compare face. However, Amazon has no Documentation on how to integrate their SDK with iOS. They have links that show how to work with Recognition (Developer Guide) with examples only in Java and very limited. I wanted to know if anyone knows how to integrate AWS Rekognition in Swift 3. How to Initialize it and make a request with an image, receiving a response with the labels. I have AWS Signatures AccessKey, SecretKey, AWS Region,

AWS Lambda Console - Upgrade boto3 version

南笙酒味 提交于 2020-01-03 17:49:31
问题 I am creating a DeepLens project to recognise people, when one of select group of people are scanned by the camera. The project uses a lambda, which processes the images and triggers the ' rekognition ' aws api. When I trigger the API from my local machine - I get a good response When I trigger the API from AWS console - I get failed response Problem After much digging, I found that the 'boto3' (AWS python library) is of version: 1.9.62 - on my local machine 1.8.9 - on AWS console Question

How to compare faces in a Collection to faces in a Stored Video using AWS Rekognition?

会有一股神秘感。 提交于 2019-12-25 03:03:38
问题 I would appreciate some guidance on the following issue. Use Case: Create a collection with known faces. Search a stored video to identify "known" faces & draw a bounding box around them in the video frame Steps taken: I'm able to create a collection and index faces I'm able to analyse the stored video and get the results of PersonMatch and FaceMatch using getFaceSearch() I'm able to draw the bounding boxes around Persons found in the video, etc., however... Issue: The response of

AWS Rekognition Error - InvalidparameterException

不羁的心 提交于 2019-12-25 00:35:21
问题 const AWS = require('aws-sdk'); AWS.config.loadFromPath('./config.json'); const rekognition = new AWS.Rekognition({apiVersion: '2016-06-27'}); const constants = require('./constants'); const s3BucketName = constants.s3BucketName; const s3BucketKeyName = constants.s3FacebookBucketKey; const params = { Image: { S3Object: { Bucket: "mastekinnoations3learning", Name: "1527119837382460.jpeg" } } }; rekognition.detectFaces(params, function(err, data) { if (err) console.log(err, err.stack); // an

Amazon Rekognition detect celebrity from stream video

十年热恋 提交于 2019-12-24 23:01:38
问题 Amazon Rekognition Celebrity Detection Ios: Done for face detection with a provided image via camera and photo library. Tried to manage with video (Either from bundle or live URL), to detect celebrity image over the video. sendVideoToRekognition(celebVideoData: video) func sendVideoToRekognition(celebVideoData: URL){ //Delete older labels or buttons DispatchQueue.main.async { [weak self] in for subView in (self?.CelebImageView.subviews)! { subView.removeFromSuperview() } } rekognitionObject =

ListCollections is not listing correct collections in Android App - AWS Rekognition

白昼怎懂夜的黑 提交于 2019-12-24 21:12:25
问题 Ok so I have been stuck here for about more than a week now and I know its some dumb mistake. Just can't figure it out. I am working on a project that is available of two platforms, Android & iOS. Its sort of a facial recognition app. When I try to create/access collections from iOS application and python script, they both access the same collection from my AWS account. But when I try to access from Android application, it creates/accesses it's own collections. The collections created by

Can I use Amazon Rekognition without an S3 bucket?

独自空忆成欢 提交于 2019-12-24 07:29:23
问题 I want to use the Firebase with the Amazon Rekognition is it possible to use? I read Class for Rekognition for Node.js it has the S3 command in the code. 回答1: No , you don't need to use s3 if you don't want. Using s3 provides low latency but you can use Rekognition services directly via API calls , the response of the API calls will contain your desired results in json format which you can use as you want. Further if you use direct API calls , then you have to pass your images in base-64

AWS Rekognition JS SDK Invalid image encoding error

穿精又带淫゛_ 提交于 2019-12-24 00:54:06
问题 Building a simple AWS Rekognition demo with React, using <input type="file"> Getting Invalid image encoding error. let file = e.target.files[0]; let reader = new FileReader(); reader.readAsDataURL(file); reader.onloadend = () => { let rekognition = new aws.Rekognition(); var params = { Image: { /* required */ Bytes: reader.result, }, MaxLabels: 0, MinConfidence: 0.0 }; rekognition.detectLabels(params, function(err, data) { if (err) console.log(err, err.stack); // an error occurred else