Posts

Showing posts from September, 2021

Subway sufers

  import  cv2 import  numpy  as  np import  pyautogui import  HandTrakingModule  as  htm wCam, hCam =  640 ,  480 cap = cv2.VideoCapture( 0 ) wScr, hScr = pyautogui.size() hScr = hScr +  1200 wScr = wScr +  1500 detector = htm.handDetector( maxHands = 1 ) frameR =  100 smoothening =  10 plocX, plocY =  0 ,  0 clocX, clocY =  0 ,  0 while   True :     success, img = cap.read()     img = detector.findHands(img,  draw = True )     lmList = detector.findPosition(img)          if   len (lmList) !=  0 :         x1, y1 = lmList[ 8 ][ 1 :]         x2,...

Practice set-5.2

Image
 

Practice set-5.1

Image
 

Problem set-4

Image
 

Practice set-4.5

Image
 

Practice set- 4.4

Image
  Click above this button to learn all practice set.