LaneIn - Add Start, Stop Method.
This commit is contained in:
parent
fd25473dee
commit
86949443bb
|
@ -33,9 +33,6 @@ namespace AIParkingApplication
|
|||
overviewCamera.OnVideoFrameReceived += OverviewCameraOnVideoFrameReceived;
|
||||
overviewCamera.OnOneVideoFrameRequested += OverviewCamera_OnOneVideoFrameRequested;
|
||||
|
||||
overviewCamera.Startcapture();
|
||||
plateCamera.Startcapture();
|
||||
|
||||
plateProcessor = new PlateProcessor(this.isSupportSquarePlate, this.isSupportLongPlate);
|
||||
}
|
||||
|
||||
|
@ -99,6 +96,18 @@ namespace AIParkingApplication
|
|||
}));
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
{
|
||||
plateCamera.Stop();
|
||||
overviewCamera.Stop();
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
plateCamera.Start();
|
||||
overviewCamera.Start();
|
||||
}
|
||||
|
||||
private void OverviewCameraOnVideoFrameReceived(Mat videoFrame)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue
Block a user