Created
July 30, 2018 15:56
-
-
Save mdshopon/f26aa70992f28070d48acf79a3eb5967 to your computer and use it in GitHub Desktop.
This file contains 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
for i in range(50): | |
img=np.insert(img,0,255,axis=1) | |
for i in range(50): | |
img = np.insert(img, img.shape[1], 255, axis=1) | |
for i in range(25): | |
img = np.insert(img, 0, [255], axis=0) | |
for i in range(25): | |
img = np.insert(img, img.shape[0], 255, axis=0) |
This file contains 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
for i in range(50): | |
img=np.insert(img,0,255,axis=1) | |
for i in range(50): | |
img = np.insert(img, img.shape[1], 255, axis=1) | |
for i in range(25): | |
img = np.insert(img, 0, [255], axis=0) | |
for i in range(25): | |
img = np.insert(img, img.shape[0], 255, axis=0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment