AWS Rekognition流处理器Kinesis离开失败

时间:2018-07-16 16:00:02

标签: live-streaming amazon-kinesis amazon-rekognition

当我启动流处理器时,它失败了。 创建处理器并检查(列出流处理器),初始状态为STOPPED,然后执行命令以启动流处理器,再次检查并返回状态为FAILED。

我正在使用: -Raspberry Pi和Camera Pi; -适用于PHP 3.x(https://docs.aws.amazon.com/aws-sdk-php/v3/api/class-Aws.Rekognition.RekognitionClient.html)的AWS开发工具包

更多信息:

创建收藏=确定

<button onClick={this.buttonAction}>
  <img
    src="./assets/iconspng/icons8-create-50.png"
    alt="Edit Pilot Application"
  />
  Show Clients Info                                     
</button>

创建流处理器=确定

$result = $client->createCollection([
    'CollectionId' => 'novaColecao',
]);

开始流处理器=失败

$result = $client->createStreamProcessor([
    'Input' => [ // REQUIRED
        'KinesisVideoStream' => [
            'Arn' => 'arn:aws:kinesisvideo:us-east-1:086417584256:stream/streamA/1531689874652',
        ],
    ],
    'Name' => 'store-processor', // REQUIRED
    'Output' => [ // REQUIRED
        'KinesisDataStream' => [
            'Arn' => 'arn:aws:kinesis:us-east-1:086417584256:stream/dataA',
        ],
    ],
    'RoleArn' => 'arn:aws:iam::086417584256:role/funcaoLerGravarFluxoKinesis', // REQUIRED
    'Settings' => [ // REQUIRED
        'FaceSearch' => [
            'CollectionId' => 'novaColecao',
            'FaceMatchThreshold' => 85.5,
        ],
    ],
]);

“打印屏幕”文件夹:https://drive.google.com/drive/folders/1JwzzUcyvkkFrqWtI_IofcwI2xkQZ_sNf?usp=sharing

1-Kinesis视频流:https://drive.google.com/file/d/1w4BIY4LTWpFzDML9wT9nCxTzFcMTdfyg/view?usp=sharing 2-“ streamA”(1):https://drive.google.com/file/d/1vy5PRuA6dUxr-GaZQOKSWA4Jcq5HyeDS/view?usp=sharing 3-“ streamA”(2):https://drive.google.com/file/d/11Zwb3TMKGuZ90xdXXYJ8SQE2ToE__dYV/view?usp=sharing 4-“ dataA”:https://drive.google.com/file/d/17PeknCK7stklEJoDP6X0wHwmt-Wd825J/view?usp=sharing 5-角色ARN:https://drive.google.com/file/d/10qQcnIkWvMpmVAbYb6SoLafzhxLmG-r-/view?usp=sharing 6-流处理器失败:https://drive.google.com/file/d/1vrOOh7NVqkMFwDp3lMy3j0mTpm0-l2xs/view?usp=sharing

我在做什么错了?

0 个答案:

没有答案