ss
This commit is contained in:
parent
5468642973
commit
b3feab76d6
@ -31,6 +31,9 @@
|
||||
</StackPanel>
|
||||
|
||||
<!-- 右侧视频预览 -->
|
||||
<Canvas x:Name="rtspPreviewCanvas" Grid.Column="1" Background="Black"/>
|
||||
<Canvas x:Name="rtspPreviewCanvas" Grid.Column="1" Background="Black">
|
||||
<Image x:Name="rtspPreviewImage" Stretch="Uniform" />
|
||||
</Canvas>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
|
@ -7,6 +7,7 @@ using System.Net.NetworkInformation;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using Wpf_AiSportsMicrospace.Common;
|
||||
using Yztob.AiSports.Common;
|
||||
using Yztob.AiSports.Inferences.Abstractions;
|
||||
@ -121,7 +122,6 @@ public partial class MainWindow : Window
|
||||
if (!Directory.Exists(tempPath))
|
||||
Directory.CreateDirectory(tempPath);
|
||||
|
||||
|
||||
_sport.Reset();
|
||||
_sport.Start();
|
||||
_detectQueue.Start();
|
||||
@ -160,7 +160,6 @@ public partial class MainWindow : Window
|
||||
|
||||
var human = humanResult?.Humans?.FirstOrDefault();
|
||||
_detectQueue.Enqueue(frame.Number, human, null);
|
||||
|
||||
}
|
||||
private void OnSportTick(int counts, int times)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user