Clean up this scratch space

This commit is contained in:
bt3gl 2022-03-23 16:19:51 +04:00
parent 1de1667900
commit ed0cead015
62 changed files with 39650 additions and 13 deletions

View file

@ -0,0 +1,13 @@
#!/usr/bin/env python
""" Create dream """
IMAGE_TO_DREAM = "saturn.jpg"
IMAGE_TO_DREAM_OUTPUT = "dream.jpg"
bc = BatCountry(IMAGE_TO_DREAM)
image = bc.dream(np.float32(Image.open())
bc.cleanup()
result = Image.fromarray(np.uint8(image))
result.save(IMAGE_TO_DREAM_OUTPUT)