[英]Retrieving personal information after the SearchFacesByImage is successful for the face match in amazon rekognition
I am trying to create an app which makes use of Amazon Rekogition in AWS for identification of a person and retrieving the personal information for an internal storage system. 我正在尝试创建一个利用AWS中的Amazon Rekogition来识别个人身份并为内部存储系统检索个人信息的应用程序。
I wanted to know how to connect the Amazon Rekognition part and the information stored in the database. 我想知道如何连接Amazon Rekognition部分和数据库中存储的信息。 The face detection part will be done by Amazon Rekognition, but how will my app store and retrieve the personal information after detection of face? 人脸检测部分将由Amazon Rekognition完成,但是在检测到人脸后,我的应用程序将如何存储和检索个人信息?
Can anyone give me a sample code in Java for retrieving the information stored in dynamodb
using externalImageId
? 谁能给我一个Java示例代码,以使用externalImageId
检索dynamodb
存储的信息?
That is totally up to you and how you code your application! 这完全取决于您以及如何编写应用程序!
Presumably you will want to store information about the person when the Face is initially stored in Rekognition. 大概当您将面部最初存储在Rekognition中时,您将要存储有关该人的信息。 Therefore, your application should: 因此,您的应用程序应:
externalImageId
that links the face to the person's entry in the database 使用将面部与人在数据库中的条目相关联的externalImageId
将面部添加到Amazon Rekognition中的Face Collection中 When a face is later provided for lookup: 以后提供面孔进行查找时:
externalImageId
在Amazon Rekognition中搜索人脸,这将返回externalImageId
externalImageId
使用externalImageId
从数据库中检索匹配的数据 All of that logic is your responsibility to code into an application. 所有这些逻辑是您编写应用程序代码的责任 。 You can search the web for code samples of how to use DynamoDB and Rekognition. 您可以在网上搜索有关如何使用DynamoDB和Rekognition的代码示例。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.