A calibration method, system, device and medium for AR glasses

Through the collaborative operation of robots and sensors, calibration files are generated and sent to AR glasses, which solves the calibration problem in the production of AR glasses, realizes an efficient and automatic calibration process, and avoids ghosting.

CN115396653BActive Publication Date: 2024-08-23GEER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211019959.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-24
Publication Date
2024-08-23
Estimated Expiration
2042-08-24

AI Technical Summary

Technical Problem

During the production process of AR glasses, due to differences in structural parts and sensors as well as assembly errors, calibration is required to avoid ghosting. It is difficult to achieve efficient calibration with existing technology.

Method used

The calibration system uses a robot, a target object and a personal computer. The robot wears AR glasses, and the target object is located in front of the glasses. The robot motion and sensor data are used to obtain the calibration file, generate the calibration file and send it to the AR glasses to achieve automatic calibration.

Benefits of technology

The calibration accuracy and efficiency of AR glasses are improved, allowing them to automatically identify target objects when restarting, solving the error problem during the calibration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115396653B
    Figure CN115396653B
Patent Text Reader

Abstract

The present application discloses a calibration method, system, device and medium for AR glasses, and relates to the field of AR technology. It includes obtaining an image of a target object captured by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated; wherein the first time period is the difference between the end time and the start time of the movement of the robot when it is in the first preset position; calibrating and obtaining a calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor; sending the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted. It can be seen that the method realizes the calibration of AR glasses. In addition, the present application also provides a calibration system, device and medium for AR glasses, which have the same or corresponding technical features as the calibration method of AR glasses mentioned above, and the effect is the same as above.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of AR technology, and in particular to a calibration method, system, device and medium for AR glasses. Background Art

[0002] At present, augmented reality (AR) smart glasses products generally have six degrees of freedom (6DOF) tracking function, which is achieved with the help of built-in tracking perception sensors such as cameras, accelerometers, and gyroscopes.

[0003] In actual production, for each AR glasses product, due to differences in the structural parts, cameras, sensors, etc., and certain errors in the assembly process, if the AR glasses are not calibrated, it may cause double images of objects seen through the AR glasses. Therefore, during the production process of AR glasses, they need to be calibrated.

[0004] It can be seen that in the process of AR glasses production, how to achieve calibration of AR glasses is a technical problem that people in this field urgently need to solve. Summary of the invention

[0005] The purpose of this application is to provide a calibration method, system, device and medium for AR glasses, which are used to calibrate AR glasses.

[0006] In order to solve the above technical problems, the present application provides a calibration method for AR glasses, comprising:

[0007] Acquire an image of a target object captured by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by a sensor in the AR glasses to be calibrated; wherein the first time period is a difference between a movement end time and a movement start time when the robot is at a first preset position;

[0008] Calibrate according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor and obtain a calibration file;

[0009] The calibration file is sent to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

[0010] Preferably, the acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by a sensor in the AR glasses to be calibrated includes:

[0011] Controlling the movement of the robot at the first preset position and obtaining the movement start time of the robot; wherein the movement of the robot includes translation and / or rotation;

[0012] Starting from the moment when the robot starts to move, the AR glasses to be calibrated are controlled to start taking pictures of the target object and the sensor is controlled to start collecting data of the AR glasses to be calibrated; wherein the data of the AR glasses to be calibrated collected by the sensor includes at least acceleration and angular velocity;

[0013] Determining whether the robot has finished moving;

[0014] If yes, then obtain the moment when the robot movement ends; at the moment when the movement ends, control the AR glasses to be calibrated to stop taking pictures of the target object and control the sensor to stop collecting data of the AR glasses to be calibrated; obtain the image of the target object taken by the AR glasses to be calibrated and the data of the AR glasses to be calibrated collected by the sensor from the moment when the movement starts to the moment when the movement ends;

[0015] If not, return to the step of controlling the AR glasses to be calibrated to start taking pictures of the target object and controlling the sensor to start collecting data of the AR glasses to be calibrated.

[0016] Preferably, controlling the robot movement comprises:

[0017] Sending a first instruction for representing control of movement of the robot;

[0018] Controlling the movement of the robot according to the first instruction;

[0019] Correspondingly, controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor to collect data of the AR glasses to be calibrated includes:

[0020] Sending a second instruction for indicating controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor to collect data of the AR glasses to be calibrated;

[0021] According to the second instruction, the AR glasses to be calibrated are controlled to take a photo of the target object and the sensor is controlled to collect data of the AR glasses to be calibrated.

[0022] Preferably, before acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes:

[0023] Acquire a second time duration for the robot to move from a second preset position to the first preset position;

[0024] Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes:

[0025] Obtaining a third time duration for the robot to move from the first preset position to the second preset position;

[0026] A first actual duration required for calibration of the AR glasses to be calibrated is determined according to the first duration, the second duration, and the third duration.

[0027] Preferably, before acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes:

[0028] Acquire a second time duration for the robot to move from a second preset position to the first preset position;

[0029] Controlling the robot to remain stationary at the first preset position for a first preset time period;

[0030] Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes:

[0031] Controlling the robot to remain stationary at the first preset position for a second preset time period;

[0032] Obtaining a third time duration for the robot to move from the first preset position to the second preset position;

[0033] Determine a second actual duration required for calibration of the AR glasses to be calibrated according to the first duration, the second duration, the third duration, the first preset duration, and the second preset duration.

[0034] In order to solve the above technical problems, the present application provides an AR glasses calibration system, including: a robot, a target object, and a PC;

[0035] The robot wears AR glasses to be calibrated;

[0036] The target object is located in front of the AR glasses to be calibrated;

[0037] The PC is connected to the AR glasses to be calibrated and the robot respectively; and is used to obtain the image of the target object taken by the AR glasses to be calibrated within a first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated; wherein the first time period is the difference between the end time and the start time of the movement of the robot when it is at a first preset position; calibrate according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor and obtain a calibration file; and send the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

[0038] Preferably, the calibration system further comprises: a light source;

[0039] The robot is connected to the light source and is used to control the switch of the light source;

[0040] The light source is located around the target object and is used to control the brightness of the target object.

[0041] In order to solve the above technical problems, the present application provides a calibration device for AR glasses, comprising:

[0042] A first acquisition module is used to acquire an image of a target object captured by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by a sensor in the AR glasses to be calibrated; wherein the first time period is a difference between a movement end time and a movement start time of the robot at a first preset position;

[0043] A calibration and acquisition module, used to calibrate and acquire a calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor;

[0044] The sending module is used to send the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

[0045] In order to solve the above technical problems, the present application provides a calibration device for AR glasses, comprising:

[0046] Memory for storing computer programs;

[0047] A processor is used to implement the steps of the above-mentioned AR glasses calibration method when executing the computer program.

[0048] In order to solve the above technical problems, the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned AR glasses calibration method are implemented.

[0049] The calibration method of AR glasses provided in the present application includes: obtaining an image of the target object taken by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by the sensors in the AR glasses to be calibrated; wherein the first time period is the difference between the end time and the start time of the movement of the robot when it is in the first preset position; calibrating and obtaining a calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensors; sending the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted. It can be seen that in the present application, during the entire process of the robot's movement, the AR glasses take pictures of the target object and the sensors in the AR glasses collect data, and obtain a file for calibrating the AR glasses according to the data of the target object and the sensors, and then set the calibration file in the AR glasses so that the AR glasses can be automatically calibrated when restarted.

[0050] In addition, the present application also provides an AR glasses calibration system, device and computer-readable storage medium, which have the same or corresponding technical features as the above-mentioned AR glasses calibration method and have the same effects as above. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0052] Figure 1 A flowchart of a calibration method for AR glasses provided in an embodiment of the present application;

[0053] Figure 2 A schematic diagram of a calibration system for AR glasses provided in an embodiment of the present application;

[0054] Figure 3 A structural diagram of a calibration device for AR glasses provided in one embodiment of the present application;

[0055] Figure 4 A structural diagram of a calibration device for AR glasses provided in another embodiment of the present application. DETAILED DESCRIPTION

[0056] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0057] The core of this application is to provide a calibration method, system, device and medium for AR glasses, which are used to calibrate AR glasses.

[0058] AR glasses use built-in cameras, accelerometers, gyroscopes and other tracking sensors to achieve 6DOF tracking. In actual production, each AR glasses product must be calibrated because of the differences in the structural parts, cameras, sensors, etc. used, and certain errors in the assembly process. In order to achieve 6DOF tracking, each glasses product needs to be calibrated 6DOF so that AR glasses can identify the target object more accurately.

[0059] In this application, the calibration of AR glasses is achieved through a calibration system including a robot, a target object, and a personal computer (PC). It should be noted that since the 6-axis robot can perform translation and rotation movements, it can completely simulate the movements of people wearing AR glasses. Therefore, in order to be able to calibrate the AR glasses more accurately, the robot used in this application is a 6-axis robot. Specifically, the robot wears AR glasses to drive the movement of the AR glasses; the target object is located in front of the AR glasses, and the AR glasses take a picture of it. The PC is connected to the robot and the AR glasses respectively to control the robot and the AR glasses. Finally, a 6DOF calibration is calculated based on the image of the target object taken by the AR glasses and the data collected by the sensors of the AR glasses to obtain a calibration file, and the calibration file is sent to the AR glasses. After the AR glasses are restarted, they can be automatically calibrated according to the calibration file.

[0060] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Figure 1 A flowchart of a calibration method for AR glasses provided in an embodiment of the present application, such as Figure 1 As shown, the method includes:

[0061] S10: Acquire images of the target object captured by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by sensors in the AR glasses to be calibrated.

[0062] Among them, the first duration is the difference between the end time and the start time of the movement of the robot when it is at the first preset position. The movement of the robot includes translation and / or rotation, and the data of the AR glasses to be calibrated collected by the sensor includes at least acceleration and angular velocity.

[0063] The robot wearing AR glasses specifically refers to fixing a tooling at the end of the robot and placing AR glasses on the tooling. In practice, for the safety of the test, the robot needs to be placed in a separate space, such as building a fence to place the robot in.

[0064] Since AR glasses need to take pictures of the target object, the target object needs to be within the visible range of the AR glasses. There is no limitation on the specific target object, the location and size of the target object. In practice, the target object can be a picture card, which can be called a calibration picture card. The calibration picture card is placed at a certain distance in front of the AR glasses. A geometric pattern can be set on the calibration picture card to facilitate capturing the target point according to the geometric pattern. In order to let the camera of the AR glasses know the target object to be photographed in advance, a configuration file of the target object can be established according to the length, width, height, etc. of the target object, and the configuration file can be sent to the AR glasses. When the AR glasses are taking pictures of the target object, the brightness of the picture may be insufficient, resulting in an unclear picture. Therefore, the target object can be illuminated by a light source.

[0065] During the calibration of AR glasses, AR glasses are responsible for taking pictures of target objects and sensors in AR glasses collecting data of AR glasses. The robot is in motion, which in turn drives AR glasses to move. In order to measure the data of AR glasses, sensors are set in AR glasses, including acceleration sensors and angular velocity sensors. At present, inertial measurement units (IMUs) are usually used, also known as IMU sensors, which are a combination of accelerometers and gyroscope sensors. The camera of the AR glasses takes pictures of the target object, the sensor in the AR glasses collects data of the AR glasses, and the movement of the robot is relatively independent. In practice, if the AR glasses take pictures of the target object and the sensor collects data of the AR glasses, it may happen that the robot is moving, but the camera does not take pictures of the target object and the sensor does not collect data of the AR glasses, resulting in the inability to obtain the image of the target object taken by the camera of the robot at all points and the data of the AR glasses collected by the sensor, and thus the AR glasses cannot be calibrated. Therefore, it is necessary to connect the robot and the AR glasses through the PC so that the AR glasses take pictures of the target object, the sensor collects data of the AR glasses and the robot movement are coordinated, that is, the AR glasses take pictures of the target object and the sensor collects data of the AR glasses to cover the entire movement of the robot, and the duration of the AR glasses taking pictures of the target object and the duration of the sensor collecting data of the AR glasses are greater than or equal to the duration of the movement of the target object. In this embodiment, the difference between the end time of the robot movement and the start time of the movement is called the first duration. In practice, in order to prevent the situation where the robot has not started moving but the AR glasses have been taking pictures of the target object for a long time and the sensors have been continuously collecting data from the AR glasses, or the robot has stopped moving for a long time but the AR glasses are still taking pictures of the target object and the sensors are still collecting data from the AR glasses, resulting in the generation of multiple invalid images or data, therefore, in this embodiment, when the duration for the AR glasses to take pictures of the target object and the duration for the sensors to collect data from the AR glasses are selected to be longer than the movement duration of the target object, the start time for the AR glasses to take pictures of the target object or the start time for the sensors to collect data from the AR glasses cannot be much earlier than the start time of the robot movement, and the end time for the AR glasses to take pictures of the target object or the end time for the sensors to collect data from the AR glasses cannot be much later than the end time of the robot movement. For example, the AR glasses can start taking pictures of the target object or the sensors start collecting data from the AR glasses 1 second before the start time of the movement, and the AR glasses can stop taking pictures of the target object or the sensors stop collecting data from the AR glasses 1 second after the end time of the movement.

[0066] When testing a large number of AR glasses, people need to place the AR glasses to be calibrated on the robot in a safe position, and the position where the robot performs actions (including a series of movements such as translation, rotation, and pitch) may be another position. Therefore, in this embodiment, the position where the robot performs actions is referred to as the first preset position, which may also be referred to as the photo taking position. There is no limitation on the first preset position, which is determined according to actual conditions, such as the position where the robot performs actions can be determined according to the position of the target object. The image of the target object captured by the AR glasses to be calibrated within the first time length and the data of the AR glasses to be calibrated collected by the sensors in the AR glasses to be calibrated are obtained, so that the AR glasses can be calibrated according to the image of the target object captured by the AR glasses to be calibrated within the first time length and the data of the AR glasses collected by the sensors.

[0067] S11: Calibrate according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor and obtain a calibration file.

[0068] A 6DOF calibration calculation is performed based on the image of the target object and the data of the AR glasses to be calibrated collected by the sensor, and finally a calibration file for calibrating the AR glasses is obtained.

[0069] S12: Send the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

[0070] The calibration file is obtained in the above steps. The PC needs to send the calibration file to the AR glasses. After the AR glasses are restarted, they can automatically calibrate according to the calibration file so that objects can be clearly identified through the AR glasses.

[0071] The calibration method of AR glasses provided in this embodiment includes: obtaining an image of the target object taken by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by the sensors in the AR glasses to be calibrated; wherein the first time period is the difference between the end time and the start time of the movement of the robot when it is in the first preset position; calibrating and obtaining a calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensors; sending the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted. It can be seen that in this application, during the entire process of the robot's movement, the AR glasses take pictures of the target object and the sensors in the AR glasses collect data, and obtain a file for calibrating the AR glasses according to the data of the target object and the sensors, and then set the calibration file in the AR glasses so that the AR glasses can be automatically calibrated when restarted.

[0072] In implementation, in order to obtain the image of the target object captured by the AR glasses and the data of the AR glasses collected by the sensor during the entire process of the robot movement, a preferred implementation manner is that obtaining the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated includes:

[0073] Controlling the movement of the robot at a first preset position and obtaining the start time of the movement of the robot; wherein the movement of the robot includes translation and / or rotation;

[0074] From the moment when the robot starts to move, the AR glasses to be calibrated are controlled to start taking pictures of the target object and the sensors in the AR glasses to be calibrated are controlled to start collecting data of the AR glasses to be calibrated; wherein the data of the AR glasses to be calibrated collected by the sensors include at least acceleration and angular velocity;

[0075] Determine whether the robot has finished moving;

[0076] If yes, then obtain the moment when the robot movement ends; at the moment when the movement ends, control the AR glasses to be calibrated to stop taking pictures of the target object and control the sensors in the AR glasses to be calibrated to stop collecting data of the AR glasses to be calibrated; obtain the images of the target object taken by the AR glasses to be calibrated and the data of the AR glasses to be calibrated collected by the sensors from the start of the movement to the end of the movement;

[0077] If not, the process returns to the step of controlling the AR glasses to be calibrated to start taking pictures of the target object and controlling the sensors in the AR glasses to be calibrated to start collecting data of the AR glasses to be calibrated.

[0078] From the moment the robot starts to move, the AR glasses are controlled to collect images of the target object and the sensors are controlled to collect data from the AR glasses. Then, it is judged whether the robot has finished moving. There is no limitation on the frequency of judgment, such as whether the robot has finished moving in real time or at a certain time interval. In order to accurately obtain the moment when the robot ends its movement, the movement of the robot can be judged in real time. When it is judged that the robot ends its movement, the moment when the robot ends its movement is obtained, and the AR glasses are controlled to stop collecting images of the target object and the sensors to collect data from the AR glasses. It should be noted that, in practice, the moment when the AR glasses stop collecting images of the target object and the sensors stop collecting data from the AR glasses can be extended to a shorter period of time after the moment when the robot ends its movement, such as 1S after the moment when the robot ends its movement.

[0079] In this embodiment, by judging the movement state of the robot, it is possible to timely control the AR glasses to take pictures of the target object and the sensor to collect data of the AR glasses, thereby avoiding the situation where the robot has finished moving while the AR glasses have been collecting the same image, thereby improving the calibration efficiency of the AR glasses; in addition, the robot can perform translation and / or rotation movements, which are usually movements made by people when wearing AR glasses, and therefore can improve the accuracy of AR glasses calibration; and the data of the AR glasses to be calibrated collected by the sensor includes at least acceleration and angular velocity, so that a more accurate calibration file can be obtained based on the data collected by the sensor, thereby achieving more accurate calibration of the AR glasses.

[0080] In implementation, controlling the movement of the robot and controlling the AR to collect target images and the sensor to collect data of the AR glasses may be performed by a person operating buttons on the robot and buttons on the AR glasses, resulting in reduced calibration efficiency of the AR glasses. Even if the robot is moving and a person turns off the off button on the robot, it may have a certain impact on the safety of the person. Therefore, a preferred implementation is that controlling the movement of the robot includes:

[0081] Sending a first instruction for representing the control of the robot movement;

[0082] Control the robot to move according to the first instruction;

[0083] Correspondingly, controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor in the AR glasses to be calibrated to collect data of the AR glasses to be calibrated includes:

[0084] Sending a second instruction for indicating controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor in the AR glasses to be calibrated to collect data of the AR glasses to be calibrated;

[0085] According to the second instruction, the AR glasses to be calibrated are controlled to take photos of the target object and the sensors in the AR glasses to be calibrated are controlled to collect data of the AR glasses to be calibrated.

[0086] Since the PC is connected to the robot and the AR glasses respectively, the robot and the AR glasses can be connected through the PC. The PC first sends a first instruction to control the movement of the robot. For example, the first instruction can be to let the robot do translation and rotation. Then, the robot starts to move according to the first instruction. Similarly, controlling the AR glasses to take pictures of the target object and the sensor to collect data of the AR glasses is also achieved by sending instructions from the PC. Here, in order to distinguish the instructions sent by the PC to the robot and the instructions sent to the AR glasses, the instructions sent by the PC to the robot are called the first instructions, and the instructions sent to the AR glasses are called the second instructions. It should be noted that the second instruction needs to be sent at the start time of the robot movement. In practice, if the start time of the robot movement is known in advance, the second instruction can also be sent at a time before the start time of the robot movement, such as 1S before the start time of the movement.

[0087] The present embodiment provides a method of sending instructions through a PC to control the robot and the AR glasses, so that the duration of the robot's movement can be synchronized as much as possible with the duration of the AR glasses' photo taking and the duration of the sensor collecting data. Compared with the case of manually operating buttons, the method of the present embodiment can improve the safety of the calibration process and improve the calibration efficiency of the AR glasses.

[0088] When testing a large number of AR glasses, a person needs to place the AR glasses to be calibrated on the robot in a safe position, and the position where the robot performs actions (including translation and rotation) may be another position. Therefore, in order to accurately obtain the calibration time of all AR glasses, a preferred implementation is that before obtaining the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the calibration method of the AR glasses further includes:

[0089] Obtain a second time duration for the robot to move from the second preset position to the first preset position;

[0090] Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the calibration method of the AR glasses further includes:

[0091] Obtaining a third time duration for the robot to move from the first preset position to the second preset position;

[0092] A first actual duration required for calibration of the AR glasses to be calibrated is determined according to the first duration, the second duration, and the third duration.

[0093] In the above text, the position where the robot performs the action is called the first preset position. Here, the position where the person places the AR glasses on the robot is called the second preset position. This position is generally considered to be a safe position and can also be called the receiving position. During the entire calibration process, the robot first receives an AR pair of glasses to be calibrated from the receiving position, then goes to the photo taking position, performs a series of actions at the photo taking position, and then moves from the photo taking position to the receiving position after completing the actions, and then starts to calibrate the next pair of AR glasses to be calibrated. The time it takes for the robot to move from the receiving position to the photo taking position is called the second time, the time it takes for the robot to move at the photo taking position is called the first time, and the time it takes for the robot to complete the movement from the photo taking position to the receiving position is called the third time. Based on the first time, the second time, and the third time, the time it takes to complete one pair of AR glasses to be calibrated can be calculated, and then the time it takes to complete the calibration of all glasses can be obtained based on the number of glasses to be calibrated.

[0094] The actual time required to calculate the AR glasses to be calibrated provided in this embodiment is convenient for estimating the total time required according to the number of glasses to be calibrated, thereby facilitating production.

[0095] In the above embodiment, the first actual time required to complete the calibration of the AR glasses to be calibrated is obtained. In order to make the calibration process more accurate and the obtained time to complete the AR glasses to be calibrated more accurate, a preferred implementation manner is that before obtaining the image of the target object captured by the AR glasses to be calibrated within the first time and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method for calibrating the AR glasses further includes:

[0096] Obtain a second time duration for the robot to move from the second preset position to the first preset position;

[0097] Control the robot to remain stationary at a first preset position for a first preset time period;

[0098] Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method for calibrating the AR glasses further includes:

[0099] Control the robot to remain stationary at the first preset position for a second preset time period;

[0100] Obtaining a third time duration for the robot to move from the first preset position to the second preset position;

[0101] The second actual duration required for calibration of the AR glasses to be calibrated is determined according to the first duration, the second duration, the third duration, the first preset duration, and the second preset duration.

[0102] Compared with the above embodiment, in this embodiment, after the robot moves from the material receiving position to the photo taking position, it remains stationary for the first preset time, and after the robot moves, it remains stationary for the second preset time, and then moves from the photo taking position to the material receiving position. The values ​​of the first preset time and the second preset time are not limited and are determined according to actual conditions. For example, the first preset time and the second preset time can be determined according to the moving speed of the robot and the distance from the material receiving position to the photo taking position.

[0103] In the method provided in this embodiment, by setting the first preset time length, the robot is made to be stationary, and then the AR glasses are driven to be stationary. After the AR glasses are stationary, the taking of pictures is started and the sensor starts to collect data again, so that the obtained images and data are more accurate; by setting the second preset time length, the robot is made to be stationary, and the AR glasses are driven to be stationary, so as to prevent the AR glasses from falling when the robot moves from the photo taking position to the material receiving position, etc., and the calibration of the AR glasses is completed by determining the second actual time length required for the calibration of the AR glasses to be calibrated through the first time length, the second time length, the third time length, the first preset time length, and the second preset time length, so that the actual time length required to complete the calibration of the AR glasses to be calibrated is more accurate.

[0104] Based on the above embodiments, this embodiment also provides a calibration system for AR glasses. Figure 2 A schematic diagram of a calibration system for AR glasses provided in an embodiment of the present application, such as Figure 2 As shown, the calibration system includes a robot 1, a target object 2, a PC 3, and AR glasses 4 to be calibrated.

[0105] The robot 1 wears the AR glasses 4 to be calibrated;

[0106] The target object 2 is located in front of the AR glasses 4 to be calibrated;

[0107] PC3 is connected to the AR glasses 4 to be calibrated and the robot 1 respectively; it is used to obtain the image of the target object 2 taken by the AR glasses 4 to be calibrated within a first time period and the data of the AR glasses 4 to be calibrated collected by the sensor in the AR glasses 4 to be calibrated; wherein the first time period is the difference between the end time and the start time of the movement of the robot 1 when it is at the first preset position; according to the image of the target object 2 and the data of the AR glasses 4 to be calibrated collected by the sensor, calibration is performed and a calibration file is obtained; the calibration file is sent to the AR glasses 4 to be calibrated so that the AR glasses 4 to be calibrated can be calibrated according to the calibration file when it is restarted.

[0108] The calibration system also includes: a light source;

[0109] The robot is connected to the light source and is used to control the switch of the light source;

[0110] The light source is located around the target object and is used to control the brightness of the target object.

[0111] The PC is connected to the AR glasses to be calibrated via a Universal Serial Bus (USB); the PC is connected to the robot via a network cable. In practice, some areas of the image of the target object taken by the AR glasses may be darker. Therefore, in this embodiment, a light source is used to illuminate the target object so that a clearer image of the target object can be obtained. There is no limitation on the type of light source selected to illuminate the target object, such as selecting a planar array light source. The robot is connected to the light source through an input and output (IO) signal to control the light source switch.

[0112] The calibration system for AR glasses provided in this embodiment has corresponding technical features to the calibration method for AR glasses described above. The calibration method for AR glasses has been described in detail above. Therefore, the embodiment of the calibration system for AR glasses will not be repeated here, and it has the same beneficial effects as the calibration method for AR glasses.

[0113] In the above embodiments, the calibration method of AR glasses is described in detail, and the present application also provides an embodiment corresponding to the calibration device of AR glasses. It should be noted that the present application describes the embodiments of the device part from two perspectives, one is based on the perspective of functional modules, and the other is based on the perspective of hardware.

[0114] Figure 3 A structural diagram of a calibration device for AR glasses provided in one embodiment of the present application. This embodiment is based on the perspective of functional modules and includes:

[0115] A first acquisition module 10 is used to acquire an image of a target object captured by the AR glasses to be calibrated and data of the AR glasses to be calibrated collected by a sensor in the AR glasses to be calibrated within a first time period; wherein the first time period is a difference between a movement end time and a movement start time when the robot is at a first preset position;

[0116] A calibration and acquisition module 11 is used to calibrate and acquire a calibration file based on the image of the target object and the data of the AR glasses to be calibrated collected by the sensor;

[0117] The sending module 12 is used to send the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

[0118] Since the embodiments of the apparatus part correspond to the embodiments of the method part, please refer to the description of the embodiments of the method part for the embodiments of the apparatus part, which will not be repeated here.

[0119] The calibration device for AR glasses provided in this embodiment acquires the image of the target object taken by the AR glasses to be calibrated within a first time period and the data of the AR glasses to be calibrated collected by the sensors in the AR glasses to be calibrated through the first acquisition module; calibrates and acquires the calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensors through the calibration and acquisition module; and sends the calibration file to the AR glasses to be calibrated through the sending module so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted. It can be seen that in this device, during the entire process of the robot's movement, the AR glasses take pictures of the target object and the sensors in the AR glasses collect data, and obtain the file for calibrating the AR glasses according to the data of the target object and the sensors, and then sets the calibration file in the AR glasses so that the AR glasses can be automatically calibrated when restarted.

[0120] Figure 4 This is a structural diagram of a calibration device for AR glasses provided in another embodiment of the present application. This embodiment is based on the hardware perspective, such as Figure 4 As shown, the calibration device of AR glasses includes:

[0121] A memory 20, used for storing computer programs;

[0122] The processor 21 is used to implement the steps of the calibration method of AR glasses mentioned in the above embodiment when executing the computer program.

[0123] The calibration device for the AR glasses provided in this embodiment may include but is not limited to a smart phone, a tablet computer, a laptop computer, or a desktop computer.

[0124] Among them, the processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 21 can be implemented in at least one hardware form of a digital signal processor (DSP), a field-programmable gate array (FPGA), and a programmable logic array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 21 may be integrated with a graphics processing unit (GPU), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 21 may also include an artificial intelligence (AI) processor, which is used to process computing operations related to machine learning.

[0125] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used to store the following computer program 201, wherein the computer program, after being loaded and executed by the processor 21, can implement the relevant steps of the calibration method of the AR glasses disclosed in any of the aforementioned embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, etc., and the storage method may be temporary storage or permanent storage. Among them, the operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in the calibration method of the AR glasses mentioned above.

[0126] In some embodiments, the calibration device of the AR glasses may also include a display screen 22 , an input / output interface 23 , a communication interface 24 , a power supply 25 , and a communication bus 26 .

[0127] Those skilled in the art will understand that Figure 4 The structure shown in does not constitute a limitation on the calibration device of AR glasses and may include more or fewer components than shown in the figure.

[0128] The calibration device for AR glasses provided in an embodiment of the present application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: the calibration method for AR glasses, the effect is the same as above.

[0129] Finally, the present application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps recorded in the above method embodiment are implemented.

[0130] It is understandable that if the method in the above embodiment is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.

[0131] The computer-readable storage medium provided in this application includes the calibration method of the AR glasses mentioned above, and the effect is the same as above.

[0132] In order to enable those skilled in the art to better understand the technical solution of the present application, the present application is further described in detail below. The specific principle of the method for automatic coordination of robot motion and calibration information collection is as follows: after adjusting the robot point posture or motion parameters, automatic coordination preprocessing of robot motion and photography is required. The method for automatic coordination of robot motion and calibration information collection includes two stages.

[0133] In the first stage, set the PC software to matching mode.

[0134] Step 1: The PC only sends control instructions to the 6-axis robot, monitors the robot's motion status in real time and starts timing;

[0135] Step 2: After receiving the control command, the robot first moves quickly from the material receiving position to the photo taking position. The movement time is T1.

[0136] Step 3: Wait for time T2 to ensure that the AR glasses are stationary;

[0137] Step 4: The robot starts to execute the preset translation and rotation actions, and the action time is T3;

[0138] Step 5: Wait for time T4 to ensure that the AR glasses are stationary;

[0139] Step 6: Finally, quickly move from the photo taking position to the material receiving position. The movement time is T5;

[0140] Step 7: PC calculates the matching time;

[0141] In the second stage, the PC software is set to calibration mode. In this mode,

[0142] Step 1: The PC software sends control instructions to the 6-axis robot and monitors the robot's motion status in real time;

[0143] Step 2: After receiving the control command, the robot first quickly moves from the material receiving position to the photo taking position and turns on the array lighting source;

[0144] Step 3: At the moment when the static waiting time is three-quarters of T2, the PC sends a photo-taking and data-collecting instruction to the AR product; after receiving the instruction, the AR product starts to take photos and collect sensor data at regular intervals, and keeps the duration;

[0145] Step 4: After being stationary for T2 time, the robot starts to perform the preset translation and rotation actions;

[0146] Step 5: Waiting time T4; at the moment when one quarter of the static waiting time T4 is reached, the AR product stops taking pictures and collecting sensor data;

[0147] Step 6: The PC acquires all the camera images and sensor data to complete the calibration;

[0148] Step 7: The PC sends the calibration file to the AR product and controls it to restart to take effect;

[0149] Step 8: The robot quickly moves from the photo taking position to the material receiving position;

[0150] The whole process is over.

[0151] In the method of automatic coordination of robot movement and calibration information collection provided in this embodiment, AR glasses photography and sensor data collection cover the entire movement of the robot, and have two modes for easy switching. In matching mode, the time required for matching after the movement point posture or speed parameter adjustment can be quickly and conveniently obtained. This effectively improves the machine adjustment efficiency, simplifies the operating process, and avoids the occurrence of various downtime problems due to human factors.

[0152] The above is a detailed introduction to the calibration method, system, device and medium of AR glasses provided by the present application. The various embodiments in the specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same and similar parts between the embodiments can refer to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can refer to the method part description. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present application, several improvements and modifications can be made to the present application, and these improvements and modifications also fall within the scope of protection of the claims of the present application.

[0153] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

Claims

1. A calibration method for AR glasses, It is characterized in that include: Acquire an image of the target object captured by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by sensors in the AR glasses to be calibrated; wherein the first time period is the difference between the end time of the movement of the robot at the first preset position and the start time of the movement, and the image of the target object captured by the AR glasses and the data collected by the sensors of the AR glasses must cover the entire movement of the robot; Calibrate according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor and obtain a calibration file; The calibration file is sent to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

2. The calibration method for AR glasses according to claim 1, It is characterized in that The acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated includes: Controlling the movement of the robot at the first preset position and obtaining the movement start time of the robot; wherein the movement of the robot includes translation and / or rotation; Starting from the moment when the robot starts to move, the AR glasses to be calibrated are controlled to start taking pictures of the target object and the sensor is controlled to start collecting data of the AR glasses to be calibrated; wherein the data of the AR glasses to be calibrated collected by the sensor includes at least acceleration and angular velocity; Determining whether the robot has finished moving; If yes, then obtain the moment when the robot movement ends; at the moment when the movement ends, control the AR glasses to be calibrated to stop taking pictures of the target object and control the sensor to stop collecting data of the AR glasses to be calibrated; obtain the image of the target object taken by the AR glasses to be calibrated and the data of the AR glasses to be calibrated collected by the sensor from the moment when the movement starts to the moment when the movement ends; If not, return to the step of controlling the AR glasses to be calibrated to start taking pictures of the target object and controlling the sensor to start collecting data of the AR glasses to be calibrated.

3. The calibration method for AR glasses according to claim 2, It is characterized in that Controlling the robot movement includes: Sending a first instruction for controlling the movement of the robot; Controlling the movement of the robot according to the first instruction; Correspondingly, controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor to collect data of the AR glasses to be calibrated includes: Sending a second instruction for indicating controlling the AR glasses to be calibrated to take a photo of the target object and controlling the sensor to collect data of the AR glasses to be calibrated; According to the second instruction, the AR glasses to be calibrated are controlled to take a photo of the target object and the sensor is controlled to collect data of the AR glasses to be calibrated.

4. The calibration method for AR glasses according to any one of claims 1 to 3, It is characterized in that Before acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes: Acquire a second time duration for the robot to move from a second preset position to the first preset position; Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes: Obtaining a third time duration for the robot to move from the first preset position to the second preset position; A first actual duration required for calibration of the AR glasses to be calibrated is determined according to the first duration, the second duration, and the third duration.

5. The calibration method for AR glasses according to any one of claims 1 to 3, It is characterized in that Before acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes: Acquire a second time duration for the robot to move from a second preset position to the first preset position; Controlling the robot to remain stationary at the first preset position for a first preset time period; Correspondingly, after acquiring the image of the target object captured by the AR glasses to be calibrated within the first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated, the method further includes: Controlling the robot to remain stationary at the first preset position for a second preset time period; Obtaining a third time duration for the robot to move from the first preset position to the second preset position; Determine a second actual duration required for calibration of the AR glasses to be calibrated according to the first duration, the second duration, the third duration, the first preset duration, and the second preset duration.

6. A calibration system for AR glasses, It is characterized in that include: Robot, target object, PC; The robot wears AR glasses to be calibrated; The target object is located in front of the AR glasses to be calibrated; The PC is connected to the AR glasses to be calibrated and the robot respectively; and is used to obtain the image of the target object taken by the AR glasses to be calibrated within a first time period and the data of the AR glasses to be calibrated collected by the sensor in the AR glasses to be calibrated; wherein, the first time period is the difference between the end time of the movement of the robot at the first preset position and the start time of the movement, and the photo taking of the target object by the AR glasses and the data collected by the sensor of the AR glasses must cover the entire movement of the robot; calibration is performed according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor and a calibration file is obtained; and the calibration file is sent to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

7. The calibration system for AR glasses according to claim 6, It is characterized in that The calibration system further comprises: a light source; The robot is connected to the light source and is used to control the switch of the light source; The light source is located around the target object and is used to control the brightness of the target object.

8. A calibration device for AR glasses, It is characterized in that include: A first acquisition module is used to acquire an image of the target object photographed by the AR glasses to be calibrated within a first time period and data of the AR glasses to be calibrated collected by sensors in the AR glasses to be calibrated; wherein the first time period is the difference between the end time of the movement of the robot at the first preset position and the start time of the movement, and the photography of the target object by the AR glasses and the data collected by the sensors of the AR glasses must cover the entire movement of the robot; A calibration and acquisition module, used to calibrate and acquire a calibration file according to the image of the target object and the data of the AR glasses to be calibrated collected by the sensor; The sending module is used to send the calibration file to the AR glasses to be calibrated so that the AR glasses to be calibrated can be calibrated according to the calibration file when restarted.

9. A calibration device for AR glasses, It is characterized in that include: Memory for storing computer programs; A processor, configured to implement the steps of the AR glasses calibration method as described in any one of claims 1 to 5 when executing the computer program.

10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the calibration method for AR glasses according to any one of claims 1 to 5 are implemented.