1. A method for determining a spatial parameter for an object displayed on a device, comprising: determining a first pixel coordinate corresponding to a first point of an image of the object displayed on the device and a second pixel coordinate corresponding to a second point of the image of the object; determining an image distance between the first pixel coordinate and the second pixel coordinate; and determining a spatial parameter for the object point based on the image distance, a distance between an imaging element of the device and the object, and a focal length of a lens of the imaging element for photographing the object.