SHARP 3D Generator GUI
A modern web-based GUI for Apple's SHARP (Single-image 3D Human-object interAction Reconstruction and Prediction) model, featuring real-time 3D Gaussian Splatting visualization with interactive effects.
This project requires Apple's SHARP model to be installed. You must install it before proceeding:
# Clone SHARP repository
git clone https://github.com/apple/ml-sharp.git
cd ml-sharp
# Checkout the tested commit version
git checkout 1eaa046
# Install SHARP following their instructions
pip install -e .For more details, visit: https://github.com/apple/ml-sharp
cd ml-sharp-gui/backend
# Install dependencies
pip install -r requirements.txt
# Start the backend server
python app.pyThe backend will run on http://localhost:5000
cd ml-sharp-gui/frontend
# Install dependencies
npm install
# Start the development server
npm run devThe frontend will run on http://localhost:5173
-
Open your browser and navigate to
http://localhost:5173 -
Select an image using the "Select" button or Import a PLY file directly
-
Configure parameters (optional):
- Point Size: Adjust Gaussian splat size
- Model Scale: Scale the 3D model
- Max Points: Maximum number of points to generate
- Effects: Choose from Magic, Spread, Unroll, Twister, or Rain effects
-
Click "Generate" to create the 3D model
-
Interact with the 3D view:
- Left-click + drag: Rotate camera
- Scroll: Zoom in/out
- Toggle Axes/Grid for reference
-
Download the generated PLY model from
backend/outputs/
- 🎨 Real-time 3D Gaussian Splatting visualization
- 🎬 Multiple animation effects (Magic Reveal, Spread, Unroll, Twister, Rain)
- 🌐 Multi-language support (EN, ZH, FR, DE, IT, ES, JA, KO)
- 📦 PLY file import/export
- ⚙️ Customizable rendering parameters
- 🎮 Interactive camera controls
- Python 3.8+
- Node.js 16+
- CUDA-compatible GPU (recommended) or Apple Silicon (MPS)
