| |
@@ -95,6 +95,12 @@
|
| |
# mv v0.1.2a.zip $(md5sum v0.1.2a.zip | cut -d' ' -f1)-v0.1.2a.zip
|
| |
Source4: fa4b3e25167319cb0fa9432ef8281945-v0.1.2a.zip
|
| |
Source5: xorg.conf
|
| |
+ # from https://github.com/WeChatCV/opencv_3rdparty/tree/4f9044621eb268543421d967cf9a497315540682
|
| |
+ # wget https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/sr.prototxt
|
| |
+ Source6: detect.caffemodel.xz
|
| |
+ Source7: detect.prototxt.xz
|
| |
+ Source8: sr.caffemodel.xz
|
| |
+ Source9: sr.prototxt.xz
|
| |
|
| |
Patch0: opencv-4.1.0-install_3rdparty_licenses.patch
|
| |
Patch3: opencv.python.patch
|
| |
@@ -302,11 +308,23 @@
|
| |
|
| |
# Install face_landmark_model
|
| |
mkdir -p .cache/data
|
| |
- install -pm 0644 %{SOURCE3} .cache/data
|
| |
+ install -pm 0644 %{S:3} .cache/data
|
| |
pushd .cache/data
|
| |
xz -d face_landmark_model.dat.xz
|
| |
mv face_landmark_model.dat 7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat
|
| |
popd
|
| |
+ mkdir -p .cache/wechat_qrcode
|
| |
+ install -pm 0644 %{S:6} %{S:7} %{S:8} %{S:9} .cache/wechat_qrcode
|
| |
+ pushd .cache/wechat_qrcode
|
| |
+ xz -d detect.caffemodel.xz
|
| |
+ mv detect.caffemodel 238e2b2d6f3c18d6c3a30de0c31e23cf-detect.caffemodel
|
| |
+ xz -d detect.prototxt.xz
|
| |
+ mv detect.prototxt 6fb4976b32695f9f5c6305c19f12537d-detect.prototxt
|
| |
+ xz -d sr.caffemodel.xz
|
| |
+ mv sr.caffemodel cbfcd60361a73beb8c583eea7e8e6664-sr.caffemodel
|
| |
+ xz -d sr.prototxt.xz
|
| |
+ mv sr.prototxt 69db99927a70df953b471daaba03fbef-sr.prototxt
|
| |
+ popd
|
| |
|
| |
# Install ADE, needed for opencv_gapi
|
| |
mkdir -p .cache/ade
|
| |
Kwizart, fine for you ?