From f39c5c22e80740700aa3c9bd8cba2a684903e9d2 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 25 Jul 2024 19:30:40 -0700 Subject: [PATCH] remove opencv-python-headless (#33082) --- pyproject.toml | 1 - tools/webcam/camera.py | 1 + uv.lock | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8288340e5aa686..afebfe7a7d3336 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -103,7 +103,6 @@ dev = [ "lru-dict", "matplotlib", "metadrive-simulator@git+https://github.com/commaai/metadrive@opencv_headless ; platform_machine != 'aarch64'", - "opencv-python-headless", "parameterized >=0.8, <0.9", #"pprofile", "pyautogui", diff --git a/tools/webcam/camera.py b/tools/webcam/camera.py index d1d61b64d7a473..ddff46c5d3e012 100644 --- a/tools/webcam/camera.py +++ b/tools/webcam/camera.py @@ -1,3 +1,4 @@ +# TODO: remove the cv2 dependency, it's only used here import cv2 as cv import numpy as np diff --git a/uv.lock b/uv.lock index fa873c63132ce7..866cf921aed6fc 100644 --- a/uv.lock +++ b/uv.lock @@ -1469,7 +1469,6 @@ dev = [ { name = "lru-dict" }, { name = "matplotlib" }, { name = "metadrive-simulator", marker = "platform_machine != 'aarch64'" }, - { name = "opencv-python-headless" }, { name = "parameterized" }, { name = "pyautogui" }, { name = "pyopencl", marker = "platform_machine != 'aarch64'" },