How it works
This app runs entirely in your browser on Android Chrome. Here is the pipeline:
- Open the camera using the "Start camera" button.
- Hold the top UNO card inside the guide frame.
- Every 500ms, a frame is captured and the centre region is analysed.
- Pixel-level HSL colour analysis classifies the card as Red, Green, Blue, Yellow, or Wild/Black.
- A temporal smoothing buffer stabilises results to avoid flicker.
- The UNO rules engine shows which cards in your hand are playable.
Current status
Colour detection is live and works with real camera input. Face/number detection requires a trained ML model (TensorFlow.js or ONNX) which is not yet integrated — for now the app detects colour only and defaults the face value.
Tips for best results
- Use good, even lighting — avoid harsh shadows or glare.
- Fill the guide frame with the card as much as possible.
- Hold the card steady for 1-2 seconds for the smoothing to stabilise.
- A plain background behind the card helps accuracy.