Skip to content

Commit 4aa709f

Browse files
authored
Merge pull request #2078 from shimat/wechat-qrcode-onnx-models-2075
Convert WeChatQRCode test model fixtures from Caffe to ONNX
2 parents 4847ff4 + 665a043 commit 4aa709f

5 files changed

Lines changed: 3 additions & 3119 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
`detect.onnx` and `sr.onnx` are derived from the WeChatQRCode Caffe models published at [opencv/opencv_3rdparty:wechat_qrcode_20210119](https://github.com/opencv/opencv_3rdparty/tree/wechat_qrcode_20210119) (`detect.prototxt`/`.caffemodel`, `sr.prototxt`/`.caffemodel`), Copyright (C) 2021 THL A29 Limited, a Tencent company, licensed under the [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0).
2+
3+
These files were converted from Caffe to ONNX using [shimat/caffe-ssd-to-onnx](https://github.com/shimat/caffe-ssd-to-onnx), since OpenCV 5.x's `wechat_qrcode` module (and OpenCvSharp's `WeChatQRCode` wrapper) only accepts ONNX models. No other changes were made to the network weights or architecture.

test/OpenCvSharp.Tests/_data/wechat_qrcode/detect.caffemodel renamed to test/OpenCvSharp.Tests/_data/wechat_qrcode/detect.onnx

943 KB
Binary file not shown.

0 commit comments

Comments
 (0)