Skip to content

Commit

Permalink
fix(preprocessing/video): define VideoFrameU8 and VideoFrameF32 e…
Browse files Browse the repository at this point in the history
…ven when not type-checking
  • Loading branch information
ruancomelli committed Jun 16, 2022
1 parent 7f41277 commit 453eda1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions boiling_learning/preprocessing/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
VideoFrameF32 = npt.NDArray[np.float32]
VideoFrame = Union[VideoFrameU8, VideoFrameF32]
else:
VideoFrameU8 = np.ndarray
VideoFrameF32 = np.ndarray
VideoFrame = np.ndarray


Expand Down

0 comments on commit 453eda1

Please sign in to comment.