import cv2 as cv
import numpy
class VideoPlayer:
class_name = 'Video'
def __init__(self,video_path):
self.path = video_path
self.video = []
def getPath(self):
return self.path
def get_video_frame(self):
cap = cv.VideoCapture(self.path)
self.video_width = cap.get(3)
self.video_height = cap.