multimodalart's picture
multimodalart HF Staff
Upload folder using huggingface_hub
83c6c2d verified
Raw History Blame Contribute Delete
585 Bytes
# Copyright (c) Meta Platforms, Inc. and affiliates.
# SPDX-License-Identifier: LicenseRef-SAM-License
# From SAM 3D Body (https://github.com/facebookresearch/sam-3d-body), modified for FAB; licence: third_party_licenses/SAM-License.txt
from .bbox_utils import (
bbox_cs2xywh,
bbox_cs2xyxy,
bbox_xywh2cs,
bbox_xywh2xyxy,
bbox_xyxy2cs,
bbox_xyxy2xywh,
flip_bbox,
get_udp_warp_matrix,
get_warp_matrix,
)
from .common import (
Compose,
GetBBoxCenterScale,
NormalizeKeypoint,
SquarePad,
TopdownAffine,
VisionTransformWrapper,
)