Updated install instructions
This commit is contained in:
@@ -23,11 +23,9 @@ Professional HDR (High Dynamic Range) processing nodes for ComfyUI using the **D
|
||||
|
||||
## 📋 Requirements
|
||||
|
||||
- ComfyUI
|
||||
- ComfyUI (includes NumPy and PyTorch)
|
||||
- Python 3.8+
|
||||
- OpenCV (cv2) >= 4.8.0
|
||||
- NumPy >= 1.21.0
|
||||
- PyTorch >= 1.9.0
|
||||
|
||||
## 🚀 Installation
|
||||
|
||||
@@ -42,13 +40,27 @@ Professional HDR (High Dynamic Range) processing nodes for ComfyUI using the **D
|
||||
```
|
||||
|
||||
2. **Install Dependencies**:
|
||||
|
||||
**For ComfyUI Portable (Recommended)**:
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
# Navigate to your ComfyUI portable directory and use embedded Python
|
||||
cd path/to/ComfyUI_windows_portable
|
||||
python_embeded\python.exe -m pip install opencv-python>=4.8.0
|
||||
```
|
||||
|
||||
Or install manually:
|
||||
**For Standard ComfyUI Installation**:
|
||||
```bash
|
||||
pip install opencv-python>=4.8.0 numpy>=1.21.0 torch>=1.9.0
|
||||
# Use your system Python or ComfyUI's virtual environment
|
||||
pip install opencv-python>=4.8.0
|
||||
```
|
||||
|
||||
**Or install from requirements.txt**:
|
||||
```bash
|
||||
# For portable version
|
||||
python_embeded\python.exe -m pip install -r requirements.txt
|
||||
|
||||
# For standard installation
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
3. **Restart ComfyUI** to load the new nodes
|
||||
|
||||
+5
-6
@@ -7,13 +7,11 @@ This module provides two custom nodes for ComfyUI:
|
||||
2. Luminance Stack Processor (5 Stops) - For processing EV+4, EV+2, EV+0, EV-2, EV-4 exposures
|
||||
|
||||
Requirements:
|
||||
- OpenCV (cv2)
|
||||
- NumPy
|
||||
- PyTorch
|
||||
- OpenCV (cv2) - NumPy and PyTorch are provided by ComfyUI
|
||||
|
||||
Installation:
|
||||
1. Place this folder in your ComfyUI/custom_nodes/ directory
|
||||
2. Install required dependencies: pip install opencv-python numpy torch
|
||||
2. Install OpenCV: python_embeded\python.exe -m pip install opencv-python (for portable)
|
||||
3. Restart ComfyUI
|
||||
|
||||
Author: Sumit Chatterjee
|
||||
@@ -56,8 +54,9 @@ try:
|
||||
|
||||
except ImportError as e:
|
||||
print(f"❌ Failed to import Luminance Stack Processor nodes: {e}")
|
||||
print(" Please ensure all required dependencies are installed:")
|
||||
print(" pip install opencv-python numpy torch")
|
||||
print(" Please ensure OpenCV is installed:")
|
||||
print(" For ComfyUI Portable: python_embeded\\python.exe -m pip install opencv-python")
|
||||
print(" For Standard ComfyUI: pip install opencv-python")
|
||||
|
||||
# Provide empty mappings to prevent ComfyUI errors
|
||||
NODE_CLASS_MAPPINGS = {}
|
||||
|
||||
Reference in New Issue
Block a user