# getLookStraightScore method

int getLookStraightScore()

Gets the value estimating if the user is looking straight towards the camera. -1 if not computed. The range is 0-100, 100 meaning the look is straight.

return Value estimating if the user is looking straight towards the camera. -1 if not computed. The range is 0-100, 100 meaning the look is straight. throws FaceException An error has occurred during Face Library execution.

## Implementation

    int getLookStraightScore() {
      Pointer<Int> pLookStraightScore = calloc();
      try {
        var err = faceSDK.id3FacePortrait_GetLookStraightScore(_pHandle.value, pLookStraightScore);
        if (err != FaceError.success.value) {
          throw FaceException(err);
        }
        final vLookStraightScore = pLookStraightScore.value;
        return vLookStraightScore;
      } finally {
        calloc.free(pLookStraightScore);
      }
    }