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
This commit is contained in:
parent
0e74ac0496
commit
275e936f14
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 11 10:49:40 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
|
||||||
|
|
||||||
|
- Enable aruco module (recognize markers to detect camera pose)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 2 16:30:59 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
Sat Jan 2 16:30:59 UTC 2021 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
15
opencv.spec
15
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
|
for various computer vision problems. The library is compatible with IPL and
|
||||||
utilizes Intel Integrated Performance Primitives for better performance.
|
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}
|
%package -n libopencv_face%{soname}
|
||||||
Summary: Face detection libraries for OpenCV
|
Summary: Face detection libraries for OpenCV
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@ -262,7 +270,7 @@ This package contains the documentation and examples for the OpenCV library.
|
|||||||
%setup -q -a 1
|
%setup -q -a 1
|
||||||
|
|
||||||
# Only copy over modules we need
|
# 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
|
cp opencv_contrib-%{version}/LICENSE LICENSE.contrib
|
||||||
|
|
||||||
# Remove Windows specific files
|
# Remove Windows specific files
|
||||||
@ -359,6 +367,8 @@ grep -E 'model|stepping|flags' /proc/cpuinfo | head -n4
|
|||||||
|
|
||||||
%post -n %{libname}%{soname} -p /sbin/ldconfig
|
%post -n %{libname}%{soname} -p /sbin/ldconfig
|
||||||
%postun -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
|
%post -n libopencv_face%{soname} -p /sbin/ldconfig
|
||||||
%postun -n libopencv_face%{soname} -p /sbin/ldconfig
|
%postun -n libopencv_face%{soname} -p /sbin/ldconfig
|
||||||
%post -n libopencv_highgui%{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_tracking.so.*
|
||||||
%{_libdir}/libopencv_video.so.*
|
%{_libdir}/libopencv_video.so.*
|
||||||
|
|
||||||
|
%files -n libopencv_aruco%{soname}
|
||||||
|
%{_libdir}/libopencv_aruco.so.*
|
||||||
|
|
||||||
%files -n libopencv_face%{soname}
|
%files -n libopencv_face%{soname}
|
||||||
%{_libdir}/libopencv_face.so.*
|
%{_libdir}/libopencv_face.so.*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user