跳至內容

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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。