diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index df6070f..4888183 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -12,7 +12,7 @@ android:theme="@style/AppTheme" tools:ignore="AllowBackup"> diff --git a/app/src/main/java/info/mediapipe/app/MedaipipeMainActivity.kt b/app/src/main/java/info/mediapipe/app/MediaPipeMainActivity.kt similarity index 92% rename from app/src/main/java/info/mediapipe/app/MedaipipeMainActivity.kt rename to app/src/main/java/info/mediapipe/app/MediaPipeMainActivity.kt index ebfbfdf..c8a790b 100644 --- a/app/src/main/java/info/mediapipe/app/MedaipipeMainActivity.kt +++ b/app/src/main/java/info/mediapipe/app/MediaPipeMainActivity.kt @@ -4,7 +4,7 @@ import android.os.Bundle import javax.annotation.Nonnull import info.hannes.github.AppUpdateHelper -class MedaipipeMainActivity : NavigationActivity() { +class MediaPipeMainActivity : NavigationActivity() { override fun onCreate(@Nonnull savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) diff --git a/app/src/main/java/info/mediapipe/app/multihand/MultiHandActivity.kt b/app/src/main/java/info/mediapipe/app/multihand/MultiHandActivity.kt index ce71794..ce115ca 100644 --- a/app/src/main/java/info/mediapipe/app/multihand/MultiHandActivity.kt +++ b/app/src/main/java/info/mediapipe/app/multihand/MultiHandActivity.kt @@ -72,6 +72,7 @@ class MultiHandActivity : AppCompatActivity() { ) processor.videoSurfaceOutput?.setFlipY(FLIP_FRAMES_VERTICALLY) PermissionHelper.checkAndRequestCameraPermissions(this) + val packetCreator = processor.packetCreator val inputSidePackets: MutableMap = HashMap() inputSidePackets[INPUT_NUM_HANDS_SIDE_PACKET_NAME] = packetCreator.createInt32(NUM_HANDS) diff --git a/app/src/main/res/layout/activity_mediapipe_main.xml b/app/src/main/res/layout/activity_mediapipe_main.xml index 30ac5ea..098eb57 100644 --- a/app/src/main/res/layout/activity_mediapipe_main.xml +++ b/app/src/main/res/layout/activity_mediapipe_main.xml @@ -10,7 +10,7 @@ + tools:context=".MediaPipeMainActivity"> + tools:context=".MediaPipeMainActivity" />