Skip to content

Commit 98c1c36

Browse files
author
AleksandrPanov
committed
add load wechat qr detect model
1 parent 4e72d02 commit 98c1c36

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

testdata/dnn/download_models.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,26 @@ def get_confirm_token(response): # in case of large files
952952
url='https://drive.google.com/uc?export=dowload&id=1ClK9WiB492c5OZFKveF3XiHCejoOxINW',
953953
sha='12ff8b1f5c8bff62e8dd91eabdacdfc998be255e',
954954
filename='onnx/models/face_recognizer_fast.onnx'),
955+
Model(
956+
name='wechat_qr_detect',
957+
url='https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/wechat_qrcode/detect.prototxt',
958+
sha='a6936962139282d300ebbf15a54c2aa94b144bb7',
959+
filename='wechat_2021-01/detect.prototxt'),
960+
Model(
961+
name='wechat_qr_detect',
962+
url='https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/wechat_qrcode/detect.caffemodel',
963+
sha='d587623a055cbd58a648de62a8c703c7abb05f6d',
964+
filename='wechat_2021-01/detect.caffemodel'),
965+
Model(
966+
name='wechat_super_resolution',
967+
url='https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/wechat_qrcode/sr.prototxt',
968+
sha='39e1f1031c842766f1cc126615fea8e8256facd2',
969+
filename='wechat_2021-01/sr.prototxt'),
970+
Model(
971+
name='wechat_super_resolution',
972+
url='https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/wechat_qrcode/sr.caffemodel',
973+
sha='2b181b55d1d7af718eaca6cabdeb741217b64c73',
974+
filename='wechat_2021-01/sr.caffemodel'),
955975
]
956976

957977
# Note: models will be downloaded to current working directory

0 commit comments

Comments
 (0)