From 08380c0d0b6d848b85c970e7d8324610d51ee241 Mon Sep 17 00:00:00 2001 From: Seunggyu Lee Date: Wed, 27 Sep 2023 23:36:27 +0900 Subject: [PATCH] fix: Register NormalizedLandmarkList type --- .../google/mediapipe/apps/posetrackinggpu/MainActivity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu/MainActivity.java b/mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu/MainActivity.java index 730aa6e1f..b7ea64d68 100644 --- a/mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu/MainActivity.java +++ b/mediapipe/examples/android/src/java/com/google/mediapipe/apps/posetrackinggpu/MainActivity.java @@ -31,6 +31,12 @@ public class MainActivity extends com.google.mediapipe.apps.basic.MainActivity { protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + // Register NormalizedLandmarkList type + ProtoUtil.registerTypeName( + NormalizedLandmarkList.class, + "mediapipe.NormalizedLandmarkList" + ); + // To show verbose logging, run: // adb shell setprop log.tag.MainActivity VERBOSE if (Log.isLoggable(TAG, Log.VERBOSE)) {