From 7df64c059808102692094221eb02f00acbc60b95 Mon Sep 17 00:00:00 2001 From: pk Date: Sun, 8 Jun 2025 14:50:56 +0200 Subject: [PATCH] add more AQnodes --- nodes/filters/AQ_filters.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nodes/filters/AQ_filters.py b/nodes/filters/AQ_filters.py index 17f9dbe..f71ef21 100644 --- a/nodes/filters/AQ_filters.py +++ b/nodes/filters/AQ_filters.py @@ -88,10 +88,7 @@ class AQ_ColorMatchImage: return (t,) # guided filter a tensor image batch in format [B x H x W x C] on H/W (spatial, per-image, per-channel) def guided_filter_tensor(ref, images, d, s): - try: - from cv2.ximgproc import guidedFilter - except ImportError: - print("\033[33mUnable to import guidedFilter, make sure you have only opencv-contrib-python or run the import_error_install.bat script\033[m") + from cv2.ximgproc import guidedFilter if d > 100: np_img = (