As straight-forward classification would not work, we decided to split our solution into two parts:
- Tune YOLOv3-tiny, perfect network for fast and accurate object detection, to detect a ball and the zero cell on a roulette wheel.
- Since we always know where the center of the wheel is, we could find a sector of the circle with three points (the ball, the zero and the center of the wheel) and then by calculating the angle of the sector find out on which cell the ball stopped.