feat: no more warning on no video input
This commit is contained in:
@@ -128,7 +128,7 @@ class VisualEmotionRecognitionAgent(BaseAgent):
|
|||||||
next_window_time = time.time() + self.window_duration
|
next_window_time = time.time() + self.window_duration
|
||||||
|
|
||||||
except zmq.Again:
|
except zmq.Again:
|
||||||
self.logger.warning("No video frame received within timeout.")
|
pass
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.logger.error(f"Error in emotion recognition loop: {e}")
|
self.logger.error(f"Error in emotion recognition loop: {e}")
|
||||||
@@ -204,4 +204,4 @@ class VisualEmotionRecognitionAgent(BaseAgent):
|
|||||||
"""
|
"""
|
||||||
self.video_in_socket.close()
|
self.video_in_socket.close()
|
||||||
await super().stop()
|
await super().stop()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user