From 914f068196a8113449bdf80f4647bf6964fd6f23 Mon Sep 17 00:00:00 2001 From: Rohit Patil Date: Sun, 16 May 2021 19:21:15 +0530 Subject: [PATCH] Fixed Frame Issue --- HandDetection.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/HandDetection.py b/HandDetection.py index 55ad790..ab670d8 100644 --- a/HandDetection.py +++ b/HandDetection.py @@ -6,8 +6,7 @@ cap = cv2.VideoCapture(0) #Decrease frame size -cap.set(cv2.cv.CV_CAP_PROP_FRAME_WIDTH, 1000) -cap.set(cv2.cv.CV_CAP_PROP_FRAME_HEIGHT, 600) +wCam, hCam = 1280, 720 def nothing(x): pass