Skip to content

Commit

Permalink
Fixes typos in the file mediapipe/python/pybind/image.cc and mediapip…
Browse files Browse the repository at this point in the history
…e/python/pybind

/image_frame.cc.

PiperOrigin-RevId: 570388388
  • Loading branch information
MediaPipe Team authored and copybara-github committed Oct 3, 2023
1 parent 5366aa9 commit d0183b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mediapipe/python/pybind/image.cc
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ void ImageSubmodule(pybind11::module* module) {
return Image(std::shared_ptr<ImageFrame>(
CreateImageFrame<uint8_t>(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,
Expand Down
2 changes: 1 addition & 1 deletion mediapipe/python/pybind/image_frame.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ void ImageFrameSubmodule(pybind11::module* module) {
}
return CreateImageFrame<uint8_t>(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,
Expand Down

0 comments on commit d0183b2

Please sign in to comment.