Patent Description:
Virtual reality (VR) and augmented reality (AR) technologies are both popular technologies in recent years. In the VR technology, a computer graphics system and various interface devices are utilized to generate an interactive three-dimensional environment (that is, a virtual scene) on a computer and provide immersive feelings for users by this three-dimensional environment. In the AR technology, real-time scenes and virtual scenes may be superimposed in real time to provide users more realistic augmented reality scenes for the users and further enhance the users' immersive feelings. The immersive feeling is sense of being immersed in an augmented reality scene in the sense of space when a user perceives the augmented reality scene as a real scene.

Wearable devices mounted with the VR technology or the AR technology have a lens component on one side of which a display screen is provided, a target virtual image is formed, via the lens component, by an image displayed on the display screen, and a user may see the target virtual image by watching on the other side of the lens component.

<CIT> describes a process for determining characteristics of a lens.

<CIT> describes a method and system for automatic non-contact measurements of optical properties of optical object.

<CIT> describes a method for determining an optical axis of a lens when the lens is provided at an unknown position and/or orientation.

Embodiments of the present disclosure provide a computer implemented method for testing a wearable device wherein the wearable device comprises a lens component and a display screen provided on one side of the lens component. The technical solutions are as follows:
In one aspect, a method for testing a wearable device is provided. The method includes:
performing at least two angle acquisition processes, the angle acquisition process including:.

In still another aspect, a computer-readable storage medium storing at least one instruction therein is provided. When at least one instruction in the computer-readable storage medium is executed by a processing component, the processing component is enabled to perform the method for testing the wearable device as described above.

The present disclosure is described hereinafter in further detail with reference to the accompanying drawings, to present the objects, technical solutions, and advantages of the present disclosure more clearly.

With the developments of technologies, wearable devices mounted with the VR technology or the AR technology are being more and more widely used. At present, two types of wearable devices are available. One may have its own display screen, and the other may have an accommodation portion for accommodating a terminal with a display screen (such as a mobile phone), wherein the terminal needs to be received in the accommodating portion in use.

The human eyes have a distinct vision distance, that is, objects that are too proximal to the human eyes may not be clearly seen. Therefore, an object generally needs to be placed at a distance greater than <NUM> from the human eyes such that the object may be clearly seen by the human eyes. A display screen of a wearable device (that is, the display screen of the wearable device or the display screen of the terminal accommodated in the wearable device) is usually about <NUM> distal from the human eyes. If a user desires to see clearly the content on the display screen, a lens component (which may be regarded as a magnifier) needs to be placed between the human eyes and the display screen. The lens component includes at least one lens. By the lens component, the human eyes may clearly see the content on the display screen (what is actually seen is a virtual image of the content on the display screen). Therefore, current wearable devices mounted with the VR technology or the AR technology usually have a lens component, and a display screen is provided on one side of the lens component. The image seen by the human eyes is actually a virtual image formed by the lens component according to the image on the display screen. The virtual image is an enlarged image of the image on the display screen. The wearable device may be a virtual reality device, an augmented reality device, or a mixed reality device, such as a smart helmet supporting VR or AR, or smart glasses VR or AR.

At present, when a wearable device displays a virtual image, an optical imaging parameter value of the target virtual image, such as a virtual image distance, is usually estimated by means of watching by the human eyes. This method is relatively subjective and the acquired optical imaging parameter value is less accurate.

In the embodiments of the present disclosure, display performance of the wearable device is tested by analyzing different optical imaging parameters corresponding to a target virtual image (that is, the virtual image formed by the lens component according to a test image displayed on the display screen), and the display performance of the wearable device is optimized and improved according to a test result of the display performance. To ensure the accuracy of the test, a specialized test image may be displayed on the display screen of the wearable device. Optionally, the test image may be a rectangular image with a first color as a base and a second color as a border, two perpendicularly intersected symmetry axes in the second color are displayed on the test image, and the first color and the second color are different. By the test image with two different colors, a relatively high contrast may be achieved to facilitate an effective acquisition of images by the image acquisition component.

For the convenience of tests, two colors with strong contrast therebetween may be selected. For example, the first color is selected as black and the second color is selected as white, or the first color is selected as white and the second color is selected as black.

Optionally, a plurality of alignment boxes in the second color arranged in a matrix may be further displayed on the test image. The plurality of alignment boxes include a center alignment box having a common symmetry axis with the rectangular boundary of the test image (that is, the shape of the center alignment box is an axisymmetric graphic), and a plurality of edge alignment boxes respectively surrounding a vertex and/or a border center point of the test image, and the entire boundary of each edge alignment box is congruent to a part of the boundary of the center alignment box. That is, if each edge alignment box is moved to the position of the center alignment box, the entire boundary of the edge alignment box and a part of the boundary of the center alignment box coincide. In order to make the testing results more accurate, the width of the borders of the multiple alignment boxes may be set as the width of <NUM> pixel. Correspondingly, the target virtual image (which may be slightly deformed) presented by the lens component according to the test image is visually consistent with the test image, and there are corresponding multiple alignment boxes in the target virtual image. Optionally, the center alignment box is a rectangular alignment box.

As an example, <FIG> is a schematic diagram of a test image <NUM> provided in an exemplary embodiment of the present disclosure. The test image <NUM> is rectangular and has a rectangular boundary. In <FIG>, it is assumed that: the first color is black, the second color is white; multiple edge alignment boxes surround vertexes and border center points of the test image respectively. Nine white alignment boxes are displayed on the test image <NUM>, wherein the rectangle alignment box in the center of the test image <NUM> is a center alignment box. An intersection of the diagonal lines of the center alignment box is the center point of the test image <NUM>, and the center alignment box and the rectangular boundary of the test image <NUM> have a common symmetry axis. Eight edge alignment boxes are located on the four borders (upper border, lower border, left border, and right border) of the test image <NUM>. The eight edge alignment boxes include four alignment boxes respectively surround the upper left vertex, the lower left vertex, the upper right vertex, and the lower right vertex of the test image <NUM>, and the entire boundary of each of the four alignment boxes is congruent to one-quarter of the boundary of the center alignment box. The eight edge alignment boxes also include four alignment boxes respectively surround the center point of left border, the center point of right border, the center point of upper border and the center point of lower border of the test image <NUM>, and the entire boundary of each of the four alignment boxes is congruent to half the boundary of the center alignment box.

In the embodiment of the present disclosure, a target virtual image presented by the wearable device is acquired by an image acquisition component, and then the optical imaging parameters of the target virtual image are acquired. The image acquisition component may be a head camera, a camera, a video camera and other devices that may capture images.

Optionally, a superimposition image may be displayed on the image acquired by the image acquisition component. The superimposition image may be an image directly output by the image acquisition component, which may be an image directly superimposed on a target virtual image presented by the wearable device during capturing of the target virtual image. For example, the superimposition image may be directly superimposed on the captured target virtual image by the image acquisition component through software processing, or the superimposition image may be directly drew or attached on the lens of the image acquisition component to enable the image acquisition component to output a target virtual image superimposed with the superimposition image after capturing the target virtual image presented by the wearable device. At this time, the image output by the image acquisition component includes both the actually captured image (i.e. the target virtual image) and the superimposition image. For example, if the image acquisition component is a video camera, the image displayed on the display screen of the video camera includes the actual captured image and the superimposition image. Optionally, the superimposition image may also be superimposed on a corresponding image by a processing component in processing the image output by the image acquisition component. For example, when the image acquisition component is a video camera and the processing component is a computer, the image displayed on the display screen of the video camera is the actually captured image, and the image displayed on the display screen of the computer includes the actually captured image and the superimposition image.

The above superimposition image is configured to be superimposed with the target virtual image (that is, the virtual image presented by the lens component according to the test image), and the superimposition image corresponds to the test image. For example, the superimposition image includes a superimposition alignment box in a third color that is similar in shape to the boundary shape of the center alignment box in the test image (that is, the shape of the boundary of the superimposition alignment box and the shape of the center alignment box are similar graphics), and diagonal lines in the third color of the superimposition alignment box, the intersection of the diagonal lines is the center point of the imaging area of the image acquisition component. Correspondingly, in order to facilitate the alignment, the width of the border of the superimposition alignment box of the superimposition image may be set corresponding to the width of the border of the center alignment box in the test image. For example, the width of the border of the superimposition alignment box of the superimposition image may be set as the width of <NUM> pixel. In practice, the imaging area is the area where the image acquisition component captures images. For example, if the image acquisition component is a video camera or a head camera, the imaging area is the area corresponding to the lens. When the superimposition alignment box is a rectangular alignment box, two mutually perpendicular borders of the superimposition alignment box are respectively parallel to the horizontal direction and vertical direction of the image acquisition component (the horizontal direction and the vertical direction of the image acquisition component may be determined by the internal reference coordinate system of the image acquisition component) to ensure that it is effectively aligned with the target virtual image. Optionally, when the imaging area is rectangular, the borders of the superimposition alignment boxes are respectively parallel to the borders of the imaging area. When the imaging area is circular, the symmetry axes of the superimposition alignment boxes are respectively coaxial with the horizontal symmetry axis and the vertical symmetry axis of the imaging area. The superimposition alignment boxes in the superimposition image are configured for superimposing alignment with the alignment boxes of the target virtual image. Testers may translate the image acquisition component and/or the wearable device to observe the superimposed state between the superimposition alignment boxes of the superimposition image and the alignment boxes of the target virtual image.

In an optional implementation, the boundary size of the superimposition alignment box in the superimposition image may change as the distance between the image acquisition component and the wearable device changes, and the superimposition image may be scaled proportionally to visually coincide the boundary of the scaled superimposition alignment box with the boundary of the center alignment box. Further, the width of the borders of the superimposition alignment box of the superimposition image may also be adjusted to visually and obviously coincide the boundary of the scaled superimposition alignment box with the boundary of the center alignment box, thereby improving visual recognition.

An example is shown in <FIG>, which is a schematic diagram of a superimposition image <NUM> provided in an illustrative embodiment of the present disclosure. The superimposition image <NUM> includes at least a superimposition alignment box A and diagonal lines in the superimposition alignment box A. In practice, the superimposition image <NUM> may further include a rectangular box B surrounding the superimposition alignment box A, and may further include diagonal lines of the rectangular box B. The rectangular box B and the test image may be similar graphics. In <FIG>, it is assumed that: the superimposition alignment box A is a rectangular alignment box; the background of the superimposition image is transparent; the superimposition alignment box A of the superimposition image is similar in shape to the center alignment box displayed on the test image; the intersection of the diagonal lines of the superimposition alignment box A is the center point of the imaging area; and the two mutually perpendicular borders of the superimposition alignment box A are respectively parallel to the horizontal direction and vertical direction of the image acquisition component.

If the center point of the imaging area needs to be aligned with the center point of the center alignment box on the target virtual image (that is, the center point of the test image), the tester may slowly translate the image acquisition component and/or the wearable device to align the center point of the superimposition image with the center point of the center alignment box (this process is a coarse adjustment process), and then zoom and/or move the superimposition image to coincide the boundary of the superimposition alignment box and the boundary of the center alignment box displayed on the target virtual image (this process is a fine adjustment process), and finally the center points and the boundaries of both coincide, so that the center point of the imaging area is effectively aligned with the center point of the center alignment box. It is noted that, in order to facilitate the observation of the superimposition state of the boundaries of the superimposition alignment box and the center alignment box, the width of the border of the superimposition alignment box may be set to be equal to or slightly less than the width of the border of the center alignment box. It also should be noted that the above-mentioned slow translation means that the moving speed is less than a specified speed threshold to ensure that no large vibrations are generated during the movement in order to reduce the impact on the measurement accuracy.

Further, assuming that the proportional relationship between the center alignment box of the test image and the rectangular boundary of the test image shown in <FIG> is a first proportional relationship, and the proportional relationship between the superimposition alignment box A and the rectangular box B in <FIG> is a second proportional relationship, then the first proportional relationship and the second proportional relationship may be equal. In this way, when the superimposition image is zoomed and/or moved to coincide the boundary of the superimposition alignment box and the boundary of the center alignment box displayed on the target virtual image, it is necessary to ensure that the rectangular boundary of the test image and the boundary of the rectangular box B also coincide, such that a center alignment may be achieved more accurately.

If it is necessary to align the center point of the imaging area with the center point surrounded by the edge alignment box on the target virtual image, the tester may slowly translate the image acquisition component and/or the wearable device to align the center point of the superimposition image with the center point surrounded by the edge alignment box (this process is a coarse adjustment process), and then zoom and/or move the superimposition image to coincide the boundary of the superimposition alignment box and the boundary of the edge alignment box displayed on the target virtual image (this process is a fine adjustment process), and finally the center points and the boundaries of both coincide, such that the center point of the imaging area is effectively aligned with the center point of the edge alignment box.

It is noted that there may be multiple shapes of the above-mentioned center alignment box, such as a circle or a square, as long as the superimposition image and the target image may be effectively aligned. In addition, each line in the test image shown in <FIG> and the superimposition image shown in <FIG> may be a dotted line or may be a solid line as long as the displayed image is clearly visible, and <FIG> are only schematic and do not limit the type of the line.

An embodiment of the present disclosure provides a method for testing a wearable device, wherein a display screen displays a test image, and optionally, the display screen generally displays a test image on the full screen. This method may be used to test the optical imaging parameter values of the wearable device and include the following steps as shown in <FIG>.

In step <NUM>, at least two angle acquisition processes are performed.

The angle acquisition process includes the following step:
In step S <NUM>, a center point of an imaging area of an image acquisition component is relatively rotated from a position aligned with an initial specified point of a target virtual image to a position aligned with a target specified point of the target virtual image, wherein the target virtual image is a virtual image of an actual test image displayed by a display screen in the wearable device.

Optionally, step S <NUM> includes the following step.

In step S <NUM><NUM>, the center point of the imaging area of the image acquisition component is aligned with the initial specified point of the target virtual image.

In the embodiment of the present disclosure, the line connecting the center point of the imaging area and the initial specified point is perpendicular to the display screen (that is, parallel to the axis of the lens component) when the center point of the imaging area is aligned with the initial specified point, to ensure that the plane where the imaging area is located is parallel to the plane where the display screen is located.

For example, still referring to the test image shown in <FIG>, according to the optical imaging parameter value to b determined of the target virtual image, the initial specified point may be the center point of the test image, or the upper left vertex, lower left vertex, the upper right vertex or the lower right vertex of the test image, or the center point of the left border, the center point of the right border, the center point of the upper border or the center point of the lower border of the test image. In an optional implementation, in order to ensure that the line connecting the center point of the imaging area and the initial specified point is perpendicular to the display screen when the center point of the imaging area is aligned with the initial specified point, the image acquisition component and/or the wearable device may be moved to adjust the relative position of the center point of the imaging area and the initial specified point of the target virtual image. When the center and boundary of the superimposition alignment box of the superimposition image displayed on the imaging area coincide with the center and boundary of the alignment box where the initial specified point in the target virtual image is located, the center point is also aligned with the initial specified point.

Due to the structure of the lens component or other reasons, there may be problems such as distortion of the target virtual image formed by the lens according to the test image. This distortion usually occurs at the edge of the image (that is, the target virtual image). Therefore, when the initial specified point of the target virtual image is not the center point of the target virtual image (for example, the initial specified point is located at the edge of the target virtual image), because ripples or warps are generated at the edge of the target virtual image due to the distortion in the target virtual image formed by the lens component according to the edge of the test image, an alignment deviation is easy to occur when the center point of the imaging area is aligned with the point with distortion, and effective measurement results of optical imaging parameters may not be acquired, which affects the accuracy of the measurement method.

Therefore, in order to ensure the accuracy of the alignment between the center point of the imaging area and the initial specified point of the target virtual image, when the initial specified point is not the center point of the target virtual image, the tester may firstly align the center point of the imaging area with the center point of the target virtual image, and then slowly translate the image acquisition component and/or the wearable device to observe the superimposition state between the superimposition alignment box where the center point of the imaging area is located and the edge alignment box of the target image where the initial specified point is located, and finally, when the two coincide, it may be considered that the center point of the imaging area is aligned with the initial specified point of the target virtual image.

It is noted that, in the embodiment of the present disclosure, the slow translation means that the movement speed is less than a preset speed threshold, and the movement trajectory is in a plane parallel to the display screen in the wearable device.

In step S12, the image acquisition component and the wearable device are relatively rotated, such that the center point of the imaging area of the image acquisition component is changed from a position aligned with the initial specified point of the target virtual image to a position aligned with the target specified point of the target virtual image.

Optionally, the present disclosure provides a system for testing a wearable device, wherein the system is configured to implement the relative rotation of the image acquisition component and the wearable device in step S12. The system may implement other process in which the image acquisition component and/or the wearable device need to be moved. As shown in <FIG>, the system may include a controller <NUM>, an image acquisition component <NUM>, a base <NUM>, a support post <NUM>, a test carrier <NUM>, a support frame <NUM>, and a rotation structure <NUM>.

One end of the support post <NUM> is rotatably connected to the base <NUM>, and the other end of the support post <NUM> is fixedly connected to the test carrier <NUM> which is configured to receive a wearable device <NUM>. The wearable device <NUM> is fixed on the test carrier <NUM> by a detachably connected connection member (not shown), and the placement manner of the wearable device <NUM> on the test carrier <NUM> may be adjusted by adjusting the connection member. The controller <NUM> may be configured to control the support post <NUM> to rotate on the base <NUM>. For example, the controller <NUM> may be a computer.

One end of the rotation structure <NUM> is rotatably connected to the support frame <NUM>, and the other end of the rotation structure <NUM> is fixedly connected to the image acquisition component <NUM>. The controller <NUM> is further configured to control the rotation structure <NUM> to rotate on the support frame. For example, the support frame <NUM> may be a tripod.

Optionally, the rotation structure <NUM> may be a pan and tilt head. The rotation of the pan and tilt head may drive the image acquisition component on the pan and tilt head to perform image acquisition within a specified angle range. The image acquisition component <NUM> may be a video camera.

It is noted that, the pan and tilt head may be an electric pan and tilt head, the rotation functions of the pan and tilt head may be implemented by two executive motors. The pan and tilt head may be classified, on the basis of rotation features, into a horizontal rotatable pan and tilt head which is only able to rotate leftward and rightward and an omni-directional pan and tilt head which is able to rotate leftward, rightward, upward, and downward. In general, the horizontal rotation angle (the rotation angle of the pan and tilt head in the horizontal plane) is <NUM>° to <NUM>°, and the vertical rotation angle (the rotation angle of the pan and tilt head in the vertical plane) is <NUM>° to <NUM>°. For a constant-speed pan and tilt head, the horizontal rotation speed is generally <NUM>° to <NUM>°/s, and the vertical rotation speed is about <NUM>°/s. For a variable-speed pan and tilt head, the horizontal rotation speed is generally <NUM>° to <NUM>°/s, and the vertical rotation speed is about <NUM>° to <NUM>°/s. In some high-speed camera systems, the horizontal rotation speed of the pan and tilt head is as high as <NUM>°/s or more, and the vertical rotation speed of the pan and tilt head is <NUM>°/s or more. The above-mentioned rotation angle and rotation speed are only schematic illustrations, in practice, the pan and tilt head may also have other rotation angles and rotation speeds.

Optionally, if the wearable device <NUM> is not required to be moved, one end of the support post <NUM> may be fixedly connected to the base <NUM>; and if the image acquisition component <NUM> is not required to be moved, no rotation structure <NUM> may be provided between the image acquisition component <NUM> and the support frame <NUM>, and the image acquisition component <NUM> may be directly fixed on the support frame <NUM>.

It is noted that the controller may also include a first sub-controller and a second sub-controller. For example, the first sub-controller and the second sub-controller may each be a computer, wherein the first sub-controller may be configured for controlling the base, the support post and the test carrier, adjusting the position of the wearable device, while the second sub-controller may be configured for controlling the support frame and the rotation structure, adjusting the position of the image acquisition component, which is not limited in embodiments of the present disclosure.

It is noted that the image acquisition component may have only one lens to aim at a monocular presentation interface of the wearable device, or may have two lenses respectively aim at two presentation interfaces of the wearable device (usually the wearable device has a binocular presentation interface). For example, the image acquisition component may be a binocular camera which captures images displayed on the binocular presentation interface, which is not limited in the embodiment of the present disclosure. After each relative movement of the image acquisition component and/or the wearable device, the lens of the image acquisition component may be adjusted accordingly such that the target virtual image acquired by the lens is clearly visible. For example, when the image acquisition component is a video camera, the focus may be adjusted such that the target virtual image captured by the camera lens is clearly visible. The above-mentioned presentation interface of the wearable device is on the side of the wearable device facing the human eyes when worn, which is a visual display interface. Since the side of the lens component of the wearable device which is distal from the display screen in the wearable device is usually the side of the wearable device facing the human eye, the presentation interface of the wearable device is a side of the lens component distal from the display screen.

According to the above system, three cases of relative rotation processes in step S12 may be implemented as follows with reference to <FIG>.

A first case: the wearable device <NUM> is fixed, and the image acquisition component <NUM> is swung to relatively rotate the center point of the imaging area from the position aligned with the initial specified point to the target specified point. The process of swinging the image acquisition component <NUM> refers to a process of rotating the image acquisition component about a first specified axis. For example, the image acquisition component <NUM> may be rotated horizontally or vertically by the rotation structure <NUM> to implement the swinging of the image acquisition component <NUM>. The swinging trajectory of the image acquisition component <NUM> is an arc.

A second case: the image acquisition component <NUM> is fixed, and the wearable device <NUM> is rotated to relatively rotate the center point of the imaging area from the position aligned with the initial specified point to the position aligned with the target specified point.

A third case: the image acquisition component <NUM> is swung and the wearable device <NUM> is rotated to relatively rotate the center point of the imaging area from the position aligned with the initial specified point to the position aligned with the target specified point.

In the second case and the third case, the wearable device may be rotated by directly rotating the wearable device. For example, the wearable device <NUM> is rotated by adjusting the connection structure (not shown in <FIG>) between the wearable device <NUM> and the test carrier <NUM>, or by rotating the test carrier <NUM> on which the wearable device <NUM> is placed, for example, the support post <NUM> may be rotated to drive the test carrier <NUM> above the support post <NUM> to rotate. It is noted that the rotation process is performed about a second specified axis which may be an axis of the support post <NUM>, and the rotation trajectory of the wearable device <NUM> is an arc.

In step S2, the angle variation value of the center point of the imaging area of the image acquisition component, in the rotation from the position aligned with the initial specified point of the target virtual image to the position aligned with the target specified point of the target virtual image, is acquired.

In step S1, if the wearable device is rotated, the wearable device itself may record its rotation angle, or the rotation angle of the wearable device may be acquired by an external measurement. For example, the test carrier may be marked with rotation scales, through which the rotation angle of the wearable device may be acquired. And if the image acquisition component is rotated, the image acquisition component itself may record its rotation angle, or the rotation angle of the image acquisition component may be acquired by an external measurement. For example, the rotation structure may record the rotation angle of itself and take this angle as the rotation angle of the image acquisition component. For another example, the image acquisition component and the rotation structure constitute a PTZ (pan, tilt, and zoom) camera or a dome camera, which may record the rotation angle thereof.

When the relative rotation of the wearable device and the image acquisition component is implemented in the manner of the first case described above, the acquired rotation angle of the image acquisition component may be directly determined as the angle variation value; when the relative rotation of the wearable device and the image acquisition component is implemented in the manner of the second case described above, the acquired rotation angle of the wearable device may be directly determined as the angle variation value; and when the relative rotation of the wearable device and the image acquisition component is implemented in the manner of the third case described above, the angle variation value may be determined on the basis of the acquired rotation angle of the wearable device and the acquired rotation angle of the image acquisition component.

In the embodiment of the present disclosure, when the center point of the imaging area is aligned with the target specified point of the target virtual image, the angle between the line connecting the center point of the imaging area of the image acquisition component and the target specified point of the wearable device and the line connecting the center point of the imaging area of the image acquisition component and the initial specified point of the wearable device is the angle variation value.

In step <NUM>, the optical imaging parameter value of the target virtual image is determined on the basis of the angle variation values acquired in the at least two angle acquisition processes.

In summary, in the method for testing the wearable device according to the embodiments of the present disclosure, an angle variation value corresponding to the relative movement of an image acquisition component is acquired by changing the position of the center point of an imaging area of the image acquisition component in a target virtual image, and an optical imaging parameter value of the target virtual image displayed by a wearable device is acquired on the basis of the angle variation value. Since the optical imaging parameter value is acquired by means of machine measurement, the current problem that an optical imaging parameter value of a target virtual image is subjective and less accurate due to the optical imaging parameter value estimated by means of human eyes is solved, and the finally determined optical imaging parameter value is more objective and more accurate than that acquired by means of the human eyes.

In the method according to the embodiments of the present disclosure, an image component and/or a wearable device need to be moved to acquire the angle variation value corresponding to the relative movement of the image acquisition component and the wearable device. Since the accuracy of the angle variation value depends on the accuracy of the relative movement distance between the image acquisition component and the wearable device, in each movement process, the center point of the imaging area of the image acquisition component needs to be aligned with the initial specified point of the target virtual image at first and then moves to the target specified point, so as to acquire an accurate angle variation value corresponding to the relative movement of the image acquisition component and the wearable device.

<FIG> is a test principle diagram of a method for testing a wearable device according to an embodiment of the present disclosure. As shown in <FIG>, a target virtual image <NUM> presented to human eyes by a lens component <NUM> according to a test image displayed by a display screen <NUM> of the wearable device is usually an enlarged image of the test image. In the embodiment of the present disclosure, the image acquisition component is used instead of the human eyes for testing. The optical imaging parameter value of the target virtual image reflects the display performance of the wearable device. In the embodiment of the present disclosure, the method for testing the wearable device is introduced in which the optical imaging parameter values are respectively the virtual image distance, the size of the virtual image, the visual angle of the virtual image, and the distortion amount of the virtual image as examples. For example, the method for testing the wearable device may be performed as follows:.

In a first implementation, the optical imaging parameter is the virtual image distance (the distance d in <FIG>), which is the distance from the presentation interface (i.e., a side of the lens component distal from the display screen) of the wearable device to the target virtual image.

As shown in <FIG>, the process of determining the target virtual image distance may be divided into the following steps.

In step <NUM>, the angle acquisition process is performed respectively for n times to acquire n first angle variation values, by setting the distance between the image acquisition component and the wearable device as a first capture distance, taking the center point of the target virtual image as the initial specified point, and taking the center points of the n borders of the target virtual image as the target specified points, <NUM> ≤ n ≤ <NUM>.

It is noted that the distance between the image acquisition component and the wearable device refers to the distance between the center of gravity (or geometric center) of the image acquisition component and a specified position of the wearable device. In order to facilitate measurement, the specified position is the position where the presentation interface of the wearable device is located, of course, the specified position may also be the position where the display screen in the wearable device is located, or another position where the center of gravity of the wearable device is located, which is not described in detail in the embodiment of the present disclosure.

The image acquisition component and/or the wearable device are moved such that the distance between the image acquisition component and the wearable device is a first capture distance, and then the angle acquisition process is performed. Step S1 may be referred for each angle acquisition process, and will not be repeated herein.

Optionally, it is assumed that the first capture distance between the image acquisition component and the wearable device is t1, n = <NUM>, and the target specified points are the center points of the four borders of the target virtual image, that is, the center point of the left border of the target virtual image, the center point of the right border of the target virtual image, the center point of the upper border of the target virtual image, and the center point of the lower border of the target virtual image.

For ease of description of the following embodiment, <FIG> schematically shows the center point a2, the left border center point a1, the right border center point a3, the upper border center point a4, lower border center point a5, upper left vertex a7, lower left vertex a8, upper right vertex a9, and lower right vertex a6 of the target virtual image.

The angle acquisition process is performed respectively for <NUM> times to acquire the corresponding four first angle variation values, which include: as shown in <FIG>, the process of step S12 is performed to acquire a first angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from a position aligned with the center point a2 of the target virtual image to a position aligned with the left border center point a1 of the target virtual image; as shown in <FIG>, the process of step S12 is performed to acquire a first angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to a position aligned with the right border center point a3 of the target virtual image. It is noted that, as shown in <FIG>, in order to align the center point a2 of the target virtual image with the upper border center point a4 and the lower border center point a5 of the target virtual image, the wearable device may be at first rotated for <NUM> degrees, e.g., the wearable device may be rotated clockwise for <NUM> degrees, and then the process of step S12 is performed to acquire a first angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to a position aligned with the upper border center point a4 of the target virtual image, and the process of step S12 is performed to acquire a first angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to a position aligned with the lower border center point a5 of the target virtual image. Optionally, the wearable device may not be rotated if the image acquisition component may be rotated in a vertical direction, for example, the rotation structure connected to the image acquisition component may be an omni-directional pan and tilt head.

Exemplarily, the above-mentioned process for acquiring the four angle variation values may be implemented like the first case in step S12.

In step <NUM>, the angle acquisition process is performed respectively for n times to acquire n second angle variation values, by setting the distance between the image acquisition component and the wearable device as a second capture distance, taking the center point of the target virtual image as the initial specified point, and taking the center points of the n borders of the target virtual image as the target specified points.

The image acquisition component and/or the wearable device are moved such that the distance between the image acquisition component and the wearable device is the second capture distance, and then the angle acquisition process is performed for n times. That is, after the distance between the image acquisition component and the wearable device is updated, step <NUM> is repeatedly performed. For each angle acquisition process, reference may be made to step S <NUM>, which is not repeated in the embodiment of the present disclosure. It is noted that, step <NUM> and step <NUM> are processes during which the image acquisition component performs the angle acquisition process at different capture distances for the equal times, and thus, n in step <NUM> is equal to that in step <NUM>.

Optionally, it is assumed that the second capture distance between the image acquisition component and the wearable device is t2, n = <NUM>, and the target specified points are the center points of the four borders of the target virtual image, that is, the center point of the left border of the target virtual image, the center point of the right border of the target virtual image, the center point of the upper border of the target virtual image, and the center point of the lower border of the target virtual image.

The angle acquisition process is performed respectively for <NUM> times to acquire the corresponding four second angle variation values, which include: as shown in <FIG>, the process of step S12 is performed to acquire a second angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to the position aligned with the left border center point a1 of the target virtual image; as shown in <FIG>, the process of step S12 is performed to acquire a second angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to the position aligned with the right border center point a3 of the target virtual image. It is noted that, as shown in <FIG>, in order to align the center point of the imaging area of the image acquisition component with the upper border center point a4 and the lower border center point a5 of the target virtual image, the wearable device may be at first rotated for <NUM> degrees, e.g., the wearable device may be rotated clockwise for <NUM> degrees in the embodiment of the present disclosure, and then the process of step S12 is performed to acquire a second angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to the position aligned with the upper border center point a4 of the target virtual image, and the process of step S12 is performed to acquire a second angle variation value ϕ<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the center point a2 of the target virtual image to the position aligned with the lower border center point a5 of the target virtual image. In practice, the wearable device may not be rotated if the image acquisition component may be rotated in a vertical direction, for example, the rotation structure connected to the image acquisition component may be an omni-directional pan and tilt head.

Exemplarily, the above-mentioned process for acquiring the four angle variation values may be implemented in the manner of the first case proposed in step S12.

In step <NUM>, the virtual image distance of the target virtual image is determined on the basis of the angle variation values acquired in the at least two angle acquisition processes.

The distance variation values corresponding to the n target specified points may be calculated on the basis of the first capture distance, the second capture distance, the n first angle variation values acquired in step <NUM> and the n second angle variation values acquired in step <NUM>.

The distance variation value d, corresponding to the ith target specified point satisfies the following equation: <MAT>
wherein <NUM> ≤ i ≤ n, t<NUM> is the first capture distance, t2 is the second capture distance, ϕi<NUM> is the angle variation value of the center point of the imaging area in the relative rotation from the position aligned with the initial specified point of the target virtual image to the position aligned with the ith target specified point when the distance between the image acquisition component and the wearable device is the first capture distance, and ϕi<NUM> is the angle variation value of the center point of the imaging area in the relative rotation from the position aligned with the initial specified point of the target virtual image to the position aligned with the ith target specified point when the distance between the image acquisition component and the wearable device is the second capture distance.

Then, the absolute value of the average value of the distance variation values corresponding to the n target specified points is determined as the virtual image distance of the target virtual image. It is noted that, when n is <NUM>, the virtual image distance of the target virtual image is the calculated distance variation value corresponding to one target specified point; when n is at least <NUM>, the finally determined virtual image distance may be more accurate by means of calculating the average value.

Exemplarily, referring to step <NUM> and step <NUM>, it is assumed that n is <NUM>, then <NUM> ≤ i ≤ <NUM>. Please refer to <FIG>, which are principle schematic diagrams for acquiring a virtual image distance. In <FIG>, the image acquisition component is located at point c1; the lens component in the wearable device is located on the dotted line shown by c2; a side of the lens component far distal from the display screen in the wearable device is the side of the wearable device facing the image acquisition component; c3 represents the linear distance between the center point of the target virtual image and a certain border center point of the target virtual image in a monocular presentation interface in the wearable device. The certain border center point may be the center point of the left border of the target virtual image, the center point of the right border of the target virtual image, the center point of the upper border of the target virtual image, or the center point of the lower border of the target virtual image. The first capture distance in <FIG> is t1, and the first capture distance in <FIG> is t2. It may be seen from <FIG> that, though the first capture distances are different, the size of the lens components, the linear distances between the center point of the target virtual image and a certain border center point of the target virtual image will not change. Therefore, on the basis of the trigonometric function theorem for right triangle, the <NUM> distance variation values corresponding to the <NUM> target specified points may respectively satisfy: <MAT> <MAT> <MAT> <MAT>.

In the above formulas, dleft is the distance variation value corresponding to the center point of the left border of the target virtual image, bright is the distance variation value corresponding to the center point of the right border of the target virtual image, dupper is the distance variation value corresponding to the center point of the upper border of the target virtual image, and dlower is the distance variation value corresponding to the center point of the lower border of the target virtual image.

Correspondingly, the virtual image distance d of the target virtual image is calculated by <MAT>, that is, the virtual image distance of the target virtual image is the absolute value of the average value of the distance variation values corresponding to the above-mentioned four target specified points.

Optionally, when performing the test, it may be set that t1 = <NUM> and t2 = <NUM>.

In summary, in method for testing the wearable device according to the embodiments of the present disclosure, an angle variation value corresponding to the relative movement of an image acquisition component is acquired by changing the position of the center point of an imaging area of the image acquisition component in a target virtual image, and an optical imaging parameter value of the target virtual image displayed by a wearable device is acquired on the basis of the angle variation value. Since the optical imaging parameter value is acquired by means of machine measurement, the current problem that an optical imaging parameter value of a target virtual image is subjective and less accurate due to the optical imaging parameter value estimated by means of human eyes is solved, and the finally determined optical imaging parameter value is more objective and more accurate than that acquired by means of the human eyes.

In a second implementation manner, the optical imaging parameter value is the size of the virtual image. The virtual image in the embodiment of the present disclosure is rectangular (determined by the shape of the test image). Therefore, the size of the virtual image may be acquired on the basis of the height and width of the virtual image. Further, since the size of the virtual image is measured in order to know the effect of the target virtual image presented by the display screen of the wearable device through the lens component while the size of the virtual image should reflect as much as possible the display characteristics of the display screen when it is displayed in full screen, the display screen needs to display the test image in full screen so as to acquire a more accurate virtual image size.

As shown in <FIG>, the process of determining the size of the virtual image may be divided into the following steps.

In step <NUM>, m different first vertexes of the target virtual image are taken as the initial specified point, <NUM> ≤ m ≤ <NUM>; and for each first vertex in the m first vertexes, two second vertexes adjacent to the first vertex in the target virtual image are taken as the target specified points and two angle acquisition processes are performed respectively to acquire two third angle variation values corresponding to the first vertex.

For each angle acquisition process, reference may be made to step S1, which is not repeated in this embodiment of the present disclosure.

Optionally, it is assumed that m = <NUM>, and m first vertexes are located on the same diagonal line of the target virtual image. Please continue to refer to <FIG>, it is assumed that the first vertexes are a7 and a6, and the second vertexes corresponding to a7 and a6 are a8 and a9. <FIG> is the target virtual image displayed by the wearable device in <FIG>. It is noted that a1 to a7 in <FIG> only serve as marks and are not displayed by the wearable device.

A process in which different two first vertexes of the target virtual image are taken as the initial specified point, and for each first vertex in the two first vertexes, two second vertexes adjacent to the first vertex in the target virtual image are taken as the target specified points and two angle acquisition processes are performed respectively to acquire two third angle variation values corresponding to the first vertex includes: as shown in <FIG>, the process of step S12 is performed to acquire a third angle variation value β<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the first vertex a7 to the position aligned with the second vertex a9; as shown in <FIG>, the process of step S12 is performed to acquire a third angle variation value α<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the first vertex a7 to the position aligned with the second vertex a8; as shown in <FIG>, the process of step S12 is performed to acquire a third angle variation value β<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from a position aligned with the first vertex a6 to the position aligned with the second vertex a8; as shown in <FIG>, the process of step S12 is performed to acquire a third angle variation value α<NUM> in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the first vertex a6 to the position aligned with the second vertex a9.

The angle variation direction of the third angle variation value β<NUM> and the third angle variation value β<NUM> is parallel to the width direction of the target virtual image; and the angle variation direction of the third angle variation value α<NUM> and the third angle variation value α<NUM> is parallel to the height direction of the target virtual image.

In step <NUM>, the size of the target virtual image is determined on the basis of the angle variation values acquired in the at least two angle acquisition processes.

For example, as shown in <FIG>, step <NUM> may further include the following two sub-steps.

In sub-step <NUM>, the width and height of the target virtual image are calculated on the basis of <NUM> third angle variation values corresponding to the m first vertexes.

Referring to step <NUM>, for each first vertex in the m first vertexes, two corresponding third angle variation values may be determined. Therefore, m first vertexes correspond to <NUM> third angle variation values.

For example, widths of m target virtual images may be at first calculated on the basis of the third angle variation value of which the angle variation direction is parallel to the width direction of the target virtual image in the <NUM> third angle variation values, wherein <NUM> represents the number of vertexes adjacent to the m vertexes, and the number of third angle variation values is <NUM>. After that, heights of m target virtual images are calculated on the basis of the third angle variation value of which the angle variation direction is parallel to the height direction of the target virtual image in the <NUM> third angle variation values. Finally, the average value of the widths of the m target virtual images is taken as the width of the target virtual image, and the average value of the heights of the m target virtual image is taken as the height of the target virtual image.

The width wk of the target virtual image corresponding to the kth first vertex and the height hk of the target virtual image corresponding to the kth first vertex satisfy the following equations: <MAT> <MAT>
wherein <NUM> ≤ k ≤ m, d is the virtual image distance of the target virtual image (which may be acquired from steps <NUM> to <NUM> and will not be repeated in the embodiment of the present disclosure); t is the capture distance of the image acquisition component, which may be the first capture distance t1 or the second capture distance t2 or other capture distance; βk is the third angle variation value of which the angle variation direction is parallel to the width direction of the target virtual image in the <NUM> third angle variation values corresponding to the kth first vertex; and αk is the third angle variation value of which the angle variation direction is parallel to the height direction of the target virtual image in the <NUM> third angle variation values corresponding to the kth first vertex.

Exemplarily, in the case that the virtual image distance d has been acquired from step <NUM> to step <NUM>, t is a known test parameter, m =<NUM>, the first vertexes are a7 and a6 in <FIG>, the second vertexes are a8 and a9 in <FIG>, and <FIG> angle variation values β<NUM>, β<NUM>, α<NUM>, and α<NUM> are acquired according to step <NUM>, then the following equations may be acquired according to the calculation formula of the width of the target virtual image and the calculation formula of the height of the target virtual image corresponding to each vertex: <MAT> <MAT> <MAT> <MAT>
wherein w<NUM> is the length between vertex a7 and vertex a9; w<NUM> is the length between vertex a8 and vertex a6; h<NUM> is the length between vertex a7 and vertex a8; h<NUM> is the length between vertex a9 and vertex a6. The resulting width w of the target virtual image is an average value of the widths of the target virtual image corresponding to two first vertexes, i.e., <MAT>; The resulting height h of the target virtual image is an average value of the heights of the target virtual image corresponding to two first vertexes, i.e., <MAT>.

It is noted that, when m is <NUM>, the width of the target virtual image is the calculated width of one target virtual image, the height of the target virtual image is the calculated height of one target virtual image; and when m ≥<NUM>, the finally determined height and width of the virtual image may be made more accurate by calculating an average value.

In sub-step <NUM>, the diagonal length of the target virtual image is calculated on the basis of the width and height of the target virtual image.

It is noted that the size of a virtual image is generally identified by the diagonal length (in inches). in the embodiment of the present disclosure, the size of the target virtual image includes the diagonal length of the target virtual image.

Therefore, the diagonal length v of the target virtual image may be calculated on the basis of the width w and the height h of the target virtual image, and the diagonal calculation formula is as follows: <MAT> in inches.

The calculation result of <MAT> is the diagonal length of the virtual image in centimeters. Since inch is usually used as a unit to identify a diagonal length, the unit of the diagonal length is converted from centimeter to inch by dividing <MAT> with <NUM> in the above formula of the diagonal length in the embodiment of the present disclosure.

It is worth noting that in the above steps <NUM> and <NUM>, the distance between the image acquisition component and the wearable device does not change, for example, the distance between the two may always be maintained at <NUM>.

In a third implementation, the optical imaging parameter value is the visual angle of the target virtual image, and the maximum visual angle of the target virtual image may be acquired by the image acquisition component of the parameter value by determining the visual angle of the target virtual image. As shown in <FIG>, the process of determining the visual angle of the virtual image may include the following steps.

In step <NUM>, the angle acquisition process is performed respectively for four times to acquire four fourth angle variation values, by taking the center points of the four borders of the target virtual image as the initial specified points, and taking the border vanishing point of the border on which each initial specified point is located as the target specified point corresponding to the each initial specified point.

The center points of the four borders correspond to the four vanishing points. The vanishing point is a critical point, which is described as follows by taking one angle acquisition process as an example and assuming that the center point of a certain border is the initial specified point for the image acquisition component: in a process of relatively rotating the center point of the imaging area of the image acquisition component from a position aligned with the center point of the certain border, the certain border gradually decreases from the visual angle of the center point of the imaging area of the image acquisition component and completely disappears, and the point aligned with the center point of imaging area of the image acquisition component at the moment that the certain border completely disappears is the border vanishing point of the certain border.

In the embodiment of the present disclosure, the center points of the four borders of the target virtual image are taken as the initial specified points. Please continue to refer to <FIG>, the center points of the four borders are respectively: a1, a4, a3, and a5.

Correspondingly, the process of performing the four angle acquisition processes to acquire four fourth angle variation values includes: as shown in <FIG>, the process of step S12 is performed to acquire an angle variation value λleft in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the left border center point a1 of the target virtual image to a position aligned with the border vanishing point of the left border of the target virtual image; as shown in <FIG>, the process of step S12 is performed to acquire an angle variation value λright in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the right border center point a3 of the target virtual image to a position aligned with the border vanishing point of the right border of the target virtual image. It is noted that, as shown in <FIG>, in order to align the center point of the imaging area of the image acquisition component with the border vanishing point of the left border and the border vanishing point of the right border, the wearable device may be at first rotated for <NUM> degrees, e.g., the wearable device may be rotated clockwise for <NUM> degrees, and then the process of step S12 is performed to acquire an angle variation value λupper in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the upper border center point a4 of the target virtual image to a position aligned with the border vanishing point of the upper border of the target virtual image, and the process of step S12 is performed to acquire an angle variation value λlower in the adjustment of the center point of the imaging area of the image acquisition component from the position aligned with the lower border center point a5 of the target virtual image to a position aligned with the border vanishing point of the lower border of the target virtual image. In practice, the wearable device may not be rotated if the image acquisition component may be rotated in a vertical direction, for example, the rotation structure connected to the image acquisition component may be an omni-directional pan and tilt head.

Exemplarily, the above-mentioned process for acquiring the four angle variation values may be implemented in the manner of the second case proposed in step S12.

In step <NUM>, the visual angle of the target virtual image is determined on the basis of the angle variation values acquired in the at least two angle acquisition processes.

Exemplarily, the horizontal visual angle λhorizotal of the target virtual image may be calculated on the basis of the fourth angle variation values λleft and λright parallel to the width direction of the target virtual image in the four fourth angle variation values. Then, the vertical visual angle λvertical of the target virtual image may be calculated on the basis of the fourth angle variation values λupper and λlower parallel to the height direction of the target virtual image in the four fourth angle variation values.

It is noted that, λleft, λright, λupper, and λlower are positive angle variation values. In practice, if a negative angle variation value is acquired due to a different angle acquisition coordinate system, a corresponding positive angle variation value may be acquired by performing an absolute value operation on the negative angle variation value before performing subsequent operations.

The λhorizontal and the λvertical respectively satisfy the following equations: <MAT> <MAT>.

For example, when λleft =<NUM>°, λright =<NUM>°, λupper =<NUM>°, λupper =<NUM>°, the horizontal visual angle λhorizontal of the target virtual image is <NUM> degrees, and the vertical visual angle λvertical of the target virtual image is <NUM> degrees.

In a fourth implementation manner, the optical imaging parameter value is the distortion amount of the target virtual image. The distortion amount of the target virtual image is acquired on the basis of the virtual image distance of the target virtual image and the size of the virtual image. The virtual image distance may be acquired by steps <NUM> to <NUM>, the size of the virtual image may be acquired by steps <NUM> and <NUM>, and the specific acquisition process is not repeated in the embodiment of the present disclosure. in the embodiment of the present disclosure, it is provided that the virtual image distance and the size of the virtual image have been acquired. As shown in <FIG>, the step for acquiring the distortion amount of the target virtual image includes:.

In step <NUM>, the distortion width w<NUM> of the target virtual image is calculated on the basis of the third capture distance t<NUM>, the fifth angle variation values θleft and θright of which the angle variation direction is parallel to the width direction of the target virtual image in the four fifth angle variation values and the corresponding distance variation values dleft and dright.

The distortion width w<NUM> satisfies the following equations: <MAT>.

It is noted that, the third capture distance t3 may be the first capture distance or the second capture distance in steps <NUM> to <NUM>, the fifth angle variation value may be the first angle variation value or the second angle variation value in steps <NUM> to <NUM>, which will not be limited in the embodiment of the present disclosure.

In step <NUM>, the distortion height h<NUM> of the target virtual image is calculated on the basis of the third capture distance t<NUM>, the fifth angle variation values θupper and θlower of which the angle variation direction is parallel to the height direction of the target virtual image in the four fifth angle variation values and the corresponding distance variation values dupper and dlower.

The distortion height h<NUM> satisfies the following equation: <MAT>.

In step <NUM>, the width distortion amount Dw of the target virtual image is determined according to the distortion width w<NUM> and the width of the target virtual image.

The width of the target virtual image may be acquired from steps <NUM> to <NUM>, which is not repeated in the embodiment of the present disclosure.

Optionally, absolute values of the differences between the distortion width w<NUM> and the respective widths of the target virtual image acquired in p tests may be calculated to acquire absolute values of p width differences, p being an integer greater than or equal to <NUM>. Then the percentage of the average value of the absolute values of p width differences in the distortion width w<NUM> is determined as the width distortion amount Dw of the target virtual image.

Exemplarily, it is assumed that p = <NUM>, and two tests are performed to acquired corresponding <NUM> widths of the target virtual image: w1 and w2, which may be w1 and w2 calculated in step <NUM>. The absolute values of the differences between the distortion width w<NUM> and the <NUM> widths of the target virtual image acquired in the <NUM> tests may respectively be: |w<NUM>-w<NUM>| and |w<NUM>-w<NUM>|, and the percentage of the average value of the absolute values of <NUM> width differences in the distortion width w<NUM> is calculated to acquire the width distortion amount Dw as follows: <MAT>.

In step <NUM>, the height distortion amount Dh of the target virtual image is determined according to the distortion height h<NUM> and the height of the target virtual image.

Optionally, absolute values of the differences between the distortion height h<NUM> and the respective heights of the target virtual image acquired in p tests may be calculated to acquire absolute values of p height differences, p being an integer greater than or equal to <NUM>. Then the percentage of the average value of the absolute values of p height differences in the distortion height h<NUM> is determined as the height distortion amount Dh of the target virtual image.

Exemplarily, it is assumed that p = <NUM>, and two tests are performed to acquire corresponding two heights of the target virtual image: h1 and h2, which may be the h1 and h2 calculated in step <NUM>. The absolute values of the differences between the distortion height h<NUM> and the two heights of the target virtual image acquired in the two tests may respectively be: |h<NUM>-h<NUM>| and |h<NUM>-h<NUM>|, and the percentage of the average value of the absolute values of two height differences in the distortion height h<NUM> is calculated to acquire the height distortion amount Dh as follows: <MAT>.

It is noted that, when p is <NUM>, the percentage of the absolute value of the difference between the distortion width of the target virtual image and the width of the target virtual image in the distortion width is just the width distortion amount, and the percentage of the absolute value of the difference between the distortion height of the target virtual image and the height of the target virtual image in the distortion height is just the height distortion amount; and when p is at least two, the finally determined width distortion amount and height distortion amount of the virtual image may be more accurate by calculating the average value.

It is worth noting that in steps <NUM> and <NUM>, the distance between the image acquisition component and the wearable device is not changed. For example, the distance between the two may always be maintained at <NUM>.

<FIG> illustrates system <NUM> for testing a wearable device according to an embodiment of the present disclosure. As shown in <FIG>, the system includes a controller <NUM> and an image acquisition component <NUM>.

The controller <NUM> is configured to perform at least two angle acquisition processes, the angle acquisition process including:.

In summary, in the method for testing a wearable device according to the embodiments of the present disclosure, an angle variation value corresponding to the relative movement of an image acquisition component is acquired by changing the position of the center point of an imaging area of the image acquisition component in a target virtual image, and an optical imaging parameter value of the target virtual image displayed by a wearable device is acquired on the basis of the angle variation value. Since the optical imaging parameter value is acquired by means of machine measurement, the current problem that an optical imaging parameter value of a target virtual image is subjective and less accurate due to the optical imaging parameter value estimated by means of human eyes is solved, and the finally determined optical imaging parameter value is more objective and more accurate than that acquired by means of the human eyes.

Optionally, as shown in <FIG>, the system <NUM> further includes:
the base <NUM>, the support post <NUM>, and the test carrier <NUM>, wherein one end of the support post <NUM> is rotatably connected to the base <NUM>, and the other end of the support post <NUM> is fixedly connected to the test carrier <NUM>.

The test carrier <NUM> is configured to receive the wearable device <NUM>.

The controller <NUM> is configured to control the support post <NUM> to rotate on the base <NUM>.

Optionally, the system <NUM> may further include:
the support frame <NUM> and the rotation structure <NUM>, wherein one end of the rotation structure <NUM> is rotatably connected to the support frame <NUM>, and the other end of the rotation structure <NUM> is fixedly connected to the image acquisition component <NUM>.

The controller <NUM> is configured to control the rotation structure <NUM> to rotate on the support frame <NUM>.

Optionally, the rotation structure <NUM> may be a pan and tilt head, and the image acquisition component <NUM> is a video camera.

Optionally, the optical imaging parameter value is a virtual image distance of the target virtual image.

For related explanations about the base <NUM>, the support post <NUM>, the test carrier <NUM>, the support frame <NUM> and the rotation structure <NUM>, please refer to step S12, which is not repeated in the embodiment of the present disclosure.

The controller <NUM> is further configured to: perform respectively the angle acquisition process for n times to acquire n first angle variation values, by setting the distance between the image acquisition component and the other side of the lens component as a first capture distance, taking the center point of the target virtual image as the initial specified point, and taking the center points of the n borders of the target virtual image as the target specified points, <NUM> ≤ n ≤ <NUM>;.

perform respectively the angle acquisition process for n times to acquire n second angle variation values, by setting the distance between the image acquisition component and the other side of the lens component as a second capture distance, taking the center point of the target virtual image as the initial specified point, and taking the center points of the n borders of the target virtual image as the target specified points.

Optionally, the controller <NUM> is further configured to: calculate the distance variation values corresponding to the n target specified points on the basis of the n first angle variation values and the n second angle variation values, and the distance variation value d, corresponding to the ith target specified point satisfies the following equation: <MAT>.

Optionally, n = <NUM>, n target specified points are respectively the center point of the left border of the target virtual image, the center point of the right border of the target virtual image, the center point of the upper border of the target virtual image and the center point of the lower border of the target virtual image.

Optionally, the test image is rectangular, the optical imaging parameter value is the size of the target virtual image, and the controller <NUM> is further configured to: take m different first vertexes of the target virtual image as the initial specified point, <NUM> ≤ m ≤ <NUM>; and
for each first vertex in the m first vertexes, take two second vertexes adjacent to the first vertex in the target virtual image as the target specified points and perform respectively two angle acquisition processes to acquire two third angle variation values corresponding to the first vertex.

Optionally, the size of the target virtual image includes the diagonal length of the target virtual image, and the controller <NUM> is further configured to: calculate the width and height of the target virtual image on the basis of <NUM> third angle variation values corresponding to the m first vertexes; and
calculate the diagonal length of the target virtual image on the basis of the width and height of the target virtual image.

Optionally, the controller <NUM> is further configured to: calculate widths of m target virtual images on the basis of the third angle variation value of which the angle variation direction is parallel to the width direction of the target virtual image in the <NUM> third angle variation values; and.

Optionally, m = <NUM>, and m first vertexes are located on the same diagonal line of the target virtual image.

Optionally, the controller <NUM> is further configured to:
calculate the diagonal length v of the target virtual image on the basis of the width w and the height h of the target virtual image, and the diagonal calculation formula is as follows: <MAT> in inches.

Optionally, the test image is rectangular, and the optical imaging parameter value is the visual angle of the target virtual image. The controller <NUM> is further configured to: perform respectively the angle acquisition process for four times to acquire four fourth angle variation values, by taking the center points of the four borders of the target virtual image as the initial specified points, and taking the border vanishing point of each border of the target virtual image as the target specified point.

Optionally, the controller <NUM> is further configured to: calculate the horizontal visual angle λhorizontal of the target virtual image on the basis of the fourth angle variation values λleft and λright parallel to the width direction of the target virtual image in the four fourth angle variation values; and
calculate the vertical visual angle λvertical of the target virtual image on the basis of the fourth angle variation values λupper and λlower parallel to the height direction of the target virtual image in the four fourth angle variation values.

Optionally, the optical imaging parameter value is the distortion amount of the target virtual image, and the controller <NUM> is further configured to: determine the distortion amount of the target virtual image according to the distance variation values corresponding to four target specified points, four fifth angle variation values and a third capture distance of the image acquisition component corresponding to the four fifth angle variation values, the fifth angle variation value being the first angle variation value or the second angle variation value.

Optionally, the controller <NUM> is further configured to:.

Optionally, the distortion width and distortion height satisfy: <MAT> <MAT>.

The process of determining the height distortion amount Dh of the target virtual image according to the distortion height h<NUM> and the height of the target virtual image includes:.

Optionally, when the initial specified point is not the center point of the target virtual image, the controller <NUM> is further configured to:.

Optionally, the wearable device is configured such that the test image is a rectangular image with a first color as a base and a second color as a border, wherein two perpendicularly intersected symmetry axes in the second color are displayed on the test image, and the first color is different from the second color.

Optionally, a plurality of congruent rectangular alignment boxes in the second color arranged in a matrix are further displayed on the test image, wherein the plurality of rectangular alignment boxes include a center alignment box having a common symmetry axis with a rectangular boundary of the test image, and an edge alignment box having a common border with the test image; and
a superimposition image is displayed on the image acquired by the image acquisition component, wherein the superimposition image includes a rectangular box in a third color and diagonal lines in the third color of the rectangular box, a boundary shape of the rectangular box being congruent with that of the rectangular alignment box, an intersection of the diagonal lines being the center point of the imaging area, and borders of the rectangular box being parallel to borders of the imaging area.

Optionally, the wearable device is a virtual reality device, an augmented reality device, or a mixed reality device.

A person skilled in the art may clearly understand that for the sake of convenience and conciseness in description, the specific work processes of the above systems, devices and units may make reference to corresponding processes in the above method embodiments and are not further described herein.

In several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods may be implemented by other means. For example, the device embodiments described above are merely schematic. For example, the partitioning of the units may be a logical functional partitioning. There may be other partitioning modes during actual implementation. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, mutual coupling or direct coupling or communication connection that is shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical, or other forms.

The units described as separated components may be or may not be physically separated. The components displayed as units may be or may not be physical units, that is, they may be located in one place or may be distributed on a plurality of network units. Part or all of the units may be selected according to actual needs to achieve the purposes of the solutions of the embodiments.

Claim 1:
A computer implemented method for testing a wearable device, characterized in that the wearable device comprises a lens component and a display screen provided on one side of the lens component, and the method comprising:
performing (<NUM>) at least two angle acquisition processes, the angle acquisition process comprising:
relatively rotating a center point of an imaging area of an image acquisition component from a position aligned with an initial specified point of a target virtual image to a position aligned with a target specified point of the target virtual image, wherein the target virtual image is a virtual image formed, via the lens component, by an actual test image displayed by the display screen in the wearable device, and a line connecting the center point of the imaging area and the initial specified point is perpendicular to the display screen when the center point of the imaging area is aligned with the initial specified point, and
acquiring an angle variation value of the center point of the imaging area of the image acquisition component in the rotation from the position aligned with the initial specified point of the target virtual image to the position aligned with the target specified point of the target virtual image; and
determining (<NUM>) an optical imaging parameter value of the target virtual image on the basis of the angle variation values acquired in the at least two angle acquisition processes.