-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add learning-based super-resolution module: final phase #2231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Adds the module plus loading classes for SR data Complete with docs, tutorials and 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.
@Saafke @fannymonori Please take a look on merged changes from #2229
| When building OpenCV, run the following command to build the 'dnn_superres' module: | ||
|
|
||
| ```make | ||
| cmake -DOPENCV_EXTRA_MODULES_PATH=<opencv_contrib>/modules -Dopencv_dnn_superres=ON <opencv_source_dir> |
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.
-Dopencv_dnn_superres=ON
There is no such option.
There are similar BUILD_ options, but adding them here is redundant (=ON be default).
It is better to mention -DBUILD_EXAMPLES=ON here and in other tutorials (=OFF be default).
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.
Thank you for contribution 👍
Merge with extra: opencv/opencv_extra#664
'Learning-based Super Resolution' project for Google Summer of Code 2019 by Xavier Weber.
This pull request completes my project and also includes all the code from my previous two PR's (#2164 and #2200). Part of this code is implemented by Fanny Monori who worked on the same project (it was hard to split the code between two PR's perfectly without problems).
This pullrequest changes
This module provides an interface so that users can easily upscale images via neural networks. Four trained models are supported. I implemented EDSR and FSRCNN. Fanny Monori implemented ESPCN and LapSRN.
This PR is closely related to Fanny's PR (#2229) who provides the same basic functionality but with other additions.