AI_Photographer/Scripts/direct_camera_samples_server.py
2026-04-12 18:52:37 +04:00

21 lines
473 B
Python

#!/usr/bin/env python3
"""
Compatibility wrapper for the direct camera service.
The main camera service now lives in Core/direct_camera_service.py.
This wrapper is kept so older commands and scripts still work.
"""
from pathlib import Path
import sys
PROJECT_ROOT = Path(__file__).resolve().parent.parent
if str(PROJECT_ROOT) not in sys.path:
sys.path.insert(0, str(PROJECT_ROOT))
from Core.direct_camera_service import main
if __name__ == "__main__":
main()