FrameMetrics
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BaseModel pydantic.main !!! abstract "Usage Documentation" |
⋔ Inheritance diagram¶
graph TD
2338007724["models.FrameMetrics"]
3879467795["main.BaseModel"]
2751680898["builtins.object"]
3879467795 --> 2338007724
2751680898 --> 3879467795
🛈 DocStrings¶
Bases: BaseModel
Per-frame numbers.
Source code in src/framesheet/models.py
changed_box
class-attribute
instance-attribute
¶
changed_box: Rect | None = None
Bounding box (CSS px) of the pixels that changed vs. the previous frame.
changed_ratio
instance-attribute
¶
Share of pixels that differ from the previous frame (0 for the first frame).
path
class-attribute
instance-attribute
¶
Path of the individual frame PNG, if frames were kept.