feat(events): implement camera event pipeline with AI detection storage
Adds the foundation for AI-powered detection events storage, query, and snapshot management. Agents can POST detection events (motion, person, vehicle, face, etc.) with confidence scores and metadata; users can query, filter, and view event history. - CameraEvent entity with EF Core configuration + migration - ICameraEventService / CameraEventService with paged query + filters - EventsController: 5 REST endpoints (create, get, query, attach snapshot, delete) - Agent-side CameraStreamService: FFmpeg-based RTSP frame capture (foundation) - Supports both ApiKey (agent) and JWT (user) authentication
This commit is contained in:
1 parent
159da2ca26
commit
358443ff1a
12 files changed
+2179
No files matched your search
@@ -96,6 +96,9 @@ public static class DependencyInjection
|
||||
// Assignment services
|
||||
services.AddScoped<ICameraAssignmentService, CameraAssignmentService>();
|
||||
|
||||
// Event services
|
||||
services.AddScoped<ICameraEventService, CameraEventService>();
|
||||
|
||||
return services;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user