Project

General

Profile

Actions

Features #2496

closed

Nâng cấp tính năng multi camera

Features #2496: Nâng cấp tính năng multi camera

Added by T. Nguyen Van Thanh 5 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
2026-07-01
Due date:
2026-07-10
% Done:

100%

Estimated time:
Story points:
(Total: 0)

Description

Mục tiêu
Tăng recall của detection bằng 2 camera độc lập, không bắt buộc cả 2 cùng
nhận diện. Hệ thống vẫn chạy đúng khi chỉ còn 1 camera hoạt động.


Files

clipboard-202607021129-c6oey.png (630 KB) clipboard-202607021129-c6oey.png T. Nguyen Van Thanh, 2026-07-02 11:29
clipboard-202607021130-cugwt.png (145 KB) clipboard-202607021130-cugwt.png T. Nguyen Van Thanh, 2026-07-02 11:30
clipboard-202607021132-fbd9b.png (618 KB) clipboard-202607021132-fbd9b.png T. Nguyen Van Thanh, 2026-07-02 11:32
Additional Details
Additional Assignee

Updated by T. Nguyen Van Thanh 5 months ago Actions #1

  • Description updated (diff)
  • % Done changed from 0 to 100

link github: https://github.com/MKAC-R-D-S/IC-Detection/blob/c1ac69ec67dc2639e0d110c0fc23272fa4f77fa6/docs/multi_camera_and_record_plan.md

Task Nội dung Trạng thái
A1 Settings: thêm field camera_2 + `multi_camera_enabled`, bump config schema version (chỉ thêm field, không đổi field cũ) `DONE`
A2 Khởi tạo `camera_manager_2` (dùng chung `CameraProfileStore`/`V4L2CapabilityProvider` với camera_1, thêm `legacy_controls_provider` đọc `camera_2_controls`); toàn bộ API setup nhận `camera_id` (default 1, giữ nguyên URL path): start/stop/status, controls (get/apply), capabilities, profile CRUD + apply, controls dialog, sources (cảnh báo trùng device), MJPEG stream `DONE`
A3 Nhân đôi reference layer: `SampleStore`/`ICReferenceClassifier` cho camera 2, embedding cache namespace riêng; API capture nhận lệnh chụp đồng thời cả 2 camera, lưu/build embedding tách riêng `DONE` (capture/rebuild); validation run theo camera 2 hoãn lại, xem nhật ký
A4 Combine logic trong `run_cycle()`: `available_views` -> OR -> feed `ContinuousDecisionGate`; cờ `degraded_mode` `DONE`
A5 History schema: score/is_ic/snapshot từng camera + `triggered_by` `DONE`
A6 API trạng thái theo từng camera `DONE`
A7 Frontend: toggle Advanced (role engineer+); Camera Settings modal dùng chung cho cả 2 camera (parameterized, không duplicate DOM); Monitor 2 khung video + verdict gộp + banner degraded + badge điểm từng camera; Samples nút capture đồng thời 2 camera; ROI camera 2 kéo trực tiếp trên video (pointer drag, giống camera 1); dual thumbnail camera 1+2 trong Recent Detections và Inspection History; layout Monitor CSS grid 3 hàng — Recent Detections luôn hiển thị; tắt multi-camera dừng hẳn camera 2 và xóa stream `DONE`
A8 Test + tài liệu: unit test combine/degradation đã có (A4–A6); README, kế hoạch và `product_version_plan.md` đã cập nhật; hardware-in-the-loop 2 camera thật thuộc Phase 7 (cần thiết bị) `DONE`

Updated by T. Nguyen Van Thanh 5 months ago Actions #2

Giao diện monitor dual camera Giao diện monitor dual camera Giao diện càu đặt nâng cao

Updated by T. Nguyen Van Thanh 3 months ago Actions #3

  • Status changed from In Progress to Resolved

Updated by T. Nguyen Van Thanh 3 months ago Actions #4

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom