Created
September 5, 2019 08:26
-
-
Save DZESU/c768ba7d8116201bf38a149b97839988 to your computer and use it in GitHub Desktop.
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
| def load_all_image_from_path(path): | |
| image_list = [] | |
| for filename in glob.glob(path): | |
| # load image in gray scale | |
| im = cv2.imread(filename, cv2.IMREAD_GRAYSCALE) | |
| image_list.append(im) | |
| return image_list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment