Optical distortion test method, device, equipment, storage medium and system

By displaying test images to smart glasses and transforming position information in the global coordinate system, the problem of distortion influence of acquisition equipment in the optical distortion test of smart glasses is solved, and accurate assessment of the distortion of smart glasses is achieved.

CN121877348APending Publication Date: 2026-04-17GEER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
GEER TECH CO LTD
Filing Date
2025-12-31
Publication Date
2026-04-17

AI Technical Summary

Technical Problem

In existing technologies, the optical distortion test results of smart glasses are affected by the lens distortion of the image acquisition device, making it difficult to accurately assess the true distortion level of smart glasses.

Method used

By sending test commands to smart glasses, the glasses can display test images containing several test points. These test points are then captured sequentially using an image acquisition device to obtain local images. The position information of the test points is then converted to the global coordinate system to generate an optical distortion test report.

Benefits of technology

It effectively separates the optical distortion of the smart glasses themselves from the lens distortion of the image acquisition device, reduces the impact of the acquisition device distortion, and accurately assesses the true distortion level of the smart glasses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121877348A_ABST
    Figure CN121877348A_ABST
Patent Text Reader

Abstract

The invention discloses an optical distortion test method, apparatus and device, a storage medium and a system, and relates to the technical field of virtual reality. According to the method, the intelligent glasses are controlled to display the test image containing the plurality of test points, the test points displayed by the intelligent glasses are sequentially shot through the image acquisition equipment, and in the obtained local images, the test points are located in the central areas of the corresponding local images, namely in the central area (near the optical axis) of the view field of the image acquisition equipment; the distortion influence of the lens of the image acquisition device is minimum, and then the test point of the central area of each local image is utilized to carry out optical distortion test on the intelligent glasses, so that the optical distortion of the intelligent glasses can be effectively separated from the lens distortion of the image acquisition device, the influence of the lens distortion of the image acquisition device is reduced, and the detection accuracy of the intelligent glasses is improved. And the real distortion level of the intelligent glasses can be accurately evaluated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of virtual reality technology, and in particular to an optical distortion testing method, apparatus, device, storage medium, and system. Background Technology

[0002] In the field of virtual reality, smart glasses, as wearable devices with partial display capabilities such as augmented reality (AR) and virtual reality (VR) devices, require careful measurement of the geometric distortion of their displayed images. Distortions (such as pincushion or barrel distortion) can compromise the geometric fidelity of virtual or augmented reality scenes, causing visual fatigue, dizziness, and severely impacting the realism and comfort of the immersive experience.

[0003] Existing technology involves controlling smart glasses to display a test image covering the entire field of view. A fixed-position image acquisition device (such as a DSLR or a standard industrial camera) is then used, its lens aimed at one eyepiece of the smart glasses (i.e., the position viewed by the human eye). The position and angle of the image acquisition device are adjusted manually or with simple clamps to roughly capture the entire test image displayed by the smart glasses. The captured test image is then compared to an ideal, distortion-free standard test image. If distortion exists, a clear visual difference will be observed, and the level of distortion can be assessed based on this difference.

[0004] However, all optical lenses exhibit distortion. The distortion in the central region of the field of view (near the optical axis) is minimal, theoretically approaching zero, resulting in the highest image quality and minimal geometric distortion. Distortion increases significantly at the edges of the field of view (typically pincushion or barrel distortion) and varies drastically. Because the lens of the image acquisition device itself has optical distortion, the captured test images combine distortion from both the smart glasses and the camera lens. In the test images captured by the image acquisition device, the lens distortion at the image edges affects the actual image position of these edges, causing them to be re-distorted by the lens distortion. This leads to errors in the comparison results between the test images captured by the image acquisition device and the standard images, making it difficult to accurately assess the true distortion level of the smart glasses. Summary of the Invention

[0005] The main objective of this application is to provide an optical distortion testing method, apparatus, device, storage medium, and system, aiming to solve the technical problem that the test images captured by the prior art are a mixture of distortion from smart glasses and camera lens distortion, resulting in errors in the comparison results between the test images captured by the image acquisition device and the standard images, making it difficult to accurately assess the true distortion level of smart glasses.

[0006] To achieve the above objectives, this application proposes an optical distortion testing method. The method is applied to an optical distortion testing device within an optical distortion testing system. The optical distortion testing system further includes smart glasses and an image acquisition device. The method comprises: A test command is sent to the smart glasses to cause the smart glasses to display a test image containing several test points, each of which is located at a different position in the test image; The image acquisition device sequentially captures images of each test point displayed on the smart glasses to obtain corresponding local images, with each test point located in the central region of the corresponding local image; The position information of the test points in each local image is transformed into the global coordinate system to obtain the measured position information of each test point; The smart glasses are subjected to optical distortion testing based on the measured location information of each test point, and a test report is generated.

[0007] In one embodiment, the step of performing optical distortion testing on the smart glasses based on the measured position information of each test point and generating a test report includes: Get the preset center coordinates of the global coordinate system; The central optical distortion of the smart glasses is tested based on the measured position information of each test point and the preset center coordinates, and a test report corresponding to the central optical distortion is generated. Identify the edge test points located in the preset edge region among all the test points; The edge optical distortion of the smart glasses is tested based on the measured position information of each edge test point, and a test report corresponding to the edge optical distortion is generated.

[0008] In one embodiment, the step of testing the central optical distortion of the smart glasses based on the measured position information of each test point and the preset center coordinates, and generating a test report corresponding to the central optical distortion, includes: Determine the center distance between the measured position information coordinates of each test point and the preset center coordinates; The center distortion rate of each test point is calculated based on the center distance and the preset benchmark center distance. The central optical distortion of the smart glasses is tested based on the central distortion rate corresponding to each test point, and a test report corresponding to the central optical distortion is generated.

[0009] In one embodiment, the step of testing the central optical distortion of the smart glasses based on the central distortion rate corresponding to each test point and generating a test report corresponding to the central optical distortion includes: Among all the test points, determine the target center test point with the largest absolute value of center distortion rate; Determine whether the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate; When the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate, a test report is generated indicating that the center optical distortion of the smart glasses exceeds the preset range.

[0010] In one embodiment, the step of testing the edge optical distortion of the smart glasses based on the measured position information of each of the edge test points and generating a test report corresponding to the edge optical distortion includes: The offset distance in different directions is determined based on the measured position information of each edge test point; The edge distortion rate in the corresponding direction is calculated based on the offset distance and the preset theoretical offset distance in the corresponding direction; The edge optical distortion of the smart glasses is tested based on the edge distortion rate in each direction, and a test report corresponding to the edge optical distortion is generated.

[0011] In one embodiment, the step of testing the edge optical distortion of the smart glasses based on the edge distortion rate in each direction and generating a test report corresponding to the edge optical distortion includes: Among all the edge test points, determine the target edge test point with the largest absolute value of edge distortion rate; Determine whether the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate; When the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate, a test report is generated indicating that the edge optical distortion of the smart glasses exceeds the preset range.

[0012] Furthermore, to achieve the above objectives, this application also proposes an optical distortion testing device, the device comprising: The instruction sending module is used to send test instructions to the smart glasses so that the smart glasses display a test image containing a number of test points, each of which is located at a different position in the test image. The image acquisition module is used to sequentially capture images of each of the test points displayed on the smart glasses using an image acquisition device to obtain corresponding local images, wherein each test point is located in the central region of the corresponding local image; The coordinate transformation module is used to transform the position information of the test points in each of the local images to the global coordinate system to obtain the measured position information of each of the test points; The distortion testing module is used to perform optical distortion testing on the smart glasses based on the measured position information of each test point and generate a test report.

[0013] In addition, to achieve the above objectives, this application also proposes an optical distortion testing device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the optical distortion testing method described above.

[0014] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the optical distortion testing method described above.

[0015] In addition, to achieve the above objectives, this application also proposes an optical distortion testing system, which includes: smart glasses, an image acquisition device, and the optical distortion testing device described above.

[0016] One or more technical solutions proposed in this application have at least the following technical effects: This application applies to an optical distortion testing device in an optical distortion testing system. The optical distortion testing system also includes smart glasses and an image acquisition device. This application sends a test command to the smart glasses, causing the smart glasses to display a test image containing several test points, each test point being located at a different position on the test image. The image acquisition device sequentially captures images of each test point displayed by the smart glasses, obtaining corresponding local images, with each test point located in the central region of its corresponding local image. The position information of the test points in each local image is converted to a global coordinate system to obtain the measured position information of each test point. Based on the measured position information of each test point, optical distortion testing is performed on the smart glasses, and a test report is generated. This application controls the display of test images containing several test points on smart glasses. By sequentially capturing images of each test point displayed on the smart glasses using an image acquisition device, each test point is located in the central region of the corresponding local image, i.e., in the central region of the field of view of the image acquisition device (near the optical axis). The distortion of the image acquisition device's own lens has the least impact here. Subsequently, the test points in the central region of each local image are used to perform optical distortion tests on the smart glasses. This effectively separates the optical distortion of the smart glasses from the lens distortion of the image acquisition device, reduces the impact of the lens distortion of the image acquisition device, and can accurately assess the true distortion level of the smart glasses. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0019] Figure 1 This is a flowchart illustrating the first embodiment of the optical distortion testing method of this application; Figure 2 This is an example image of a test image in the first embodiment of this application; Figure 3 This is a flowchart illustrating the second embodiment of the optical distortion testing method of this application; Figure 4 This is a flowchart illustrating the third embodiment of the optical distortion testing method of this application; Figure 5 This is a schematic diagram of the module structure for optical distortion testing in this application; Figure 6 This is a schematic diagram of the optical distortion testing equipment of this application.

[0020] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0021] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0022] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0023] The main solution of this application embodiment is as follows: a test command is sent to the smart glasses to make the smart glasses display a test image containing several test points, each test point being located at a different position in the test image; each test point displayed by the smart glasses is sequentially photographed by an image acquisition device to obtain a corresponding local image, each test point being located in the central region of the corresponding local image; the position information of the test points in each local image is converted to the global coordinate system to obtain the measured position information of each test point; optical distortion testing is performed on the smart glasses based on the measured position information of each test point, and a test report is generated.

[0024] Because the test images captured by existing technology combine the distortion of smart glasses with the distortion of camera lenses, there are errors in the comparison results between the test images captured by the image acquisition equipment and the standard images, making it difficult to accurately assess the true distortion level of smart glasses.

[0025] This application provides a solution that controls smart glasses to display test images containing several test points. An image acquisition device sequentially captures images of each test point displayed on the smart glasses. In each obtained local image, each test point is located in the central region of the corresponding local image, i.e., in the central region of the image acquisition device's field of view (near the optical axis). Here, the distortion of the image acquisition device's own lens has the least impact. Subsequently, the test points in the central region of each local image are used to perform optical distortion testing on the smart glasses. This effectively separates the optical distortion of the smart glasses from the lens distortion of the image acquisition device, reducing the impact of the image acquisition device's own lens distortion and enabling an accurate assessment of the true distortion level of the smart glasses.

[0026] It should be noted that the execution entity in this embodiment is the optical distortion testing equipment in the optical distortion testing system. This optical distortion testing equipment, as the control and processing core of the system, possesses data processing, real-time control, and communication functions. It is used to run test programs, control the collaborative work of related measurement mechanisms and image acquisition equipment, and perform image processing and distortion calculations. In this embodiment and the following embodiments, this optical distortion testing equipment (hereinafter referred to as the testing equipment) is used as an example for description. Its specific implementation can be an industrial control computer, an embedded control system, or a dedicated test host, etc.

[0027] Based on this, embodiments of this application provide an optical distortion testing method, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the optical distortion testing method of this application.

[0028] In this embodiment, the optical distortion testing method is applied to the optical distortion testing equipment in an optical distortion testing system. The optical distortion testing system further includes smart glasses and an image acquisition device. The method includes steps S10 to S40: Step S10: Send a test command to the smart glasses so that the smart glasses display a test image containing several test points.

[0029] Each of the test points is located at a different position on the test image.

[0030] It should be noted that the test command can be a control command used to instruct the smart glasses to switch to a specific internal test mode and call its pre-stored test image data for rendering and display.

[0031] Understandably, the test image can be a single background with several high-contrast markers arranged regularly on it. The test point is this marker, which has a clear geometric shape (such as a circle) and a fixed size to facilitate accurate identification and positioning.

[0032] For example, for ease of understanding, refer to Figure 2 , Figure 2 This is an example image of a test image in the first embodiment of this application. The test image may be... Figure 2 The image shows an array of black circular dots arranged in a matrix of M rows × N columns (i.e., 3 rows × 3 columns) on a white background. Each black circular dot is a test point, and its theoretical center is pre-calibrated and known in the image coordinate system. Figure 2 The images used in this application are for illustrative purposes only and are not intended to limit the scope of the test images.

[0033] In practice, users can perform corresponding click operations through the human-machine interface of the testing device, such as selecting the distortion test and clicking run. The testing device responds to the user's operation by sending test commands to the smart glasses through the communication link established between it and the smart glasses. The communication link can be a wired interface (such as USB or UART) or a wireless connection (such as Wi-Fi or Bluetooth). The control software on the testing device can construct and send this test command by calling the corresponding communication protocol (such as serial port protocol, custom USB HID command, or network API). After receiving the test command, the smart glasses' internal processor parses and executes the test command, thereby displaying the specified test image on its screen.

[0034] Step S20: The image acquisition device sequentially captures images of each test point displayed on the smart glasses to obtain corresponding local images.

[0035] Each test point is located in the central region of the corresponding local image.

[0036] It should be noted that the image acquisition device can be a high-resolution image sensor device with precise exposure control, such as an industrial camera. It is configured to receive external trigger signals to take pictures and transmit the acquired images to optical distortion testing equipment for processing.

[0037] Understandably, the optical distortion testing system also includes a measurement actuator and a simulated head shell. The measurement actuator includes at least an eye-tracking simulation subsystem and an eye model.

[0038] The simulated head shell is used to simulate the shape of a human head. Its function is to install and fix the smart glasses under test, so that the smart glasses are in a stable and standard test posture.

[0039] An eye model is mounted at a preset eye point on the simulated head shell to accurately simulate the spatial position of the human eye. The aforementioned image acquisition device is integrated inside the eye model, with its optical center coinciding with the pupil position of the eye model.

[0040] The eye-tracking simulation subsystem is a high-precision multi-axis motion control mechanism connected to the eye model drive. Its core function is to receive motion commands from the testing equipment and drive the eye model (along with its internal image acquisition equipment) to make precise position and posture adjustments in three-dimensional space.

[0041] In its implementation, for any test point Pi in the test image, the testing device calculates the target spatial pose (including position and angle) to which the eye model needs to move, based on the theoretical position of test point Pi in the test image. Subsequently, the testing device sends a motion command to the eye simulation subsystem, driving the eye model to move to the aforementioned target spatial pose. In this target spatial pose, the light rays emitted from the smart glasses' optical system, corresponding to test point Pi, are guided to the central optical axis of the image acquisition device's lens, thus aligning the image acquisition device with test point Pi displayed on the smart glasses. After the eye model stabilizes in the target spatial pose, the testing device triggers the image acquisition device to take a picture. Due to the aforementioned alignment operation, test point Pi is imaged in the central region of the image acquisition device during this picture capture, thereby obtaining a local image centered on test point Pi; that is, in the local image, test point Pi is located in the central region of the local image. The above operation can be repeated for all test points in the test image to obtain a local image corresponding to each test point.

[0042] It should be understood that, through the precise motion control of the aforementioned optical distortion testing system, each test point can be imaged in the area with the least lens distortion—the center of the image acquisition device's field of view (near the optical axis). This minimizes the impact of lens distortion testing on the image acquisition device, ensuring that the positional shift of the test point in the local image primarily reflects the optical distortion of the smart glasses themselves.

[0043] Step S30: Convert the position information of the test points in each local image to the global coordinate system to obtain the measured position information of each test point.

[0044] It should be noted that the global coordinate system can be a fixed reference system that is predefined and calibrated in three-dimensional space. It is established based on the mechanical structure of the measurement actuator (such as a simulation head shell or eye-tracking simulation subsystem) to provide a unified spatial reference framework for all measurement data.

[0045] In the specific implementation, at the same time that the image acquisition device captures local images of each test point, the test equipment simultaneously acquires the mechanism pose (including 3D pose and 3D attitude) of the eye-tracking simulation subsystem that drives the eye movement model. This mechanism pose is a dynamic transformation matrix that represents the position and attitude of the end-effector coordinate system relative to the global coordinate system.

[0046] For any test point, after acquiring a local image, the center point of the test point is extracted from each local image, and the offset of the center point relative to the physical center of the local image (corresponding to the camera optical axis) is calculated. Based on the intrinsic parameters of the image acquisition device (such as focal length and principal point), the offset of the center point relative to the physical center of the local image is converted into a first line-of-sight direction vector in the coordinate system of the image acquisition device. This first line-of-sight direction vector represents the actual spatial direction from the optical center of the image acquisition device to the test point.

[0047] Subsequently, using a pre-calibrated fixed transformation matrix (describing the rigid geometric transformation relationship between the image acquisition device and the end effector of the eye-tracking simulation subsystem), the first gaze direction vector is transformed to the coordinate system of the end effector of the eye-tracking simulation subsystem to obtain the second gaze direction vector. Combined with the aforementioned mechanism pose, the gaze direction vector is transformed from the coordinate system of the end effector of the eye-tracking simulation subsystem to the global coordinate system, obtaining the global spatial gaze in the global coordinate system. The intersection point of the global spatial gaze and the preset theoretical display plane (i.e., the ideal position of the smart glasses screen) is calculated. The coordinates of the calculated intersection point are the three-dimensional measured position of the test point in the global coordinate system. Then, the two-dimensional projection of the three-dimensional measured position onto the theoretical display plane is taken as the measured position information of the test point.

[0048] For each test point, the corresponding measured location information can be calculated in the manner described above.

[0049] Step S40: Perform optical distortion testing on the smart glasses based on the measured position information of each test point, and generate a test report.

[0050] In practice, the testing equipment determines the theoretical position information of each test point on the theoretical display plane of the smart glasses. It then compares the measured position information of each test point with the corresponding theoretical position information to determine the positional deviation. This deviation is then compared with a pre-set deviation threshold. If the positional deviation does not reach the threshold, the optical distortion of the smart glasses is deemed to meet the requirements; otherwise, it is deemed to fail to meet the requirements. Subsequently, the testing equipment generates an optical distortion test report based on the positional deviation comparison results. This report may include, but is not limited to, the device identification of the tested smart glasses, the judgment conclusion, and the positional deviation values ​​for each test point.

[0051] This embodiment sends a test command to the smart glasses, causing them to display a test image containing several test points, each located at a different position on the test image. An image acquisition device sequentially captures images of each test point displayed on the smart glasses, obtaining corresponding local images. Each test point is located in the central region of its respective local image. The positional information of the test points in each local image is converted to a global coordinate system to obtain the measured position information of each test point. Based on the measured position information of each test point, an optical distortion test is performed on the smart glasses, generating a test report. Because this embodiment controls the smart glasses to display a test image containing several test points, and the image acquisition device sequentially captures images of each test point displayed on the smart glasses, each test point in the obtained local images is located in the central region of its corresponding local image, i.e., in the central region of the image acquisition device's field of view (near the optical axis). Here, the distortion influence of the image acquisition device's own lens is minimized. Subsequently, the optical distortion test of the smart glasses is performed using the test points in the central region of each local image. This effectively separates the optical distortion of the smart glasses from the lens distortion of the image acquisition device, reducing the influence of the image acquisition device's own lens distortion and enabling an accurate assessment of the true distortion level of the smart glasses.

[0052] Based on the first embodiment of this application, a second embodiment of this application is proposed. Contents that are the same as or similar to the first embodiment described above can be referred to the above description and will not be repeated hereafter. Based on this, please refer to... Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the optical distortion testing method of this application.

[0053] In this embodiment, step S40 includes steps S41 to S44: Step S41: Obtain the preset center coordinates of the global coordinate system.

[0054] It should be noted that the preset center coordinates can be the coordinates of a specific reference point that is predefined and calibrated in the global coordinate system. These preset center coordinates correspond to the theoretical spatial position of the center point of the display plane of the smart glasses under ideal, distortion-free conditions within the global coordinate system. In other words, the preset center coordinates can be the calibrated position of the intersection point of the optical axis of the smart glasses' optical system and the theoretical display plane (i.e., the center of the screen) within the global coordinate system.

[0055] Step S42: Test the central optical distortion of the smart glasses based on the measured position information of each test point and the preset center coordinates, and generate a test report corresponding to the central optical distortion.

[0056] In practice, the testing equipment calculates the difference between the coordinates of the measured position information of each test point and the preset center coordinates. The absolute value of the difference at each test point is used as the position deviation and compared with a preset deviation threshold. If the position deviation does not reach the deviation threshold, the central optical distortion of the smart glasses is deemed to meet the requirements; if the position deviation reaches the deviation threshold, the central optical distortion of the smart glasses is deemed to fail to meet the requirements. Subsequently, the testing equipment generates a test report corresponding to the central optical distortion test based on the comparison results of the position deviations. This test report may include the aforementioned comparison results.

[0057] It should be understood that the aforementioned deviation threshold can be determined based on ergonomic research. Distortion below this threshold is imperceptible to most users or will not cause significant discomfort; distortion reaching this threshold will cause noticeable discomfort to users. In optics, central distortion, i.e., radial distortion (pincushion or barrel), is most directly manifested as a displacement of the imaging point along its radial direction (from the center towards that point). Therefore, this displacement can be quantified by the aforementioned positional deviation. The larger the positional deviation, the more severe the radial offset caused by distortion at the corresponding test point.

[0058] In one feasible implementation, the center distortion rate of each test point can be calculated using the following preset distortion rate formula:

[0059] In the formula, For distortion rate, The measured distance from the test point to the preset point. This is the theoretical distance from the test point to the preset point.

[0060] Accordingly, step S42 includes steps S421 to S423: Step S421: Determine the center distance between the measured position information coordinates of each test point and the preset center coordinates.

[0061] In practice, the testing equipment can calculate the difference between the coordinates corresponding to the measured position information of each test point and the preset center coordinates, and use the absolute value of the difference as the center distance between each test point and the preset center coordinates.

[0062] Step S422: Calculate the center distortion rate of each test point based on the center distance and the preset reference center distance.

[0063] It should be noted that the preset reference center distance can be the theoretical distance between each test point and the preset center coordinates on the theoretical display plane when it is not affected by distortion.

[0064] In practical implementation, for any test point, the testing equipment can call a preset distortion rate formula, using preset center coordinates as the preset point in the formula, the center distance between the test point and the preset center coordinates as the measured distance from each test point to the preset point in the formula, and the preset reference center distance as the theoretical distance from the test point to the preset point in the formula. Substituting these values ​​into the preset distortion rate formula, the difference between the center distance and the preset reference center distance is calculated. This difference is then divided by the preset reference center distance to obtain the center distortion rate of the test point. Repeating this process for each test point yields its corresponding center distortion rate.

[0065] It should be understood that the difference between the center distance and the theoretical distance can be signed (positive or negative), that is, the center distortion rate can be signed (positive or negative). When the center distortion rate is positive, it means that the test point has moved outward relative to the preset center coordinates, corresponding to pincushion distortion; when the center distortion rate is negative, it means that the test point has moved inward relative to the preset center coordinates, corresponding to barrel distortion.

[0066] Step S423: Test the central optical distortion of the smart glasses according to the central distortion rate corresponding to each test point, and generate a test report corresponding to the central optical distortion.

[0067] In practical implementation, a preset distortion rate can be determined based on ergonomic research. Distortion below this preset rate will be imperceptible to most users or cause no significant discomfort; distortion at the preset rate will cause noticeable discomfort. The testing equipment compares the absolute value of the center distortion rate at each test point with the preset distortion rate. If the absolute value of the center distortion rate does not reach the preset rate, the smart glasses are deemed to have met the requirements for center optical distortion; if the absolute value of the center distortion rate reaches the preset rate, the smart glasses are deemed to have failed to meet the requirements for center optical distortion. Subsequently, the testing equipment can generate a test report for center optical distortion based on the comparison results of the center distortion rates. This test report may include the aforementioned comparison results.

[0068] In one feasible implementation, to improve the efficiency of distortion testing, step S423 includes steps S4231 to S4233: Step S4231: Determine the target center test point with the largest absolute value of center distortion rate among all the test points.

[0069] In practice, the testing equipment can take the absolute value of the center distortion rate of each test point and determine the target center test point with the largest absolute value of the center distortion rate among all test points.

[0070] Step S4232: Determine whether the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate.

[0071] Step S4233: When the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate, a test report is generated indicating that the center optical distortion of the smart glasses exceeds the preset range.

[0072] In practice, the testing equipment compares the absolute value of the center distortion rate corresponding to the target center test point with a preset distortion rate to determine whether the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate. If the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate, the central optical distortion of the smart glasses is determined to be unsatisfactory, and a test report indicating that the central optical distortion of the smart glasses exceeds a preset range is generated. This preset range is defined as the absolute value of the central optical distortion of the test image reaching the preset distortion rate.

[0073] Accordingly, when the absolute value of the center distortion rate corresponding to the target center test point does not reach the preset distortion rate, the center optical distortion of the smart glasses is determined to meet the requirements, and a test report characterizing that the center optical distortion of the smart glasses does not exceed the preset range can be generated.

[0074] It should be understood that by determining the target center test point with the largest absolute value of the center distortion rate among all test points, and when the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate, a test report is generated indicating that the center optical distortion of the smart glasses exceeds the preset range. Compared with comparing the absolute value of the center distortion rate of each test point with the preset distortion rate, this implementation combines multiple sequential comparisons into one extreme value comparison, which significantly reduces the number of logical operations and time consumption in the judgment process, and effectively improves the testing efficiency of center distortion.

[0075] Step S43: Determine the edge test points located in the preset edge region among the test points.

[0076] It should be noted that the preset edge region can be a specific area near the image boundary that is pre-defined based on the theoretical display plane (or theoretical image range). For example, the top, bottom, left, and right edges of the image, or the four corner areas: top left, top right, bottom left, and bottom right. The preset edge region is used to individually evaluate and quantify the optical distortion of smart glasses at the image edges.

[0077] by Figure 2 To clarify, the upper edge region can be defined as a strip containing the top row of test points (such as p1, p2); the lower edge region can be defined as a strip containing the bottom row of test points (such as p3, p4); the left edge region is defined as a strip containing the leftmost column of test points (such as p8); and the right edge region is defined as a strip containing the leftmost column of test points (such as p6).

[0078] In practice, the testing equipment can match the measured location information of each test point with each preset edge region, and select the edge test point located in the matched preset edge region from the test points.

[0079] Step S44: Test the edge optical distortion of the smart glasses based on the measured position information of each edge test point, and generate a test report corresponding to the edge optical distortion.

[0080] In practice, the testing equipment calculates the offset distance between each edge test point and a reference datum (such as the boundary line of the preset edge region) of its location. This offset distance is then compared to a pre-set theoretical offset distance. If the deviation between the offset distance and the preset theoretical offset distance does not reach a deviation threshold, the edge optical distortion of the smart glasses is deemed to meet the requirements. If the deviation reaches the deviation threshold, the edge center optical distortion of the smart glasses is deemed to fail to meet the requirements. Subsequently, the testing equipment generates a test report corresponding to the edge optical distortion test based on the comparison results of the edge position deviations. This test report may include the aforementioned comparison results.

[0081] The aforementioned preset theoretical offset distance can be the expected distance from a test point located in a preset edge region to its corresponding theoretical reference benchmark (such as the theoretical boundary line, theoretical grid line, or theoretical axis of symmetry of the region) under ideal distortion-free conditions.

[0082] It should be understood that in optics, edge distortion (often related to tangential distortion, etc.) directly manifests as a non-radial offset of the imaging point relative to the ideal grid lines within a local region; for example, the edge line may be concave inward or convex outward. Therefore, by calculating the edge position deviation of an edge test point, the degree of edge distortion at that point can be accurately quantified. The larger the edge position deviation, the more severe the local geometric distortion of the image in that edge region due to distortion.

[0083] Based on the first and second embodiments of this application, a third embodiment of this application is proposed. In this third embodiment, content that is the same as or similar to the first and second embodiments described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the optical distortion testing method of this application.

[0084] In this embodiment, step S44 includes steps S441 to S443: Step S441: Determine the offset distance in different directions based on the measured position information of each edge test point.

[0085] In practical implementation, a reference test point corresponding to a preset edge region can be selected in advance among the edge test points. For any preset edge region, the test device can calculate the coordinate difference between the edge test point and the reference test point in the same direction to obtain the offset distance in that direction.

[0086] For example, refer to Figure 2 To illustrate, Figure 2 It can be located in an xy coordinate system. The test image can be divided into a horizontal direction (x direction) and a vertical direction (y direction). The preset edge regions in the horizontal direction can include a left edge region (selecting the left reference test point as p1 or p4) and a right edge region (selecting the right reference test point as p2 or p3). The preset edge regions in the vertical direction can include an upper edge region (selecting the upper reference test point as p5) and a lower edge region (selecting the lower reference test point as p7).

[0087] For the upper edge test points (p1 and p2) in the upper edge region, the testing equipment can calculate the y-coordinate of p1 or p2 and subtract the y-coordinate of p5 to obtain d5. Taking the absolute value of d5 gives the offset distance of the upper edge region (representing the upward offset). A positive d5 value indicates that the measured position of the upper edge test point is higher than the upper reference test point, meaning the upper edge bulges outward (upward), exhibiting a pincushion distortion trend. A negative d5 value indicates that the measured position of the upper edge test point is lower than the upper reference test point, meaning the upper edge contracts inward (downward), exhibiting a barrel distortion trend.

[0088] For the lower edge test points (p3 and p4) in the lower edge region, the testing equipment can calculate the y-coordinate of p7 and subtract the y-coordinate of p3 or p4 to obtain d7. Taking the absolute value of d7 gives the offset distance of the lower edge region (characterizing the downward offset). A positive d7 indicates that the measured position of the lower reference test point is higher than the lower edge test point, meaning the lower edge contracts inward (upward), exhibiting a barrel distortion trend. A negative d7 indicates that the measured position of the lower reference test point is lower than the lower edge test point, meaning the lower edge bulges outward (downward), exhibiting a pincushion distortion trend.

[0089] For the left edge test point (p8) in the left edge region, the testing equipment can calculate the x-coordinate of p8 and subtract the x-coordinate of p1 or p4 to obtain d8. Taking the absolute value of d8 gives the offset distance of the left edge region (characterizing the leftward offset). A positive d8 indicates that the measured position of the left edge test point is to the right of the left reference test point, meaning the left edge bulges outward (to the right), exhibiting a pincushion distortion trend. A negative d8 indicates that the measured position of the left edge test point is to the left of the left reference test point, meaning the left edge contracts inward (to the left), exhibiting a barrel distortion trend.

[0090] For the right edge test point (p6) in the right edge region, the testing equipment can calculate the x-coordinate of p2 or p3 and subtract the x-coordinate of p6 to obtain d6. Taking the absolute value of d6 gives the offset distance of the right edge region (characterizing the rightward offset). A positive value of d6 indicates that the right reference test point is located to the right of the right edge test point, meaning the right edge test point contracts inward (to the left), exhibiting a barrel distortion trend. A negative value of d6 indicates that the right reference test point is located to the left of the right edge test point, meaning the right edge test point bulges outward (to the right), exhibiting a pincushion distortion trend.

[0091] Step S442: Calculate the edge distortion rate in the corresponding direction based on the offset distance and the preset theoretical offset distance in the corresponding direction.

[0092] It should be noted that the preset theoretical offset distance can be the theoretical offset distance between each edge test point and the corresponding reference test point on the theoretical display plane when it is not affected by distortion.

[0093] In practical implementation, for any edge test point, the testing device can call the aforementioned preset distortion rate formula, using the offset distance corresponding to the edge test point as the measured distance in the preset distortion rate formula, and the preset theoretical offset distance in the corresponding direction as the theoretical distance in the preset distortion rate formula. Substituting these values ​​into the preset distortion rate formula, the difference between the offset distance and the preset theoretical offset distance in the corresponding direction is calculated. Then, the difference is divided by the preset theoretical offset distance to obtain the edge distortion rate of the edge test point. Repeating the above process for each edge test point yields its respective edge distortion rate.

[0094] Step S443: Test the edge optical distortion of the smart glasses according to the edge distortion rate in each direction, and generate a test report corresponding to the edge optical distortion.

[0095] In practice, the testing equipment compares the absolute values ​​of edge distortion rates in each direction with the aforementioned preset distortion rates. If the absolute value of the edge distortion rate does not reach the preset distortion rate, the edge optical distortion of the smart glasses is deemed to meet the requirements; if the absolute value of the edge distortion rate reaches the preset distortion rate, the edge optical distortion of the smart glasses is deemed to fail to meet the requirements. Subsequently, the testing equipment generates a test report on edge optical distortion based on the comparison results of the center distortion rate. This test report may include the aforementioned comparison results.

[0096] In one feasible implementation, to improve the efficiency of distortion testing, step S443 includes steps S4431 to S4433: Step S4431: Determine the target edge test point with the largest absolute value of edge distortion rate among all the edge test points.

[0097] In practice, the testing equipment can take the absolute value of the edge distortion rate of each edge test point and determine the target edge test point with the largest absolute value of the edge distortion rate among all edge test points.

[0098] Step S4432: Determine whether the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate.

[0099] Step S4433: When the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate, a test report is generated indicating that the edge optical distortion of the smart glasses exceeds the preset range.

[0100] In practice, the testing equipment compares the absolute value of the edge distortion rate corresponding to the target edge test point with a preset distortion rate to determine whether the absolute value of the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate. When the absolute value of the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate, the edge optical distortion of the smart glasses is determined to be unsatisfactory, and a test report indicating that the edge optical distortion of the smart glasses exceeds the preset range can be generated. This preset range is the absolute value of the edge optical distortion of the test image reaching the preset distortion rate.

[0101] Accordingly, when the absolute value of the edge distortion rate corresponding to the target edge test point does not reach the preset distortion rate, the edge optical distortion of the smart glasses is determined to meet the requirements, and a test report characterizing that the edge optical distortion of the smart glasses does not exceed the preset range can be generated.

[0102] It should be understood that by determining the target edge test point with the largest absolute value of edge distortion rate among each edge test point, and when the absolute value of edge distortion rate corresponding to the target edge test point reaches the preset distortion rate, a test report is generated indicating that the edge optical distortion of the smart glasses exceeds the preset range. Compared with comparing the absolute value of edge distortion rate of each edge test point with the preset distortion rate, this implementation combines multiple sequential comparisons into one extreme value comparison, which significantly reduces the number of logical operations and time consumption in the judgment process, and effectively improves the testing efficiency of edge distortion.

[0103] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the optical distortion testing method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.

[0104] This application also provides an optical distortion testing device; please refer to [reference needed]. Figure 5 , Figure 5 This is a schematic diagram of the module structure for optical distortion testing according to this application. The optical distortion testing device includes: The instruction sending module 10 is used to send test instructions to the smart glasses so that the smart glasses display a test image containing a number of test points, each of which is located at a different position in the test image.

[0105] The image acquisition module 20 is used to sequentially capture images of each of the test points displayed on the smart glasses using an image acquisition device to obtain corresponding local images, wherein each test point is located in the central region of the corresponding local image.

[0106] The coordinate transformation module 30 is used to transform the position information of the test points in each of the local images to the global coordinate system to obtain the measured position information of each of the test points.

[0107] The distortion testing module 40 is used to perform optical distortion testing on the smart glasses based on the measured position information of each test point and generate a test report.

[0108] The optical distortion testing device provided in this application, employing the optical distortion testing method described in the above embodiments, can solve the technical problem that existing technologies often capture test images that combine distortion from both smart glasses and camera lenses, leading to errors in the comparison results between the test images captured by the image acquisition device and the standard images, making it difficult to accurately assess the true distortion level of smart glasses. Compared with the prior art, the beneficial effects of the optical distortion testing device provided in this application are the same as those of the optical distortion testing method provided in the above embodiments, and other technical features in the optical distortion testing device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0109] This application provides an optical distortion testing device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the optical distortion testing method in the above embodiment 1.

[0110] The following is for reference. Figure 6 , Figure 6 This is a schematic diagram of the optical distortion testing equipment of this application. The optical distortion testing equipment in the embodiments of this application may include, but is not limited to, industrial control computers, embedded control systems, or dedicated test hosts. Figure 6 The optical distortion testing equipment shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0111] like Figure 6As shown, the optical distortion testing equipment may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the optical distortion testing equipment. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touchscreen, touchpad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1003 including, for example, magnetic tape, hard disk, etc.; and communication devices 1009. Communication device 1009 allows the optical distortion testing equipment to communicate wirelessly or wiredly with other devices to exchange data. Although the figure shows optical distortion testing equipment with various systems, it should be understood that implementation or possession of all the systems shown is not required. More or fewer systems may be implemented alternatively.

[0112] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0113] The optical distortion testing equipment provided in this application, employing the optical distortion testing method described in the above embodiments, solves the technical problem that existing technologies often capture test images that combine distortion from both smart glasses and camera lenses, leading to errors in the comparison results between the test images captured by the image acquisition device and the standard images, making it difficult to accurately assess the true distortion level of smart glasses. Compared with the prior art, the beneficial effects of the optical distortion testing equipment provided in this application are the same as those of the optical distortion testing method provided in the above embodiments, and other technical features of this optical distortion testing equipment are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0114] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0115] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0116] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the optical distortion testing method in the above embodiments.

[0117] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0118] The aforementioned computer-readable storage medium may be included in the optical distortion testing equipment; or it may exist independently and not assembled into the optical distortion testing equipment.

[0119] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the optical distortion testing equipment, the optical distortion testing equipment causes the following actions: It sends test instructions to the smart glasses, causing the smart glasses to display a test image containing several test points, each test point located at a different position on the test image; it sequentially captures images of each test point displayed on the smart glasses using an image acquisition device, obtaining corresponding local images, each test point located in the central region of its corresponding local image; it converts the position information of the test points in each local image to a global coordinate system, obtaining the measured position information of each test point; and it performs optical distortion testing on the smart glasses based on the measured position information of each test point, generating a test report.

[0120] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0121] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0122] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0123] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described optical distortion testing method. This addresses the technical problem that existing technologies often capture test images that combine distortion from both smart glasses and camera lenses, leading to errors in the comparison between the test images captured by the image acquisition device and standard images, making it difficult to accurately assess the true distortion level of smart glasses. Compared to existing technologies, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the optical distortion testing method provided in the above embodiments, and will not be elaborated upon here.

[0124] This application also provides an optical distortion testing system, which includes: smart glasses, an image acquisition device, and the optical distortion testing device described above.

[0125] The optical distortion testing system provided in this application employs the smart glasses, image acquisition device, and optical distortion testing equipment mentioned above in the optical distortion testing method described in the above embodiments. This system solves the technical problem that existing technologies often capture test images that combine distortion from both the smart glasses and the camera lens, leading to errors in the comparison results between the test images captured by the image acquisition device and the standard images, making it difficult to accurately assess the true distortion level of the smart glasses. Compared with the prior art, the beneficial effects of the optical distortion testing system provided in this application are the same as those of the optical distortion testing method provided in the above embodiments, and will not be repeated here.

[0126] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. A method for testing optical distortion, characterized in that, The method is applied to an optical distortion testing device in an optical distortion testing system, the optical distortion testing system further including smart glasses and an image acquisition device, and the method includes: A test command is sent to the smart glasses to cause the smart glasses to display a test image containing several test points, each of which is located at a different position in the test image; The image acquisition device sequentially captures images of each test point displayed on the smart glasses to obtain corresponding local images, with each test point located in the central region of the corresponding local image; The position information of the test points in each local image is transformed into the global coordinate system to obtain the measured position information of each test point; The smart glasses are subjected to optical distortion testing based on the measured location information of each test point, and a test report is generated.

2. The optical distortion testing method as described in claim 1, characterized in that, The step of performing optical distortion testing on the smart glasses based on the measured position information of each test point and generating a test report includes: Get the preset center coordinates of the global coordinate system; The central optical distortion of the smart glasses is tested based on the measured position information of each test point and the preset center coordinates, and a test report corresponding to the central optical distortion is generated. Identify the edge test points located in the preset edge region among all the test points; The edge optical distortion of the smart glasses is tested based on the measured position information of each edge test point, and a test report corresponding to the edge optical distortion is generated.

3. The optical distortion testing method as described in claim 2, characterized in that, The step of testing the central optical distortion of the smart glasses based on the measured position information of each test point and the preset center coordinates, and generating a test report corresponding to the central optical distortion, includes: Determine the center distance between the measured position information coordinates of each test point and the preset center coordinates; The center distortion rate of each test point is calculated based on the center distance and the preset benchmark center distance. The central optical distortion of the smart glasses is tested based on the central distortion rate corresponding to each test point, and a test report corresponding to the central optical distortion is generated.

4. The optical distortion testing method as described in claim 3, characterized in that, The step of testing the central optical distortion of the smart glasses based on the central distortion rate corresponding to each test point and generating a test report corresponding to the central optical distortion includes: Among all the test points, determine the target center test point with the largest absolute value of center distortion rate; Determine whether the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate; When the absolute value of the center distortion rate corresponding to the target center test point reaches the preset distortion rate, a test report is generated indicating that the center optical distortion of the smart glasses exceeds the preset range.

5. The optical distortion testing method as described in claim 2, characterized in that, The step of testing the edge optical distortion of the smart glasses based on the measured position information of each edge test point and generating a test report corresponding to the edge optical distortion includes: The offset distance in different directions is determined based on the measured position information of each edge test point; The edge distortion rate in the corresponding direction is calculated based on the offset distance and the preset theoretical offset distance in the corresponding direction; The edge optical distortion of the smart glasses is tested based on the edge distortion rate in each direction, and a test report corresponding to the edge optical distortion is generated.

6. The optical distortion testing method as described in claim 5, characterized in that, The step of testing the edge optical distortion of the smart glasses based on the edge distortion rate in each direction and generating a test report corresponding to the edge optical distortion includes: Among all the edge test points, determine the target edge test point with the largest absolute value of edge distortion rate; Determine whether the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate; When the edge distortion rate corresponding to the target edge test point reaches the preset distortion rate, a test report is generated indicating that the edge optical distortion of the smart glasses exceeds the preset range.

7. An optical distortion testing device, characterized in that, The device includes: The instruction sending module is used to send test instructions to the smart glasses so that the smart glasses display a test image containing a number of test points, each of which is located at a different position in the test image. The image acquisition module is used to sequentially capture images of each of the test points displayed on the smart glasses using an image acquisition device to obtain corresponding local images, wherein each test point is located in the central region of the corresponding local image; The coordinate transformation module is used to transform the position information of the test points in each of the local images to the global coordinate system to obtain the measured position information of each of the test points; The distortion testing module is used to perform optical distortion testing on the smart glasses based on the measured position information of each test point and generate a test report.

8. An optical distortion testing device, characterized in that, The optical distortion testing device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the optical distortion testing method as described in any one of claims 1 to 6.

9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the optical distortion testing method as described in any one of claims 1 to 6.

10. An optical distortion testing system, characterized in that, The optical distortion testing system includes: smart glasses, an image acquisition device, and the optical distortion testing device as described in claim 8.