Add main application structure and logging configuration

- Implement main application entry point in duck-ocr.py
- Create logging configuration in logging_config.py
- Add video streaming functionality in camera.py
- Introduce main window UI in main_window.py
- Include SVG assets for UI buttons and icons
- Update .gitignore to exclude log files
- Add placeholder .gitkeep files for empty directories
This commit is contained in:
2026-05-10 13:00:12 +02:00
parent b095c36776
commit eaa7c75868
14 changed files with 458 additions and 0 deletions

21
duck-ocr.py Normal file
View File

@@ -0,0 +1,21 @@
import logging
import sys
from PySide6.QtWidgets import QApplication
from app.main_window import MainWindow
from app.logging_config import setup_logging
setup_logging()
logger = logging.getLogger(__name__)
def main() -> None:
logger.info("Starting application")
app = QApplication(sys.argv)
main_window = MainWindow()
main_window.show()
sys.exit(app.exec())
if __name__ == "__main__":
main()