Electrical construction wiring operation training method and system
Through the combination of panoramic images and augmented reality technology, the wiring path information is dynamically displayed, which solves the problems of long training cycles and high costs of electrical construction, and achieves efficient and low-cost training results.
Patent Information
- Application Number
- CN202111424452.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-26
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-11-26
AI Technical Summary
In the prior art, the training cycle of electrical construction wiring operations is long, the results are poor, the cost is high, and the combination with real scenarios is not closely related, resulting in difficult talent reserves and low training quality.
The combination of panoramic images and augmented reality technology is used to draw and render wiring paths based on the interactive operation of trainees, and display wiring information through viewpoint image feature matching to realize dynamic guided learning, reduce memory and understanding difficulty, and improve training efficiency and quality.
Shorten the training cycle, improve training effectiveness, reduce costs, enhance the sense of participation and authenticity of trainees, improve the quality of training, and reduce the difficulty of memory and understanding.
Smart Images

Figure CN114186724B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer application technology, and in particular to a method and system for training electrical construction wiring operations. Background Art
[0002] With the increasing complexity of modern rail transit equipment, the further introduction of intelligent electrical equipment, and the increasing number of cables, electrical construction faces greater challenges. Cables, as a flexible component, are mainly used for the transmission of energy and signals, and are the neural network and blood vessels for rail transit equipment to achieve automation and intelligent functions.
[0003] Since wiring operations are mostly manual operations with complicated operation steps, the quality of the operation is closely related to the operator's proficiency and skill level, which affects the efficiency of cable assembly. It takes a long time for a novice operator to understand and memorize the wiring table and be able to perform wiring operations under the premise of certain efficiency and quality. At present, wiring training is mainly completed by training instructors in centralized theoretical training at training venues. This training method is divorced from the actual environment and has problems such as being non-intuitive, difficult to remember and understand, long training cycle, low technology transfer efficiency, and poor training effect. It makes it difficult to reserve talents for on-site operations and affects the talent training cycle and quality of electrical construction.
[0004] With the development of virtual reality and augmented reality technologies, technical exploration has been carried out in training using virtual reality and augmented reality technologies, and they have been applied on a small scale, achieving certain results. However, there are relatively few studies on wiring operation training, and they are mainly focused on wiring operation guidance. Although they have certain training characteristics, they are not specifically targeted at training. Virtual reality technology solves some of the shortcomings of traditional training, but the application of virtual reality technology for training has problems such as high modeling costs and loose integration with real scenes. Augmented reality training based on real environments requires the construction of real environments, resulting in high training material costs. Summary of the invention
[0005] The present invention provides an electrical construction wiring operation training method and system, which are used to solve the defects of the prior art that the electrical construction wiring operation training cycle is long, the effect is poor, the cost is high, and the integration with the real scene is not close, so as to shorten the training cycle, improve the training effect, reduce the training cost, and integrate closely with the real scene.
[0006] The present invention provides an electrical construction wiring operation training method, comprising:
[0007] According to the wiring path and the panoramic view of the electrical construction selected by the trainee, the wiring path is drawn in the panoramic view, and the movement of the viewpoint position and / or the change of the viewpoint angle of the panoramic view are controlled according to the interactive operation of the trainee;
[0008] Acquire a viewpoint image of the panoramic image according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extract features of the viewpoint image, and match the features of the viewpoint image with features of pre-extracted screenshots of the wiring path at each preset position in the panoramic image;
[0009] When the features of the screenshot at the preset position match the features of the viewpoint image, the wiring information corresponding to the preset position is superimposed on the panoramic image; wherein the preset position is pre-associated with the wiring information.
[0010] According to an electrical construction wiring operation training method provided by the present invention, drawing the wiring path in the panoramic view includes:
[0011] Drawing key points of the routing path in a panoramic sphere of the panoramic image;
[0012] Connecting the key points according to the line type of the wiring path;
[0013] The line segments connecting the key points are projected onto the spherical surface of the panoramic sphere.
[0014] According to a method for training electrical construction wiring operations provided by the present invention, the step of connecting the key points according to the line type of the wiring path includes:
[0015] When the line type is a curve, the key points are connected based on a Bezier second-order curve.
[0016] According to the electrical construction wiring operation training method provided by the present invention, after projecting the line segments between the connected key points onto the spherical surface of the panoramic sphere, the method further includes:
[0017] The routing path is rendered according to the cable type and cable diameter used by the routing path.
[0018] According to a method for training electrical construction wiring operations provided by the present invention, matching the features of the viewpoint image with the features of the pre-extracted screenshots at each preset position of the wiring path in the panoramic image comprises:
[0019] Taking a screenshot of the panorama according to each viewpoint position and the angle of each viewpoint position selected by a designer for the panorama;
[0020] According to the frame selection operation of the designer, determine the area to be identified in the screenshot, and perform feature extraction on the area to be identified;
[0021] Matching the features of the viewpoint image with the features of the area to be identified.
[0022] According to an electrical construction wiring operation training method provided by the present invention, the interactive operation of the trainee is keyboard interaction, mouse interaction, touch screen interaction, voice interaction or hand interaction.
[0023] The present invention also provides an electrical construction wiring operation training system, comprising:
[0024] A control module, for drawing the wiring path in the panoramic view according to the wiring path of the electrical construction selected by the trainee, and controlling the movement of the viewpoint position and / or the change of the viewpoint angle of the panoramic view according to the interactive operation of the trainee;
[0025] A matching module, for acquiring a viewpoint image of the panoramic image according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extracting features of the viewpoint image, and matching the features of the viewpoint image with features of the pre-extracted screenshots at each preset position of the wiring path in the panoramic image;
[0026] An overlay module is used to overlay the wiring information corresponding to the preset position into the panoramic image when the features of the screenshot at the preset position match the features of the viewpoint image; wherein the preset position is pre-associated with the wiring information.
[0027] The present invention also 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 steps of any of the above-mentioned electrical construction wiring operation training methods are implemented.
[0028] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned electrical construction wiring operation training methods are implemented.
[0029] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned electrical construction wiring operation training methods are implemented.
[0030] The electrical construction wiring operation training method and system provided by the present invention conduct electrical construction wiring operation training by combining a panoramic image with augmented reality. The panoramic image is collected from a real environment, which can improve the trainees' sense of participation and reality, and does not require modeling, thereby reducing training costs. The electrical construction wiring path is drawn in the panoramic image, and augmented reality recognition and registration based on the panoramic image are realized according to the trainees' roaming viewpoint image in the panoramic image and the screenshots of the preset positions on the wiring path. The wiring information at each position of the wiring path is dynamically displayed, and the trainees are guided to observe and learn on the fly, combining theoretical knowledge with reality, reducing the difficulty of memorizing and understanding wiring, and effectively improving the training efficiency and quality, and enhancing the training effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0032] Figure 1 It is one of the flow charts of the electrical construction wiring operation training method provided by the present invention;
[0033] Figure 2 It is a flow chart of drawing a curved wiring path in the flow chart of the electrical construction wiring operation training method provided by the present invention;
[0034] Figure 3 This is the second flow chart of the electrical construction wiring operation training method provided by the present invention;
[0035] Figure 4 It is a structural schematic diagram of the electrical construction wiring operation training system provided by the present invention;
[0036] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] Combine the following Figure 1The present invention describes a method for training wiring work in electrical construction, comprising: step 101, drawing the wiring path in the panoramic view according to the wiring path and the panoramic view selected by the trainee, and controlling the movement of the viewpoint position and / or the transformation of the viewpoint angle of the panoramic view according to the interactive operation of the trainee;
[0039] Trainees are the persons who receive training. The wiring path of electrical construction is the path formed by the locations through which the cables arranged in electrical construction pass.
[0040] The wiring table stores multiple commonly used wiring paths. Trainees select one or more wiring paths from the wiring table as the basis for wiring operation training according to their own needs.
[0041] The panoramic view of electrical construction is formed by taking multiple images of each electrical construction scene in different directions, deduplicating the multiple images of each scene and pasting them on the inner surface of the sphere, so as to form a panoramic view of each electrical construction scene, such as a panoramic view of a subway, a panoramic view of a tram, and a panoramic view of a train. The panoramic view of a tram is formed by deduplicating multiple images of the interior of the tram and pasting them on the inner surface of the sphere. This embodiment does not specifically limit the electrical construction scene.
[0042] The trainees select the actual environment corresponding to the wiring path according to their own needs, that is, select the panoramic view representing the actual environment of the wiring path, and subsequent work is based on this panoramic view.
[0043] The wiring path is drawn in the panoramic view according to the wiring requirements of the wiring path. This embodiment is not limited to the specific drawing method of the wiring path.
[0044] After the wiring path is drawn, the panoramic view of the wiring path is saved and sent to the client of the trainee. The trainee can log in to the electrical construction wiring operation training system with his own account to start training. After logging in, the panoramic view and related data can be downloaded through the download function, which is convenient for offline training and learning.
[0045] Trainees can roam in the panorama through interactive operations to learn wiring operations. For example, trainees control the viewpoint position to move forward, backward, left or right through the keyboard, and change the viewpoint angle through the mouse drag operation. The viewpoint position is the position of the human eye in the panorama. The panorama displays the image of the panorama seen from the viewpoint position, that is, the viewpoint image. Therefore, the display image of the panorama changes with the change of the viewpoint position and the viewpoint angle, thereby realizing panoramic roaming.
[0046] Step 102, acquiring a viewpoint image of the panoramic view according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extracting features of the viewpoint image, and matching the features of the viewpoint image with features of pre-extracted screenshots of each preset position of the wiring path in the panoramic view;
[0047] During the roaming process, the viewpoint images of the panorama are collected in real time, and the features of the viewpoint images are extracted. For example, a convolutional neural network algorithm is used to extract deep features in the viewpoint images. This embodiment does not limit the feature extraction method of the viewpoint images.
[0048] After the panorama is determined, the designer can roam and view the panorama, select a suitable viewpoint position and viewpoint angle to take screenshots of each preset position of the wiring path. Optionally, the preset positions of the wiring path include positions where wiring is prone to errors and positions where wiring is difficult.
[0049] Match the features of the viewpoint image with the features of the screenshots at each preset position of the wiring path. For example, calculate the Euclidean distance between the features of the viewpoint image and the features of the screenshots at each preset position of the wiring path, if the distance is less than a preset threshold, the match is successful, otherwise the match fails.
[0050] Step 103, when the features of the screenshot at the preset position match the features of the viewpoint image, superimpose the wiring information corresponding to the preset position into the panoramic image; wherein the preset position is pre-associated with the wiring information.
[0051] Optionally, if the features of the viewpoint image successfully match the features of a screenshot at a preset position of the wiring path, a pose estimation method based on homography estimates the viewpoint position and viewpoint angle corresponding to the screenshot at the preset position. Based on the estimation result, the wiring information of the wiring path at the preset position is superimposed at the preset position, so that the panoramic image and the virtual wiring information are fused and displayed on the screen of the trainee's client, thereby guiding the trainee in learning the wiring content.
[0052] The wiring information includes wiring specifications and precautions for the wiring path at the preset position.
[0053] Trainees establish a correspondence between the wiring information displayed in the panoramic view and the real environment, and understand the equipment information through which the wiring passes based on the corresponding text guidance information.
[0054] Trainees can also trigger the dynamic path drawing function to complete the drawing of the path from the starting point to the end point. During the path drawing process, the trainees' line of sight is guided to follow the movement and observe, thus achieving guided learning and understanding the wiring process more vividly.
[0055] This embodiment combines panoramic images with augmented reality to conduct electrical construction wiring operation training. The panoramic images are collected from the real environment, which can improve the trainees' sense of participation and reality. The panoramic images do not require modeling, which reduces training costs. The electrical construction wiring path is drawn in the panoramic image, and the augmented reality recognition and registration based on the panoramic image are realized according to the trainees' roaming viewpoint images in the panoramic image and the screenshots of the preset positions on the wiring path. The wiring information at each position of the wiring path is dynamically displayed, and the trainees are guided to observe and learn on the fly, combining theoretical knowledge with reality, reducing the difficulty of memorizing and understanding wiring, and effectively improving the training efficiency and quality, and enhancing the training effect.
[0056] On the basis of the above embodiment, the drawing of the wiring path in the panoramic image in this embodiment includes: drawing key points of the wiring path in the panoramic sphere of the panoramic image;
[0057] The key point in the routing path can be a turning point in the routing path or a point taken from the routing path at a preset distance as a key point. The position of the key point can be determined according to the relative position between the key point and the marked position point in the panoramic image, and the position of the marked position point is known.
[0058] Connecting the key points according to the line type of the wiring path;
[0059] Different methods are used to connect key points for different line types of routing paths. The line types of routing paths include straight lines and curves.
[0060] The line segments connecting the key points are projected onto the spherical surface of the panoramic sphere.
[0061] Finally, the drawn wiring path is projected onto the spherical surface of the panoramic sphere by a projection method, making the wiring path more realistic.
[0062] Based on the above embodiments, Figure 2 As shown, in this embodiment, connecting the key points according to the line type of the wiring path includes: when the line type is a curve, connecting the key points based on a Bezier second-order curve.
[0063] For the drawing of the curved wiring path, the key points are connected by using the second-order Bezier curve and then projected to complete the preliminary drawing of the wiring path.
[0064] This embodiment can draw a path according to wiring requirements by drawing key points in a panoramic sphere, connecting and projecting Bezier second-order curves, and provide a basis for wiring operation training.
[0065] Based on the above embodiment, after projecting the line segments between the connected key points onto the spherical surface of the panoramic sphere, the present embodiment further includes: rendering the wiring path according to the cable type and cable diameter used in the wiring path.
[0066] Specifically, after the preliminary drawing of the path is completed, the drawn wiring path is rendered according to the cable type and cable diameter used in the wiring path, and the trainees receive wiring training and learning based on the rendered wiring path.
[0067] The cable type refers to the material information assigned to the cable to make it more realistic. Optionally, different colors, such as blue, red, and yellow, are used to represent wiring paths of different materials.
[0068] At the same time, the thickness of the wiring path is adjusted according to the cable diameter. Optionally, the cable diameter can also be a cable diameter range. Designers can adjust the thickness of the wiring path within a given diameter range according to actual conditions to make it more in line with the actual situation.
[0069] This embodiment renders the wiring path according to the cable material and thickness, which, on the one hand, makes the wiring path more consistent with the actual situation; on the other hand, it is easy to distinguish different wiring paths and improve the effect of electrical construction wiring operation training.
[0070] On the basis of the above embodiments, the matching of the features of the viewpoint image with the features of the screenshots of the wiring path at the preset positions in the panoramic image in advance in this embodiment includes: taking a screenshot of the panoramic image according to each viewpoint position and the angle of each viewpoint position selected by the designer for the panoramic image;
[0071] After the panorama is determined, the identification map needs to be determined as the basis for augmented reality recognition registration based on the panorama. The designer roams through the selected panorama and selects the appropriate viewpoint position and viewpoint angle to take a screenshot.
[0072] According to the frame selection operation of the designer, the area to be identified in the screenshot is determined, and features of the area to be identified are extracted; and the features of the viewpoint image are matched with the features of the area to be identified.
[0073] The designer can select the area to be identified from the screenshot by clicking and dragging the mouse, and use the selected area in the screenshot as the identification map.
[0074] After the trainee logs in, the panorama is saved through the download function, and the recognition map is read at the same time. The read recognition map is extracted offline to obtain the augmented reality tracking features based on the panorama. The feature extraction method used for the recognition map is the same as that for the viewpoint image. Then the features of the viewpoint image are matched with the features of the area to be identified, and the corresponding wiring information is displayed according to the matching results to realize the recognition registration of augmented reality, so that the trainee can learn the wiring process. The complete flowchart is shown below. Figure 3 shown.
[0075] On the basis of the above embodiments, the interactive operation of the trainee in this embodiment is keyboard interaction, mouse interaction, touch screen interaction, voice interaction or hand interaction.
[0076] For example, the viewpoint position of the panorama can be controlled to translate by using preset keys on the keyboard; the viewpoint angle of the panorama can be changed by dragging the mouse; and the viewpoint position of the panorama can be controlled to translate and the viewpoint angle can be changed by sliding on the terminal screen.
[0077] The voice interaction recognizes the voice of the trained user and controls the viewpoint position translation and viewpoint angle change of the panoramic image according to the voice recognition result.
[0078] Hand interaction recognizes hand gestures and controls the panorama's viewpoint position translation and viewpoint angle change according to the hand gesture recognition results.
[0079] The electrical construction wiring operation training system provided by the present invention is described below. The electrical construction wiring operation training system described below and the electrical construction wiring operation training method described above can be referenced to each other.
[0080] like Figure 4 As shown, the system includes a control module 401, a matching module 402 and a superposition module 403; wherein:
[0081] The control module 401 is used to draw the wiring path in the panoramic view according to the wiring path and the panoramic view of the electrical construction selected by the trainee, and control the movement of the viewpoint position and / or the change of the viewpoint angle of the panoramic view according to the interactive operation of the trainee;
[0082] The matching module 402 is used to obtain a viewpoint image of the panoramic image according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extract features of the viewpoint image, and match the features of the viewpoint image with features of the pre-extracted screenshots at each preset position of the wiring path in the panoramic image;
[0083] The superimposition module 403 is used to superimpose the wiring information corresponding to the preset position into the panoramic image when the features of the screenshot at the preset position match the features of the viewpoint image; wherein the preset position is pre-associated with the wiring information.
[0084] This embodiment combines panoramic images with augmented reality to conduct electrical construction wiring operation training. The panoramic images are collected from the real environment, which can improve the trainees' sense of participation and reality, and do not require modeling, thereby reducing training costs. By drawing the electrical construction wiring path in the panoramic image, the augmented reality recognition and registration based on the panoramic image are realized according to the trainees' roaming viewpoint images in the panoramic image and the screenshots of the preset positions on the wiring path, and the wiring information at each position of the wiring path is dynamically displayed, so as to guide the trainees to observe and learn on the fly, combine theoretical knowledge with reality, reduce the difficulty of memorizing and understanding wiring, effectively improve the training efficiency and quality, and enhance the training effect.
[0085] Figure 5 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the electrical construction wiring operation training method, the method comprising: drawing the wiring path in the panoramic view according to the wiring path and the panoramic view of the electrical construction selected by the trainee, controlling the movement of the viewpoint position and / or the transformation of the viewpoint angle of the panoramic view according to the interactive operation of the trainee; obtaining the viewpoint image of the panoramic view according to the moved viewpoint position and / or the transformed viewpoint angle, extracting the features of the viewpoint image, matching the features of the viewpoint image with the features of the screenshots at each preset position of the wiring path in the panoramic view extracted in advance; when the features of the screenshots at the preset position match the features of the viewpoint image, superimposing the wiring information corresponding to the preset position into the panoramic view.
[0086] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the 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, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0087] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the electrical construction wiring operation training method provided by the above-mentioned methods. The method includes: drawing the wiring path in the panoramic view according to the wiring path and panoramic view of the electrical construction selected by the trainee, and controlling the movement of the viewpoint position and / or the transformation of the viewpoint angle of the panoramic view according to the interactive operation of the trainee; obtaining a viewpoint image of the panoramic view according to the moved viewpoint position and / or the transformed viewpoint angle, extracting features of the viewpoint image, and matching the features of the viewpoint image with features of screenshots taken at preset positions of the wiring path in the panoramic view in advance; when the features of the screenshots at the preset positions match the features of the viewpoint image, superimposing the wiring information corresponding to the preset positions into the panoramic view
[0088] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the electrical construction wiring operation training method provided by the above-mentioned methods, the method comprising: drawing the wiring path and panoramic view of the electrical construction selected by the trainee in the panoramic view, controlling the movement of the viewpoint position and / or the transformation of the viewpoint angle of the panoramic view according to the interactive operation of the trainee; acquiring a viewpoint image of the panoramic view according to the moved viewpoint position and / or the transformed viewpoint angle, extracting features of the viewpoint image, matching the features of the viewpoint image with features of screenshots taken at preset positions of the wiring path in the panoramic view in advance; and superimposing the wiring information corresponding to the preset position into the panoramic view when the features of the screenshots at the preset positions match the features of the viewpoint image.
[0089] The system embodiment described above is merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.
[0090] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0091] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for training electrical construction wiring operations, characterized in that: include: According to the wiring path and the panoramic view of the electrical construction selected by the trainee, the wiring path is drawn in the panoramic view, and the movement of the viewpoint position and / or the change of the viewpoint angle of the panoramic view are controlled according to the interactive operation of the trainee; Acquire a viewpoint image of the panoramic image according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extract features of the viewpoint image, and match the features of the viewpoint image with features of pre-extracted screenshots of the wiring path at each preset position in the panoramic image; In the case where the features of the screenshot at the preset position match the features of the viewpoint image, superimposing the wiring information corresponding to the preset position into the panoramic image; wherein the preset position is pre-associated with the wiring information; Drawing the wiring path in the panoramic view includes: drawing key points of the wiring path in a panoramic sphere of the panoramic view; connecting the key points according to the line type of the wiring path; and projecting line segments between the connected key points onto the spherical surface of the panoramic sphere.
2. The electrical construction wiring operation training method according to claim 1, characterized in that: The connecting the key points according to the line type of the wiring path includes: When the line type is a curve, the key points are connected based on a Bezier second-order curve.
3. The electrical construction wiring operation training method according to claim 1, characterized in that: After projecting the line segments between the connected key points onto the spherical surface of the panoramic sphere, the method further includes: The routing path is rendered according to the cable type and cable diameter used by the routing path.
4. The electrical construction wiring operation training method according to any one of claims 1 to 3, characterized in that: The matching of the features of the viewpoint image with the features of the pre-extracted screenshots at each preset position of the wiring path in the panoramic image comprises: Taking a screenshot of the panorama according to each viewpoint position and the angle of each viewpoint position selected by a designer for the panorama; According to the frame selection operation of the designer, determine the area to be identified in the screenshot, and perform feature extraction on the area to be identified; Matching the features of the viewpoint image with the features of the area to be identified.
5. The electrical construction wiring operation training method according to any one of claims 1 to 3, characterized in that: The interactive operation of the trainee is keyboard interaction, mouse interaction, touch screen interaction, voice interaction or hand interaction.
6. An electrical construction wiring operation training system, characterized in that: include: A control module, for drawing the wiring path in the panoramic view according to the wiring path of the electrical construction selected by the trainee, and controlling the movement of the viewpoint position and / or the change of the viewpoint angle of the panoramic view according to the interactive operation of the trainee; A matching module, for acquiring a viewpoint image of the panoramic image according to the viewpoint position after the movement and / or the viewpoint angle after the transformation, extracting features of the viewpoint image, and matching the features of the viewpoint image with features of the pre-extracted screenshots at each preset position of the wiring path in the panoramic image; an overlay module, configured to overlay the wiring information corresponding to the preset position onto the panoramic image when the features of the screenshot at the preset position match the features of the viewpoint image; wherein the preset position is pre-associated with the wiring information; The device also includes a processing module, which is used to draw key points of the wiring path in the panoramic sphere of the panoramic image; connect the key points according to the line type of the wiring path; and project the line segments between the connected key points onto the spherical surface of the panoramic sphere.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the electrical construction wiring work training method as described in any one of claims 1 to 5 are implemented.
8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the electrical construction wiring work training method as described in any one of claims 1 to 5 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the electrical construction wiring work training method as described in any one of claims 1 to 5 are implemented.
