From 21c96fa76c06adb51f0df8e825aa6a936b755d45 Mon Sep 17 00:00:00 2001 From: Pascal Vizeli Date: Wed, 19 Jun 2019 18:23:05 +0200 Subject: [PATCH] Add support for opencv wheels (#24620) --- .gitignore | 1 + homeassistant/components/opencv/manifest.json | 3 ++- requirements_all.txt | 3 +++ script/gen_requirements_all.py | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 7a0cb29bc2b26..397a584c28eab 100644 --- a/.gitignore +++ b/.gitignore @@ -95,6 +95,7 @@ virtualization/vagrant/config # Visual Studio Code .vscode +.devcontainer # Built docs docs/build diff --git a/homeassistant/components/opencv/manifest.json b/homeassistant/components/opencv/manifest.json index dfc493f1c96f4..9892e51ba0fb7 100644 --- a/homeassistant/components/opencv/manifest.json +++ b/homeassistant/components/opencv/manifest.json @@ -3,7 +3,8 @@ "name": "Opencv", "documentation": "https://www.home-assistant.io/components/opencv", "requirements": [ - "numpy==1.16.3" + "numpy==1.16.3", + "opencv-python-headless==4.1.0.25" ], "dependencies": [], "codeowners": [] diff --git a/requirements_all.txt b/requirements_all.txt index c2d28d4f39730..efe78e0b93f9f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -838,6 +838,9 @@ onkyo-eiscp==1.2.4 # homeassistant.components.onvif onvif-zeep-async==0.2.0 +# homeassistant.components.opencv +# opencv-python-headless==4.1.0.25 + # homeassistant.components.openevse openevsewifi==0.4 diff --git a/script/gen_requirements_all.py b/script/gen_requirements_all.py index e178c29b51c01..f1f3655cef3b3 100755 --- a/script/gen_requirements_all.py +++ b/script/gen_requirements_all.py @@ -24,7 +24,7 @@ 'face_recognition', 'fritzconnection', 'i2csense', - 'opencv-python', + 'opencv-python-headless', 'py_noaa', 'VL53L1X2', 'pybluez',