CurrentFrame
- class tools.manual.globals.CurrentFrame(image: ndarray = <factory>, scale: float = 1.0, interpolation: int = 3, display_dims: tuple[int, int]=(0, 0), filename: str = '')
Bases:
objectDataclass for holding information about the currently displayed frame
Attributes Summary
The size of the currently displayed frame, in the display window
The filename of the currently displayed frame
The opencv interpolator ID to use for resizing the image to the display window
The scaling factor to use to resize the image to the display window
Attributes Documentation
- Parameters:
image (ndarray)
scale (float)
interpolation (int)
display_dims (tuple[int, int])
filename (str)
- display_dims: tuple[int, int] = (0, 0)
The size of the currently displayed frame, in the display window
- Type:
tuple[int, int]`
- filename: str = ''
The filename of the currently displayed frame
- Type:
str
- interpolation: int = 3
The opencv interpolator ID to use for resizing the image to the display window
- Type:
int
- scale: float = 1.0
The scaling factor to use to resize the image to the display window
- Type:
float
- display_dims: tuple[int, int] = (0, 0)
The size of the currently displayed frame, in the display window
- Type:
tuple[int, int]`
- filename: str = ''
The filename of the currently displayed frame
- Type:
str
- image: ndarray = <dataclasses._MISSING_TYPE object>
The currently displayed frame in original dimensions
- Type:
numpy.ndarry
- interpolation: int = 3
The opencv interpolator ID to use for resizing the image to the display window
- Type:
int
- scale: float = 1.0
The scaling factor to use to resize the image to the display window
- Type:
float