Skip to content

Commit

Permalink
Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
nallave authored Dec 11, 2024
1 parent 09c2a76 commit 5dc04a2
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion third_party/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion third_party/com_google_sentencepiece.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion third_party/opencv_ios_source.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
Expand Down
2 changes: 1 addition & 1 deletion third_party/opencv_ios_source.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions third_party/org_tensorflow_custom_ops.diff
Original file line number Diff line number Diff line change
Expand Up @@ -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, ""};
Expand Down Expand Up @@ -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()) {
Expand Down

0 comments on commit 5dc04a2

Please sign in to comment.