raspberry pi with python for monitoring tennis table (source code)