Skip to content

Commit

Permalink
Update src/surface/gui/gui/widgets/video_widget.py
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Poulin <90342856+benjaminwp18@users.noreply.github.com>
  • Loading branch information
InvincibleRMC and benjaminwp18 authored Jul 6, 2024
1 parent 340ab55 commit 94a385d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/surface/gui/gui/widgets/video_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@

# TODO: Ubuntu26+
# Our own implementation of cv2.typing.MatLike until cv2.typing exists in a future ubuntu release
# This what is actual in cv2.typing, MatLike = cv2.mat_wrapper.Mat | NDArray[numpy.integer[Any] | numpy.floating[Any]]
# This should be posiible in a newer version of mypy, MatLike = NDArray[numpy.integer[Any] | numpy.floating[Any]]
# This what is actually implemented in cv2.typing:
# MatLike = cv2.mat_wrapper.Mat | NDArray[numpy.integer[Any] | numpy.floating[Any]]
# This should be possible in a newer version of mypy:
# MatLike = NDArray[numpy.integer[Any] | numpy.floating[Any]]
MatLike = NDArray[numpy.generic]

WIDTH = 721
Expand Down

0 comments on commit 94a385d

Please sign in to comment.