diff --git a/Wpf_AiSportsMicrospace/MainWindow.xaml.cs b/Wpf_AiSportsMicrospace/MainWindow.xaml.cs index 76e710a..e4acd59 100644 --- a/Wpf_AiSportsMicrospace/MainWindow.xaml.cs +++ b/Wpf_AiSportsMicrospace/MainWindow.xaml.cs @@ -197,6 +197,7 @@ public partial class MainWindow : Window bmp.UnlockBits(bmpData); return bgra; } + private async Task HumanPredictingAsync(long frameNumber, byte[] buffer) { var humanResultTask = Task.Run(() => _humanPredictor.Predicting(buffer, frameNumber));