module documentation

FiftyOne Server /get_similar_labels_frames route

Copyright 2017-2025, Voxel51, Inc.

Class GetSimilarLabelsFrameCollection This route scans the frame collection for a given video sample and returns a label id map (label_id -> frame_number) for a given instance id.
Function _build_similar_labels_pipeline Builds the aggregation pipeline for finding similar labels across frames.
Function _get_filtered_schema Undocumented
def _build_similar_labels_pipeline(instance_id, field_names_with_instance): (source)

Builds the aggregation pipeline for finding similar labels across frames.

Parameters
instance_idThe instance ID to match against
field_names_with_instanceA list of field names that contain instance fields
Returns
A list of pipeline stages for MongoDB aggregation
def _get_filtered_schema(view): (source)

Undocumented