ComfyUI-PanoTools - Panorama Generation Tools
==============================================

This package includes third-party software components with the following attributions:

## GeoCalib

This software includes code from GeoCalib, which is licensed under the Apache License 2.0.

Copyright 2024 ETH Zurich

GeoCalib: Learning Single-image Calibration with Geometric Optimization (ECCV 2024)
Authors: Alexander Veicht, Paul-Edouard Sarlin, Philipp Lindenberger, Marc Pollefeys

Repository: https://github.com/cvg/GeoCalib
Paper: https://www.ecva.net/papers/eccv_2024/papers_ECCV/papers/05636.pdf
Demo: https://veichta-geocalib.hf.space/

The vendored `geocalib/` package in this distribution is taken from the original
GeoCalib repository and is used under the terms of the Apache License 2.0.
See LICENSE-GeoCalib for the full license text.

### Model Weights Attribution

The GeoCalib pre-trained model weights are licensed under CC-BY-4.0
(Creative Commons Attribution 4.0 International License).

Model weights are automatically downloaded from torch.hub on first use.
Attribution: ETH Zurich (2024)
License: https://creativecommons.org/licenses/by/4.0/

## Modifications

The vendored GeoCalib code has been modified from the original source as follows:

1. **Import statements**: All absolute imports (e.g., `from geocalib.xxx`) have been
   converted to relative imports (e.g., `from .xxx`) to allow the package to work
   as a vendored submodule within this ComfyUI custom node package.

   Modified files:
   - geocalib/__init__.py
   - geocalib/camera.py
   - geocalib/extractor.py
   - geocalib/geocalib.py
   - geocalib/gravity.py
   - geocalib/lm_optimizer.py
   - geocalib/perspective_fields.py
   - geocalib/interactive_demo.py
   - geocalib/viz2d.py

All original copyright notices and license headers have been preserved.
No functional changes have been made to the GeoCalib algorithm or implementation.

---

For the full text of the Apache License 2.0, see LICENSE-GeoCalib.
For the full text of CC-BY-4.0, see: https://creativecommons.org/licenses/by/4.0/legalcode
