Using TensorFlow.js coco-ssd (sports ball) + MoveNet pose detection.
Quick tips
• For production, collect labeled clips (ball, wicket, stump, crease) and train a custom detector for stumps & ball trajectory. • Mobile: prefer native app or WebRTC camera constraints to 720p for speed. • Always allow manual override — AI will miss or misclassify events.