edge detection in garden [closed]
How can i filter this image with cv2 so that i have just the gras in my garden. So basically i need to seperate it where the red line is.
Ive tried a code that i found at a driving lane detection system, but unfortunately its not working good for gras.
gray = cv2.cvtColor(gras_image, cv2.COLOR_RGB2GRAY)
blur = cv2.GaussianBlur(gray, (5,5), 0)
canny = cv2.Canny(blur, 50, 200)
you probably should not throw away the color information, also this looks more like a segmentation problem, than an edge detection one
So i probably should lower the resolution and add an filter so the gras wont have that much noise?