-
Notifications
You must be signed in to change notification settings - Fork 1.6k
fix large image #984
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix large image #984
Conversation
dfb236d
to
b61be7e
Compare
45a6360
to
f02ba9a
Compare
testdata/dnn/download_models.py
Outdated
name='wechat_qr_detect', | ||
url='https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/wechat_qrcode/detect.prototxt', | ||
sha='a6936962139282d300ebbf15a54c2aa94b144bb7', | ||
filename='wechat/detect.prototxt'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wechat
=> wechat-YYYYMM
to support versioning (because download shared directory doesn't support versioning)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Notes are linked to the last line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alalek, I added prefix wechat_2021-01
to path. Could you load model? Then I'll restart the tests
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Downloaded
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@alalek,
Ubuntu2004-x64:
following models have not been downloaded: wechat_2021-01/detect.prototxt
C++ exception with description "OpenCV(4.6.0-dev) /build/precommit-contrib_linux64/4.x/opencv/modules/ts/src/ts.cpp:1064: error: (-2:Unspecified error) OpenCV tests: Can't find required data file: ../dnn/wechat_2021-01/detect.prototxt in function 'findData'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
others CI are ok
sha='a6936962139282d300ebbf15a54c2aa94b144bb7', | ||
filename='wechat/detect.prototxt'), | ||
Model( | ||
name='wechat_qr_detect', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'wechat_qr_detect'
Avoid duplicate names for different entries. Use this name as prefix only.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
53f2ebc
to
98c1c36
Compare
98c1c36
to
2d37f38
Compare
2d37f38
to
6446da4
Compare
@asmorkalov, all checks have passed |
add load wechat qr detect models
Fixes opencv/opencv_contrib#3282
Test for opencv/opencv_contrib#3287