• Welcome to Redshift Project Depot.

Graphic targeting overlay

Started by Louis L, March 08, 2016, 10:58:28 PM

Previous topic - Next topic

Louis L

Here are the two bounding boxes I overlayed onto the image displayed by the dashboard. These are not seen by the vision software because it takes place on the dashboard, not the robot.

The image size is 320x240. The coordinate system assumes the origin (0,0) is at the upper left and extends to the right in X and down in Y (Windows coordinate systems).

A vertical line, made from a filled red rectangle, defines the horizontal center of the target. It's 2 opposing corners are (153,71) and (155,169).

An outer red box is made with these 2 corners - (124, 71), (184, 169). The width of this box doesn't mean much since it doesn't match the width of the target. But Ryan wanted something for reference so here it is.