https://github.com/cubical22/edge-detection-convolution
This is a simple project I made after a long time passed without a single bit of coding :< just wanted to get back to everything and all. anyway, I made this to make sure I haven't forgotten how the Pillow library works, and sadly I have. I assume there's lots of things that can be improved but well, this was just for fun!
https://github.com/cubical22/edge-detection-convolution
Last synced: 7 days ago
JSON representation
This is a simple project I made after a long time passed without a single bit of coding :< just wanted to get back to everything and all. anyway, I made this to make sure I haven't forgotten how the Pillow library works, and sadly I have. I assume there's lots of things that can be improved but well, this was just for fun!
- Host: GitHub
- URL: https://github.com/cubical22/edge-detection-convolution
- Owner: Cubical22
- Created: 2024-06-19T19:41:15.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T20:35:21.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T06:13:31.791Z (over 1 year ago)
- Language: Python
- Size: 5.1 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
easter egg :)
if you use the following pattern:
[
> [0.5, 0.5, 0.5],
> [0.5, -5, 0.5],
> [0.5, 0.5, 0.5],
]
and make sure that instead of red, you place black,
it would give you the outline of the image.
if you use the following one:
[
> [1, 1, 1],
> [0, 0, 0],
> [-1, -1, -1],
]
this would give you a vertical edge detection instead of a horizontal one.