diff --git a/.idea/misc.xml b/.idea/misc.xml index 7650728..991a888 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,7 +1,7 @@ - + diff --git a/app/src/main/java/com/example/jnicpp/bowling/PosePhaseDetector.kt b/app/src/main/java/com/example/jnicpp/bowling/PosePhaseDetector.kt index aca1e38..0167067 100644 --- a/app/src/main/java/com/example/jnicpp/bowling/PosePhaseDetector.kt +++ b/app/src/main/java/com/example/jnicpp/bowling/PosePhaseDetector.kt @@ -77,12 +77,12 @@ enum class BowlingPhase { * alone rather than on an actual change of posture. */ class PosePhaseDetector( - private val torsoTiltMinDegrees: Float = 2f, + private val torsoTiltMinDegrees: Float = 1f, private val torsoTiltMaxDegrees: Float = 15f, private val kneeAngleMinDegrees: Float = 150f, private val kneeAngleMaxDegrees: Float = 180f, private val elbowAngleMinDegrees: Float = 70f, - private val elbowAngleMaxDegrees: Float = 110f, + private val elbowAngleMaxDegrees: Float = 125f, private val requiredConsecutiveFrames: Int = 8, private val requiredInvalidFramesToExit: Int = 5 ) {