Skip to content

1.0.4

Compare
Choose a tag to compare
@TeruyaHaroldo TeruyaHaroldo released this 17 Mar 21:56
· 11 commits to development since this release
2e18b2b

♻️ Refactor

Instead of the use a "secondary" variable to indicates if another variable is available, the current one may be nil to indicate availability.

  • Remove attributes in the FaceDetected:

    • hasLeftEyeOpenProbability: indicates whether a left eye open probability is available;
    • hasRightEyeOpenProbability: indicates whether a right eye open probability is available.
    • hasSmilingProbability: indicates whether smiling probability is available.
    • hasHeadEulerAngleX: indicates whether the detector found the head x euler angle.
    • hasHeadEulerAngleY: indicates whether the detector found the head y euler angle.
    • hasHeadEulerAngleZ: indicates whether the detector found the head z euler angle.
  • Changes the attributes in the FaceDetected:

    • leftEyeOpenProbability: change from Float to Float?;
    • rightEyeOpenProbability: change from Float to Float?;
    • smilingProbability: change from Float to Float?;
    • headEulerAngleX: change from Float to Float?;
    • headEulerAngleY: change from Float to Float?;
    • headEulerAngleZ: change from Float to Float?;

📝 Update Readme