module documentation

Segment Anything wrapper for the FiftyOne Model Zoo.

Copyright 2017-2025, Voxel51, Inc.

Class SegmentAnythingModel Wrapper for running Segment Anything inference.
Class SegmentAnythingModelConfig Configuration for running a SegmentAnythingModel.
Variable sam Undocumented
Function _mask_to_box Undocumented
Function _to_sam_box Undocumented
Function _to_sam_input Undocumented
Function _to_sam_points Undocumented

Undocumented

def _mask_to_box(mask): (source)

Undocumented

def _to_sam_box(box, w, h): (source)

Undocumented

def _to_sam_input(tensor): (source)

Undocumented

def _to_sam_points(points, w, h, keypoint): (source)

Undocumented