From 454251898d4ef26f4add8a7e1b4cf06af3f7e6ed Mon Sep 17 00:00:00 2001 From: DucDangAnh Date: Mon, 29 Jun 2020 09:40:34 +0700 Subject: [PATCH] Camera - Remove CameraEvent OnOneVideoFrameRequested; --- AIParkingApplication/Camera.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/AIParkingApplication/Camera.cs b/AIParkingApplication/Camera.cs index 52c8dc0..0d4c5ec 100644 --- a/AIParkingApplication/Camera.cs +++ b/AIParkingApplication/Camera.cs @@ -13,7 +13,6 @@ namespace AIParkingApplication public volatile Mat CurrentFrame; public event CameraEvent OnVideoFrameReceived; - public event CameraEvent OnOneVideoFrameRequested; public event CameraEvent OnOpenVideoStreamFailed; public Camera(string streamUrl) @@ -65,7 +64,6 @@ namespace AIParkingApplication if (isFrameRequested) { CurrentFrame = videoFrame; - OnOneVideoFrameRequested?.Invoke(videoFrame); isFrameRequested = false; } }