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
import markovify | |
import hilbert | |
import os | |
import os.path | |
import numpy as np | |
from PIL import Image | |
def rgb2hex(rgb): | |
hex_result = "".join([str(format(val, '02x')).upper() for val in rgb]) |