gero 3cb43bf590 Add GitHub Action YAML file for publishing to Comfy Registry
This commit adds a new GitHub Action (publish-node-action) that will run whenever the pyproject.toml file changes. The action publishes the custom node version to the Comfy Registry. This setup includes:
- Triggering the action on changes to the pyproject.toml file in the main or master branches.
- Checking out the code using actions/checkout@v4.
- Using the Comfy-Org/publish-node-action@main to publish the custom node.
- Requires the addition of a REGISTRY_ACCESS_TOKEN secret in the GitHub repository settings.
2024-06-19 02:31:42 +02:00
2024-06-07 17:27:18 +02:00
2024-06-07 17:27:18 +02:00
2024-06-07 17:51:27 +02:00


📐 ComfyUIDepthEstimation

A custom depth estimation node for ComfyUI using transformer models. It integrates depth estimation with automatic gamma correction, contrast adjustment, and edge detection, based on the TransformDepth repository.

Features

  • Depth estimation using a transformer model
  • Automatic gamma correction
  • Automatic contrast adjustment
  • Edge detection and blurring

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ComfyUIDepthEstimation.git
    
  2. Navigate to the repository directory:

    cd ComfyUIDepthEstimation
    
  3. Install the required dependencies:

    pip install -r requirements.txt
    

Usage

Integrate with ComfyUI

  1. Copy the depth_estimation_node.py file to your ComfyUI custom nodes directory.

  2. Update ComfyUI configuration to include the custom node if necessary.

  3. Restart ComfyUI to load the new custom node.

Example Usage

  1. Add the ComfyUIDepthEstimationNode to your pipeline in ComfyUI.

  2. Configure the node with the necessary parameters:

    • image_path: Path to the input image.
    • output_path: Path to save the processed image.
    • blur_radius: Radius for Gaussian Blur.
    • median_size: Size for Median Filter.
    • device: Device to use for inference (cpu or gpu).

License

This project is licensed under the Apache License.


S
Description
No description provided
Readme Apache-2.0
2.2 MiB
Languages
Python 100%