classDiagram
class CameraManager {
+start()
+stop()
+get_latest_frame()
}
class BallDetector {
+load_model()
+detect_balls(frame) : list<Detection>
}
class BallTracker {
+get_ball_positions(detections)
+get_nearest_ball(positions)
+get_direction_to_ball(ball_pos)
}
class AudioNotifier {
+play_sound()
}
class DirectionInterface {
+publish_direction(direction)
}
class CV2Display {
+live_feed()
+update_frame(frame)
}
class MainApp {
-camera : CameraManager
-detector : BallDetector
-tracker : BallTracker
-notifier : AudioNotifier
-interface : DirectionInterface
-display : ScreenDisplay
+run()
}
MainApp --> CameraManager
MainApp --> BallDetector
MainApp --> BallTracker
MainApp --> AudioNotifier
MainApp --> DirectionInterface
MainApp --> CV2Display
koyashiba/smt_2025
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|