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
import os | |
import random | |
from PIL import Image, ImageOps | |
def concat_images(image_paths, size, shape=None): | |
# Open images and resize them | |
width, height = size | |
images = map(Image.open, image_paths) | |
images = [ImageOps.fit(image, size, Image.ANTIALIAS) |
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
module Lob where | |
open import Data.Product | |
open import Function | |
_←→_ : Set → Set → Set | |
A ←→ B = (A → B) × (B → A) | |
postulate -- provability axioms | |
□ : Set → Set |