Add 'api/' from commit '14ac229098e65aa643f84e8e17e0c5f1aaf8d639'

git-subtree-dir: api
git-subtree-mainline: 4743f19aef
git-subtree-split: 14ac229098
This commit is contained in:
Alireza Vaezi
2025-08-07 20:57:34 -04:00
146 changed files with 31249 additions and 0 deletions

18
api/main.py Normal file
View File

@@ -0,0 +1,18 @@
#!/usr/bin/env python3
"""
Main entry point for the USDA Vision Camera System.
This script starts the complete system including MQTT monitoring, camera management,
and video recording based on machine state changes.
"""
import sys
import os
# Add the current directory to Python path to import our modules
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from usda_vision_system.main import main
if __name__ == "__main__":
main()