From d0183b2c70804b3fa4fb905d719b645f8cd81c98 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Tue, 3 Oct 2023 07:58:59 -0700 Subject: [PATCH] Fixes typos in the file mediapipe/python/pybind/image.cc and mediapipe/python/pybind /image_frame.cc. PiperOrigin-RevId: 570388388 --- mediapipe/python/pybind/image.cc | 2 +- mediapipe/python/pybind/image_frame.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/python/pybind/image.cc b/mediapipe/python/pybind/image.cc index 5e5ba75308..800e883b4a 100644 --- a/mediapipe/python/pybind/image.cc +++ b/mediapipe/python/pybind/image.cc @@ -98,7 +98,7 @@ void ImageSubmodule(pybind11::module* module) { return Image(std::shared_ptr( CreateImageFrame(format, data))); }), - R"doc(For uint8 data type, valid ImageFormat are GRAY8, SGRB, and SRGBA.)doc", + R"doc(For uint8 data type, valid ImageFormat are GRAY8, SRGB, and SRGBA.)doc", py::arg("image_format"), py::arg("data").noconvert()) .def( py::init([](mediapipe::ImageFormat::Format format, diff --git a/mediapipe/python/pybind/image_frame.cc b/mediapipe/python/pybind/image_frame.cc index d6126a5422..7348133eb8 100644 --- a/mediapipe/python/pybind/image_frame.cc +++ b/mediapipe/python/pybind/image_frame.cc @@ -124,7 +124,7 @@ void ImageFrameSubmodule(pybind11::module* module) { } return CreateImageFrame(format, data); }), - R"doc(For uint8 data type, valid ImageFormat are GRAY8, SGRB, and SRGBA.)doc", + R"doc(For uint8 data type, valid ImageFormat are GRAY8, SRGB, and SRGBA.)doc", py::arg("image_format"), py::arg("data").noconvert()) .def( py::init([](mediapipe::ImageFormat::Format format,