Determination of the shape, size, position and other characteristics of objects based on their photographic images