Getting distance of robot from peg

First year (JAVA) programmer here, assigned to write the peg tracker code.

Anyways, has anybody had any luck with getting the approximate 3-dimensional location of the pegs relative to the robot from the image?

So far, I’ve got the code getting the image, and getting ParticleAnalysisReport. Can anyone point me at where to go from here?

http://www.chiefdelphi.com/media/papers/2324

You may also find the info in this paper helpful.

Note that the tape on the end of pegs is not a true circle. Another challenge to deal with.

Greg McKaskle