Reported size of each video frame in pixels as a tuple of (width, height).
(self)
| 461 | |
| 462 | @property |
| 463 | def frame_size(self) -> tuple[int, int]: |
| 464 | """Reported size of each video frame in pixels as a tuple of (width, height).""" |
| 465 | return ( |
| 466 | math.trunc(self._cap.get(cv2.CAP_PROP_FRAME_WIDTH)), |
| 467 | math.trunc(self._cap.get(cv2.CAP_PROP_FRAME_HEIGHT)), |
| 468 | ) |
| 469 | |
| 470 | @property |
| 471 | def duration(self) -> FrameTimecode | None: |
nothing calls this directly
no outgoing calls
no test coverage detected