Feedback SpellingBee
This commit is contained in:
committed by
Jelle De Geest
parent
e6b0cbd596
commit
2a7dd16f5f
@@ -340,17 +340,17 @@ public class CoursesController : AbstractFeedback
|
||||
if (feedbackText != null && feedbackProgressImage != null)
|
||||
{
|
||||
Color col;
|
||||
if (accCurrentSign > sign.thresholdPrecentage)
|
||||
if (accCurrentSign > sign.thresholdPercentage)
|
||||
{
|
||||
feedbackText.text = "Goed";
|
||||
col = new Color(0x8b / 255.0f, 0xd4 / 255.0f, 0x5e / 255.0f);
|
||||
}
|
||||
else if (accCurrentSign > 0.9 * sign.thresholdPrecentage)
|
||||
else if (accCurrentSign > 0.9 * sign.thresholdPercentage)
|
||||
{
|
||||
feedbackText.text = "Bijna";
|
||||
col = new Color(0xf2 / 255.0f, 0x7f / 255.0f, 0x0c / 255.0f);
|
||||
}
|
||||
else if (accPredictSign > predSign.thresholdPrecentage)
|
||||
else if (accPredictSign > predSign.thresholdPercentage)
|
||||
{
|
||||
feedbackText.text = $"Verkeerde gebaar: '{predictedSign}'";
|
||||
col = new Color(0xf5 / 255.0f, 0x49 / 255.0f, 0x3d / 255.0f);
|
||||
@@ -378,7 +378,7 @@ public class CoursesController : AbstractFeedback
|
||||
});
|
||||
}
|
||||
|
||||
if (accPredictSign > sign.thresholdPrecentage)
|
||||
if (accPredictSign > sign.thresholdPercentage)
|
||||
{
|
||||
// Correct sign
|
||||
if (predictedSign == currentSign)
|
||||
|
||||
Reference in New Issue
Block a user