Finding rectangle contours in an image
i'm trying to find the length and width in pixels of the rectangle outlined by the thin black line in the attached .jpg/image. the L and W of the image/jpg is slightly bigger than the black line rectangle.
any guidance and/or direction would be appreciated. let me know
The width and height of the rectangle correspond to the width and height of the bounding rect of the contour. Here's what I would do: - Contour detection of the outer contour - Evaluation of the Bounding Rect