Skip to content

Commit

Permalink
[#9] 안쓰는 코드 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
zozero94 committed Dec 18, 2020
1 parent ec26d3a commit 0a58752
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Bundle
import android.os.SystemClock
import android.util.Log
import android.util.Size
import android.widget.Toast
Expand Down Expand Up @@ -91,8 +90,6 @@ class MlkitActivity : BaseActivity<ActivityMlkitBinding>() {
it.setAnalyzer(
ContextCompat.getMainExecutor(this),
{ imageProxy ->
val frameStartMs = SystemClock.elapsedRealtime()


val inputImage = InputImage.fromMediaImage(
imageProxy.image,
Expand Down Expand Up @@ -122,10 +119,10 @@ class MlkitActivity : BaseActivity<ActivityMlkitBinding>() {

private fun requestDetectInImage(image: InputImage): Task<Pose> {
return poseDetector.process(image).addOnSuccessListener {
Log.i("post",it.toString())
Log.i("post", it.toString())
}
.addOnFailureListener {
Log.e("failure",it.message)
Log.e("failure", it.message)
}

}
Expand Down

0 comments on commit 0a58752

Please sign in to comment.