Open aknoerig opened 1 year ago
I'd support this too. opencv-python-headless is enough for the functionality used here. especially in containered environments the opencv-python package fails to install due to binary dependencies for the GUI
That would work for me - could someone open a PR maybe? :-)
Issue fixed, it seems! https://github.com/huggingface/controlnet_aux/blob/master/setup.py#L85
The install currently depends on
opencv-python
. Unfortuntately, this causes issues when deploying the package in the context of a headless server. Instead, just make it dependent onopencv-python-headless
, as there is no need for a GUI here.