Error with ColorCorrect when running
Hello fellow Wizards,
I get the following error when generating the image using the recommended workflow:
"Error occurred when executing ColorCorrect:
module 'cv2' has no attribute 'cvtColor'
File "G:\Programs\ComfyUI_windows_portable\ComfyUI\execution.py", line 151, in recursive_execute
output_data, output_ui = get_output_data(obj, input_data_all)
File "G:\Programs\ComfyUI_windows_portable\ComfyUI\execution.py", line 81, in get_output_data
return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
File "G:\Programs\ComfyUI_windows_portable\ComfyUI\execution.py", line 74, in map_node_over_list
results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
File "G:\Programs\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-post-processing-nodes\post_processing_nodes.py", line 420, in color_correct
hls_img = cv2.cvtColor(modified_image, cv2.COLOR_RGB2HLS)"
Speaking to the duck doesn't work. Could anyone help pls?
Thanks!
i'm not sure but perhaps related with opencv-python
my version:
pip show opencv-python
Name: opencv-python
Version: 4.8.0.74
I have managed to fix the cv2 problem by downloading the sitepackages from here:
https://drive.google.com/file/d/1MesqomVt9uJxjPCJltSl1AQIolc992O3/view
I then extracted it and deleted the sitepackages folder from ComfyUI_windows_portable\python_embeded\Lib and replaced it with the new one.
Apparently, there are some missing sitepackages.
YT source:
https://www.youtube.com/watch?v=gS62nkcml0k
Thanks!