我如何能够从使用 Python 2.7 从 Amazon Kinesis/Rekognition 获得的这个列表中提取“滚动”?
{u'FaceSearchResponse': [{u'DetectedFace': {u'BoundingBox': {u'Width': 0.10875, u'Top': 0.08555555, u'Left': 0.775, u'Height': 0.19333333}, u '信心':99.82224,u'Pose':{u'Yaw':39.53371,u'Roll':10.791267,u'Pitch':-1.0082194},u'Quality':{u'Sharpness':99.93052,u' Brightness': 44.374504}, u'Landmarks': [{u'Y': 0.17006741, u'X': 0.81887186, u'Type': u'eyeLeft'}, {u'Y': 0.18348174, u'X' : 0.8479081, u'Type': u'eyeRight'}, {u'Y': 0.21523575, u'X': 0.8444541, u'Type': u'nose'}, {u'Y': 0.2389706, u' X': 0.81935763, u'Type': u'mouthLeft'}, {u'Y': 0.2415149, u'X': 0.83268094,u'Type': u'mouthRight'}]}, u'MatchedFaces': []}], u'StreamProcessorInformation': {u'Status': u'RUNNING'}, u'InputInformation': {u'KinesisVideo' : {u'ServerTimestamp': 1521934266.557, u'FrameOffsetInSeconds': 0.035999998450279236, u'StreamArn': u'arn:aws:kinesisvideo:us-east-1:086906171606:stream/AmazonRekognitionVS/1520802835':uragmentNumber', '91343852333181789275940108114159018792280348730', u'ProducerTimestamp': 1521934266.294}}}035999998450279236, u'StreamArn': u'arn:aws:kinesisvideo:us-east-1:086906171606:stream/AmazonRekognitionVS/1520802835146', u'FragmentNumber': u'91343852333181789275940108114159018792280348730', u'ProducerTimestamp': 1521934266.294}}}035999998450279236, u'StreamArn': u'arn:aws:kinesisvideo:us-east-1:086906171606:stream/AmazonRekognitionVS/1520802835146', u'FragmentNumber': u'91343852333181789275940108114159018792280348730', u'ProducerTimestamp': 1521934266.294}}}
out = kinesis.get_records(shard_it,limit=2)
for o in out["Records"]:
a = json.loads(o["Data"])
b = a["FaceSearchResponse"]
c = b["DetectedFace"]
print c