summaryrefslogtreecommitdiffstats
path: root/rules/opencv.in
diff options
context:
space:
mode:
authorArtur Wiebe <artur@4wiebe.de>2020-09-16 13:19:28 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2020-09-22 09:37:21 +0200
commit3a8eaecbadef4087b845b15b59233b29b9bc12a1 (patch)
treea62e2037a905e1400d1f6f16b5904296850306f9 /rules/opencv.in
parent0458e24476dcf01d36659dab5e927c6e9b4e90ac (diff)
downloadptxdist-3a8eaecbadef4087b845b15b59233b29b9bc12a1.tar.gz
ptxdist-3a8eaecbadef4087b845b15b59233b29b9bc12a1.tar.xz
opencv: added option to build/install python bindings
Signed-off-by: Artur Wiebe <artur@4wiebe.de> Message-Id: <20200916111928.1287941-1-artur@4wiebe.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/opencv.in')
-rw-r--r--rules/opencv.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/rules/opencv.in b/rules/opencv.in
index 328786aed..bbf907b64 100644
--- a/rules/opencv.in
+++ b/rules/opencv.in
@@ -16,6 +16,7 @@ menuconfig OPENCV
select V4L_UTILS if OPENCV_V4L_LIBV4L2
select V4L_UTILS_LIBV4L1 if OPENCV_V4L_LIBV4L2
select V4L_UTILS_LIBV4L2 if OPENCV_V4L_LIBV4L2
+ select PYTHON3_NUMPY if OPENCV_PYTHON
help
Open Source Computer Vision Library
@@ -140,6 +141,12 @@ config OPENCV_QT
help
QT GUI Support
+config OPENCV_PYTHON
+ bool
+ prompt "Python bindings"
+ help
+ Python bindings
+
config OPENCV_EXAMPLES
bool
prompt "Build Examples"