diff --git a/README.md b/README.md index bec7f4b..2591fce 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,8 @@ Here we explaining the above gif and how reached the "results". Each "movement" | Head Direction | Attribute | _v_ < -36° | -36° < _v_ < -12° | -12° < _v_ < 12° | 12° < _v_ < 36° | 36° < _v_ | | - | - | - | - | - | - | - | | Vertical | `headEulerAngleX` | Super Down | Down | Frontal | Up | Super Up | -| Horizontal | `headEulerAngleY` | Super Right | Right | Frontal | Left | Super Left | -| Tilt | `headEulerAngleZ` | Super Left | Left | Frontal | Right | Super Right | +| Horizontal | `headEulerAngleY` | Super Left | Left | Frontal | Right | Super Right | +| Tilt | `headEulerAngleZ` | Super Right | Right | Frontal | Left | Super Left | ## To contribute and make it better diff --git a/app/src/main/java/ai/cyberlabs/yoonit/facefydemo/MainActivity.kt b/app/src/main/java/ai/cyberlabs/yoonit/facefydemo/MainActivity.kt index 3932155..fe2f880 100644 --- a/app/src/main/java/ai/cyberlabs/yoonit/facefydemo/MainActivity.kt +++ b/app/src/main/java/ai/cyberlabs/yoonit/facefydemo/MainActivity.kt @@ -287,14 +287,14 @@ class MainActivity : AppCompatActivity() { tilt_movement.text = getString( R.string.tilt_movement, - "Super Left" + "Super Right" ) } headAngleZ > -36 && headAngleZ < -12 -> { tilt_movement.text = getString( R.string.tilt_movement, - "Left" + "Right" ) } headAngleZ > -12 && headAngleZ < 12 -> { @@ -308,14 +308,14 @@ class MainActivity : AppCompatActivity() { tilt_movement.text = getString( R.string.tilt_movement, - "Right" + "Left" ) } headAngleZ > 36 -> { tilt_movement.text = getString( R.string.tilt_movement, - "Super Right" + "Super Left" ) } }