Auto-CS 2.0

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

Module CuedSpeech.wherecue.angle

Class WhereAnglePredictorCustoms

Description

Predict hand angles with experts rules.

Constructor

Instantiate a custom hand angle predictor.

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

    """
    super(WhereAnglePredictorCustoms, self).__init__()
    self._description = MSG_DESCRIPTION_CUSTOMS
    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 75

_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 67

_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 73

_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 58