Nodes Browser

ComfyDeploy: How Panoramic Image Stitcher works in ComfyUI?

What is Panoramic Image Stitcher?

Simple Node to make panoramic images

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for Panoramic Image Stitcher and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine
<div align="center">

Panoramic Image Stitcher for ComfyUI

</div>

Simple Node to make panoramic images using OpenCV stitch function

This node is available on ComfyUI Manager

1 2

PARAMETERS

| Name | Description | |--------|-------------------------------------------------------| | device | Improved performance only if using it in flow, since OpenCV functions run only on the CPU | | crop | Crops the smallest acceptable area with perspective warp pixels | | mode | Switches between panoramic mode (default) or scans mode, optimized for documents and images with details such as letters | | threshold | Decreases the precision to create stitch points, but can cause errors, see FAQ|

FAQ

  • Error 1

Occurs when the stitcher cannot find the stitch points between the images (the stitcher function algorithm needs it to return an average of equality points to join the image. Increasing the number of images and decreasing the spacing between them avoids this problem

  • Error 3

It happens when the threshold is too low. Always use the default value 1.0 and go down to refine. In the tests carried out there was little gain in the reduction of warp perspective by lowering this parameter.

Next features

  • Improvements in code redundancy between some functions.
  • Impement the mask as alpha directly in the image.

Feel free to open PR or issues.