Created
October 25, 2018 14:39
-
-
Save KeitetsuWorks/da258f461d3e740f1b81fac8f52e666a to your computer and use it in GitHub Desktop.
OpenCV Test Script
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 | |
| # -*- coding: utf-8 -*- | |
| ## | |
| ## @file opencv_test.py | |
| ## @brief OpenCV Test Script | |
| ## @author Keitetsu | |
| ## @date 2018/09/04 | |
| ## @copyright Copyright (c) 2018 Keitetsu | |
| ## @par License | |
| ## This software is released under the MIT License. | |
| ## | |
| import cv2 | |
| if __name__ == "__main__": | |
| print("OpenCV %s" % (cv2.__version__)) | |
| img = cv2.imread("test.bmp", cv2.IMREAD_COLOR) | |
| cv2.imshow("test", img) | |
| cv2.waitKey(0) | |
| cv2.destroyAllWindows() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment