Skip to content

Commit

Permalink
No public description
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 698709768
  • Loading branch information
Martin Huschenbett authored and copybara-github committed Nov 21, 2024
1 parent 1077b73 commit 2fab0dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mediapipe/python/packet_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
create_matrix = _packet_creator.create_matrix


def create_image_frame(data: Union[image_frame.ImageFrame, np.ndarray],
def create_image_frame(data: Union[image_frame.ImageFrame, np.ndarray], # pytype: disable=annotation-type-mismatch
*,
image_format: image_frame.ImageFormat = None,
copy: bool = None) -> packet.Packet:
Expand Down Expand Up @@ -149,7 +149,7 @@ def create_image_frame(data: Union[image_frame.ImageFrame, np.ndarray],
# pylint:enable=protected-access


def create_image(data: Union[image.Image, np.ndarray],
def create_image(data: Union[image.Image, np.ndarray], # pytype: disable=annotation-type-mismatch
*,
image_format: image_frame.ImageFormat = None,
copy: bool = None) -> packet.Packet:
Expand Down

0 comments on commit 2fab0dd

Please sign in to comment.