需要使用AWS在已存储的标签集合中比较给定的面部输入图像 [英] Need to compare a given face input image across an already stored labelled collection using AWS

查看:87
本文介绍了需要使用AWS在已存储的标签集合中比较给定的面部输入图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有来自客户的个人资料图像集合,我需要能够传递该人的自拍照并在图像集合中对其进行扫描,以获取客户信息。

I have a collection of profile images from customers I need to be able to pass a selfie of the person and scan it across the collection of images and pull up the customer information.

需要使用AWS Rekognition执行以下操作-

Need to do the following using AWS Rekognition -


  • 创建集合-完成

  • 将图像添加到集合中-此的REST API语法是什么

  • 在将图像添加到集合时,还使用客户名称对其进行了标记。

  • 自拍人像并在集合中搜索并返回匹配的标签信息。

  • Create a collection - Done
  • Add Images to the collection - Whats the REST API syntax for this
  • While adding the images to the collection also tag it with the customer name.
  • Take a selfie portrait and search across the collection and return the tag information which matches.

我使用Flutter作为平台,因此有不支持AWS开发工具包,因此需要进行REST API调用。
但是,AWS文档并未提供太多有关REST支持的信息。

Im using Flutter as a platform hence there is no support for AWS SDK so will need to make REST API calls. However the AWS docs don't provide much information for REST support.

推荐答案

API已记录。例如,要检测图像中的面孔并将其添加到集合中,请参见 IndexFaces

The APIs are documented. For example to detect faces in an image and add them to a collection, see IndexFaces.

我个人建议在转到Rest API之前先通过awscli(或Python / boto3)熟悉Rekognition。

I'd personally recommend getting comfortable with Rekognition via the awscli (or Python/boto3) briefly before you move to the Rest API.

在名称标签的前面,将面孔添加到集合时为面孔分配外部ID。该外部ID是您提供的并且Rekognition存储的相关器。稍后,当您询问Rekognition时,给定的脸孔是否与集合中已有的脸孔匹配,Rekognition将返回您的外部ID。然后可以将其用作对某些数据库的查询,您必须识别该人的姓名,出生日期或其他任何信息。

On the name tagging front, you assign an 'external ID' to faces when adding them to a collection. That external ID is the correlator that you supply and that Rekognition stores. Later, when you ask Rekognition if a given face matches one already in a collection, Rekognition will return you the external ID. That can then be used as a lookup into some database that you have to identify the person's name, date of birth, or whatever.

这篇关于需要使用AWS在已存储的标签集合中比较给定的面部输入图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆