namespace Fitness.Services
{
/// <summary>
- /// SquatDetector
+ /// SquatDetector.
/// </summary>
public static class SquatDetector
{
});
/// <summary>
- /// Return Average of lower body <see href="https://en.wikipedia.org/wiki/Cosine_similarity">Cosine Similarity</see> between input user pose and ground truth pose
+ /// Return Average of lower body <see href="https://en.wikipedia.org/wiki/Cosine_similarity">Cosine Similarity</see> between input user pose and ground truth pose.
/// </summary>
- /// <param name="userBody">user body detection result</param>
- /// <returns>Float score value. (-1.0 ~ 1.0)</returns>
+ /// <param name="userBody">user body detection result.</param>
+ /// <returns>Float score value (-1.0 ~ 1.0).</returns>
public static float Similarity(List<Point> userBody)
{
if (userBody.Count != System.Enum.GetNames(typeof(PoseDetector.BodyPart)).Length)