module documentation

Segment Anything 2 wrapper for the FiftyOne Model Zoo.

Copyright 2017-2025, Voxel51, Inc.

Class SegmentAnything2ImageModel Wrapper for running Segment Anything 2 inference on images.
Class SegmentAnything2ImageModelConfig Configuration for running a SegmentAnything2ImageModel.
Class SegmentAnything2VideoModel Wrapper for running Segment Anything 2 inference on videos.
Class SegmentAnything2VideoModelConfig Configuration for running a SegmentAnything2VideoModel.
Function load_fiftyone_video_frames Undocumented
Variable logger Undocumented
Variable sam2 Undocumented
Variable samg Undocumented
Variable smip Undocumented
Variable smutil Undocumented
Function _load_video_frames_monkey_patch Undocumented
def load_fiftyone_video_frames(video_path, image_size, offload_video_to_cpu, img_mean=(0.485, 0.456, 0.406), img_std=(0.229, 0.224, 0.225), async_loading_frames=False, compute_device=torch.device('cuda')): (source)

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

Undocumented

def _load_video_frames_monkey_patch(): (source)

Undocumented