release: consolidate web simulation and real CV prototype

Add cleaned RealSense/OpenCV CV under cv/ with secret-free example
config, MQTT disabled by default, and canonical README coverage for
web + CV relationship without claiming production integration.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
root
2026-08-02 22:23:05 +02:00
parent 3777fecacf
commit 21e83be26e
26 changed files with 5050 additions and 178 deletions

25
cv/docker-compose.yml Normal file
View File

@@ -0,0 +1,25 @@
services:
vision:
build: .
container_name: realsense_vision
restart: unless-stopped
network_mode: host
privileged: true
devices:
- /dev/video0:/dev/video0
- /dev/video1:/dev/video1
- /dev/video2:/dev/video2
- /dev/video3:/dev/video3
- /dev/video4:/dev/video4
- /dev/video5:/dev/video5
volumes:
# Copy config.example.yaml → config.yaml locally before enabling MQTT/hardware.
- ./config.yaml:/app/config.yaml:ro
- ./debug_frames:/app/debug_frames
# Prefer: command with --no-mqtt until credentials are configured.
group_add:
- video
environment:
- QT_X11_NO_MITSHM=1
# Без GUI в контейнере по умолчанию; превью — через native run
command: ["python", "main.py", "-c", "config.yaml"]