29 lines
2.0 KiB
Python
29 lines
2.0 KiB
Python
"""
|
|
██╗ ██████╗ ██╗ ██╗██╗ ██████╗ █████╗ ██████╗ ████████╗██╗ ██╗██████╗ ███████╗
|
|
██║██╔═══██╗██║ ██║██║ ██╔════╝██╔══██╗██╔══██╗╚══██╔══╝██║ ██║██╔══██╗██╔════╝
|
|
██║██║ ██║██║ ██║██║ ██║ ███████║██████╔╝ ██║ ██║ ██║██████╔╝█████╗
|
|
██ ██║██║ ██║╚██╗ ██╔╝██║ ██║ ██╔══██║██╔═══╝ ██║ ██║ ██║██╔══██╗██╔══╝
|
|
╚█████╔╝╚██████╔╝ ╚████╔╝ ██║ ╚██████╗██║ ██║██║ ██║ ╚██████╔╝██║ ██║███████╗
|
|
╚════╝ ╚═════╝ ╚═══╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚══════╝
|
|
|
|
Capture Webcamera and URL media streams as ComfyUI images
|
|
"""
|
|
|
|
__author__ = "Alexander G. Morano"
|
|
__email__ = "amorano@gmail.com"
|
|
|
|
from pathlib import Path
|
|
from cozy_comfyui.node import loader
|
|
|
|
# ==============================================================================
|
|
# === GLOBAL ===
|
|
# ==============================================================================
|
|
|
|
PACKAGE = "JOV_CAPTURE"
|
|
WEB_DIRECTORY = "./web"
|
|
ROOT = Path(__file__).resolve().parent
|
|
NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS = loader(ROOT,
|
|
PACKAGE,
|
|
"core",
|
|
f"{PACKAGE} 📸")
|