Hey, is anyone familiar with the Canny Edge Detector? I found some tutorials online, but when I coded it, the results didn't look "right". I have some pictures below:
This is the original size image. The image from the webcam is 160x120, but I resize it to 32x24 before running the Canny edge detection. The smaller images from right to left are:
1) 32x24 version of the original
2) A gaussian smoothed version (with a 5x5 filter)
3) After running the Sobel edge detector (both horizontally and vertically)
4) After running the edge thresholding
An enlarged version of the picture is below:
For some reason, the edges I'm finding are really big. Is it because of the small size of the picture I'm using? Also, I haven't coded up the part where it suppresses edges to get a thin line, because I'm not entirely sure how that works.
I tried playing around with the thresholds, but it either breaks apart the line, or gets a lot of noise.
If anyone has a working copy of the Canny edge detector program where I can just load the image to test, it'll be great! The online ones I've found only load from a set of pre-determined pictures, so I couldn't test my own picture on it.