public MainPresenter(EVideoType type = EVideoType.Original) { VideoDisplayModel = new VideoDisplayModel(); _orgVideoController = VideoController.Instance; _sdController = ScoreboardDetectorController_Test.Instance; _sdController.Source = _orgVideoController; _sdController.Finished += OnSDC_FinishedEventHandler; _fileHelper = new VideoFileHelper(); SwitchVideo(type); }
public void FirstSegmentation() { CurrentVideoType = EVideoType.BoardDetect; SwitchVideo(EVideoType.BoardDetect); VideoDisplayModel.Start(); }
public void StopVideo() { VideoDisplayModel.Stop(); }
public void PauseVideo() { VideoDisplayModel.Pause(); }
public void StartVideo() { VideoDisplayModel.Start(); }