renamed to comfyui_live_input_stream
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
* comfyui_webcam_advanced version:
|
||||
* comfyui_live_input_stream version:
|
||||
* Python version:
|
||||
* Operating System:
|
||||
|
||||
|
||||
+1
-1
@@ -6,4 +6,4 @@ recursive-exclude * *.py[co]
|
||||
|
||||
recursive-include docs *.rst conf.py Makefile make.bat *.jpg *.png *.gif
|
||||
|
||||
graft src/comfyui_webcam_advanced/web
|
||||
graft src/comfyui_live_input_stream/web
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# ComfyUI Webcam Advanced
|
||||
# Comfyui Live Input Stream
|
||||
|
||||
Webcam Node With Advanced Live Preview, allowing to see a live preview of cropping and masking.
|
||||
Webcam & Screen Share Input Nodes with Cropping and Live Preview of the Cropped Stream
|
||||
|
||||
> [!NOTE]
|
||||
> This projected was created with a [cookiecutter](https://github.com/Comfy-Org/cookiecutter-comfy-extension) template. It helps you start writing custom nodes without worrying about the Python setup.
|
||||
@@ -21,7 +21,7 @@ Webcam Node With Advanced Live Preview, allowing to see a live preview of croppi
|
||||
To install the dev dependencies and pre-commit (will run the ruff hook), do:
|
||||
|
||||
```bash
|
||||
cd comfyui_webcam_advanced
|
||||
cd comfyui_live_input_stream
|
||||
pip install -e .[dev]
|
||||
pre-commit install
|
||||
```
|
||||
@@ -42,7 +42,7 @@ git push
|
||||
|
||||
## Writing custom nodes
|
||||
|
||||
An example custom node is located in [node.py](src/comfyui_webcam_advanced/nodes.py). To learn more, read the [docs](https://docs.comfy.org/essentials/custom_node_overview).
|
||||
An example custom node is located in [node.py](src/comfyui_live_input_stream/nodes.py). To learn more, read the [docs](https://docs.comfy.org/essentials/custom_node_overview).
|
||||
|
||||
|
||||
## Tests
|
||||
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
"""Top-level package for comfyui_webcam_advanced."""
|
||||
"""Top-level package for comfyui_live_input_stream."""
|
||||
|
||||
__all__ = [
|
||||
"NODE_CLASS_MAPPINGS",
|
||||
@@ -10,7 +10,7 @@ __author__ = """Wouter Verweirder"""
|
||||
__email__ = "wouter.verweirder@gmail.com"
|
||||
__version__ = "0.0.1"
|
||||
|
||||
from .src.comfyui_webcam_advanced.nodes import NODE_CLASS_MAPPINGS
|
||||
from .src.comfyui_webcam_advanced.nodes import NODE_DISPLAY_NAME_MAPPINGS
|
||||
from .src.comfyui_live_input_stream.nodes import NODE_CLASS_MAPPINGS
|
||||
from .src.comfyui_live_input_stream.nodes import NODE_DISPLAY_NAME_MAPPINGS
|
||||
|
||||
WEB_DIRECTORY = "./web"
|
||||
|
||||
+3
-3
@@ -3,9 +3,9 @@ requires = ["setuptools>=70.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
|
||||
[project]
|
||||
name = "comfyui_webcam_advanced"
|
||||
name = "comfyui_live_input_stream"
|
||||
version = "0.0.1"
|
||||
description = "Webcam Node With Advanced Live Preview, allowing to see a live preview of cropping and masking."
|
||||
description = "Webcam & Screen Share Input Nodes with Cropping and Live Preview of the Cropped Stream"
|
||||
authors = [
|
||||
{name = "Wouter Verweirder", email = "wouter.verweirder@gmail.com"}
|
||||
]
|
||||
@@ -37,7 +37,7 @@ Documentation = "https://github.com/{{ cookiecutter.github_username }}/{{ cookie
|
||||
|
||||
[tool.comfy]
|
||||
PublisherId = "wouterverweirder"
|
||||
DisplayName = "ComfyUI Webcam Advanced"
|
||||
DisplayName = "Comfyui Live Input Stream"
|
||||
Icon = ""
|
||||
Tags = []
|
||||
Repository = "https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}"
|
||||
|
||||
@@ -40,10 +40,10 @@ class WebcamCaptureAdvanced(nodes.LoadImage):
|
||||
# A dictionary that contains all nodes you want to export with their names
|
||||
# NOTE: names should be globally unique
|
||||
NODE_CLASS_MAPPINGS = {
|
||||
"be.aboutme.comfyui.webcam_advanced.webcam_capture_advanced": WebcamCaptureAdvanced
|
||||
"be.aboutme.comfyui.live_input_stream.webcam_capture_advanced": WebcamCaptureAdvanced
|
||||
}
|
||||
|
||||
# A dictionary that contains the friendly/humanly readable titles for the nodes
|
||||
NODE_DISPLAY_NAME_MAPPINGS = {
|
||||
"be.aboutme.comfyui.webcam_advanced.webcam_capture_advanced": "Webcam Capture Advanced"
|
||||
"be.aboutme.comfyui.live_input_stream.webcam_capture_advanced": "Webcam Capture Advanced"
|
||||
}
|
||||
+1
-1
@@ -1 +1 @@
|
||||
"""Unit test package for comfyui_webcam_advanced."""
|
||||
"""Unit test package for comfyui_live_input_stream."""
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
"""Tests for `comfyui_webcam_advanced` package."""
|
||||
"""Tests for `comfyui_live_input_stream` package."""
|
||||
|
||||
import pytest
|
||||
from src.comfyui_webcam_advanced.nodes import Example
|
||||
from src.comfyui_live_input_stream.nodes import Example
|
||||
|
||||
@pytest.fixture
|
||||
def example_node():
|
||||
|
||||
@@ -2,7 +2,7 @@ import { app } from "../../../scripts/app.js"
|
||||
import { api } from "../../../scripts/api.js"
|
||||
|
||||
app.registerExtension({
|
||||
name: "be.aboutme.comfyui.webcam_advanced",
|
||||
name: "be.aboutme.comfyui.live_input_stream",
|
||||
async setup() {
|
||||
},
|
||||
getCustomWidgets() {
|
||||
@@ -16,7 +16,7 @@ app.registerExtension({
|
||||
}
|
||||
},
|
||||
async nodeCreated(node) {
|
||||
if (node.constructor.comfyClass !== "be.aboutme.comfyui.webcam_advanced.webcam_capture_advanced") {
|
||||
if (node.constructor.comfyClass !== "be.aboutme.comfyui.live_input_stream.webcam_capture_advanced") {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user