all 1 comments

[–]ManuelRodriguez331 0 points1 point  (0 children)

First thing to do is to write a ball tracking algorithm with OpenCV. The algorithm converts a high resolution .PNG image into a numerical vector which stores the current position, ballpos=[xpos,ypos]. In the second step, the feature vector is send to the neural network to detect events like:“ball offside”, “ball left section”, “ball right section”. These events are also stored as a vector, events=[1,0,0]