Resolved issues with the Lamp Matrix control being cropped and distorting,
and not maintaining a fixed 5x5 layout.
- **Fixed 5x5 Matrix:** Reverted `.matrix-grid` to `grid-template-columns: repeat(5, 70px)`
to enforce a consistent 5x5 lamp layout.
- **Prevented Warping:** Removed `width: 100%` from `.matrix-grid` to allow its
width to be intrinsically determined by its content, preventing distortion.
- **Ensured Adequate Space:** Set `.lamp-view` to `flex: 0 0 auto` with a
`min-width: 480px` to guarantee sufficient space for the fixed matrix and
controls without cropping.
- **Responsive Control Panels:** Applied `max-width: 470px` to `.control-panel`
and `.center-lamp-control` to align their size with the matrix grid while
maintaining responsiveness in smaller viewports.
- **Full Screen Utilization:** Ensured the overall application expands to fill
the browser window by removing `max-width` from `.main-container`.
This commit introduces a refined layout and styling for the camera streams
in the unified web UI. Key changes include:
- **Responsive Grid Layout:** Implemented a CSS Grid-based layout for camera feeds,
ensuring the color camera occupies 1/3 height and mono cameras 2/3 height.
- **Improved Stream Fit:** Adjusted CSS to ensure individual camera streams
(visual containers) perfectly fit within their designated borders without
cropping, distortion, or excessive transparent space, addressing user feedback
regarding "zoomed out" or ill-fitting streams.
- **Aesthetic Enhancements:** Removed black backgrounds from stream containers
and applied corner radii for a modern look.
- **Padding Adjustments:** Optimized padding to prevent UI elements from appearing
cramped while maintaining visual separation.
- **New Tests:** Added robust visual tests () to programmatically
verify layout correctness and ensure tight fitting of camera feeds within
their containers.
- **Dependency Updates:** Updated to reflect any new or
changed Python dependencies.
- **Test Runner & Gitignore:** Included script and updated
to properly ignore virtual environment artifacts.
- Add a new section to the web UI to display pupil detection data and a live camera stream with YOLO segmentation.
- Add a /video_feed endpoint to stream the annotated camera feed.
- Update the VisionSystem to support onnxruntime-gpu with a fallback to CPU.
- Add logging to indicate which backend is being used.
- Refactor the test suite to accommodate the new features and fix existing tests.