def METHOD_NAME(self, v_path):
    capture = cv2.VideoCapture(v_path)
    self.fps = capture.get(cv2.CAP_PROP_FPS)
    while capture.isOpened():
        ret, frame = capture.read()
        if not ret:
            break
        output = self.preprocess(frame)
        output = self.inference(output)
        output = self.postprocess(output)
        yield frame, output