This is a remake of the ATARI game pong with two additional features:
- The ability to control the paddle with your face
- The ability to play with your friend on another computer to fight for the title of pong master
We used python, OpenCV and the almighty Tensorflow Object Detection API to track your face. For the multiplayer functionality, we used a socketserver with HTTP requests. This allows for concurrency so that you can play with your friends!
https://kivy.org/docs/guide/packaging-osx.html?highlight=package Refer to the section on using PyInstaller without Homebrew Basically,
- Create a spec file
- Git clone pyinstaller into the directory
- run pyinstaller/pyinstaller.py specfile.spec
- Clone the Kivy virtualenv to use cos for some reason it does not work when I create a new env by scratch
- Run the touchtracer executable in dist/FolderwithAppName so that you can see the outputs and any errors
- Make the multiplayer.kv the same place as the touchtracer executable as this is what will be run
- Logs can be found in /Users/xavilien/.kivy/logs/
- Resolution when running it as an app is a bit off - (set resolution?)
- The programme is very slow - (remove unecessary tensorflow object detection api code?)
- The app cannot be quit properly and will hang and has to be force closed - (create a cleanup app furction)
- Tensorflow: https://www.tensorflow.org
- Object detection API: https://github.com/tensorflow/models/tree/master/research/object_detection
- OpenCV: https://opencv.org