[Android应用上具有AWS Rekognition的AWS Kinesis视频流

问题描述 投票:0回答:1

我一直在尝试将AWS Kinesis Video Stream与Rekognition集成到Android应用程序中,但未能获得相同的最佳教程。

我想实现人脸识别,并且被困在PutMedia的步骤中。在Amazon提供的演示/文档中,我发现仅与Java Producer Library and SDK相关的详细信息,而与Android Producer Library和SDK相关的所有内容都没有,我需要使用Android应用程序作为Kinesis Producer并将视频流式传输到Rekognition服务。

Android是否有PutMedia的替代品?如果,它是什么以及如何实现?如果为[[no,则如何使用AWS Android Producer库和SDK在Android App中实现PutMedia。

到目前为止,我已经引用了以下链接:https://docs.aws.amazon.com/rekognition/latest/dg/recognize-faces-in-a-video-stream.htmlhttps://docs.aws.amazon.com/kinesisvideostreams/latest/dg/examples-putmedia.htmlhttps://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producer-sdk-android.htmlhttps://github.com/awslabs/aws-sdk-android-samples/tree/master/AmazonKinesisVideoDemoApphttps://docs.aws.amazon.com/kinesisvideostreams/latest/dg/producersdk-android-downloadcode.html

所需的完整流程如下:

1. Start video streaming on Android Device.

    从流视频中检测脸部。
  • 3. After detecting the face, match(Compare) it with already existing face from the list of images in the S3 bucket.
      如果找到脸部匹配项,则返回True,否则返回False。
  • Any help with the issue would be a great. Thanks
  • android amazon-web-services video-streaming amazon-kinesis amazon-rekognition
    1个回答
    0
    投票
    1. 假设您正在从Android设备上的摄像机流式传输到Kinesis Video,则可以使用AmazonKinesisVideoDemoApp。如果您要发送现有视频,则需要将其转码为MKV文件并通过PutMedia发送]]

    2. 编写类似于kinesisvideorekognitionintegrationexample的积分以获取检测到的面部的输出。您将需要自己的逻辑来提取图像,类似于https://github.com/aws/amazon-kinesis-video-streams-parser-library/blob/4d6697fb2bcf6632306ed6a36d557e268b7b7b5a/src/main/java/com/amazonaws/kinesisvideo/parser/utilities/H264BoundingBoxFrameRenderer.java#L135。如果流处理器运行良好,可能需要https://github.com/aws/amazon-kinesis-video-streams-parser-library/issues/75#issuecomment-555662170中的AWS CLI命令才能更好地理解。
    3. <<

      希望有帮助。

    © www.soinside.com 2019 - 2024. All rights reserved.