Comment out opencv-python that is not installable on arm (#7426)
* Comment out opencv-python that is not installable on arm * Disable import-errorpull/7430/head
parent
af5439860f
commit
403a721e91
|
@ -88,7 +88,7 @@ CONFIG_SCHEMA = vol.Schema({
|
|||
|
||||
def cv_image_to_bytes(cv_image):
|
||||
"""Convert OpenCV image to bytes."""
|
||||
import cv2
|
||||
import cv2 # pylint: disable=import-error
|
||||
|
||||
# pylint: disable=no-member
|
||||
encode_param = [int(cv2.IMWRITE_JPEG_QUALITY), 90]
|
||||
|
@ -103,7 +103,7 @@ def cv_image_to_bytes(cv_image):
|
|||
|
||||
def cv_image_from_bytes(image):
|
||||
"""Convert image bytes to OpenCV image."""
|
||||
import cv2
|
||||
import cv2 # pylint: disable=import-error
|
||||
import numpy
|
||||
|
||||
# pylint: disable=no-member
|
||||
|
@ -112,7 +112,7 @@ def cv_image_from_bytes(image):
|
|||
|
||||
def process_image(image, classifier_group, is_camera):
|
||||
"""Process the image given a classifier group."""
|
||||
import cv2
|
||||
import cv2 # pylint: disable=import-error
|
||||
import numpy
|
||||
|
||||
# pylint: disable=no-member
|
||||
|
|
|
@ -418,7 +418,7 @@ oauth2client==4.0.0
|
|||
oemthermostat==1.1
|
||||
|
||||
# homeassistant.components.opencv
|
||||
opencv-python==3.2.0.6
|
||||
# opencv-python==3.2.0.6
|
||||
|
||||
# homeassistant.components.sensor.openevse
|
||||
openevsewifi==0.4
|
||||
|
|
|
@ -15,6 +15,7 @@ COMMENT_REQUIREMENTS = (
|
|||
'pybluez',
|
||||
'beacontools',
|
||||
'bluepy',
|
||||
'opencv-python',
|
||||
'python-lirc',
|
||||
'gattlib',
|
||||
'pyuserinput',
|
||||
|
|
Loading…
Reference in New Issue