def _process_image_annotations(image):
 return {'faces': _make_faces_from_pb(image.face_annotations), 'labels': _make_entity_from_pb(image.label_annotations), 'landmarks': _make_entity_from_pb(image.landmark_annotations), 'logos': _make_entity_from_pb(image.logo_annotations), 'properties': _make_image_properties_from_pb(image.image_properties_annotation), 'safe_searches': _make_safe_search_from_pb(image.safe_search_annotation), 'texts': _make_entity_from_pb(image.text_annotations)}

def _process_image_annotations ( image ) : return { 'faces' : _make_faces_from_pb ( image . face_annotations ) , 'labels' : _make_entity_from_pb ( image . label_annotations ) , 'landmarks' : _make_entity_from_pb ( image . landmark_annotations ) , 'logos' : _make_entity_from_pb ( image . logo_annotations ) , 'properties' : _make_image_properties_from_pb ( image . image_properties_annotation ) , 'safe_searches' : _make_safe_search_from_pb ( image . safe_search_annotation ) , 'texts' : _make_entity_from_pb ( image . text_annotations ) }
helper for processing annotation types from protobuf .