A computer-implemented method to determine a position of a display at which a light receiving device is oriented, comprising:
- capturing, by the light receiving device, light transmitted by the display, wherein the display is configured to emit a plurality of different codes from a respective plurality of different regions of the display that are arranged into rows of regions and columns of regions, during each frame in a series of frames presented by the display, with each code of the plurality of different codes including a single pulse that is transmitted during a first portion of the respective frame and that indicates a vertical column of the respective region and a single pulse that is transmitted during a second portion of the respective frame that is offset from the first portion of the respective frame and that indicates a horizontal row of the respective region, such that each region of the plurality of different regions emits a globally unique two-pulse location-identifying code from among the plurality of different codes during each respective frame;
- identifying, by a computing system, a first code encoded within the light transmitted by the display and captured by the light receiving device during presentation of a particular frame by the display, the first code produced by a first group of one or more light emitting diodes (LEDs) of the display and including a first single pulse representing a first vertical column of regions and a first single pulse representing a first horizontal row of regions;
- determining, by the computing system, a first region of the display that corresponds to the first code from among the plurality of different regions of the display, based on the first region being located in the first vertical column of regions and the first horizontal row of regions;
- identifying, by the computing system, a second code encoded within the light transmitted by the display and captured by the light receiving device during presentation of the particular frame by the display, the second code produced by a second group of one or more LEDS and including a second single pulse representing a second vertical column of regions and a second single pulse representing a second horizontal row of regions;
- determining, by the computing system, a second region of the display that corresponds to the second code from among the plurality of different regions of the display, based on the second region being located in the second vertical column of regions and the second horizontal row of regions;
- identifying, by the computing system, a first intensity of the first code;
- identifying, by the computing system, a second intensity of the second code;
- and
- determining, by the computing system, the position of the display at which the light receiving device is oriented based on a comparison of the first intensity of the first code with respect to the second intensity of the second code.