(self)
return np.flip(frame, -1).copy()
Read one frame. Note this function might be blocked by the sensor.

    Returns
    -------
    np.ndarray
      Read frame. Might be `None` is the webcam fails to get on frame.
Read one frame. Note this function might be blocked by the sensor.
Read one frame . Note this function might be blocked by the sensor .
def read(self):
    """
    Read one frame. Note this function might be blocked by the sensor.

    Returns
    -------
    np.ndarray
      Read frame. Might be `None` is the webcam fails to get on frame.
    """
    flag, frame = self.cap.read()
    if not flag:
      return None
    return np.flip(frame, -1).copy()
def read ( self ) : flag , frame = self . cap . read ( ) if not flag : return None return np . flip ( frame , - 1 ) . copy ( )