0
votes


I'm finding the right way to use AWS Rekognition service.

My problem is How to verify a person image on multi collections, I'm reading Build Your Own Face Recognition Service Using Amazon Rekognition | AWS Machine Learning Blog from Amazon but cannot find the implementation document for it. My point is Face verification title.

Update 1:

My target is: Using AWS Rekognition to get person's info by their face.

My problem is: How to make AWS Rekognition improves its accuracy when recognizing a face.

What I tried:

  1. Upload multi captured portraits of a person with same ExternalImageID but I'm not sure it works or not.
  2. Finding a way to create Collection for each person, then upload person's portraits to their Collection but I don't how to search a face through multiple Collections.
  3. I'm trying use S3 for storage people's images then using Lambda function to do something that I've not got yet.

Update 2:

  1. What is your input material: Input materials are some people's portrait photo with ExternalImageID is their name (eg: my portrait photo will have ExternalImageID is "Long").
  2. What are you trying to do: I'm trying to get ExternalImageID when I send a portrait photo of a registered person. (eg: with my other portrait photo, AWS has to response ExternalImageID is "Long").
  3. Do you have it working, but it is not recognizing some people? Yes, it's work but sometimes it cannot recognize exactly people.
  4. Please tell us your use-case / scenario and what you are trying to accomplish:
    • Create an AWS Rekognition collection with sample name (eg facetest).
    • Register some people with their name is ExternalImageID.
    • Submit an image to AWS Rekognition API to get ExternalImageID - his name.
1
Could you clarify your question? What do you mean by "verify a person image on multi collections"? What have you tried and what difficulties are you experiencing? Feel free to edit your question to add more details.John Rotenstein
@JohnRotenstein: I've updated my post, please take a look at it!Long Đình
It's still not clear what you are trying to do. What is your input material (eg still pictures? Of who)? What are you trying to do (eg identify a person in a picture, or obtain information about a person in a picture, such as age, smiling, gender)? What do you mean by "improve its accuracy"? Do you have it working, but it is not recognizing some people? Please tell us your use-case / scenario and what you are trying to accomplish.John Rotenstein
I'm sorry about the confusion, I've updated more data that based on your questions. Thanks!Long Đình

1 Answers

2
votes

Okay, so basically you have it working but it doesn't always recognise the person. I'll assume it does not even list the person in the response, even with a low percentage.

I would recommend adding multiple images of the same person to the Face Collection, specifying the same ExternalImageId for each image. (Use one Face Collection with all people in it, including multiple images of the same person.)

Please note that "If you provide the same image, specify the same collection, and use the same external ID in the IndexFaces operation, Amazon Rekognition doesn't save duplicate face metadata." However, adding different images with the same ExternalImageId should be fine.