def bound3d_to_dict(bound3d):
    """Convert instance of class Bound to python dict.

    """
    bound3d_dict = {'cube':bound3d.cube, 'pathch_number':bound3d.get_patch_num(),\
                'score':bound3d.score, 'label':bound3d.label}
    return bound3d_dict