| |
@@ -91,6 +91,10 @@
|
| |
# 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
|
| |
+ %global wechat_commit 3487ef7cde71d93c6a01bb0b84aa0f22c6128f6b
|
| |
+ %global wechat_shortcommit %(c=%{wechat_commit}; echo ${c:0:7})
|
| |
+ %global wechat_gitdate 20230712
|
| |
+ Source6: https://github.com/WeChatCV/opencv_3rdparty/archive/%{wechat_commit}/wechat-%{wechat_gitdate}.git%{wechat_shortcommit}.tar.gz
|
| |
|
| |
Patch0: opencv-4.1.0-install_3rdparty_licenses.patch
|
| |
Patch3: opencv.python.patch
|
| |
@@ -276,7 +280,7 @@
|
| |
%prep
|
| |
# autosetup doesn't work with 2 sources
|
| |
# https://github.com/rpm-software-management/rpm/issues/1204
|
| |
- %setup -q -a1 %{?with_extras_tests:-a2}
|
| |
+ %setup -q -a1 %{?with_extras_tests:-a2} -a6
|
| |
|
| |
# we don't use pre-built contribs except quirc
|
| |
pushd 3rdparty
|
| |
@@ -300,6 +304,11 @@
|
| |
xz -d face_landmark_model.dat.xz
|
| |
mv face_landmark_model.dat 7505c44ca4eb54b4ab1e4777cb96ac05-face_landmark_model.dat
|
| |
popd
|
| |
+ mkdir -p .cache/wechat_qrcode
|
| |
+ mv opencv_3rdparty-%{wechat_commit}/detect.caffemodel .cache/wechat_qrcode/238e2b2d6f3c18d6c3a30de0c31e23cf-detect.caffemodel
|
| |
+ mv opencv_3rdparty-%{wechat_commit}/detect.prototxt .cache/wechat_qrcode/6fb4976b32695f9f5c6305c19f12537d-detect.prototxt
|
| |
+ mv opencv_3rdparty-%{wechat_commit}/sr.caffemodel .cache/wechat_qrcode/cbfcd60361a73beb8c583eea7e8e6664-sr.caffemodel
|
| |
+ mv opencv_3rdparty-%{wechat_commit}/sr.prototxt .cache/wechat_qrcode/69db99927a70df953b471daaba03fbef-sr.prototxt
|
| |
|
| |
# Install ADE, needed for opencv_gapi
|
| |
mkdir -p .cache/ade
|
| |
@@ -518,6 +527,7 @@
|
| |
- Update opencv to 4.8.0
|
| |
- Use bundle flatbuffers, tried build with flatbuffers from system but doesn't build
|
| |
- Use oneVPL instead libmfx
|
| |
+ - Add WeChat QRCode
|
| |
|
| |
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 4.7.0-15
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
| |
CNN models for wechat_qrcode module, including the detector model and the super scale model.
https://github.com/WeChatCV/opencv_3rdparty
the WeChatCV project added code in opencv_contrib