flag, img_rd =cv2.VideoCapture(0).read() #功能:读取一帧的图片 #参数:无 #返回值:flag:bool值:True:读取到图片, False:没有读取到图片 # img_rd:一帧的图片