Commit a3c46e8
committed
Convert WeChatQRCode test model fixtures from Caffe to ONNX
OpenCV 5.x's wechat_qrcode module (and WeChatQRCode's OpenCvSharp wrapper)
only accepts single-file ONNX models now; the Caffe importer has been
removed entirely. The Caffe-format fixtures checked into this repo
(detect.prototxt/.caffemodel, sr.prototxt/.caffemodel) were therefore stale
and every model-dependent WeChatQRCodeTest case was silently skipped.
Replace them with detect.onnx/sr.onnx, converted from the same published
weights (opencv/opencv_3rdparty:wechat_qrcode_20210119, Apache License 2.0;
see NOTICE.md). All 7 model-dependent tests in WeChatQRCodeTest.cs now run
and pass instead of being skipped.
Refs #20751 parent 3f18300 commit a3c46e8
5 files changed
Lines changed: 12 additions & 3119 deletions
File tree
- test/OpenCvSharp.Tests/_data/wechat_qrcode
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
0 commit comments