fix: Add missing import json to depth_estimation_node.py

Resolves NameError: name 'json' is not defined (#18).
The json module is used in _serialize_camera_data() and error handling
but was never imported when DA3 camera pose estimation was added in v1.3.4.

Bump version to 1.3.7.
This commit is contained in:
limbicnation
2026-02-16 04:30:09 +01:00
parent 93ebf7ab95
commit fb94f9df42
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ logging.basicConfig(level=logging.INFO)
logger = logging.getLogger("DepthEstimation")
# Version info
__version__ = "1.3.6"
__version__ = "1.3.7"
# Node class mappings - will be populated based on dependency checks
NODE_CLASS_MAPPINGS = {}
+1
View File
@@ -1,4 +1,5 @@
import os
import json
import numpy as np
import torch
import traceback
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "comfyuidepthestimation"
description = "A robust custom depth estimation node for ComfyUI using Depth-Anything models (V1, V2, and V3/DA3). It integrates depth estimation with configurable post-processing options including blur, median filtering, contrast enhancement, and gamma correction."
version = "1.3.6"
version = "1.3.7"
license = { file = "LICENSE" }
dependencies = [
"transformers>=4.20.0",