5 Commits

Author SHA1 Message Date
7e323cf3e1 Fix: resolve 5 bugs found during project onboarding health check
- custom_inference_worker: reuse existing device_group from DeviceController
  to avoid double kp.connect_devices() conflict on same USB port
- custom_inference_worker: add TYPE_CHECKING guard for kp type annotations
  to prevent potential NameError at import time
- utilities_screen: replace missing back_arrow.png with text arrow (←)
- utilities_screen: add set_device_controller() so AppController can inject
  MainWindow's shared DeviceController instance
- main.py: wire UtilitiesScreen to share MainWindow's DeviceController
- video_thread: emit camera_error_signal on failure and max-retry exhaustion
- media_controller: connect camera_error_signal and display error on canvas
- media_panel: fix pause button using wrong delete icon; use video_normal SVG

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-07 14:33:37 +08:00
17deba3bdb Refactor: Clean up codebase and improve documentation
- Remove unused files (model_controller.py, model_service.py, device_connection_popup.py)
- Clean up commented code in device_service.py, device_popup.py, config.py
- Update docstrings and comments across all modules
- Improve code organization and readability
2025-12-30 16:47:31 +08:00
09156cce94 Feature: Add custom model upload and inference support
- device_controller: Add connect_device, disconnect_device, get_device_group methods
- inference_controller: Add select_custom_tool method for custom model inference
- custom_inference_worker: New worker thread for custom model inference with YOLO V5 post-processing
- custom_model_block: New UI component for uploading custom .nef model and firmware files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-27 02:38:18 +08:00
527b183576 優化 Inference process, 增加Utilities頁面和功能, 修改UI介面 ( 20250324 in update diary) 2025-03-24 02:55:31 +08:00
d58cec837b Modulize the code structure & add utilites' UI element 2025-03-20 20:51:30 +08:00