I'm doing rectangle detection using canny edges and contour detection using Emgu CV (example). I keep getting rotated rect's even though the objects are circles, see below:
What could be causing this? Also why is it missing the entire white rectangle?