diff --git a/mediapipe/tasks/cc/vision/face_landmarker/face_landmarks_detector_graph.cc b/mediapipe/tasks/cc/vision/face_landmarker/face_landmarks_detector_graph.cc index e129076aba..b17c528ceb 100644 --- a/mediapipe/tasks/cc/vision/face_landmarker/face_landmarks_detector_graph.cc +++ b/mediapipe/tasks/cc/vision/face_landmarker/face_landmarks_detector_graph.cc @@ -158,7 +158,7 @@ void ConfigureLandmarksSmoothingCalculator( // Min cutoff 0.05 results into ~0.01 alpha in landmark EMA filter when // landmark is static. options.mutable_one_euro_filter()->set_min_cutoff(0.05f); - // Beta 80.0 in combintation with min_cutoff 0.05 results into ~0.94 + // Beta 80.0 in combination with min_cutoff 0.05 results into ~0.94 // alpha in landmark EMA filter when landmark is moving fast. options.mutable_one_euro_filter()->set_beta(80.0f); // Derivative cutoff 1.0 results into ~0.17 alpha in landmark velocity diff --git a/third_party/BUILD b/third_party/BUILD index 6b00be7e9b..cf245e0826 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -236,7 +236,7 @@ cmake( # For example, when building //mediapipe/calculators/video:opencv_video_encoder_calculator_test, # the dependency //mediapipe/framework/formats:image_frame_opencv will # be built as a shared library, which depends on a cv::Mat constructor, - # and expects it to be provided by the main exacutable. The main + # and expects it to be provided by the main executable. The main # executable depends on libimage_frame_opencv.so and links in # libopencv_core.a, which contains cv::Mat. However, if # libopencv_core.a marks its symbols as hidden, then cv::Mat is in diff --git a/third_party/com_google_sentencepiece.diff b/third_party/com_google_sentencepiece.diff index 946231276b..ccc9ef5ecb 100644 --- a/third_party/com_google_sentencepiece.diff +++ b/third_party/com_google_sentencepiece.diff @@ -1204,7 +1204,7 @@ index e8bd5f5..346fb0e 100644 std::string *detokenized) const; // Sets the encoder version. Normally users do not need to call this function. - // But they can call this fucntion just in case if they want to fall back to + // But they can call this function just in case if they want to fall back to // the original encoder. - virtual util::Status SetEncoderVersion(EncoderVersion encoder_version); + virtual absl::Status SetEncoderVersion(EncoderVersion encoder_version); diff --git a/third_party/opencv_ios_source.BUILD b/third_party/opencv_ios_source.BUILD index f97f579882..5dadc00256 100644 --- a/third_party/opencv_ios_source.BUILD +++ b/third_party/opencv_ios_source.BUILD @@ -96,7 +96,7 @@ cc_library( "@//mediapipe:ios_arm64": [ ":opencv_xcframework_device_headers", ], - # A value from above is chosen arbitarily. + # A value from above is chosen arbitrarily. "//conditions:default": [ ":opencv_xcframework_simulator_headers", ], diff --git a/third_party/opencv_ios_source.bzl b/third_party/opencv_ios_source.bzl index 54bb4d5ebd..a013bb6fde 100644 --- a/third_party/opencv_ios_source.bzl +++ b/third_party/opencv_ios_source.bzl @@ -27,7 +27,7 @@ _OPENCV_SIMULATOR_PLATFORM_DIR_NAME = "ios-arm64_x86_64-simulator" _OPENCV_DEVICE_PLATFORM_DIR_NAME = "ios-arm64" def _select_headers_impl(ctx): - # Should match with `/`. Othewise `ios-arm64` matches with `ios-arm64_x86-64` + # Should match with `/`. Otherwise `ios-arm64` matches with `ios-arm64_x86-64` _files = [ f for f in ctx.files.srcs diff --git a/third_party/org_tensorflow_custom_ops.diff b/third_party/org_tensorflow_custom_ops.diff index 9395faac2e..a9b5f7d6ee 100644 --- a/third_party/org_tensorflow_custom_ops.diff +++ b/third_party/org_tensorflow_custom_ops.diff @@ -324,7 +324,7 @@ index 00000000000..4e73cf649e6 + if (node_inputs.size() != 1) { + return {TransformStatus::SKIPPED, ""}; + } -+ // Recognize preeceding scalar Mul operation and save the value. ++ // Recognize preceding scalar Mul operation and save the value. + auto mul = graph->FindProducer(node_inputs[0]->id); + if (mul->operation.type != ToString(OperationType::MUL)) { + return {TransformStatus::SKIPPED, ""}; @@ -620,7 +620,7 @@ index 00000000000..fba7e742998 + "Landmarks operation's output value."}; + } + -+ // Delete preceding and succeding Reshape operations. ++ // Delete preceding and succeeding Reshape operations. + absl::Status removed_preceding = + RemoveSimpleNodeKeepInput(graph, preceding_reshape); + if (!removed_preceding.ok()) {