The Marr-Hildreth algorithm implemented in Python with NumPy.
Install with:
pip install 'marr-hildreth @ git+https://github.com/gpapadok/marr-hildreth.git'
Run:
marr lena.jpg
Note: Marr-hildreth is an outdated algorithm and this implementation is inefficient for large images or large values of sigma of the Gaussian. Purely for educational purposes.
Source: https://en.wikipedia.org/wiki/Marr%E2%80%93Hildreth_algorithm