主权项 |
1. A computing device comprising:
at least one processor; a camera; a display screen; and memory including instructions that, when executed by the at least one processor, cause the computing device to perform a set of operations comprising:
sample a frame of video, using the camera, of a real-world environment including a quick response (QR) code, wherein information embedded in the QR code is associated with a first object;identify the QR code in the frame;determine a size and an amount of distortion associated with the QR code;determine a plane of the QR code in the frame with respect to the computing device;render a camera view of the real-world environment for display in the display screen, the camera view including a representation of the first object in place of the QR code;determine a second object;remove the representation of the first object in the camera view; andrender the camera view to include a representation of the second object in the camera view, wherein the representation of the second object is rendered with a relative size and amount of distortion such that the representation of the second object appears to be positioned in place of the QR code. |