Forum Discussion
Altera_Forum
Honored Contributor
15 years agoThat might be kind of tricky.
To identiy the edge coordinates for the rectangle, process the image data and just keep the minimum and maximum coordinate values of the detected face. This allows you to create a bounding box around it. To draw the bounding box you need to store the image data in a frame buffer, when you search for the min-/max-values. Then you can use the bounding box data to just draw all pixels on the border of this bounding box in one color. (e.g. white) Hope that helps. Alex