From 275e936f1461da1f7d5fc357bba4c953d8696b36543a09051e6301c5c42e0585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Br=C3=BCns?= Date: Mon, 22 Feb 2021 19:10:19 +0000 Subject: [PATCH] Accepting request 871172 from home:alois:branches:science - Enable aruco module (recognize markers to detect camera pose) (planning to use it for https://github.com/kacpertopol/cam_board) OBS-URL: https://build.opensuse.org/request/show/871172 OBS-URL: https://build.opensuse.org/package/show/science/opencv?expand=0&rev=24 --- opencv.changes | 5 +++++ opencv.spec | 15 ++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/opencv.changes b/opencv.changes index 9777861..fabfece 100644 --- a/opencv.changes +++ b/opencv.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 11 10:49:40 UTC 2021 - Luigi Baldoni + +- Enable aruco module (recognize markers to detect camera pose) + ------------------------------------------------------------------- Sat Jan 2 16:30:59 UTC 2021 - Stefan BrĂ¼ns diff --git a/opencv.spec b/opencv.spec index 98f02df..511081a 100644 --- a/opencv.spec +++ b/opencv.spec @@ -121,6 +121,14 @@ The Open Computer Vision Library is a collection of algorithms and sample code for various computer vision problems. The library is compatible with IPL and utilizes Intel Integrated Performance Primitives for better performance. +%package -n libopencv_aruco%{soname} +Summary: Pattern grid detection libraries for OpenCV +License: BSD-3-Clause +Group: System/Libraries + +%description -n libopencv_aruco%{soname} +Pattern grid detectiion libraries for OpenCV + %package -n libopencv_face%{soname} Summary: Face detection libraries for OpenCV License: BSD-3-Clause @@ -262,7 +270,7 @@ This package contains the documentation and examples for the OpenCV library. %setup -q -a 1 # Only copy over modules we need -mv opencv_contrib-%{version}/modules/{face,tracking,optflow,plot,shape,superres,videostab,ximgproc} modules/ +mv opencv_contrib-%{version}/modules/{aruco,face,tracking,optflow,plot,shape,superres,videostab,ximgproc} modules/ cp opencv_contrib-%{version}/LICENSE LICENSE.contrib # Remove Windows specific files @@ -359,6 +367,8 @@ grep -E 'model|stepping|flags' /proc/cpuinfo | head -n4 %post -n %{libname}%{soname} -p /sbin/ldconfig %postun -n %{libname}%{soname} -p /sbin/ldconfig +%post -n libopencv_aruco%{soname} -p /sbin/ldconfig +%postun -n libopencv_aruco%{soname} -p /sbin/ldconfig %post -n libopencv_face%{soname} -p /sbin/ldconfig %postun -n libopencv_face%{soname} -p /sbin/ldconfig %post -n libopencv_highgui%{soname} -p /sbin/ldconfig @@ -407,6 +417,9 @@ grep -E 'model|stepping|flags' /proc/cpuinfo | head -n4 %{_libdir}/libopencv_tracking.so.* %{_libdir}/libopencv_video.so.* +%files -n libopencv_aruco%{soname} +%{_libdir}/libopencv_aruco.so.* + %files -n libopencv_face%{soname} %{_libdir}/libopencv_face.so.*