A ship parts positioning method combining two-dimensional code and three-dimensional map

By combining QR codes with 3D maps, UAV aerial photography is used to construct a 3D map model and generate identification codes, which solves the complex problem of hull segment management in large shipyards and improves the efficiency and assembly accuracy of parts and segments. .

CN118470580BActive Publication Date: 2024-09-17COSCO ZHOUSHAN SHIPYARD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410941029.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-09-17
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

In modern large-scale shipyards, due to the large number of hull segments and complex management, traditional marking methods are difficult to effectively manage and locate hull segments, resulting in reduced production efficiency and an increased risk of assembly errors.

Method used

A ship parts positioning method that combines QR codes and 3D maps is used to build a 3D map model of the factory area through drone aerial photography, calibrate the locations of parts and segments, generate identification codes and embed parts and segments, and use Beidou identification terminals to scan and identify The code obtains location information, plans transportation routes and installation methods, and improves management and assembly efficiency.

Benefits of technology

It improves the management convenience and assembly efficiency of hull segments, reduces incorrect calls and assembly, and improves the accuracy of segment assembly and the real-time nature of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470580B
    Figure CN118470580B
Patent Text Reader

Abstract

The present application relates to a method for locating ship parts by combining a two-dimensional code with a three-dimensional map, and relates to the field of shipbuilding technology, which includes the following steps: establishing a cloud platform, constructing a three-dimensional map model of the factory area by taking aerial video of the shipyard by drone, determining the coordinates of the parts, determining the coordinates of the segments, implanting a first identification code containing the key information of the parts on the parts, implanting a second identification code containing the key information of the segments on the segments, planning the transportation path of the parts, planning the transportation path of the segments, and detecting the seams between the segments and the hull to calculate the assembly accuracy of the segments. The present application can effectively improve the convenience of managers in managing the hull segments, and improve the efficiency of calling and assembling parts.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of shipbuilding technology, and in particular to a method for locating ship parts by combining a two-dimensional code with a three-dimensional map. Background Art

[0002] In the process of shipbuilding, many ship parts are produced: panels, frames, girders, small parts, pipes, and iron outfitting. Among them, the process of assembling components and parts into hull sections and assembling sections into total sections is called ship section assembly. Common sections mainly include decks, side, bottom cabin side, platform bow, platform stern, superstructure, etc. The parallel operation of each section of the hull expands the construction work surface; assembly welding work can be carried out in the downward welding position, expanding the application of automatic and semi-automatic welding; it provides conditions for organizing specialized production and assembly line production, and can complete the work in the workshop to improve working conditions.

[0003] In the prior art, after the traditional hull segment structure is completed, it is often marked on the hull segment structure. During assembly, operators confirm the assembly sequence, assembly position, etc. of the hull according to the marks on the hull segment structure to facilitate transportation by flatbed trucks.

[0004] However, the method of marking the hull section structure to assist the section assembly is only applicable to small shipyards or when the number of hull sections is small. In modern large shipyards, due to the large shipyard site, the large number of hull sections, and the lengthening of the section construction cycle over time, the management personnel are becoming more and more complex. Relying solely on the traditional marking method is likely to affect the efficiency of managers in section search and management, which will affect the production efficiency of the shipyard and easily lead to the misplacement or misuse of sections. Summary of the invention

[0005] In order to improve the convenience of hull section management and improve the efficiency of calling and assembling parts, the present application provides a ship parts positioning method combining a QR code with a three-dimensional map.

[0006] The present application provides a method for locating ship parts by combining a two-dimensional code with a three-dimensional map, which adopts the following technical solutions:

[0007] A ship parts positioning method combining a two-dimensional code with a three-dimensional map comprises the following steps:

[0008] S1: Establish a cloud platform to store and receive data for data verification;

[0009] S2: Obtain the three-dimensional map information of the shipyard plant area, obtain video data through drone aerial photography, and perform visual recognition by overlapping boundaries to construct a three-dimensional map model of the shipyard plant area;

[0010] S3: Determine the locations of the sites for storing the hull, sections and parts in the factory area respectively, calibrate the hull coordinates, section coordinates and parts coordinates and store them in the cloud platform;

[0011] S4: Plan and generate the part conveying route according to the part coordinates and the segment coordinates and store it in the cloud platform; plan and generate the segment conveying route according to the segment coordinates and the hull coordinates and store it in the cloud platform;

[0012] S5: Determine the part dimensions, part weight, part coordinates, and part installation method and store them on the cloud platform;

[0013] S6: Determine the segment dimensions, segment weight, and segment installation method and store them on the cloud platform;

[0014] S7: Generate and store a first identification code according to the hull name, section name, part size, part weight, part coordinates, part conveying path, and part installation method corresponding to the part, and implant the first identification code into the part;

[0015] S8: Generate and store a second identification code according to the hull name, segment dimensions, segment weight, segment coordinates, segment completion status, segment transportation path, and segment installation method corresponding to the segment, and embed the second identification code into the segment;

[0016] S9: After the sections and the whole section are assembled, the drone is used to capture the images of the joints between the sections and the hull. The YOLO algorithm is used to stitch the images of the joints and calibrate the abnormal joint areas.

[0017] By adopting the above technical solution and constructing a three-dimensional map model of the shipyard's factory area, important facilities in the shipyard's factory area, such as flatbed transport trailers, lifting gantries, shipbuilding docks and buildings, can be included in the three-dimensional map model. By calibrating the positions of the hull, sections used to assemble the hull, and parts used to assemble the sections in the three-dimensional map model, the location information of the parts, sections and hull storage sites can be obtained, which is convenient for retrieval and transportation. The segment name, ship name, installation method, etc. of the part are stored in the cloud platform in advance, and the parts are measured in advance, and the data such as the part's external dimensions and weight are determined and stored in the cloud platform. Since the coordinates of the part storage location and the segment location are known, and the entrance and exit of the part storage site and the segment storage site are known, the part transportation route can be automatically calculated and planned by analyzing the road conditions in the three-dimensional map model and stored in the cloud platform; after obtaining the data such as the part's external dimensions, part weight, ship name, segment name, part coordinates, part transportation route and part installation method from the cloud platform, a first identification code is generated and implanted into the part. The management personnel can easily obtain the part information and call the part by scanning the first identification code through the Beidou identification terminal. After the parts are assembled to form a complete section, the section's overall dimensions and weight are measured in advance and transmitted to the cloud platform, and the name of the ship to which the section belongs, the section installation method, etc. are stored in the cloud platform in advance. Since the coordinates of the section storage site, the hull storage site coordinates, the section site entrance and exit, and the hull storage site input are known, the section transportation route can be automatically calculated and planned by analyzing the road conditions in the three-dimensional map model and stored in the cloud platform; the second identification code is generated and implanted in the section after obtaining the hull name, section overall dimensions, section weight, section coordinates, section transportation route, and section installation method of the section from the cloud; in the process of assembling the section, the second identification code can be scanned by the Beidou identification terminal to obtain the section information, which is convenient for calling, transporting, and assembling the section, and can effectively improve the efficiency of calling, transporting, and assembling the section, while reducing the occurrence of misuse and misinstallation of the section. When the sections are assembled, drone aerial photography can be used to obtain the section seam video. The seam image data can be spliced ​​and compared using the YOLO algorithm to judge the section splicing accuracy and report an error if the section splicing is abnormal, which can effectively improve the accuracy of section assembly to the hull.

[0018] Preferably, step S2 comprises the following steps:

[0019] S21: Establish a three-dimensional coordinate system with the starting point of the drone as the origin, and obtain video data on the fixed path through fixed path planning;

[0020] S22: constructing a three-dimensional map model of the shipyard according to the video data on the fixed path, and establishing and storing the three-dimensional map model of the shipyard according to the image data of the shipyard;

[0021] S23: Use drones to regularly cruise and update maps in real time.

[0022] By adopting the above technical solution, the drone can fly over the shipyard according to a fixed route to continuously shoot real-time video images of the shipyard. By stitching the video images, a three-dimensional map model of the shipyard can be constructed. By shooting video images through regular cruises, the three-dimensional map model of the shipyard can be updated in real time to ensure the real-time nature of the three-dimensional map model of the shipyard.

[0023] Preferably, step S22 includes:

[0024] S221: extracting frames for the video on the fixed path multiple times according to the ratio of the drone's collected visual interface domain to the total screen domain, and outputting the sampled image data respectively;

[0025] S222: Identify and stitch together multiple sampled image data;

[0026] S223: Match the features of parts, sections and hulls to create a three-dimensional map model of the plant area.

[0027] By adopting the above technical solution, the video images collected by the drone are framed multiple times to obtain image data of different locations in the shipyard. The image data at different locations are identified and spliced, and feature recognition is performed on characteristic buildings, road sections, etc. in the shipyard, so as to complete the construction of a three-dimensional map model of the shipyard.

[0028] Preferably, step S222 includes:

[0029] S2221: performing vectorization processing on a plurality of sampled image data;

[0030] S2222: Identify repeated boundaries in multiple sampled image data and perform splicing;

[0031] S2223: Use the YOLO algorithm to identify parts, sections, and hulls based on area division and mark and store them separately.

[0032] By adopting the above technical solution, through vectorization processing of the sampled image data, segmenting the sampled image data, identifying repeated boundaries and splicing features, the technical effect of automatically identifying parts, sections and hulls and constructing a three-dimensional map model of the factory area can be achieved.

[0033] Preferably, the first identification code and the second identification code are implanted by transfer label pasting, paint spraying or laser marking.

[0034] By adopting the above technical solution, the first identification code can be implanted into the part and the second identification code can be implanted into the segment by transferring the label, spraying the paint or laser marking, so that the management personnel can obtain the key information of the part or segment through the Beidou identification terminal.

[0035] Preferably, step S9 comprises the following steps:

[0036] S91: After the segment assembly is completed, the joints between the segment and the hull are scanned by drone aerial photography and a splicing verification video is output;

[0037] S92: extracting frames multiple times according to the ratio of the drone visual interface domain to the total screen domain, and outputting verification image data;

[0038] S93: Identify the multiple verification image data and splice the seams between the segments and the hull;

[0039] S94: Compares the joint shape and reports an error if the joint shape is abnormal.

[0040] By adopting the above technical solution, after the segment assembly is completed, the management personnel can use the drone cruise to shoot the video of the seam between the segment and the hull, and obtain the seam image data by extracting frames and splicing the seam video. By performing shape comparison and area calculation on the seam image data, it can be determined whether the assembly between the segment and the hull is qualified, which can improve the accuracy of segment assembly and improve the efficiency of segment assembly verification.

[0041] Preferably, step S93 includes the following steps:

[0042] S931: Using the YOLO algorithm, the seams in the multiple verification images are identified according to the features of the seams between the segments and the hull, and the seam image data is output and stored.

[0043] By adopting the above technical solution, the seam can be identified according to the characteristics of the seam between the segment and the hull through the YOLO algorithm, and the seam image data can be spliced ​​to obtain the seam image data.

[0044] Preferably, step S94 includes the following steps:

[0045] S941: Binarization processing is performed on the seam image data;

[0046] S942: Identify the seams in the seam image data using an OPENCV algorithm and compare their shapes.

[0047] By adopting the above technical solution, the joint shapes of the segment and the hull can be compared through the OPENCV algorithm to determine whether the joints between the hull and the segment meet the requirements.

[0048] In summary, the present invention provides a method for locating ship parts by combining a two-dimensional code with a three-dimensional map, which includes at least one of the following beneficial technical effects:

[0049] 1. Through the cloud platform, managers can master the three-dimensional map model of the shipyard and the location of the hull, sections and parts in the factory, so that managers can quickly locate the parts and sections required for assembly, and improve the convenience of managers to find and call parts or sections. Through the first identification code on the part and the second identification code on the section, managers can use the Beidou identification terminal to determine the location of the part or section in the yard, understand its size, weight, transportation route, installation method and other information, which can effectively improve the efficiency of calling and transporting parts or sections and reduce the occurrence of wrong calling and wrong assembly;

[0050] 2. Regular drone patrols can facilitate the regular update of the three-dimensional map model of the shipyard, effectively improving the real-time nature of information transmission;

[0051] 3. After the segment assembly is completed, the video of the joint between the segment and the hull is collected by drone cruising, and the joint image data between the segment and the hull is spliced ​​by the YOLO algorithm. After the joint image data is binarized, the joint is identified and compared to determine whether the joint between the hull and the segment meets the requirements and improve the accuracy of segment assembly. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 It is a schematic diagram of an embodiment of the present application mainly used to illustrate the hull assembly process.

[0053] Figure 2 It is a flow chart mainly used to demonstrate the part positioning method in the embodiment of the present application.

[0054] Figure 3 It is a schematic diagram mainly used to illustrate the main process of step S2 in the embodiment of the present application.

[0055] Figure 4 It is a schematic diagram mainly used to illustrate the main process of step S9 in the embodiment of the present application. DETAILED DESCRIPTION

[0056] The following combination Figure 1-Figure 4 This application is described in further detail. Example

[0057] The present application embodiment discloses a method for locating ship parts by combining a two-dimensional code with a three-dimensional map. Figure 1-Figure 4 ,The method mainly includes the following steps: S1: establishing a cloud platform for storing and receiving data to facilitate data verification.

[0058] S2: Obtain the three-dimensional map information of the shipyard plant area, obtain video data through drone aerial photography, and perform visual recognition by overlapping boundaries to construct a three-dimensional map model of the shipyard plant area. Step S2 includes the following steps:

[0059] S21: Establish a three-dimensional coordinate system with the starting point of the drone as the origin, and obtain video data on the fixed path through fixed path planning.

[0060] Among them, the drone's aerial photography path can be determined according to the ratio of the area of ​​the drone's video image to the area of ​​the total image. For example, if the width of the total image area is 2km and the width of the drone's image field is 50m, the route spacing can be set to 50m, and the number of routes is set to 40. Specifically, the starting point of the drone is used as the origin of the two-dimensional plane, and then the nodes are divided into intervals of 50 meters in length and width in a column manner, and the total number of nodes is counted as N. First, the number of drones needs to be obtained to avoid path conflicts caused by too many drones in the area, and to avoid the problem of low work efficiency caused by too few drones. The selection strategy for the number of drones is: S=((62.5(RN)+31.5R) / (0.5LG))*K

[0061] Where R represents the number of edge nodes, L represents the maximum range of a single drone, G represents the drone's field of view radius, K represents the redundancy factor, and the redundancy factor belongs to one of [1.2.1.25, 1.3, 1.35, 1.4], and S is a positive integer upwards.

[0062] Regarding the selection of paths, each drone can pass through a maximum of L / 50 nodes. Because the round-trip journey of the drone needs to be calculated, the drone can pass through a maximum of 0.8*(L / 50) nodes. Therefore, the starting point of the drone is connected to the node with the farthest distance and then extended clockwise to form a circular connection. The exhaustive method is used to determine the range that a single drone can patrol. The number of routes can be increased or decreased based on the actual area of ​​the factory area and the area of ​​the field of view of the drone to collect video data. There is no limit here.

[0063] S22: constructing a three-dimensional map model of the shipyard according to the video data on the fixed path, and establishing and storing the three-dimensional map model of the shipyard according to the image data of the shipyard. Step S22 includes the following steps:

[0064] S221: The video on the fixed path is frame-sampled multiple times according to the ratio of the visual interface domain collected by the drone to the total screen domain, and the sampled image data are output respectively.

[0065] In an embodiment of the present application, the frame rate of the video collected by the drone when performing aerial photography of the shipyard plant area is 24fps, the flight speed of the drone during aerial photography is 10m / s, the length of the video data collected by the drone is 50m, the total length of the route is 12km, it takes 20 minutes to complete the shipyard plant area shooting task, and the length of the collected aerial video data is 20 minutes.

[0066] When extracting frames, frames are extracted at intervals of 120 frames to obtain sampled image data (i.e., image frames with a frame number of 1+120*N (N=0,1,2,3...) are collected as sampled image data). Continuous route image data can be obtained by sampling at intervals of 120 frames, and the sampled image data can be overlapped and spliced ​​at the edges to obtain the shipyard's plant image data.

[0067] S222: Identify and splice multiple sampled image data. Step S222 includes the following steps:

[0068] S2221: Perform vectorization processing on multiple sampled image data.

[0069] After acquiring the sampled image data from the cloud platform, multiple sampled image data to be spliced ​​are read through the visual sensor, and the sampled image data are denoised, and the SIFT feature vectors in the sampled image data are extracted and saved respectively.

[0070] S2222: Identify repeated boundaries in multiple sampled image data and stitch them together.

[0071] The SIFT feature vectors extracted from the sampled image data are purified, the feature vectors between the sampled image data are obtained, the feature vectors are matched and stitched, and the complete panoramic image data of the factory area is formed by splicing.

[0072] S2223: Use the YOLO algorithm to identify parts, sections, and hulls based on area division and mark and store them separately.

[0073] After reading the panoramic image data of the factory area, a convolutional network is run on the panoramic image of the factory area using the YOLO algorithm to extract image features. The image features are thresholded by feeding the trained model confidence of parts, segments, and hulls to determine the location and category of the object and calibrate it.

[0074] S223: Match the features of parts, sections and hulls to create a three-dimensional map model of the plant area.

[0075] By feeding the characteristic images of parts, segments, and hulls, the YOLO algorithm is trained to identify the features (appearance shape, size) of parts, segments, and hulls. When there are characteristic parts of parts, segments, and hulls in the sampled image data, the YOLO algorithm can be used to complete target recognition and marking to determine the coordinates of parts, segments, and transmission. The three-dimensional map model can be constructed through the coordinates of multiple parts, segments, and hulls. At the same time, the position coordinates of parts, segments, and hulls in the yard can be obtained in the three-dimensional map model of the factory through feature matching, and key information such as part names, segment names, and hull names can be calibrated at the same time. After the management personnel obtain the three-dimensional map model of the factory through the cloud platform, they can locate the positions of the parts and segments required to be called in the yard through the three-dimensional map model in the cloud platform, effectively improving the convenience and efficiency of calling and transporting parts or segments.

[0076] S23: Use drones to regularly cruise and update maps in real time.

[0077] In the actual production process, the drone aerial photography routes can be re-planned according to the areas where the assembly sections and hulls are located, and the assembly areas can be photographed at fixed time periods on a daily basis. The aerial video can be framed to obtain image data of the factory area and stitched together to obtain a panoramic picture of the factory that is more in line with the working conditions. At the same time, the panoramic picture of the factory can be used for target recognition and calibration, and the positions of parts, sections and hulls in the factory can be re-determined through feature matching. The three-dimensional map model of the factory can be updated to facilitate management personnel to grasp the position changes of parts, sections and hulls, ensure the real-time and accuracy of the three-dimensional map model, facilitate the tracing of the flow of parts and sections, and facilitate management personnel to manage parts and sections.

[0078] S3: Determine the locations of the sites for storing the hull, sections and parts in the factory, calibrate the hull coordinates, section coordinates and parts coordinates and store them on the cloud platform

[0079] After obtaining the three-dimensional map model of the factory, the factory can be divided into 100X100 grid areas. By performing feature matching and splicing on multiple grid areas, the parts, sections, and hulls can be calibrated and calibrated in the covered grid areas respectively, thereby achieving the technical effect of determining the stacking sites of parts, sections, and hulls.

[0080] S4: Plan and generate the part conveying route according to the part coordinates and the segment coordinates and store it in the cloud platform; plan and generate the segment conveying route according to the segment coordinates and the hull coordinates and store it in the cloud platform.

[0081] The entrances and exits of the parts stacking yard and the segment stacking yard are known. By taking images of the exits and entrances of the parts and segment stacking yards, the images of the parts and segment stacking yards are convolved with a neural network through the YOLO algorithm to obtain the coordinates of the exits and entrances of the parts and segment stacking yards in the three-dimensional map of the factory area, and the exit and entrance position coordinates of the parts and segments. At the same time, the roadblocks in the three-dimensional map model can be feature matched and calibrated. According to the exits, entrances, and roadblock positions of the parts or segment stacking yards, and the idle road section areas in the three-dimensional map model, the optimal transportation path can be matched and calibrated and stored in the cloud platform to realize the planning of parts or segment transportation routes.

[0082] S5: Determine the part dimensions, part weight, part coordinates, and part installation method and store them on the cloud platform.

[0083] After the parts are manufactured, the parts' dimensions and weight are measured in advance by laser measuring light curtains and weighing sensors and stored on the cloud platform. The installation method of the parts depends on the complexity of the parts and the connection requirements.

[0084] S6: Determine the segment dimensions, segment weight, and segment installation method and store them on the cloud platform.

[0085] Among them, after the segment assembly is completed, the assembled segment can be scanned and detected by the laser measurement light curtain to determine the segment's external dimension information. At the same time, the segment is weighed by the weighing platform and the segment's external dimension and segment installation method are stored in the cloud platform.

[0086] S7: Generate and store a first identification code according to the hull name, section name, part dimensions, part weight, part coordinates, part conveying path, and part installation method corresponding to the part, and implant the first identification code into the part.

[0087] When calling parts to assemble sections, managers can view the three-dimensional map model of the factory through the cloud platform, and quickly locate the part position and the target section position in the three-dimensional map model. After arriving at the target part stacking site, managers can use the Beidou identification terminal to scan the first identification code to obtain the hull name, section name, part size, part weight, part coordinates (real-time position of the part), part conveying path, and part installation method. The above key information can effectively improve the accuracy of part calling and the efficiency of parts transportation, reduce the occurrence of misuse and misinstallation of parts, and improve the accuracy of part assembly.

[0088] It should be noted that before assembling the parts, the operator is required to perform defect detection on the parts, and if the parts have defects, they are discarded. In the embodiment of the present application, the defect detection of the parts is performed by means of ray scanning detection, and in some other embodiments, the defect detection method of the parts can be ultrasonic scanning detection, eddy current electromagnetic detection, etc.

[0089] S8: Generate and store a second identification code according to the hull name, segment dimensions, segment weight, segment coordinates, segment completion status, segment transportation path, and segment installation method corresponding to the segment, and implant the second identification code into the segment.

[0090] When it is necessary to call up sections to assemble the hull, the management personnel can view the three-dimensional map model of the factory through the cloud platform and quickly locate the section position and the target hull position in the three-dimensional map model; when the management personnel arrive at the section position, they can obtain the name of the hull to which the section belongs, the section's overall dimensions, the section's weight, the section's coordinates (the section's current position), the section's completion status, the section's transportation path, and the section's installation method by scanning the second identification code through the Beidou identification terminal. The above key information can effectively improve the accuracy of section calling, improve the efficiency and accuracy of section transportation, reduce the occurrence of misuse and misinstallation of sections, and improve the accuracy of section assembly.

[0091] S9: After the sections and the whole section are assembled, the drone is used to capture the images of the joints between the sections and the hull. The YOLO algorithm is used to stitch the images of the joints and calibrate the abnormal joint areas.

[0092] S91: After the segments are assembled, the joints between the segments and the hull are scanned by drone aerial photography and a splicing verification video is output.

[0093] After the sections are assembled, the drone can be used to scan at a uniform speed along the joints between the sections and the hull and collect video data of the sections and the hull after assembly, which can be used as verification video data and stored on the cloud platform to prepare for the subsequent splicing of the joint image data between the sections and the hull.

[0094] S92: Extract frames multiple times according to the ratio of the drone visual interface domain to the total screen domain, and output verification image data.

[0095] For example, the length of the joint between the segment and the hull is 10m, the scanning speed of the drone is 1m / s, the field of view domain length is 1m, the aerial photography frame rate is 24fps, and after reading the verification video data, the verification image data is obtained by extracting frames at intervals of 24.

[0096] S93: Identify the multiple verification image data and stitch the seams between the segments and the hull.

[0097] S931: Using the YOLO algorithm, identify the seams in multiple verification images according to the characteristics of the seams between the segments and the hull, perform stitching, output the seam image data, and store it.

[0098] After reading the verification image data through the visual sensor and performing noise reduction processing on the verification image data, the verification image data is pre-featured and matched, and the image is convolved through the YOLO algorithm to identify and mark images with the features of segmentation, seams, and hulls. The images with segmentation, seams, and hulls are vectorized to obtain feature vectors between the image data, and the feature vectors are matched, stitched, and spliced ​​to form complete seam image data.

[0099] The verification video is framed according to the ratio of the area of ​​the surface scanned by the drone to the area of ​​the drone's field of view. For example, if the length of the seam between the segment and the hull is 20m and the length of the drone's field of view is 2m, the key frames in the verification video are extracted ten times and the verification image data are output respectively. The seam between the segment and the hull is identified by the YOLO algorithm, and the boundary stitching seam image data is repeated.

[0100] S94: Compares the joint shape and reports an error if the joint shape is abnormal.

[0101] S941: Binarization processing is performed on the seam image data.

[0102] By performing binarization processing on the seam image, the grayscale value of the pixel points of the seam image is set to 0 or 255, so as to segment the seam boundary.

[0103] S942: Identify the seams in the seam image data using an OPENCV algorithm and compare their shapes.

[0104] After acquiring the seam image data through the YOLO algorithm, the seam image data is binarized, wherein the pixel value in the seam area is set to 1, and the pixel value in other areas is set to 0. The width and shape of the seams formed with the hull after the segments are assembled according to the prescribed assembly method are fixed. The seams that exceed the prescribed area can be calibrated through the OPENCV algorithm, and then the seam surface area that exceeds the set area can be calibrated through the OPENCV algorithm as the position of the abnormal seam area, which can achieve the technical effect of detecting the seam and improve the efficiency of detecting the accuracy of segmented assembly.

[0105] It should be noted that, in the embodiment of the present application, the first identification code and the second identification code are set as QR codes, and the first identification code and the second identification code are printed as labels and respectively affixed to the corresponding parts and segments.

[0106] In some other embodiments, the first identification code and the second identification code may also be respectively embedded on the parts or segments by spraying paint or laser marking.

[0107] The implementation principle of a method for locating ship parts combining a two-dimensional code with a three-dimensional map in an embodiment of the present application is as follows: through the cloud platform, management personnel can easily master the three-dimensional map model of the shipyard plant area and the location of the hull, sections and parts stored in the plant area, so that management personnel can quickly locate the parts and sections required for assembly, thereby improving the convenience of management personnel in finding and calling parts or sections. Through the first identification code on the part and the second identification code on the section, management personnel can use the Beidou identification terminal to determine the location of the part or section in the yard, understand its external dimensions, weight, transportation route, and installation method. The information such as method can effectively improve the efficiency of calling and transporting parts or sections, and reduce the occurrence of wrong calling and wrong assembly; the scheduled cruise of drones can facilitate the regular update of the three-dimensional map model of the shipyard, effectively improving the real-time nature of information transmission; after the assembly of the sections is completed, the video of the joints between the sections and the hull is collected by drone cruise, and the image data of the joints between the sections and the hull is spliced ​​by the YOLO algorithm. After the seam image data is binarized, the seams are identified and compared, which can determine whether the seams between the hull and the sections meet the requirements, thereby improving the accuracy of the section assembly.

[0108] Example 2

[0109] In the embodiment of the present application, the first identification code and the second identification code are set as barcodes, which can be respectively set on the corresponding parts and segments by transferring to labels, spraying with paint or laser marking.

[0110] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.

Claims

1. A ship parts positioning method combining QR code and 3D map, It is characterized in that The following steps are involved: S1: Establish a cloud platform to store and receive data for data verification; S2: Obtain the three-dimensional map information of the shipyard plant area, obtain video data through drone aerial photography, and perform visual recognition by overlapping boundaries to construct a three-dimensional map model of the shipyard plant area; S3: Determine the locations of the sites for storing the hull, sections and parts in the factory area respectively, calibrate the hull coordinates, section coordinates and parts coordinates and store them in the cloud platform; S4: Plan and generate the part conveying route according to the part coordinates and the segment coordinates and store it in the cloud platform; plan and generate the segment conveying route according to the segment coordinates and the hull coordinates and store it in the cloud platform; S5: Determine the part dimensions, part weight, part coordinates, and part installation method and store them on the cloud platform; S6: Determine the segment dimensions, segment weight, and segment installation method and store them on the cloud platform; S7: Generate and store a first identification code according to the hull name, section name, part dimensions, part weight, part coordinates, part conveying path, and part installation method corresponding to the part, and implant the first identification code into the part; S8: Generate and store a second identification code according to the hull name, segment dimensions, segment weight, segment coordinates, segment completion status, segment transportation path, and segment installation method corresponding to the segment, and embed the second identification code into the segment; S9: After the segments and the whole are assembled, drones are used to capture images of the joints between the segments and the hull. The YOLO algorithm is used to stitch the segment joint images and calibrate the abnormal joint areas: S91: After the segment assembly is completed, the joints between the segment and the hull are scanned by drone aerial photography and a splicing verification video is output; S92: extracting frames multiple times according to the ratio of the drone visual interface domain to the total screen domain, and outputting verification image data; S93: Identify and splice the seams between the segments and the hull for the multiple verification image data: identify the seams in the multiple verification images according to the features of the seams between the segments and the hull through the YOLO algorithm, splice them, output the seam image data, and store them; S94: Compare the seam shapes and report an error if the seam shape is abnormal: Binarize the seam image data; identify the seam in the seam image data and compare the shapes using the OPENCV algorithm.

2. A method for locating ship parts by combining a two-dimensional code with a three-dimensional map according to claim 1, It is characterized in that Step S2 includes the following steps: S21: Establish a three-dimensional coordinate system with the starting point of the drone as the origin, and obtain video data on the fixed path through fixed path planning; S22: constructing a three-dimensional map model of the shipyard according to the video data on the fixed path, and establishing and storing the three-dimensional map model of the shipyard according to the image data of the shipyard; S23: Use drones to regularly cruise and update maps in real time.

3. A method for locating ship parts by combining a two-dimensional code with a three-dimensional map according to claim 2, It is characterized in that Step S22 includes: S221: extracting frames for the video on the fixed path multiple times according to the ratio of the drone's collected visual interface domain to the total screen domain, and outputting the sampled image data respectively; S222: Identify and stitch together multiple sampled image data; S223: Match the features of parts, sections and hulls to create a three-dimensional map model of the plant area.

4. A method for locating ship parts by combining a two-dimensional code with a three-dimensional map according to claim 3, It is characterized in that Step S222 includes: S2221: performing vectorization processing on a plurality of sampled image data; S2222: Identify repeated boundaries in multiple sampled image data and perform splicing; S2223: Use the YOLO algorithm to identify parts, sections, and hulls based on area division and mark and store them separately.

5. A method for locating ship parts by combining a two-dimensional code with a three-dimensional map according to claim 1, It is characterized in that The first identification code and the second identification code may be implanted by transferring labels, spraying paint or laser marking.