The detection and recognition of objects in images has found a wide application in many spheres. It is used in the surveillance system, cartography, robotics, medicine, etc. In many surveillance systems the localization of the detected object has a great significance. After localizing the object, it will be possible to carry out the calculation of its coordinates. The formulas for calculating the object-camera distance are rather theoretical. Conducting experiments and verifying formulas in practice would have a high significance, as the distance of the object from camera is an essential precondition for object’s coordinate calculation.