Scripts Reference

This document lists all available setup and run scripts for the 3D-Cam project.

Setup Scripts

These scripts create a virtual environment and install all dependencies:

Windows

Linux/Raspberry Pi

Run Scripts

These scripts automatically set up the virtual environment (if needed) and run the programs:

Windows Batch Files (.bat)

Windows PowerShell (.ps1)

Linux/Raspberry Pi (.sh)

Usage

First Time Setup (Linux/Raspberry Pi)

# Make all scripts executable (one-time setup)
chmod +x *.sh

# Run any program (note the ./ before the script name)
./visualize_3d.sh

Why ./ and chmod +x?

First Time Setup (Windows)

Just double-click any *.bat file, or run from command prompt:

visualize_3d.bat

Or use PowerShell:

.\visualize_3d.ps1

What the Run Scripts Do

  1. Check if virtual environment (venv/) exists
  2. If not, run the setup script to create it and install dependencies
  3. Activate the virtual environment
  4. Run the Python program

Notes