Inspiration
We decided to tackle the bet365 challenge, Velo Wix challenge and domain.com challenge. and picked Pool as we felt it was unique and would open up a good amount of opportunities to show off our code.
What it does
It is a website that allows the user to bet on pool matches. In reality, this would be happening live however in our example it is prerecorded. There is a algorithm to live track the position of every ball on the table and there is a visual demostration of this happening below. There is a track on balls potted, dynamic betting odds to bet on.
How we built it
It is built on Velo Wix with javascript in the frontend and Python in the backend doing all the calculations. Overall Velo Wix was incredible easy to use and quite fun to play around with. We chose Python as it was the one we were most comfortable with.
Challenges we ran into
When trying to implement more complex stuff to Velo Wix, we struggled a little bit as the website requires API's to be fed into the website using their methods. This made things more difficult because we had to adjust the way we would normally use an API to get the information we needed. Another difficulty we had was that we weren't able to properly implement the python code that we needed to make our project. This meant we had to work around this restraint and adapt by recording the video of our model. (The code is still included in our repository). Another difficulty with Wix was that there were certain restrictions with how we could style the website due to their expectation for you to use their premade items.
Accomplishments that we're proud of
We were able to use python and open cv to track video footage of pools balls moving around a table and use colour recognition to differentiate between each type of ball in real time. We were able to then implement this into a website to allow people to watch the pool game and keep track of the pool balls.
What we learned
We learned how to use open cv, colour masking, image warping in order to make the code to track the pool balls.
What's next for MoneyOnBalls
We would implement the code directly on the website so that all live streams that are watched on the website could use the same technology to help display match statistics.
Log in or sign up for Devpost to join the conversation.