1 | initial version |
If you have only one camera, you need to know the size of the object for sure. Take a look at this.
2 | No.2 Revision |
If you have only one camera, you need to know the size of the object for sure. Take a look at this.. That example estimates the distance to the detected object, given the object size. It is a good starting point for your project I believe.