I'm trying my hand at locating contours in opencv, and am using an image with a transparent background. After loading the image into memory and showing the image, the transparent background has been recolored into black and white rectangular shapes surrounding the focus of the picture.
image = cv.imread('C:/Users/H/Desktop/overhead.png')
cv.namedWindow('image', cv.WINDOW_NORMAL)
cv.imshow('image', image)
cv.waitKey(0)
Is the code that I'm currently using
Instead of having black pixels surrounding the image, there are several large white blocks(which are being detected as a contour).