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
"use strict"; | |
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); | |
Object.defineProperty(exports, "__esModule", { | |
value: true | |
}); | |
exports["default"] = void 0; | |
var _react = _interopRequireDefault(require("react")); |
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
""" | |
Minimalist RGB edge detection w/ NumPy, PIL | |
Authored by Eric Easthope | |
MIT License | |
""" | |
from numpy import asarray, pi, pad, zeros | |
from numpy.fft import fft2, ifft2 | |
from PIL.Image import open, fromarray |