code: def __init__(self, src=0, name="WebcamVideoStream"):
      # initialize the video camera stream and read the first frame
      # from the stream
      self.stream = cv2.VideoCapture(src)
      (self.grabbed, self.frame) = self.stream.read()
  
      # initialize the thread name
      self.name = name
  
      # initialize the variable used to indicate if the thread should
      # be stopped
      self.stopped = False
  
file_path: imutils/imutils/video/webcamvideostream.py
imports: from threading import Thread
  import cv2
label_desc: Use image node_id 1 to create a new WebcamVideoStream object  with example: obj = WebcamVideoStream(src, name)