A radar equipment maintenance marking method and system based on MR
Through MR technology, the communication connection between the MR headset and the marker pen is used to identify and dynamically adjust the virtual markers of the radar equipment in real time, solving the problems of traditional marker management difficulties and space constraints, and improving the efficiency of radar equipment maintenance.
Patent Information
- Application Number
- CN202410606315.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-16
- Publication Date
- 2024-09-10
- Estimated Expiration
- 2044-05-16
AI Technical Summary
The use of markers for marking in traditional radar equipment maintenance has problems with management difficulties and space constraints, which affects maintenance efficiency.
Using the radar equipment maintenance method based on MR technology, through the communication connection between the MR headset and the marker, the target color is recognized in real time and the trajectory display is dynamically adjusted to form a virtual marker, expand the marker space and facilitate management.
It realizes efficient virtual marking of radar equipment, solves the problems of mark management and space restrictions, and improves maintenance efficiency.
Smart Images

Figure CN118192810B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of radar equipment maintenance marking, and in particular relates to a radar equipment maintenance marking method and system based on MR. Background Art
[0002] MR (mixed reality) combines real scenes with virtual scenes to make users' experience of the virtual world more realistic. Currently, the main implementation of MR technology is MR devices (such as MR glasses). Users can see both virtual scenes and real scenes by wearing MR devices. Compared with using AR / VR devices, users have a better experience of virtual scenes.
[0003] During the traditional radar equipment maintenance process, marking operations are generally required. For example, certain components / circuits of the radar equipment are marked with markers of different colors to troubleshoot radar equipment failures one by one. However, the problem with this method is that since the marks have a certain guiding significance, they are often not removed after the maintenance is completed. When the next maintenance is carried out, the marks left by the previous maintenance are dazzling and may affect the maintenance efficiency. At the same time, the marking space is limited and more marks cannot be made. Summary of the invention
[0004] Based on this, an embodiment of the present invention provides an MR-based radar equipment maintenance marking method and system to solve the problem in the prior art that the radar equipment is inspected and marked by a marking pen and the marking cannot be managed.
[0005] A first aspect of an embodiment of the present invention provides an MR-based radar equipment maintenance marking method, which is applied to a scenario with an MR head-mounted device and a marker pen that is communicatively connected to the MR head-mounted device, wherein the color at the tip of the marker pen is set to a target color that is easy for the MR head-mounted device to recognize, and the method includes:
[0006] Scanning the identification code of the maintenance equipment through the MR head-mounted device, and establishing a communication connection between the MR head-mounted device and the marking pen;
[0007] Activate the marker pen, control the MR head mounted device to recognize the target color in real time, and locate the tip of the marker pen according to the area of the target color, and when the marker pen moves, generate a corresponding target track on the screen of the MR head mounted device following the tip of the marker pen;
[0008] Establishing a spatial relationship between the target trajectory and a region corresponding to the maintenance equipment, and dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device according to the spatial relationship;
[0009] The step of establishing the spatial relationship between the target trajectory and the area corresponding to the maintenance equipment comprises:
[0010] Acquire the target trajectory, and determine a frame of the target trajectory having a regular shape;
[0011] Acquire a reference object, and determine the relative position of the reference object and the frame according to the reference object, wherein the reference object is a part of the maintenance equipment;
[0012] A relative position relationship between the reference object and the frame is established.
[0013] Furthermore, the step of activating the marker pen, controlling the MR head mounted device to recognize the target color in real time, and locating the tip of the marker pen according to the area of the target color includes:
[0014] activating the marker pen to control the MR head mounted device to recognize the target color in real time;
[0015] Determine whether the target color is unique;
[0016] If it is determined that the target color is unique, the step of locating the tip of the marker pen according to the area of the target color is performed;
[0017] If it is determined that the target color is not unique, controlling the MR head mounted device to identify in real time a first color representing the body of the marker pen, and determining whether the first color is unique;
[0018] If it is determined that the first color is unique, then determining the area of the target color corresponding to the first color, and performing the step of locating the tip of the marker pen according to the area of the target color;
[0019] If it is determined that the first color is not unique, determining the area outline of each target color and the area outline of each first color, and obtaining the distance between the area outline of each target color and the area outline of each first color;
[0020] Determine whether there is a distance less than a threshold;
[0021] If so, the target color area corresponding to the distance less than the threshold is determined, and then the step of locating the tip of the marker pen according to the target color area is performed.
[0022] Furthermore, in the step of determining the region corresponding to the target color according to the first color, a region having the target color which is closest to the region where the first color is located is determined.
[0023] Furthermore, after the step of activating the marker pen and controlling the MR head mounted device to recognize the target color in real time, the step further includes:
[0024] If the target color is not identified, identifying the first color and determining whether the first color is unique;
[0025] If it is determined that the first color is unique, a first contour corresponding to the first color is drawn according to the first color, and according to the size of the marker pen, the first contour is controlled to extend toward the pen tip to form a second contour, so as to locate the pen tip of the marker pen, wherein the acute angle of the second contour is the pen tip of the marker pen;
[0026] If it is determined that the first color is not unique, then according to the first color, draw all third contours corresponding to the first color, and according to the size of the marker pen, determine the target contour among all the third contours, and control the target contour to extend toward the pen tip to form a fourth contour to locate the pen tip of the marker pen, wherein the acute angle of the fourth contour is the pen tip of the marker pen.
[0027] Furthermore, in the step of obtaining a reference object and determining the relative position of the reference object and the frame based on the reference object, the reference object is marked manually, and a display area of the marked reference object is larger than a preset area.
[0028] Further, the step of dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device includes:
[0029] Obtain the display area of the border and the display area of the marked reference object, and establish a mapping relationship;
[0030] The display area of the marked reference object is acquired in real time, and the corresponding frame display area is determined according to the mapping relationship, so as to scale the track within the frame in equal proportion and display it on the screen of the MR head mounted device.
[0031] A second aspect of an embodiment of the present invention provides an MR-based radar equipment maintenance marking system, which is used to implement the MR-based radar equipment maintenance marking method as described in the first aspect, and is applied to a scenario with an MR head-mounted device and a marker pen that is communicatively connected to the MR head-mounted device, wherein the color at the tip of the marker pen is set to a target color that is easy for the MR head-mounted device to recognize, and the system includes:
[0032] A communication module, used for scanning the identification code of the maintenance equipment through the MR head-mounted device, and establishing a communication connection between the MR head-mounted device and the marking pen;
[0033] an activation module, configured to activate the marker pen, control the MR head mounted device to recognize the target color in real time, and locate the tip of the marker pen according to the area of the target color, and generate a corresponding target track on the screen of the MR head mounted device following the tip of the marker pen when the marker pen moves;
[0034] The dynamic adjustment module is used to establish a spatial relationship between the target trajectory and the area corresponding to the maintenance equipment, and dynamically adjust the display of the target trajectory on the screen of the MR head-mounted device according to the spatial relationship.
[0035] A third aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the MR-based radar equipment maintenance marking method provided in the first aspect.
[0036] A fourth aspect of an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the MR-based radar equipment maintenance marking method provided in the first aspect is implemented.
[0037] An MR-based radar equipment maintenance marking method and system provided in an embodiment of the present invention first scans the identification code of the maintenance equipment through the MR head-mounted device, and establishes a communication connection between the MR head-mounted device and the marker pen; then activates the marker pen, controls the MR head-mounted device to identify the target color in real time, and locates the tip of the marker pen according to the area of the target color. When the marker pen moves, a corresponding target trajectory is generated on the screen of the MR head-mounted device following the tip of the marker pen; finally, a spatial relationship between the target trajectory and the corresponding area of the maintenance equipment is established, and according to the spatial relationship, the display of the target trajectory on the screen of the MR head-mounted device is dynamically adjusted. Since the trajectory is actually formed in the virtual space, the marking space is expanded, and the marking is also easy to manage. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flowchart of an implementation method of a radar equipment maintenance marking method based on MR provided in the first embodiment of the present invention;
[0039] Figure 2 A structural block diagram of a radar equipment maintenance marking system based on MR provided in Embodiment 2 of the present invention;
[0040] Figure 3 This is a structural block diagram of an electronic device provided in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0041] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0042] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0043] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0044] Embodiment 1
[0045] See also Figure 1 , Figure 1 An MR-based radar equipment maintenance marking method provided in Embodiment 1 of the present invention is shown, which is applied to a scenario with an MR head-mounted device and a marker pen that is communicatively connected to the MR head-mounted device, wherein the color at the tip of the marker pen is set with a target color that is easy for the MR head-mounted device to recognize, and the target color can be a brighter color, for example, red, yellow, etc. The MR-based radar equipment maintenance marking method specifically includes steps S01 to S03.
[0046] Step S01: Scanning the identification code of the maintenance equipment through the MR head-mounted device, and establishing a communication connection between the MR head-mounted device and the marking pen.
[0047] Specifically, the identification code can be a unique code such as a QR code or a barcode. Each maintenance device has an identification code containing its corresponding information. After scanning the identification code of the maintenance device through the MR head-mounted device, it can be understood which device the user has maintained. It can be understood that when another user scans the identification code next time, the mark left by the former can be read and displayed on the screen of the MR head-mounted device, which is convenient for the current user's maintenance and can play a certain guiding role. If there is no need to see the previous mark, it can also be hidden.
[0048] When a marking operation is required, the control switch on the marking pen can be used to control the marking pen to establish a communication connection with the MR head-mounted device, wherein the connection can be established via Bluetooth.
[0049] Step S02, activate the marker pen, control the MR head-mounted device to identify the target color in real time, and locate the tip of the marker pen according to the area of the target color. When the marker pen moves, a corresponding target trajectory is generated on the screen of the MR head-mounted device following the tip of the marker pen.
[0050] In this embodiment, the marker pen is first activated, and the MR head-mounted device is controlled to identify the target color in real time, wherein the marker pen can be activated by touching a preset area of the pen body with a preset grip, and the activated marker pen can generate a trajectory; then it is determined whether the target color is unique; if the target color is determined to be unique, the step of locating the tip of the marker pen according to the area of the target color is executed; if the target color is determined to be not unique, the MR head-mounted device is controlled to identify the first color representing the marker pen body in real time, wherein the target color and the first color can be contrasting colors with higher recognition, for example, red-green, yellow-blue, black-white, blue-orange, yellow-purple, etc., that is, when the target color is red, the first color is green, and it is determined whether the first color is unique 1. If the first color is determined to be unique, then the area corresponding to the target color is determined based on the first color. Specifically, the area with the target color that is closest to the area where the first color is located is determined, and the step of locating the tip of the marker pen according to the area of the target color is performed; if the first color is determined to be not unique, the area outlines of each target color and the area outlines of each first color are determined, and the distance between the area outlines of each target color and the area outlines of each first color is obtained, wherein the distance is the shortest distance between the two outlines; it is determined whether there is a distance less than a threshold value; if so, the area of the target color corresponding to the distance less than the threshold value is determined, and then the step of locating the tip of the marker pen according to the area of the target color is performed.
[0051] The above is aimed at marking without obstruction. Since the marker pen can be directly identified, it is also convenient to locate the tip of the marker pen. When the marker pen is blocked, it is understandable that it may be blocked by the hand due to writing habits, or it may be necessary to go around behind an obstacle (behind the transmission line) to write, resulting in partial obstruction of the marker pen. In this regard, after the step of activating the marker pen and controlling the MR head-mounted device to recognize the target color in real time, the following steps are further included:
[0052] If the target color is not recognized, that is, the tip of the marker pen is completely blocked, then the first color is identified, that is, the pen body is identified, and it is determined whether the first color is unique; if the first color is determined to be unique, then the first contour corresponding to the first color is drawn according to the first color, and according to the size of the marker pen, the first contour is controlled to extend toward the tip of the pen to form a second contour to locate the tip of the marker pen, wherein the acute angle of the second contour is the tip of the marker pen. It should be noted that in the step of controlling the first contour to extend toward the tip of the pen to form the second contour, the gap of the first contour is determined according to the first contour, and the contour is extended in the direction of the gap to form the final second contour. It can be understood that, under normal pen holding conditions, the other end of the pen tip is complete, and the pen holding place may be blocked by obstacles and there is a gap. In addition, in other embodiments of the present invention, the first contour can be controlled to extend toward the point where the vision stops by tracking vision to form a second contour with a pen tip; if it is determined that the first color is not unique, then according to the first color, all third contours corresponding to the first color are drawn, and according to the size of the marker pen, the target contour in all the third contours is determined, and the target contour is controlled to extend toward the pen tip to form a fourth contour to locate the pen tip of the marker pen, wherein the acute angle of the fourth contour is the pen tip of the marker pen.
[0053] It is understandable that if the target color is identified and the target color is unique, but the outline of the target color is incomplete, the above method is also used to find the pen body, and the pen tip is determined based on the extension of the pen body. Because the pen body area is larger, it is easy to find, and the method of determining the pen tip through the pen body is more accurate.
[0054] Step S03: establishing a spatial relationship between the target trajectory and the area corresponding to the maintenance equipment, and dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device according to the spatial relationship.
[0055] Specifically, a target trajectory is obtained, and a regularly shaped border of the target trajectory is determined; a reference object is obtained, and based on the reference object, a relative position of the reference object and the border is determined, wherein the reference object is a part of the maintenance equipment. It should be noted that the reference object can be marked manually, and the display area of the marked reference object is larger than the preset area; and a relative position relationship between the reference object and the border is established.
[0056] In addition, after the reference object is marked, the reference object can be used to refer to the border of the target track within the preset range. That is, within the preset range, a relative position relationship between several borders and the reference object can be established. When it exceeds the preset range, a prompt will be given to remind the user to change the reference object in order to achieve a better display effect later.
[0057] The step of dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device comprises:
[0058] Obtain the display area of the border and the display area of the marked reference object, and establish a mapping relationship;
[0059] The display area of the marked reference object is acquired in real time, and the corresponding frame display area is determined according to the mapping relationship, so as to scale the track within the frame in equal proportion and display it on the screen of the MR head mounted device.
[0060] Furthermore, in the specific display, when it is determined in the above process that the tip of the marker pen is blocked, the target trajectory is displayed in the next layer of the obstruction, and when marking on the obstruction, if the current target trajectory and the previous obstructed target trajectory have overlapping parts, the overlapping part of the previous obstructed target trajectory will be blurred.
[0061] In summary, the MR-based radar equipment maintenance marking method in the above-mentioned embodiment of the present invention first scans the identification code of the maintenance equipment through the MR head-mounted device, and establishes a communication connection between the MR head-mounted device and the marker pen; then activates the marker pen, controls the MR head-mounted device to identify the target color in real time, and locates the tip of the marker pen according to the area of the target color. When the marker pen moves, a corresponding target trajectory is generated on the screen of the MR head-mounted device following the tip of the marker pen; finally, a spatial relationship between the target trajectory and the corresponding area of the maintenance equipment is established, and according to the spatial relationship, the display of the target trajectory on the screen of the MR head-mounted device is dynamically adjusted. Since the trajectory is actually formed in the virtual space, the marking space is expanded, and the marking is also easy to manage.
[0062] Embodiment 2
[0063] See also Figure 2 , Figure 2 1 is a structural block diagram of an MR-based radar equipment maintenance marking system 200 provided in Embodiment 2 of the present invention. The MR-based radar equipment maintenance marking system 200 is applied to a scene with an MR head-mounted device and a marker pen connected to the MR head-mounted device for communication, wherein the color at the tip of the marker pen is set to a target color that is easy for the MR head-mounted device to recognize, including: a communication module 21, an activation module 22 and a dynamic adjustment module 23, wherein:
[0064] The communication module 21 is used to scan the identification code of the maintenance equipment through the MR head-mounted device and establish a communication connection between the MR head-mounted device and the marking pen;
[0065] The activation module 22 is used to activate the marker pen, control the MR head mounted device to recognize the target color in real time, and locate the tip of the marker pen according to the area of the target color, and when the marker pen moves, a corresponding target track is generated on the screen of the MR head mounted device following the tip of the marker pen;
[0066] The dynamic adjustment module 23 is used to establish a spatial relationship between the target trajectory and the area corresponding to the maintenance equipment, and dynamically adjust the display of the target trajectory on the screen of the MR head-mounted device according to the spatial relationship.
[0067] Further, in some optional embodiments of the present invention, the activation module 22 includes:
[0068] A first control unit is used to activate the marker pen and control the MR head mounted device to recognize the target color in real time;
[0069] A first judging unit, used to judge whether the target color is unique;
[0070] A first execution unit, configured to execute a step of locating the tip of the marker pen according to an area of the target color if it is determined that the target color is unique;
[0071] A second judgment unit is configured to control the MR head mounted device to recognize in real time a first color representing the body of the marker pen and to judge whether the first color is unique if it is judged that the target color is not unique;
[0072] A second execution unit is configured to determine, if it is determined that the first color is unique, a region of the target color corresponding to the first color, wherein a region of the target color closest to the region where the first color is located is determined, and a step of locating the tip of the marker pen according to the region of the target color is performed;
[0073] A first acquisition unit, configured to determine the area contours of each target color and the area contours of each first color, and acquire the distance between the area contours of each target color and the area contours of each first color if it is determined that the first color is not unique;
[0074] A third judging unit, used to judge whether there is a distance less than a threshold;
[0075] The third execution unit is used to determine the area of the target color corresponding to the distance less than the threshold when it is determined that there is a distance less than the threshold, and then execute the step of locating the tip of the marker according to the area of the target color.
[0076] Furthermore, in some optional embodiments of the present invention, the activation module 22 further includes:
[0077] a fourth determination unit, configured to identify the first color if the target color is not identified, and determine whether the first color is unique;
[0078] A first extension unit is used for drawing a first contour corresponding to the first color according to the first color if it is determined that the first color is unique, and controlling the first contour to extend toward the tip of the marker according to the size of the marker to form a second contour, so as to locate the tip of the marker, wherein the acute angle of the second contour is the tip of the marker;
[0079] The second extension unit is used to draw all third contours corresponding to the first color according to the first color if it is determined that the first color is not unique, and determine the target contour among all the third contours according to the size of the marker pen, and control the target contour to extend toward the tip of the marker pen to form a fourth contour to locate the tip of the marker pen, wherein the acute angle of the fourth contour is the tip of the marker pen.
[0080] Further, in some optional embodiments of the present invention, the dynamic adjustment module 23 includes:
[0081] A frame determination unit, used to obtain the target trajectory and determine a frame of the target trajectory having a regular shape;
[0082] A relative position determination unit, used to obtain a reference object, and determine the relative position of the reference object and the frame according to the reference object, wherein the reference object is a part of the maintenance equipment, and specifically, the reference object is marked manually, and the display area of the marked reference object is larger than a preset area;
[0083] The relative position relationship establishing unit is used to establish the relative position relationship between the reference object and the frame.
[0084] Furthermore, in some optional embodiments of the present invention, the dynamic adjustment module 23 further includes:
[0085] A second acquisition unit is used to acquire the display area of the frame and the display area of the marked reference object, and establish a mapping relationship;
[0086] The scaling unit is used to obtain the display area of the marked reference object in real time, and determine the corresponding frame display area according to the mapping relationship, so as to scale the track within the frame in equal proportion and display it on the screen of the MR head-mounted device.
[0087] Embodiment 3
[0088] Another aspect of the present invention provides an electronic device, see Figure 3, shown is an electronic device in Embodiment 3 of the present invention, including a memory 20, a processor 10, and a computer program 30 stored in the memory and executable on the processor, wherein when the processor 10 executes the computer program 30, the above-mentioned MR-based radar equipment maintenance marking method is implemented.
[0089] In some embodiments, the processor 10 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 20, such as executing access restriction programs.
[0090] Among them, the memory 20 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the memory 20 can be an internal storage unit of an electronic device, such as a hard disk of the electronic device. In other embodiments, the memory 20 can also be an external storage device of an electronic device, such as a plug-in hard disk equipped on the electronic device, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Further, the memory 20 can also include both an internal storage unit of the electronic device and an external storage device. The memory 20 can not only be used to store application software and various types of data of the electronic device, but also can be used to temporarily store data that has been output or is to be output.
[0091] It should be pointed out that Figure 3 The structure shown does not constitute a limitation on the electronic device. In other embodiments, the electronic device may include fewer or more components than those shown in the figure, or combine certain components, or arrange the components differently.
[0092] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the above-mentioned MR-based radar equipment maintenance marking method is implemented.
[0093] Those skilled in the art will appreciate that the logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in conjunction with such instruction execution systems, devices or apparatuses. For purposes of this specification, "computer-readable medium" may be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in conjunction with such instruction execution systems, devices or apparatuses.
[0094] More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk case (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be a paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, deciphering or, if necessary, processing in another suitable manner, and then stored in a computer memory.
[0095] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or a combination thereof: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0096] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0097] The above embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention patent shall be subject to the attached claims.
Claims
1. A radar equipment maintenance marking method based on MR, It is characterized in that The method is applied to a scene with an MR head mounted device and a marker pen in communication connection with the MR head mounted device to mark the radar device for inspection, wherein the color at the tip of the marker pen is set to a target color that is easy for the MR head mounted device to recognize, and the method comprises: Scanning the identification code of the maintenance equipment through the MR head-mounted device, and establishing a communication connection between the MR head-mounted device and the marking pen; Activate the marker pen, control the MR head mounted device to recognize the target color in real time, and locate the tip of the marker pen according to the area of the target color, and when the marker pen moves, generate a corresponding target track on the screen of the MR head mounted device following the tip of the marker pen; Establishing a spatial relationship between the target trajectory and a region corresponding to the maintenance equipment, and dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device according to the spatial relationship; The step of establishing the spatial relationship between the target trajectory and the area corresponding to the maintenance equipment comprises: Acquire the target trajectory, and determine a frame of the target trajectory having a regular shape; Acquire a reference object, and determine the relative position of the reference object and the frame according to the reference object, wherein the reference object is a part of the maintenance equipment; Establishing a relative position relationship between the reference object and the frame; The step of dynamically adjusting the display of the target trajectory on the screen of the MR head mounted device comprises: Obtain the display area of the border and the display area of the marked reference object, and establish a mapping relationship; The display area of the marked reference object is acquired in real time, and the corresponding frame display area is determined according to the mapping relationship, so as to scale the track within the frame in equal proportion and display it on the screen of the MR head mounted device.
2. The MR-based radar equipment maintenance marking method according to claim 1, It is characterized in that The step of activating the marker pen, controlling the MR head mounted device to recognize the target color in real time, and locating the tip of the marker pen according to the area of the target color includes: activating the marker pen to control the MR head mounted device to recognize the target color in real time; Determine whether the target color is unique; If it is determined that the target color is unique, the step of locating the tip of the marker pen according to the area of the target color is performed; If it is determined that the target color is not unique, controlling the MR head mounted device to identify in real time a first color representing the body of the marker pen, and determining whether the first color is unique; If it is determined that the first color is unique, then determining the area of the target color corresponding to the first color, and performing the step of locating the tip of the marker pen according to the area of the target color; If it is determined that the first color is not unique, determining the area outline of each target color and the area outline of each first color, and obtaining the distance between the area outline of each target color and the area outline of each first color; Determine whether there is a distance less than a threshold; If so, the target color area corresponding to the distance less than the threshold is determined, and then the step of locating the tip of the marker pen according to the target color area is performed.
3. The MR-based radar equipment maintenance marking method according to claim 2, It is characterized in that In the step of determining the region corresponding to the target color according to the first color, a region having the target color which is closest to the region where the first color is located is determined.
4. The MR-based radar equipment maintenance marking method according to claim 3, It is characterized in that After the step of activating the marker pen and controlling the MR head mounted device to recognize the target color in real time, the following step further includes: If the target color is not identified, identifying the first color and determining whether the first color is unique; If it is determined that the first color is unique, a first contour corresponding to the first color is drawn according to the first color, and according to the size of the marker pen, the first contour is controlled to extend toward the pen tip to form a second contour, so as to locate the pen tip of the marker pen, wherein the acute angle of the second contour is the pen tip of the marker pen; If it is determined that the first color is not unique, then according to the first color, draw all third contours corresponding to the first color, and according to the size of the marker pen, determine the target contour among all the third contours, and control the target contour to extend toward the pen tip to form a fourth contour to locate the pen tip of the marker pen, wherein the acute angle of the fourth contour is the pen tip of the marker pen.
5. The MR-based radar equipment maintenance marking method according to claim 4, It is characterized in that In the step of obtaining a reference object and determining the relative position of the reference object and the frame based on the reference object, the reference object is marked manually, and a display area of the marked reference object is larger than a preset area.
6. A radar equipment maintenance marking system based on MR, It is characterized in that The system is used to implement the MR-based radar equipment maintenance marking method according to any one of claims 1 to 5, and is applied to a scene with an MR head-mounted device and a marker pen that is communicatively connected to the MR head-mounted device, wherein the color at the tip of the marker pen is set to a target color that is easy for the MR head-mounted device to recognize, and the system includes: A communication module, used for scanning the identification code of the maintenance equipment through the MR head-mounted device, and establishing a communication connection between the MR head-mounted device and the marking pen; an activation module, configured to activate the marker pen, control the MR head mounted device to recognize the target color in real time, and locate the tip of the marker pen according to the area of the target color, and generate a corresponding target track on the screen of the MR head mounted device following the tip of the marker pen when the marker pen moves; The dynamic adjustment module is used to establish a spatial relationship between the target trajectory and the area corresponding to the maintenance equipment, and dynamically adjust the display of the target trajectory on the screen of the MR head-mounted device according to the spatial relationship.
7. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the MR-based radar equipment maintenance marking method as described in any one of claims 1 to 5 is implemented.
8. An electronic device, It is characterized in that The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the MR-based radar equipment maintenance marking method according to any one of claims 1 to 5 is implemented.
