- 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
21 lines
425 B
Python
21 lines
425 B
Python
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() |