summaryrefslogtreecommitdiff
path: root/test.py
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-04-22 14:12:08 +0200
committerJules Laplace <julescarbon@gmail.com>2018-04-22 14:12:08 +0200
commitc6ed68be9ec8ab7fb6a4cb8b220139269a8de246 (patch)
tree9b08f2d80ab3d4cc3aee11f48f5bd1033a7e41c1 /test.py
parent175402e48177f64437b835110d9641c266f78939 (diff)
push
Diffstat (limited to 'test.py')
-rw-r--r--test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test.py b/test.py
index f369a0d..f035a65 100644
--- a/test.py
+++ b/test.py
@@ -61,9 +61,8 @@ if __name__ == '__main__':
# image_pil.save(save_path)
# copyfile(save_path, final_path)
if i < 1:
- print(type(im).__name__)
- im /= 2
- tmp_im = np.copy(im/2)
+ im = np.divide(im, 2)
+ tmp_im = im.copy()
im += last_im
last_im = tmp_im
image_pil = Image.fromarray(im)