Skip to content

๐ŸŽฑ PoolMind - Quick Start

๐Ÿ“– Main Documentation: For complete installation guide and project overview, see the main README.md

๐Ÿš€ One-Line Installation

Raspberry Pi Auto-Installation:

curl -fsSL https://raw.githubusercontent.com/mrwogu/PoolMind/main/install.sh | bash

Development Setup:

git clone https://github.com/mrwogu/PoolMind.git
cd PoolMind
./scripts/setup/setup.sh

๐Ÿ“‹ Hardware Setup

Required Hardware

  • Raspberry Pi 4 (4GB+ RAM recommended)
  • USB Camera (1080p+) with overhead mounting
  • Pool Table with space for markers
  • Printer for ArUco markers

Camera Positioning (Critical)

  • Mount overhead - directly above table center
  • Height: 2-3 meters above surface
  • Angle: Perfect 90ยฐ downward (bird's-eye view)
  • Coverage: Full table must be visible

โš ๏ธ Important: Side-mounted cameras will not work. Overhead positioning is essential.

๐ŸŽฏ Setup Steps

  1. Install - Run installation command above
  2. Print - Print ~/PoolMind/markers/markers_A4.pdf
  3. Mount - Place markers at table corners:
  4. 0 - Top-left corner
  5. 1 - Top-right corner
  6. 2 - Bottom-right corner
  7. 3 - Bottom-left corner
  8. Access - Open http://your-pi-ip:8000 in browser
  9. Play - Start playing pool!

๐Ÿ› ๏ธ Management

# Check status
./scripts/deployment/status.sh

# Force update
./scripts/deployment/update.sh

# View logs
sudo journalctl -u poolmind -f

# Restart service
sudo systemctl restart poolmind

๐Ÿงช Testing & Development

# Test without hardware
./scripts/demo/enhanced_simulation.py

# Physics simulation
./scripts/demo/physics_simulator.py

# Camera test
./scripts/tools/camera_test.py --list-cameras

โšก Auto-Update Features

After installation, PoolMind automatically: - โœ… Starts on boot - โœ… Checks GitHub for updates every 30 minutes - โœ… Downloads and installs updates - โœ… Creates backups before updates - โœ… Restarts service after updates - โœ… Provides web interface on port 8000

๐Ÿ“– More Information


โญ For complete documentation, see the main README.md