Skip to content

Pin context media

PinContextMediaSetting #

PinContextMediaSetting()

Bases: RapidataSetting

Shows the context image or video next to the task for the whole rapid, instead of inside the collapsible context drawer.

Useful when annotators have to judge the assets against a reference, e.g. comparing two videos to a reference video. A multi-asset context is reduced to its first asset. Search terms: reference, context video, context image, alongside, side by side, pinned, thumbnail.

Supported task types: all.

Source code in src/rapidata/rapidata_client/settings/pin_context_media.py
def __init__(self):
    super().__init__(key="media_context_persistent_thumbnail", value="true")