original_docstring: 
          Finds hands in a BGR image.
          :param img: Image to find the hands in.
          :param draw: Flag to draw the output on the image.
          :return: Image with or without drawings
          
docstring: Finds hands in a BGR image.
docstring_tokens: Finds hands in a BGR image .
code: def findHands(self, img, draw=True):
          """
          Finds hands in a BGR image.
          :param img: Image to find the hands in.
          :param draw: Flag to draw the output on the image.
          :return: Image with or without drawings
          """
          imgRGB = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
          self.results = self.hands.process(imgRGB)
  
          if self.results.multi_hand_landmarks:
              for handLms in self.results.multi_hand_landmarks:
                  if draw:
                      self.mpDraw.draw_landmarks(img, handLms,
                                                 self.mpHands.HAND_CONNECTIONS)
          return img
code_tokens: def findHands ( self , img , draw = True ) : imgRGB = cv2 . cvtColor ( img , cv2 . COLOR_BGR2RGB ) self . results = self . hands . process ( imgRGB ) if self . results . multi_hand_landmarks : for handLms in self . results . multi_hand_landmarks : if draw : self . mpDraw . draw_landmarks ( img , handLms , self . mpHands . HAND_CONNECTIONS ) return img
short_docstring: Finds hands in a BGR image.
short_docstring_tokens: Finds hands in a BGR image .
comment: """
          Finds hands in a BGR image.
          :param img: Image to find the hands in.
          :param draw: Flag to draw the output on the image.
          :return: Image with or without drawings
          """