CN114331973A - Steel structure information extraction method suitable for oil-gas module manufacturing process - Google Patents

Steel structure information extraction method suitable for oil-gas module manufacturing process Download PDF

Info

Publication number
CN114331973A
CN114331973A CN202111495100.2A CN202111495100A CN114331973A CN 114331973 A CN114331973 A CN 114331973A CN 202111495100 A CN202111495100 A CN 202111495100A CN 114331973 A CN114331973 A CN 114331973A
Authority
CN
China
Prior art keywords
bounding box
steel structure
point
serial number
image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111495100.2A
Other languages
Chinese (zh)
Other versions
CN114331973B (en
Inventor
张庆恩
王晓斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bomesc Offshore Engineering Co Ltd
Original Assignee
Bomesc Offshore Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bomesc Offshore Engineering Co Ltd filed Critical Bomesc Offshore Engineering Co Ltd
Priority to CN202111495100.2A priority Critical patent/CN114331973B/en
Publication of CN114331973A publication Critical patent/CN114331973A/en
Application granted granted Critical
Publication of CN114331973B publication Critical patent/CN114331973B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Image Analysis (AREA)

Abstract

The invention discloses a steel structure information extraction method suitable for an oil-gas module manufacturing process, which comprises the following steps: the method comprises the steps of laser engraving a steel structure production serial number and storing the steel structure production serial number in a database, shooting the steel structure surface production serial number by a CCD vision camera, introducing a filtering algorithm into python to perform noise reduction processing on a picture, performing image alignment processing in python, performing training of an image production serial number prediction model by using an MLP neural network algorithm, recognizing on-site steel structure production serial number information, sending the recognition information to a server through a network, and displaying the information on a display screen. Compared with the traditional method, the method can effectively solve the problems of complex information searching work, less information acquisition amount, poor information integrity and the like in the oil-gas module manufacturing process, and is efficient, reliable, strong in universality and strong in adaptability.

Description

Steel structure information extraction method suitable for oil-gas module manufacturing process
Technical Field
The invention relates to an information extraction method, in particular to a steel structure information extraction method suitable for an oil-gas module manufacturing process.
Background
The oil gas module is formed by welding various steel structures, the steel structures are various and numerous, and the accurate acquisition and the correspondence of the information of each steel structure are very difficult. In many manufacturing fields, means such as bar codes and RFID labels are adopted to facilitate information query, but in the process of manufacturing oil gas modules, common labels cannot be applied to field operation environments due to extreme climates such as strong wind current, high welding temperature and the like. In the manufacturing process of present oil gas module, on-the-spot engineer still adopts the mode of paper drawing to seek the information of steel construction, seeks inefficiency, and it is limited to seek the information, can not satisfy actual engineering demand completely, needs a high-efficient stable, convenient easy information extraction method in oil gas module manufacturing process urgently.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide the steel structure information extraction method which can improve the speed of extracting the basic information of the steel structure, improve the accuracy of information of various parts in field operation, ensure that the oil-gas module manufacturing process is smoothly carried out, adapt to complex operating environments, have strong universality and simple search mode and is suitable for the oil-gas module manufacturing process.
The invention relates to a steel structure information extraction method suitable for an oil-gas module manufacturing process, which comprises the following steps of:
firstly, when various steel structures of an oil-gas module are built, a unique production serial number is engraved on the surface of the steel structure by utilizing laser, and the production serial number and various basic information of the steel structure are stored in a database of a server end in a key-value pair mode, wherein the production serial number is a key, and the various basic information is a value;
step two, photographing the production serial number of the surface of the steel structure by using a CCD (charge coupled device) vision camera, enabling a lens plane of the CCD vision camera to be parallel to the surface of the steel structure during photographing, and transmitting a photographed picture to a computer through an industrial Ethernet;
opening a picture shot by a CCD visual camera in a python programming environment, and sequentially introducing a median filtering algorithm and a wiener filtering algorithm to perform noise reduction on the picture to obtain a noise reduction image;
fourthly, performing alignment processing on the noise reduction processing image in a computer, wherein the specific process is as follows:
step one, a numpy module is led in the Python, discrete point coordinate extraction operation is carried out on the noise reduction processing image obtained in the step two, and a point A with the maximum horizontal coordinate in all discrete points is obtained1The point A having the smallest abscissa2Point B with the largest ordinate1Point B having the smallest ordinate2Creating a first bounding box and a second bounding box according to four points, wherein the two bounding boxes are rectangular and establishing a linear equation of four edges of each bounding box; wherein the first and second sides of the first bounding box are parallel to the straight line A1A2And the first edge passes through point B1The second side passes through the point B2The third edge passes through point A1The fourth side passes through point A2(ii) a The first and second sides of the second bounding box are parallel to the straight line B1B2And the first edge passes through point A1The second side passing through point A2The third edge passes through point B1The fourth side passing through B2
Step two, introducing a K-means module into Python, respectively introducing the four-edge equation of the first bounding box and the four-edge equation of the second bounding box obtained in the step one, and calculating by using a clustering algorithm to obtain the number n of discrete points in the first bounding box1Number of discrete points n in the second enclosure2Comparison of n1And n2Selecting the bounding box containing the largest number of discrete points as a serial number bounding box and solving the slope of the long side of the serial number bounding box;
thirdly, combining the first step and the second step to calculate to obtain the inclination angle theta of the sequence number bounding box and solve the coordinate of the central point of the sequence number bounding box, wherein the theta indicates the included angle between the long edge of the sequence number bounding box and the x axis;
fourthly, clockwise rotating the noise reduction processing image used in the first step around the central point of the sequence number bounding box according to the inclination angle theta to obtain an alignment processing image;
step five, training an image production sequence number prediction model by using an MLP neural network algorithm, wherein the specific process is as follows:
step one, repeating the step two to the step four for a plurality of times to obtain a large number of alignment processing images as image samples, and manually determining the production serial number corresponding to each image sample;
step two, introducing a neural network module into python, extracting an image sample obtained in the step one, and identifying the production sequence number by using an MPL neural network algorithm to obtain an identification result of the image sample;
thirdly, judging whether the identification result is matched with the manually identified production sequence number result, and returning to the second step to identify the production sequence number of the image sample by reusing the MPL neural network algorithm if the identification result is failed to be matched with the manually identified production sequence number result; if the matching is successful, returning to the second step to extract the next image sample for identifying the production serial number until all the image samples can be successfully identified to obtain an image production serial number identification model;
step six, in the actual operation of the oil-gas module, selecting a steel structure, sequentially performing the processes of the step two, the step three and the step four, and calculating the alignment processing image obtained in the step four by using the image production sequence number prediction model obtained in the step five in python to obtain the production sequence number of the steel structure;
and step seven, the computer sends a request to the server through the network, finds the steel structure corresponding to the production sequence in the step six in the database of the server, and displays the basic information of the steel structure on a display screen of the operation site through network transmission, so that the site operation is facilitated.
The invention has the advantages that: the server remote database is adopted to store the basic information of various steel structures, so that the integrity and comprehensiveness of the information are ensured, and the multi-end use in an operation field is also ensured; the production serial number is added on the steel structure in a laser code carving mode, so that the production serial number can resist the environment of a high-temperature manufacturing field and resist corrosion and damage in a service period; the neural network is used to obtain the image character prediction model to complete the identification work of the production serial number, so that the identification efficiency and accuracy can be greatly improved; the main calculation and data processing are concentrated before the operation, the calculated amount is less when the information is searched, and the information searching efficiency is improved; the method can effectively solve the problems of complex information searching work, less information acquisition amount, poor information integrity and the like in the oil-gas module manufacturing process, and is efficient, reliable, strong in universality and strong in adaptability.
Drawings
FIG. 1 is a flow chart of a steel structure information extraction method suitable for use in oil and gas module manufacturing processes;
FIG. 2 is a schematic diagram of data transmission of a steel structure information extraction method suitable for use in oil and gas module manufacturing processes;
FIG. 3 is a schematic diagram of steel structure information extraction method bounding box settings suitable for use in oil and gas module manufacturing processes.
Detailed Description
The invention is described in detail below with reference to the figures and specific embodiments.
The invention relates to a steel structure information extraction method suitable for an oil-gas module manufacturing process, which comprises the following steps:
firstly, when various steel structures of an oil-gas module are built, unique production serial numbers are engraved on the surfaces of the steel structures by utilizing laser, and the production serial numbers and various basic information (such as length information) of the steel structures are stored in a database of a server side in a key-value pair mode, wherein the production serial numbers are keys, and the various basic information are values.
And step two, photographing the production serial number of the surface of the steel structure by using a CCD vision camera, enabling a lens plane of the CCD vision camera to be parallel to the surface of the steel structure during photographing, and transmitting the photographed picture to a computer through an industrial Ethernet.
And step three, opening the picture shot by the CCD visual camera in the python programming environment, and sequentially introducing a median filtering algorithm and a wiener filtering algorithm to perform noise reduction processing on the picture to obtain a noise reduction processing image.
Fourthly, performing alignment processing on the noise reduction processing image in a computer, wherein the specific process is as follows:
step one, a numpy module is led in the Python, discrete point coordinate extraction operation is carried out on the noise reduction processing image obtained in the step two, and a point A with the maximum horizontal coordinate in all discrete points is obtained1The point A having the smallest abscissa2Point B with the largest ordinate1Point B having the smallest ordinate2And creating a first bounding box and a second bounding box according to four points, wherein the two bounding boxes are rectangular and establishing a linear equation of four sides of each bounding box. Wherein the first and second sides of the first bounding box are parallel to the straight line A1A2And the first edge passes through point B1The second side passes through the point B2The third edge passes through point A1The fourth side passes through point A2. The first and second sides of the second bounding box are parallel to the straight line B1B2And the first edge passes through point A1The second side passing through point A2The third edge passes through point B1The fourth side passing through B2. Therefore, the first, second, third and fourth edge equations of the first bounding box are respectively as follows:
Figure BDA0003399828070000041
Figure BDA0003399828070000042
Figure BDA0003399828070000043
Figure BDA0003399828070000044
the first, second, third and fourth edge equations of the second bounding box are respectively:
Figure BDA0003399828070000051
Figure BDA0003399828070000052
Figure BDA0003399828070000053
Figure BDA0003399828070000054
in the formula, x1、y1Respectively represent A1Point abscissa, ordinate, x2、y2Respectively represent A2Point abscissa, ordinate, x3、y3Respectively represent B1Point abscissa, ordinate, x4、y4Respectively represent B2Point abscissa and ordinate; k is a radical ofiARepresenting the slope of the ith edge of the first bounding box. k is a radical ofiBRepresenting the slope of the ith edge of the second bounding box. biADenotes the ith edge intercept of the first bounding box, biBRepresenting the ith edge intercept of the second bounding box.
Step two, introducing a K-means module into Python, respectively introducing the four-edge equation of the first bounding box and the four-edge equation of the second bounding box obtained in the step one, and calculating by using a clustering algorithm to obtain the number n of discrete points in the first bounding box1Number of discrete points n in the second enclosure2Comparison of n1And n2Selecting the bounding box containing the largest number of discrete points as the bounding box of the sequence number and solving the slope of the long edge of the bounding box of the sequence number, wherein the process is as follows:
the equation for the ith edge of the numbered bounding box is
y=kix+bi
Easy to know ki=kiAOr kiB,bi=biAOr biB
Setting the intersection point of the first edge and the third edge of the bounding box with the sequence number as C13The intersection point of the first edge and the fourth edge is C14The intersection point of the second side and the third side is C23。C13The coordinates of (A) can be obtained by simultaneous equations of the first and third edges, C14,C23The same process can be used.Comparing line segment C13C23And line segment C13C14The slope of the longer line segment is recorded as k
And thirdly, combining the first step and the second step to calculate to obtain the inclination angle theta of the sequence number bounding box and solve the coordinate of the central point of the sequence number bounding box, wherein the theta indicates the included angle between the long edge of the sequence number bounding box and the x axis.
θ=arctank
Let the coordinate of the center point of the bounding box with the serial number be (x)0,y0) Then there is
Figure BDA0003399828070000055
Figure BDA0003399828070000061
In the formula, x14、y14Represents point C14Abscissa, ordinate, x23、y23Represents point C23The abscissa and the ordinate of (a);
fourthly, the central point (x) of the bounding box with the sequence number of the noise reduction processing image used in the first step is surrounded0,y0) And rotating clockwise according to the inclination angle theta to obtain an alignment processing image.
Step five, training an image production sequence number prediction model by using an MLP neural network algorithm, wherein the specific process is as follows:
and step one, repeating the step two to the step four for a plurality of times to obtain a large number of alignment processing images as image samples, and manually determining the production serial number corresponding to each image sample.
Step two, introducing a neural network module into python, extracting an image sample obtained in the step one, and identifying the production sequence number by using an MPL neural network algorithm to obtain an identification result of the image sample;
and thirdly, judging whether the identification result is matched with the manually identified production sequence number result, if the matching fails, returning to the second step, and carrying out production sequence number identification on the image sample by using the MPL neural network algorithm again (the model is automatically strengthened in the neural network training process, so that the next identification is closer to correct). And if the matching is successful, returning to the second step to extract the next image sample for identifying the production serial number until all the image samples can be successfully identified to obtain an image production serial number identification model.
And step six, in the actual operation of the oil-gas module, selecting a steel structure, sequentially performing the processes of the step two, the step three and the step four, and calculating the alignment processing image obtained in the step four by using the image production sequence number prediction model obtained in the step five in python to obtain the production sequence number of the steel structure.
And step seven, the computer sends a request to the server through the network, finds the steel structure corresponding to the production sequence in the step six in the database of the server, and displays the basic information of the steel structure on a display screen of the operation site through network transmission, so that the site operation is facilitated.

Claims (1)

1. A steel structure information extraction method suitable for an oil-gas module manufacturing process is characterized by comprising the following steps:
firstly, when various steel structures of an oil-gas module are built, a unique production serial number is engraved on the surface of the steel structure by utilizing laser, and the production serial number and various basic information of the steel structure are stored in a database of a server end in a key-value pair mode, wherein the production serial number is a key, and the various basic information is a value;
step two, photographing the production serial number of the surface of the steel structure by using a CCD (charge coupled device) vision camera, enabling a lens plane of the CCD vision camera to be parallel to the surface of the steel structure during photographing, and transmitting a photographed picture to a computer through an industrial Ethernet;
opening a picture shot by a CCD visual camera in a python programming environment, and sequentially introducing a median filtering algorithm and a wiener filtering algorithm to perform noise reduction on the picture to obtain a noise reduction image;
fourthly, performing alignment processing on the noise reduction processing image in a computer, wherein the specific process is as follows:
first step, in PythonImporting a numpy module, and performing discrete point coordinate extraction operation on the noise reduction processing image obtained in the step two to obtain a point A with the maximum horizontal coordinate in all discrete points1The point A having the smallest abscissa2Point B with the largest ordinate1Point B having the smallest ordinate2Creating a first bounding box and a second bounding box according to four points, wherein the two bounding boxes are rectangular and establishing a linear equation of four edges of each bounding box; wherein the first and second sides of the first bounding box are parallel to the straight line A1A2And the first edge passes through point B1The second side passes through the point B2The third edge passes through point A1The fourth side passes through point A2(ii) a The first and second sides of the second bounding box are parallel to the straight line B1B2And the first edge passes through point A1The second side passing through point A2The third edge passes through point B1The fourth side passing through B2
Step two, introducing a K-means module into Python, respectively introducing the four-edge equation of the first bounding box and the four-edge equation of the second bounding box obtained in the step one, and calculating by using a clustering algorithm to obtain the number n of discrete points in the first bounding box1Number of discrete points n in the second enclosure2Comparison of n1And n2Selecting the bounding box containing the largest number of discrete points as a serial number bounding box and solving the slope of the long side of the serial number bounding box;
thirdly, combining the first step and the second step to calculate to obtain the inclination angle theta of the sequence number bounding box and solve the coordinate of the central point of the sequence number bounding box, wherein the theta indicates the included angle between the long edge of the sequence number bounding box and the x axis;
fourthly, clockwise rotating the noise reduction processing image used in the first step around the central point of the sequence number bounding box according to the inclination angle theta to obtain an alignment processing image;
step five, training an image production sequence number prediction model by using an MLP neural network algorithm, wherein the specific process is as follows:
step one, repeating the step two to the step four for a plurality of times to obtain a large number of alignment processing images as image samples, and manually determining the production serial number corresponding to each image sample;
step two, introducing a neural network module into python, extracting an image sample obtained in the step one, and identifying the production sequence number by using an MPL neural network algorithm to obtain an identification result of the image sample;
thirdly, judging whether the identification result is matched with the manually identified production sequence number result, and returning to the second step to identify the production sequence number of the image sample by reusing the MPL neural network algorithm if the identification result is failed to be matched with the manually identified production sequence number result; if the matching is successful, returning to the second step to extract the next image sample for identifying the production serial number until all the image samples can be successfully identified to obtain an image production serial number identification model;
step six, in the actual operation of the oil-gas module, selecting a steel structure, sequentially performing the processes of the step two, the step three and the step four, and calculating the alignment processing image obtained in the step four by using the image production sequence number prediction model obtained in the step five in python to obtain the production sequence number of the steel structure;
and step seven, the computer sends a request to the server through the network, finds the steel structure corresponding to the production sequence in the step six in the database of the server, and displays the basic information of the steel structure on a display screen of the operation site through network transmission, so that the site operation is facilitated.
CN202111495100.2A 2021-12-08 2021-12-08 Steel structure information extraction method suitable for oil-gas module manufacturing process Active CN114331973B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111495100.2A CN114331973B (en) 2021-12-08 2021-12-08 Steel structure information extraction method suitable for oil-gas module manufacturing process

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111495100.2A CN114331973B (en) 2021-12-08 2021-12-08 Steel structure information extraction method suitable for oil-gas module manufacturing process

Publications (2)

Publication Number Publication Date
CN114331973A true CN114331973A (en) 2022-04-12
CN114331973B CN114331973B (en) 2024-06-04

Family

ID=81051165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111495100.2A Active CN114331973B (en) 2021-12-08 2021-12-08 Steel structure information extraction method suitable for oil-gas module manufacturing process

Country Status (1)

Country Link
CN (1) CN114331973B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574502A (en) * 2014-12-22 2015-04-29 博迈科海洋工程股份有限公司 Laser cross section feature identification method based on steel structure model
CN108416355A (en) * 2018-03-09 2018-08-17 浙江大学 A kind of acquisition method of the industry spot creation data based on machine vision
CN112749502A (en) * 2021-01-27 2021-05-04 天津博迈科海洋工程有限公司 Regional virtual assembly lightweight method for oil-gas platform module
US20210201472A1 (en) * 2019-12-30 2021-07-01 Korea Advanced Institute Of Science And Technology Method of inspecting and evaluating coating state of steel structure and system therefor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104574502A (en) * 2014-12-22 2015-04-29 博迈科海洋工程股份有限公司 Laser cross section feature identification method based on steel structure model
CN108416355A (en) * 2018-03-09 2018-08-17 浙江大学 A kind of acquisition method of the industry spot creation data based on machine vision
US20210201472A1 (en) * 2019-12-30 2021-07-01 Korea Advanced Institute Of Science And Technology Method of inspecting and evaluating coating state of steel structure and system therefor
CN112749502A (en) * 2021-01-27 2021-05-04 天津博迈科海洋工程有限公司 Regional virtual assembly lightweight method for oil-gas platform module

Also Published As

Publication number Publication date
CN114331973B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN106041937B (en) A kind of control method of the manipulator crawl control system based on binocular stereo vision
CN107977639B (en) Face definition judgment method
WO2017067321A1 (en) Pcb card matching method and device based on outer contour
CN105740899A (en) Machine vision image characteristic point detection and matching combination optimization method
CN107977656A (en) A kind of pedestrian recognition methods and system again
CN111144401A (en) Touch screen control operation method for deep learning and visual servo of power plant centralized control room
CN109034237B (en) Loop detection method based on convolutional neural network signposts and sequence search
CN108694716B (en) Workpiece detection method, model training method and equipment
CN115597494B (en) Precision detection method and system for prefabricated part preformed hole based on point cloud
CN116579992A (en) Small target bolt defect detection method for unmanned aerial vehicle inspection
CN114092478B (en) Anomaly detection method
CN114972421A (en) Workshop material identification tracking and positioning method and system
CN115546223A (en) Method and system for detecting loss of fastening bolt of equipment under train
CN111783672A (en) Image feature identification method for improving bridge dynamic displacement precision
CN108121806A (en) One kind is based on the matched image search method of local feature and system
CN111167731A (en) Product sorting method, product sorting system and intelligent sorting robot
CN114235815A (en) Method for detecting surface defects of outdoor electrical equipment of converter station based on scene filtering
CN114219753A (en) Power equipment surface defect detection method based on deep learning and terminal
CN113762159A (en) Target grabbing detection method and system based on directional arrow model
CN114331973B (en) Steel structure information extraction method suitable for oil-gas module manufacturing process
CN117152727A (en) Automatic reading method of pointer instrument for inspection robot
CN101894154B (en) Method for extracting key pattern from image file
CN107193965A (en) A kind of quick indoor orientation method based on BoVW algorithms
US20230360262A1 (en) Object pose recognition method based on triangulation and probability weighted ransac algorithm
CN115661097A (en) Object surface defect detection method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant