add nth frame to ai recognition to config

This commit is contained in:
Alex Bezdieniezhnykh
2024-12-03 11:36:20 +02:00
parent 0b38d9b24c
commit 3944df8efe
12 changed files with 81 additions and 29 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ public partial class App
if (windowEnum != WindowEnum.None)
return windowEnum;
element = element.Parent as FrameworkElement;
element = (element.Parent ?? element.TemplatedParent) as FrameworkElement;
}
return WindowEnum.None;
+1 -3
View File
@@ -8,8 +8,7 @@
WindowStyle="None"
ResizeMode="NoResize"
Top="0"
Topmost="True"
>
Topmost="True">
<Grid Background="Black">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="48"></ColumnDefinition>
@@ -29,7 +28,6 @@
</ItemsPanelTemplate>
</ListView.ItemsPanel>
</ListView>
<Border Grid.Column="2">
<Button
VerticalAlignment="Top"
+2 -1
View File
@@ -47,7 +47,8 @@
"FrameRecognitionSeconds" : 2,
"TrackingDistanceConfidence" : 0.15,
"TrackingProbabilityIncrease" : 15,
"TrackingIntersectionThreshold" : 0.8
"TrackingIntersectionThreshold" : 0.8,
"FramePeriodRecognition": 4
},
"ThumbnailConfig": {
-1
View File
@@ -38,5 +38,4 @@ curl --location %API_URL%/resources ^
-H "Content-Type: multipart/form-data" ^
--form "data=@%FILE2_TO_UPLOAD%"
echo Done!