diff --git a/src/Heimdall.Agent/Heimdall.Agent.csproj b/src/Heimdall.Agent/Heimdall.Agent.csproj index d802ca6..4ddef7c 100644 --- a/src/Heimdall.Agent/Heimdall.Agent.csproj +++ b/src/Heimdall.Agent/Heimdall.Agent.csproj @@ -16,5 +16,6 @@ + diff --git a/src/Heimdall.Agent/Services/FrameAnalyzerService.cs b/src/Heimdall.Agent/Services/FrameAnalyzerService.cs index 31955c6..e9a49dc 100644 --- a/src/Heimdall.Agent/Services/FrameAnalyzerService.cs +++ b/src/Heimdall.Agent/Services/FrameAnalyzerService.cs @@ -1,4 +1,3 @@ -using System.Collections.Concurrent; using System.Threading.Channels; using Microsoft.Extensions.Logging; @@ -139,7 +138,7 @@ public sealed class FrameAnalyzerService : IDisposable } } - private IReadOnlyList RunInference(byte[] jpegData) + private static DetectionResult[] RunInference(byte[] jpegData) { // For now, return simulated detections based on image content. // In production, this would: @@ -155,7 +154,7 @@ public sealed class FrameAnalyzerService : IDisposable // dotnet add package Microsoft.ML.OnnxRuntime // Placeholder: return simulated result - return Array.Empty(); + return []; } public void Dispose()