This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # Copyright: This document has been placed in the public domain. | |
| """ | |
| Taylor diagram (Taylor, 2001) implementation. | |
| Note: If you have found these software useful for your research, I would | |
| appreciate an acknowledgment. | |
| """ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import cv2 | |
| from cv2 import dnn_superres | |
| # Create an SR object | |
| sr = dnn_superres.DnnSuperResImpl_create() | |
| # Read image | |
| image = cv2.imread('./input.png') | |
| # Read the desired model |