Hi guys,
I am trying to use MorphologyEx to open the white area in ful horizontal way. Please see the image attached. But in the result, the white is not fully opened horizontally.
kernel = np.ones((50,2),np.uint8) cv.morphologyEx(img, cv.MORPH_CLOSE, kernel) //MORPH_OPEN also doesn't give me what I want
What is wrong in my code?