diff --git a/mediapipe/python/pybind/image.cc b/mediapipe/python/pybind/image.cc index 5e5ba7530..800e883b4 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 d6126a542..7348133eb 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,