From fb893e51704b9c8beff8d9289d547ca598d57bd2 Mon Sep 17 00:00:00 2001 From: Real Python Bot <42617967+realpython-bot@users.noreply.github.com> Date: Fri, 25 Sep 2026 06:06:07 +0000 Subject: [PATCH] Sync opencv-color-spaces with the maintenance update of Image Segmentation Using Color Spaces in OpenCV + Python --- opencv-color-spaces/finding-nemo.py | 2 +- opencv-color-spaces/requirements.txt | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 opencv-color-spaces/requirements.txt diff --git a/opencv-color-spaces/finding-nemo.py b/opencv-color-spaces/finding-nemo.py index 015e1a5d9d..cafe912ebf 100644 --- a/opencv-color-spaces/finding-nemo.py +++ b/opencv-color-spaces/finding-nemo.py @@ -15,7 +15,7 @@ flags = [i for i in dir(cv2) if i.startswith("COLOR_")] print(len(flags), "flags total:") -print(flags[40]) +print(flags[84]) # Let's look at our fish image diff --git a/opencv-color-spaces/requirements.txt b/opencv-color-spaces/requirements.txt new file mode 100644 index 0000000000..6fd4979a62 --- /dev/null +++ b/opencv-color-spaces/requirements.txt @@ -0,0 +1,3 @@ +opencv-python==5.0.0.93 +numpy==2.5.3 +matplotlib==3.11.2