distance measurement from camera to object?
I am working on a project to localize a robot, where in I need to determine the distance of the object from the camera. I've done a lot of research regarding this, but its a little out of my scope. I am using a single camera as I cannot afford a stereo camera :P I am working on Code Blocks as my platform. I would be really glad if someone could help me code this in c++.