Get up and running with RAPiD in minutes! 🚀
✅ How to install:
- Local source installation with
pip install -e . - Local source installation with
uv pip install -e .
# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Clone repository (REQUIRED - no pip install available)
git clone https://github.com/l1997i/rapid-seg.git
cd rapid-seg
# Create and activate environment
uv venv
source .venv/bin/activate # Linux/Mac
# or
.venv\Scripts\activate # Windows
# Install RAPiD from source (ONLY method available)
uv pip install -e .# Clone repository (REQUIRED - no pip install available)
git clone https://github.com/l1997i/rapid-seg.git
cd rapid-seg
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # Linux/Mac
# or
.venv\Scripts\activate # Windows
# Install RAPiD from source (ONLY method available)
pip install -e .import torch
from rapid_seg import RAPiDCalculator
# Create sample point cloud
coordinates = torch.randn(100, 3) * 5.0
reflectivity = torch.rand(100) * 0.8 + 0.1
# Initialize calculator
calculator = RAPiDCalculator(device="cpu")
# Extract features
features = calculator.compute_rapid_features(coordinates, reflectivity, k=8)
print(f"Features shape: {features.shape}")- Start with:
examples/01_getting_started.py - Advanced features:
examples/02_advanced_features.py - Semantic processing:
examples/03_c_rapid_semantic.py - Memory optimization:
examples/04_memory_optimization.py - Performance tuning:
examples/05_performance_benchmarking.py - Real-world integration:
examples/06_integration_examples.py
from rapid_seg.config import create_config
# Fast configuration for real-time applications
fast_config = create_config("fast")
# Balanced configuration for general use
balanced_config = create_config("balanced")
# Accurate configuration for high-quality features
accurate_config = create_config("accurate")- Check the examples directory
- Review the installation guide
Remember: This project can ONLY be installed from source!
# ❌ These will NOT work:
pip install rapid-seg
conda install rapid-seg
uv pip install rapid-seg
# ✅ This IS the correct way:
git clone https://github.com/l1997i/rapid-seg.git
cd rapid-seg
uv pip install -e .Happy coding with RAPiD! 🎯