This commit is contained in:
tanglong 2025-10-15 09:15:53 +08:00
parent 832c5aa255
commit 230f49b278

View File

@ -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);