From 579fbb46e1a1649ebb89125f8eaa3f79df96fb16 Mon Sep 17 00:00:00 2001 From: Sakshi Joshi <39564683+3sakshij@users.noreply.github.com> Date: Thu, 29 Dec 2022 17:19:44 +0530 Subject: [PATCH] Update main.py --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index cf9a880..a4a238c 100644 --- a/main.py +++ b/main.py @@ -21,7 +21,7 @@ webcam_manager = WebcamManager() # Turn on the webcam - cap = cv2.VideoCapture(0, cv2.CAP_DSHOW) + cap = cv2.VideoCapture(0) # Set up the Mediapipe environment with mediapipe.solutions.holistic.Holistic( min_detection_confidence=0.5, min_tracking_confidence=0.5