Skip to content

Commit

Permalink
move model
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 committed Dec 31, 2020
1 parent 1941e5a commit 119a5f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ package info.mediapipe.app.multihand
import android.graphics.SurfaceTexture
import android.os.Bundle
import android.util.Size
import android.view.SurfaceHolder
import android.view.SurfaceView
import android.view.View
import android.view.ViewGroup
import android.view.*
import androidx.appcompat.app.AppCompatActivity
import com.google.mediapipe.components.CameraHelper.CameraFacing
import com.google.mediapipe.components.CameraXPreviewHelper
Expand Down Expand Up @@ -64,6 +61,8 @@ class MultiHandActivity : AppCompatActivity() {
Timber.d("[delay: ${timeDelay}] ${multiHandLandmarks.landmarksDebugString()})")
}
PermissionHelper.checkAndRequestCameraPermissions(this)

window.addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON)
}

override fun onResume() {
Expand Down Expand Up @@ -126,7 +125,7 @@ class MultiHandActivity : AppCompatActivity() {
}

companion object {
private const val BINARY_GRAPH_NAME = "multi_hand_tracking_mobile_gpu.binarypb"
private const val BINARY_GRAPH_NAME = "hand/multi_hand_tracking_mobile_gpu.binarypb"
private const val INPUT_VIDEO_STREAM_NAME = "input_video"
private const val OUTPUT_VIDEO_STREAM_NAME = "output_video"
private const val OUTPUT_LANDMARKS_STREAM_NAME = "multi_hand_landmarks"
Expand Down

0 comments on commit 119a5f7

Please sign in to comment.