def _find_shape(anno_json, label_id):
    shape = _parse_shapes(anno_json['shapes'], label_id)
    if (shape is not None):
        return shape
    for track in anno_json['tracks']:
        shape = _parse_shapes(track['shapes'], label_id)
        if (shape is not None):
            return shape
def _find_shape(anno_json, label_id):
    shape = _parse_shapes(anno_json['shapes'], label_id)
    if (shape is not None):
        return shape
    for track in anno_json['tracks']:
        shape = _parse_shapes(track['shapes'], label_id)
        if (shape is not None):
            return shape