A server implementation for converting Seeedstudio recamera images into 3D scenes using NVIDIA Instant NeRF.
- Multiple processing pipelines for different use cases:
- Art & Assets: Optimized for artwork and physical objects
- Food Scanner: Specialized for food recognition and 3D modeling
- General Purpose: Standard 3D model generation
- GPU-accelerated processing using NVIDIA Instant NeRF
- RESTful API interface
- Configurable processing settings
- Google Cloud SDK installed
- Access to Google Cloud with GPU quotas enabled
- Git
- Clone the repository:
git clone https://github.com/Hey-Salad/NGP-Server.git
cd NGP-Server- Enable required Google Cloud APIs:
gcloud services enable compute.googleapis.com
gcloud services enable containerregistry.googleapis.com- Deploy to Google Cloud:
gcloud app deploy app.yamlGET /api/health- Health checkGET /api/processors- List available processorsGET /api/settings- Get processing settingsPOST /api/process- Process an image
curl -X POST http://[YOUR-APP-URL]/api/process \
-F "file=@image.jpg" \
-F "type=art" \
-F 'settings={"resolution": "1024x1024", "style": "realistic"}'While the application is designed to run on Google Cloud with GPU support, you can run parts of it locally for development:
# Install dependencies
pip install -r requirements.txt
# Run locally (without GPU features)
python app.pyMIT License 27/01/2025 SALADHR TECHNOLOGY LTD - PETER MACHONA