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)) {