Skip to content

Instantly share code, notes, and snippets.

View mohnjoosemiller's full-sized avatar

John Moosemiller mohnjoosemiller

View GitHub Profile
@mohnjoosemiller
mohnjoosemiller / lowpoly.py
Created May 9, 2020 08:31
modifications to https://github.com/ghostwriternr/lowpolify to get working output for directory of files for https://twitter.com/LowPolyLOONA
'''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
    .--._.--.--.__.--.--.__.--.--.__.--.--.__.--.--._.--.
  _(_      _Y_      _Y_      _Y_      _Y_      _Y_      _)_
 [___]    [___]    [___]    [___]    [___]    [___]    [___]
 /:' \    /:' \    /:' \    /:' \    /:' \    /:' \    /:' \
|::   |  |::   |  |::   |  |::   |  |::   |  |::   |  |::   |
\::.  /  \::.  /  \::.  /  \::.  /  \::.  /  \::.  /  \::.  /
 \::./    \::./    \::./    \::./    \::./    \::./    \::./
 '=' '=' '=' '=' '=' '=' '='
@mohnjoosemiller
mohnjoosemiller / Sum2015Books.md
Created May 19, 2015 03:00
Book readings of the summer of 2015

What I've read during the summer of 2015

  1. Introduction to Machine Learning Second Edition Ethem Alpaydın
### 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:
@mohnjoosemiller
mohnjoosemiller / Vocal Algebra Haskell
Created May 2, 2014 01:43
A basic Haskell library that (when run) will allow the user to do interpret many plaintext algebraic statements.
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