|
|
|
@ -262,6 +262,13 @@ pushd %{name}_contrib-%{version}
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# Install face_landmark_model
|
|
|
|
|
mkdir -p .cache/data
|
|
|
|
|
install -pm 0644 %{SOURCE3} .cache/data
|
|
|
|
|
pushd .cache/data
|
|
|
|
|
xz -d face_landmark_model.dat.xz
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# Install ADE, needed for opencv_gapi
|
|
|
|
|
mkdir -p .cache/ade
|
|
|
|
|
install -pm 0644 %{SOURCE4} .cache/ade/
|
|
|
|
@ -273,13 +280,6 @@ install -pm 0644 %{SOURCE4} .cache/ade/
|
|
|
|
|
# non available on Fedora: FFMPEG, XINE
|
|
|
|
|
mkdir -p build
|
|
|
|
|
pushd build
|
|
|
|
|
|
|
|
|
|
mkdir -p share/opencv4/testdata/cv/face
|
|
|
|
|
install -pm 0644 %{SOURCE3} share/opencv4/testdata/cv/face
|
|
|
|
|
pushd share/opencv4/testdata/cv/face
|
|
|
|
|
xz -d face_landmark_model.dat.xz
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# disabling IPP because it is closed source library from intel
|
|
|
|
|
|
|
|
|
|
%cmake CMAKE_VERBOSE=1 \
|
|
|
|
|