dice_detection_demo module

dice_detection_demo.py

This script provides a simple demonstration of using the DiceDetection package for real-time dice detection using a webcam.

Usage: Run this script to start the real-time dice detection. Press ‘q’ to exit the application.

Example:

$ python dice_detection_demo.py

async dice_detection_demo.main(*args)

Main function for real-time dice detection using a webcam.

This function initializes the camera, creates an instance of DiceDetection, and continuously processes frames for dice detection.

Args:

*args: Additional command-line arguments.