Camera - Remove CameraEvent OnOneVideoFrameRequested;
This commit is contained in:
parent
963bba78a8
commit
454251898d
|
@ -13,7 +13,6 @@ namespace AIParkingApplication
|
||||||
public volatile Mat CurrentFrame;
|
public volatile Mat CurrentFrame;
|
||||||
|
|
||||||
public event CameraEvent OnVideoFrameReceived;
|
public event CameraEvent OnVideoFrameReceived;
|
||||||
public event CameraEvent OnOneVideoFrameRequested;
|
|
||||||
public event CameraEvent OnOpenVideoStreamFailed;
|
public event CameraEvent OnOpenVideoStreamFailed;
|
||||||
|
|
||||||
public Camera(string streamUrl)
|
public Camera(string streamUrl)
|
||||||
|
@ -65,7 +64,6 @@ namespace AIParkingApplication
|
||||||
if (isFrameRequested)
|
if (isFrameRequested)
|
||||||
{
|
{
|
||||||
CurrentFrame = videoFrame;
|
CurrentFrame = videoFrame;
|
||||||
OnOneVideoFrameRequested?.Invoke(videoFrame);
|
|
||||||
isFrameRequested = false;
|
isFrameRequested = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user