スキップしてコンテンツを表示

Rekognition video stream - ability to check eye status

0

I am trying to use this sample to recognize eye status of an operator I managed to connect my camera as source of a kinesis video stream then send data to rekogniton I used the person recognition sample to make sure i have the right person and it works I can see the name in the json format now I am trying to check eye status (open or close) but command is not working - the most important part is eye status 1) what is wrong in below to just get eye status without even caring who is the person 2) can I recognize the person and also see the eye status ? (see the commented out # section for example)

my code:

aws rekognition create-stream-processor
--input "KinesisVideoStream={Arn=$VIDEO_ARN}"
--name kvs-operator-processor
#--settings "FaceSearch={CollectionId=$COLLECTION_ID,FaceMatchThreshold=50.0}"
--setting "--settings "{"GeneralLabels":{"LabelInclusionFilters":["person"]}} ----attributes "ALL" --role-arn $ROLE_ARN
--stream-processor-output "KinesisDataStream={Arn=$DATA_ARN}"

質問済み 3年前505ビュー
1回答
0

Hi Chris, You can't include attributes in this construct

aws rekognition create-stream-processor
--input "KinesisVideoStream={Arn=$VIDEO_ARN}"
--name kvs-workshop-processor
--settings "FaceSearch={CollectionId=$COLLECTION_ID,FaceMatchThreshold=50.0}"
[ --attributes "ALL" ] --role-arn $ROLE_ARN
--stream-processor-output "KinesisDataStream={Arn=$DATA_ARN}"

I removed attribute and your construct works but wont provide eye status - do you need to find the person in your collection first then check the eyelids ?

AWS
回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ