We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ddbad commit 8c5b3c3Copy full SHA for 8c5b3c3
coffee_ws/src/coffee_head/coffee_head/camera_node.py
@@ -550,6 +550,9 @@ def _capture_loop(self):
550
time.sleep(0.01) # Short sleep to prevent CPU overuse
551
continue
552
553
+ # Flip the frame horizontally to correct mirror effect
554
+ frame = cv2.flip(frame, 1) # 1 means horizontal flip
555
+
556
# Process face detection (only on some frames to maintain performance)
557
frame_index += 1
558
if self.enable_face_detection:
0 commit comments