提示
This commit is contained in:
parent
832c5aa255
commit
230f49b278
@ -57,6 +57,12 @@ namespace Wpf_AiSportsMicrospace.Views
|
||||
}
|
||||
private void StartFrameProcessing()
|
||||
{
|
||||
if (WebcamClient == null)
|
||||
{
|
||||
HandyControl.Controls.MessageBox.Show("摄像头网络异常,请重新连接!");
|
||||
return;
|
||||
}
|
||||
|
||||
WebcamClient.OnExtractFrame += frame =>
|
||||
{
|
||||
_frameQueue.Enqueue(frame);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user