kijai / ComfyUI-DepthAnythingV2

Simple DepthAnythingV2 inference node for monocular depth estimation
167 stars 12 forks source link

Add cv2 to requirements.txt #4

Closed phenomen closed 2 months ago

phenomen commented 2 months ago

cv2 is imported in util/transform.py but is not listed in requirements.txt resulting in an error:

ModuleNotFoundError: No module named 'cv2'

I installed cv2pip manually and then ComfyUI-DepthAnythingV2 loaded successfully.

kijai commented 2 months ago

Yeah I missed that file as it's not actually used at all, cleaned up the code a bit so there's no need to have cv2 anymore for this.