Initialisation du repository de Beta
This commit is contained in:
commit
14985f6dbb
9469 changed files with 1903273 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
from typing import Any, Sequence, overload
|
||||
|
||||
import numpy as np
|
||||
|
||||
from .sidedata import SideData
|
||||
|
||||
class MotionVectors(SideData, Sequence[MotionVector]):
|
||||
@overload
|
||||
def __getitem__(self, index: int): ...
|
||||
@overload
|
||||
def __getitem__(self, index: slice): ...
|
||||
@overload
|
||||
def __getitem__(self, index: int | slice): ...
|
||||
def __len__(self) -> int: ...
|
||||
def to_ndarray(self) -> np.ndarray[Any, Any]: ...
|
||||
|
||||
class MotionVector:
|
||||
source: int
|
||||
w: int
|
||||
h: int
|
||||
src_x: int
|
||||
src_y: int
|
||||
dst_x: int
|
||||
dst_y: int
|
||||
motion_x: int
|
||||
motion_y: int
|
||||
motion_scale: int
|
||||
Loading…
Add table
Add a link
Reference in a new issue