Implements a custom ComfyUI node that estimates: - Field of View (FOV) in degrees using vanishing point detection - Tilt/horizon angle in degrees using line detection Features: - Canny edge detection for robust edge finding - Hough line transform for line and horizon detection - Vanishing point analysis for FOV estimation - Configurable thresholds for different image types - Visual debugging with annotated output images - Batch processing support Files added: - __init__.py: ComfyUI node registration - fov_estimator_node.py: Main implementation with FOVEstimatorNode class - requirements.txt: Dependencies (numpy, opencv-python, torch) - README.md: Comprehensive documentation and usage guide
8 lines
230 B
Python
8 lines
230 B
Python
"""
|
|
ComfyUI FOV Estimator - A custom node for estimating FOV and tilt of images
|
|
"""
|
|
|
|
from .fov_estimator_node import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
|
|
|
|
__all__ = ['NODE_CLASS_MAPPINGS', 'NODE_DISPLAY_NAME_MAPPINGS']
|