Skip to content

FloyoAI/ComfyUI-Sharp

 
 

Repository files navigation

Warning

Warning, uses experimental package comfy-env to attempt a one click isolated install. Will download and use pixi package manager.

ComfyUI-Sharp

Installation

Three options, in order of speed → reliability:

  1. ComfyUI Manager (recommended) — search for Sharp in the Manager and click Install from the highest version displayed. If that doesn't work, try nightly.
  2. Manager via Git URL — in ComfyUI Manager: "Install via Git URL" with https://github.com/PozzettiAndrea/ComfyUI-Sharp.git.
  3. Manual (most reliable):
    cd ComfyUI/custom_nodes
    git clone https://github.com/PozzettiAndrea/ComfyUI-Sharp.git
    cd ComfyUI-Sharp
    pip install -r requirements.txt --upgrade
    python install.py

Please report any problems you hit during installation or use of my nodes — open a Discussion or Issue. Very grateful for your help! 🙏


ComfyUI wrapper for SHARP by Apple - monocular 3D Gaussian Splatting in under 1 second.

2 Example workflows.

Workflow 1: standard/user input focal length. Workflow

splat1_30fps.mp4

Workflow 2: focal length extraction from exif data.

Workflow_exif

splat2_30fps.mp4

Note: for PLY inference this model is good on its own, but for the Gaussian Viewer node, you're going to need to install this node as well! https://github.com/PozzettiAndrea/ComfyUI-GeometryPack

Model auto-downloads on first run. For offline use, place sharp_2572gikvuh.pt in ComfyUI/models/sharp/.

Nodes

  • Load SHARP Model - (down)Load the SHARP model
  • SHARP Predict - Generate 3D Gaussians from a single image
  • Load Image with EXIF - Load image and auto-extract focal length from EXIF (35mm equivalent)

Images with EXIF data get focal length auto-calculated when using the Load Image with EXIF node.

Community

Questions or feature requests? Open a Discussion on GitHub.

Join the Comfy3D Discord for help, updates, and chat about 3D workflows in ComfyUI.

Credits

Thanks to Apple for releasing SHARP as open source.

About

ComfyUI wrapper around the ml-sharp model from Apple

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%