Patent attributes
Embodiments of the present disclosure relate to the field of spatial positioning, and disclose a method and apparatus for spatial positioning based on augmented reality. In the embodiments of the present disclosure, the augmented reality based method for spatial positioning including: acquiring an offset angle of a dual-camera coordinate system relative to a world coordinate system, wherein the world coordinate system is a coordinate system that is preset by using a known target position of a positioning photosphere as a reference coordinate; acquiring an actual position of the positioning photosphere in the world coordinate system; calculating a coordinate value of the dual camera in the world coordinate system in accordance with the offset angle, the actual position of the positioning photosphere, and the target position; and determining a position of a virtual object in a virtual space in the world coordinate system in accordance with the coordinate value of the dual camera in the world coordinate system. Embodiments of the present disclosure further disclose the apparatus for spatial positioning based on augmented reality.