Edge detection
h
Codemonkey51 (793)

So I have seen edge detection all the time it's amazing right, recited to make shape detection. And I always wanted to make it so here we are. (I think it took 6+ hours to make)

Examples:
Input (credit @eekboi )

output

input

output

input

output

This was almost 100% made by me (the color diff function I found online) to use it 1) fork then add your image and name it 'in' then in the code make in.jpeg(or .png) to simple.(ur extension) then change the scale on line 14 enjoy. Also the higher the hardness var (line 15) the cleaner the image (less bad lines) but also less good lines

PS I'll fill in the ???'s when I post this
PPS the higher the scale lower quality so scale of 2 is 1/2 scale
PPPS output is out.png

You are viewing a single comment. View All
OrangeJooce123 (33)

@uhmansoori kinda of a newbie statement, but all languages are good. C++ and C are good to learn, but slightly hard, but python is a decent starter language, but is slow, but C++ and C is FAST (don't learn java)