Auto-CS 2.0

https://sourceforge.net/projects/autocs/

Module CuedSpeech.wherecue.angle

Class WhereAnglePredictorObserved

Description

Predict hand angles with experts rules.

Observed values are for each measured key on 5 professional cuers: 1 ; b ; 53 2 ; b ; 73 6 ; b ; 57 7 ; b ; 63 8 ; b ; 62 3 ; c ; 64 4 ; c ; 69 5 ; c ; 52 6 ; c ; 51 7 ; c ; 59 1 ; m ; 55 4 ; m ; 56 5 ; m ; 62 6 ; m ; 39 8 ; m ; 70 2 ; s ; 73 3 ; s ; 93 4 ; s ; 90 6 ; s ; 80 7 ; s ; 85 1 ; t ; 48 3 ; t ; 52 4 ; t ; 42 5 ; t ; 57 6 ; t ; 44

Average and standard deviations: - b: 62.0 (5.3) - c: 59.0 (6.0) - m: 56.4 (7.7) - t: 48.6 (4.7) - s: 83.0 (5.0)

Constructor

Instantiate a custom hand angle predictor.

View Source
def __init__(self):
    """Instantiate a custom hand angle predictor.

    """
    super(WhereAnglePredictorObserved, self).__init__()
    self._description = MSG_DESCRIPTION_RULES
    self._radius = 5

Private functions

_calculate_angle_n

Calculate the angle at the neutral position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_n(self) -> int:
    """Calculate the angle at the neutral position.

        :return: (int) angle in degrees

        """
    return 50

_calculate_angle_b

Calculate the angle at the cheek bone position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_b(self) -> int:
    """Calculate the angle at the cheek bone position.

        :return: (int) angle in degrees

        """
    return 62

_calculate_angle_c

Calculate the angle at the chin position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_c(self) -> int:
    """Calculate the angle at the chin position.

        :return: (int) angle in degrees

        """
    return 59

_calculate_angle_m

Calculate the angle at the mouse position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_m(self) -> int:
    """Calculate the angle at the mouse position.

        :return: (int) angle in degrees

        """
    return 56

_calculate_angle_s

Calculate the angle at the side position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_s(self) -> int:
    """Calculate the angle at the side position.

        :return: (int) angle in degrees

        """
    return 83

_calculate_angle_t

Calculate the angle at the throat position.

Returns
  • (int) angle in degrees
View Source
def _calculate_angle_t(self) -> int:
    """Calculate the angle at the throat position.

        :return: (int) angle in degrees

        """
    return 49