This commit is contained in:
Seunggyu Lee 2024-01-01 23:40:09 -08:00 committed by GitHub
commit e62909e24a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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