|
Re: Tracking Rectangles with Perspective Distortion
Assuming that the camera is an M1011, the default code described in the white paper gives a distance range of 12.0 to 9.9
Picture 1:
95, 96, 99, 68, 98 and distance of 11.5
Picture 2:
83, 93, 94, 59, 88 and distance of 10.2
Picture 3:
74, 96, 89, 53, 79 and distance of 9.9
Picture 4:
91, 95, 93, 77, 85 and distance of 12.0
As mentioned, Picture 5 has the camera above the image, but for grins, it is categorized as a center target scoring 86, 97, 85, 96, 57 and distance of 9.5.
This doesn't seem bad for a quick particle approach. In order to get the mask to work well, I changed to monochrome and chose Luminance as the plane and set the minimum value to about 220. If you intend to use color masking, you should set the exposure much lower so that your colors are more saturated. The tape is practically white.
The question is, do you need better distance calculations than that? You can get fancier with line fits or angle measurements, and let me know if you decide to.
Greg McKaskle
|