Skip to content

VideoTile

Base classes

Name Children Inherits
BaseModel
pydantic.main
!!! abstract "Usage Documentation"

⋔ Inheritance diagram

graph TD
  1244868209["models.VideoTile"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3879467795 --> 1244868209
  2751680898 --> 3879467795

🛈 DocStrings

Bases: BaseModel

Per-tile numbers for videos, so an agent can score without looking.

Source code in src/framesheet/models.py
class VideoTile(BaseModel):
    """Per-tile numbers for videos, so an agent can score without looking."""

    index: int
    t: float
    media_time: float | None
    """Presentation time of the decoded frame (``None`` if the browser did not say)."""
    black: bool
    blank: bool
    """One flat colour that is not black (e.g. a white page before load)."""
    duplicate: bool
    """Near-identical to the previous tile (changes < 0.05% of pixels)."""
    sharpness: float
    """Mean luma gradient (0-510); compare tiles of one video: drops = blur/upscaling."""
    marks: list[str]
    """Labels of the marks active on this tile."""

blank instance-attribute

blank: bool

One flat colour that is not black (e.g. a white page before load).

duplicate instance-attribute

duplicate: bool

Near-identical to the previous tile (changes < 0.05% of pixels).

marks instance-attribute

marks: list[str]

Labels of the marks active on this tile.

media_time instance-attribute

media_time: float | None

Presentation time of the decoded frame (None if the browser did not say).

sharpness instance-attribute

sharpness: float

Mean luma gradient (0-510); compare tiles of one video: drops = blur/upscaling.

:fa-brands-github: Show source on GitHub