.--._.--.--.__.--.--.__.--.--.__.--.--.__.--.--._.--.
_(_ _Y_ _Y_ _Y_ _Y_ _Y_ _)_
[___] [___] [___] [___] [___] [___] [___]
/:' \ /:' \ /:' \ /:' \ /:' \ /:' \ /:' \
|:: | |:: | |:: | |:: | |:: | |:: | |:: |
\::. / \::. / \::. / \::. / \::. / \::. / \::. /
\::./ \::./ \::./ \::./ \::./ \::./ \::./
'=' '=' '=' '=' '=' '=' '='
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
'''Lowpolify any image using Delaunay triangulation''' | |
import os | |
import sys | |
import random | |
import warnings | |
from multiprocessing import Process | |
import cv2 | |
import numpy as np | |
from scipy.spatial import Delaunay #pylint: disable-msg=E0611 | |
import sharedmem |
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
### Keybase proof | |
I hereby claim: | |
* I am bltsandwich1 on github. | |
* I am bltsandwich1 (https://keybase.io/bltsandwich1) on keybase. | |
* I have a public key whose fingerprint is 089B E031 8F55 7923 5239 7E3B C0CB CB35 8A6E 5190 | |
To claim this, I am signing this object: |
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
let double x = 2*x | |
let pentuple x = 5*x | |
let quadruple x = 4*x | |
let triple x = 3*x | |
let squareroot x = sqrt(x) | |
let square x = x^2 | |
let cube x = x^3 | |
let fourth x = x^4 |