↓ 4 callersFunctionplot_bbox(
img_height,
img_width,
box,
box_format="XYXY",
relative_coords=True,
color="r",
sam3/visualization_utils.py:90
↓ 3 callersMethod__init__(
self,
width: int,
layers: int,
heads: int,
mlp_ratio: float = 4.0,
sam3/model/text_encoder_ve.py:91
↓ 3 callersFunctionmask_to_box compute bounding box given an input mask Inputs: - masks: [B, 1, H, W] tensor Returns: - box_coords: [B, 1, 4], contains (x, y)
sam3/model/sam3_tracker_utils.py:57
↓ 3 callersFunctionopengl_proj_from_intrinsics(fx, fy, cx, cy, w, h, znear, zfar, device)
PGSR/Mesh2DepthHelper/Mesh2DepthHelper.py:9
↓ 3 callersFunctionparse_obb_transform_extents Returns (center(3,), R(3,3), extents_full(3,)) if available, else None.
postprocess_3d_bbox_aabb.py:128
↓ 2 callersFunction_build_size_mcq_options(
label1: str,
label2: str,
answer_text: str,
same_text: str,
mode: str,
rng: random.R
qa_generation/templates_object_dist.py:139