fix: reset counter after each loop
ref: N25B-395
This commit is contained in:
@@ -145,6 +145,8 @@ class VisualEmotionRecognitionAgent(BaseAgent):
|
||||
self._face_detected = False
|
||||
await self._inform_face_detected()
|
||||
|
||||
face_detection_yes_no = [0, 0]
|
||||
|
||||
await self.update_emotions(prev_dominant_emotions, window_dominant_emotions)
|
||||
prev_dominant_emotions = window_dominant_emotions
|
||||
face_stats.clear()
|
||||
|
||||
Reference in New Issue
Block a user