내용으로 건너뛰기

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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

관련 콘텐츠