Head-mounted display testing system
A head-mounted display (HMD) determines whether a set of criteria is satisfied based on eye-related readings collected by a camera of the HMD and wirelessly transmits a set of messages in response to a determination that the set of criteria is satisfied. An attachment includes a set of light-emitting diodes (LEDs) and activates the set of LEDs to emit the light at the bleaching intensity in response to receiving the set of messages.
1 . A system for using an external bleaching light accessory to a head-mounted display (HMD) to emit bleaching light to bleach photoreceptors for dark adaptation testing, the system comprising:
an HMD comprising (i) a front external surface configured to face away from an eye of a user when the HMD is worn by the user, (ii) a wireless transmitter, and (iii) and a memory storing program instructions that, when executed by a set of processors of the HMD, performs operations comprising:
determining whether a set of light-activating criteria is satisfied based on a set of images collected by an interior-facing camera of the HMD by detecting image regions indicating a human eye based on the set of images; and
wirelessly transmitting a set of activating messages via the wireless transmitter of the HMD in response to a determination that the set of light-activating criteria is satisfied; and
a bleaching light accessory (i) configured to externally attach to the HMD over the front external surface of the HMD that faces away from the eye of the user when the HMD is worn by the user and (ii) comprising (a) a wireless receiver external to the HMD and (b) a set of light-emitting diodes (LEDs) to emit a light having a bleaching intensity, wherein a circuitry of the bleaching light accessory stores program instructions that, when executed by the circuitry, performs operations comprising:
receiving the set of activating messages via the wireless receiver of the bleaching light accessory from the wireless transmitter of the HMD; and
in response to receiving the set of activating messages, activating the set of LEDs to emit the light at the bleaching intensity.
2 . The system of claim 1 , wherein:
the HMD comprises exterior-facing cameras on a front end of the HMD; and
the bleaching light accessory comprises:
a casing comprising a cavity that encompasses a transparent lens of the HMD when the casing is attached to the HMD, wherein a plurality of apertures are aligned with the exterior-facing cameras of the HMD when the casing is attached to the HMD; and
an accessory body, wherein a back end of the accessory body is fixed to a front end of the casing, wherein:
the set of LEDs is attached to the back end of the accessory body and is directed towards the transparent lens; and
the circuitry is at least partially enclosed within the accessory body; and the circuitry comprises the wireless receiver.
3 . A system comprising:
a head-mounted display (HMD) comprising (i) a housing having an external surface, (ii) a wireless transmitter, and (iii) a memory storing program instructions that, when executed by a set of processors of the HMD, performs first operations comprising:
determining whether a set of criteria is satisfied based on eye-related readings collected by a camera the HMD; and
wirelessly transmitting a set of messages via the wireless transmitter of the HMD in response to a determination that the set of criteria is satisfied; and
an external attachment configured to attached to the external surface of the housing of the HMD and comprising (i) a wireless receiver and (ii) a set of light-emitting diodes (LEDs) to emit a light at a bleaching intensity, wherein the external attachment stores program instructions that, when executed by the external attachment, performs second operations comprising activating the set of LEDs to emit the light at the bleaching intensity in response to receiving the set of messages via the wireless receiver of the external attachment from the wireless transmitter of the HMD.
4 . The system of claim 3 , wherein wirelessly transmitting the set of messages comprises:
detecting an eye in a set of images;
determining a gaze location of the eye based on the set of images; and
wirelessly transmitting the set of messages to the external attachment based on the gaze location being in a target region.
5 . The system of claim 3 , the first operations of the HMD further comprising:
before wirelessly transmitting the set of messages from the HMD to the external attachment, generating or updating the set of messages, to comprise a first set of parameters that causes the set of LEDs to emit light at a first brightness, based on a determination that a first pupil size derived from the eye-related readings is less than a size threshold;
after generating or updating the first set of messages, generating or updating a second set of messages, to comprise a second set of parameters that causes the set of LEDs to emit light at a second brightness different from the first brightness, based on a determination that a second pupil size derived from second eye-related readings collected via the camera is greater than the size threshold, wherein the second brightness is less than the first brightness; and
wirelessly transmitting the second set of messages from the HMD to the external attachment.
6 . The system of claim 3 , wherein:
the HMD comprises a front external surface configured to face away from an eye of a user when the HMD is worn by the user, and
the external attachment is configured to externally attach to the HMD over the front external surface of the HMD that faces away from the eye of the user when the HMD is worn by the user.
7 . The system of claim 3 , the first operations further comprising:
before wirelessly transmitting the set of messages from the HMD to the external attachment, generating or updating the set of messages, to comprise information that causes the set of LEDs to emit light at a first brightness, based on a determination that a pupil size derived from the eye-related readings is less than a size threshold;
receiving, with the HMD, a user-provided value indicating that a brightness was too long; and
generating or updating a second set of messages based on an adjusted configuration parameter that is adjusted using the user-provided value, wherein the second set of messages causes the set of LEDs to emit light at a second brightness that is less than the first brightness.
8 . The system of claim 3 , the second operations of the external attachment further comprising:
applying a current derived from the set of messages, wirelessly received from the HMD, to the set of LEDs to emit the light at the bleaching intensity.
9 . The system of claim 3 , the first operations of the HMD further comprising initiating a testing operation that causes the external attachment to determine whether the set of criteria is satisfied in response to receiving a voice-activated stimulus.
10 . The system of claim 3 , the first operations of the HMD further comprising:
receiving a set of images based on a set of exterior-facing cameras of the HMD;
detecting a target motion or a target shape based on the set of images; and
determining whether a set of visual stimulus criteria is satisfied based on the target motion or the target shape; and
initiating a testing operation that causes the external attachment to determine whether the set of criteria is satisfied in response to determining that the set of visual stimulus criteria is satisfied.
11 . The system of claim 3 , wherein:
detecting an image region indicating an eye by providing a set of images obtained via the camera to a set of classifiers;
determining a pupil size of the eye based on the image region; and
determining that the set of criteria is satisfied the pupil size satisfies a minimum threshold.
12 . A method comprising:
determining, with a head-mounted display (HMD), that a set of criteria is satisfied based on eye-related readings collected by a sensor of the HMD;
wirelessly transmitting, with a wireless transmitter of the HMD, a set of messages in response to the determination that the set of criteria is satisfied;
wirelessly receiving, with a wireless receiver of an external attachment, the set of messages from the wireless transmitter of the HMD; and
activating, with the external attachment, a set of LEDs of the external attachment to emit a bleaching light in response to the wirelessly receiving the set of messages.
13 . The method of claim 12 , wherein activating the set of LEDs comprises activating the set of LEDs using a first circuitry of the external attachment, further comprising:
deactivating, with a second circuitry of the external attachment, the set of LEDs in response to the set of LEDs being activated for a duration threshold, wherein the first circuitry is different from the second circuitry; and
sending a warning message to the HMD indicating that the second circuitry has deactivated the set of LEDs.
14 . The method of claim 12 , further comprising:
retrieving, from a memory of the HMD, configuration parameters that sets or updates LED emission durations;
determining a subset of the configuration parameters associated with LED emission durations that exceed a duration threshold; and
visually indicating the subset of the configuration parameters on a display device.
15 . The method of claim 12 , further comprising:
before the bleaching light emitted by the external attachment passes through a lens of the HMD as a result of the activating the set of LEDs, displaying a visual stimulus on the lens of the HMD;
determining a gaze location based on the eye-related readings collected by the sensor in connection with the displaying the visual stimulus on the lens of the HMD; and
determining that the gaze location is within a threshold range of the visual stimulus,
wherein wirelessly transmitting the set of messages comprises wirelessly transmitting the set of messages from the HMD to the external attachment in response to the determination that the gaze location is within the threshold range of the visual stimulus.
16 . The method of claim 15 , further comprising:
displaying a sequence of visual stimuli on the lens, wherein the sequence of visual stimuli comprises the visual stimulus; and
for each respective stimulus of the sequence of visual stimuli:
obtaining a respective set of images of an eye with the sensor;
determining a respective gaze location based on the respective set of images;
determining that the respective gaze location is within a respective threshold range of the respective stimulus; and
activating the set of LEDs in response to the determination that the respective gaze location is within the respective threshold range of the respective stimulus.
17 . The method of claim 12 , wherein activating the set of LEDs comprises activating the set of LEDs during a first duration, further comprising:
collecting a set of eye-related readings with the sensor during a data collection period after the set of LEDs is activated;
determining a set of eye-related information based on the set of eye-related readings, wherein the set of eye-related information indicates values over the data collection period;
determining, with the HMD, that a set of time-based criteria is satisfied based on the set of eye-related information; and
transmitting a second set of messages to a receiver of the external attachment that causes the set of LEDs to emit light during a second duration based on the determination that the set of time-based criteria is not satisfied.
18 . The method of claim 17 , further comprising:
collecting second eye-related readings with the sensor during a second data collection period after the second duration;
determining a second set of eye-related information based on the second eye-related readings, wherein the second set of eye-related information indicates changes over the second data collection period;
determining, with the HMD, that the set of time-based criteria is satisfied based on the second set of eye-related information; and
presenting a visual stimulus on a lens of the HMD in response to the determination that the set of time-based criteria is satisfied.
19 . The method of claim 12 , further comprising obtaining, with the HMD, a test category indicating a test configuration, wherein transmitting the set of messages comprises transmitting parameters indicating an LED subset of the set of LEDs to activate based on the test category.
20 . The method of claim 19 , wherein the LED subset of the set of LEDs emit light at a first wavelength that is different from a second wavelength emitted by an LED of the set of LEDs not included in the LED subset.