Building deformation monitoring method and device based on machine vision and storage medium
By acquiring images of triangular components on buildings, identifying and fitting center coordinates, the accuracy problem of deformation monitoring of old buildings was solved, and real-time and reliable deformation monitoring was achieved.
Patent Information
- Application Number
- CN202410151754.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-02-02
AI Technical Summary
Existing technologies are difficult to reliably and accurately monitor the deformation of old buildings in real-world environments, especially satellite remote sensing and tiltmeters, which are ineffective under various interference factors.
By acquiring a series of images of triangular components fixed to a building, an industrial camera is used to identify the triangular region and determine its center coordinates. Equation fitting is then performed, and based on the fitting results and preset verification equations, a target region group is determined, thereby calculating the deformation of the building.
It enables real-time monitoring of deformation in old buildings, improving the accuracy and reliability of monitoring, and is suitable for old buildings that are difficult to monitor through satellite remote sensing or tiltmeters.
Smart Images

Figure CN118115867B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of machine vision technology, and in particular to a machine vision-based method, apparatus, equipment, and computer-readable storage medium for monitoring building deformation. Background Technology
[0002] With the development of civil engineering safety technology, the health monitoring and deformation assessment of buildings, especially old buildings, has become a hot topic of concern in academic and engineering circles both domestically and internationally. How to infer the working and health status of old building structures from acquired images is one of the most critical issues in the health monitoring of old buildings. Currently, domestic and international methods for health monitoring of old buildings mainly include satellite remote sensing-based identification methods and tiltmeter-based identification methods. However, satellite remote sensing and tiltmeters can only accurately identify structures under conditions of minimal or no interference. In real-world environments, the combined effects of various interfering factors make it difficult to achieve reliable and accurate monitoring of the deformation of old buildings.
[0003] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0004] The main objective of this application is to provide a machine vision-based method, apparatus, equipment, and computer-readable storage medium for monitoring building deformation, aiming to improve the accuracy of deformation monitoring of old buildings.
[0005] To achieve the above objectives, this application provides a machine vision-based method for monitoring building deformation, comprising the following steps: A series of images of a triangular component fixed to the monitored building are acquired, and the series of images are identified to obtain the triangular region and the center coordinates of the triangular region. The system images include multiple images. An equation is fitted based on the center coordinates and the image capture time, and the target area group is determined based on the fitting results and the preset verification equation. The deformation results of the monitored building are determined based on the center coordinates of the target triangle region contained in the target region group.
[0006] Optionally, acquiring a series of images of a triangular component fixed to the monitored building, and identifying the series of images to obtain the triangular region and the center coordinates of the triangular region includes: The triangular component is photographed by an industrial camera to obtain a series of images at different shooting times. The triangular component is fixedly installed on the monitored building. The positions of the industrial camera, the monitored building, and the triangular component are relatively fixed. The triangular component includes a triangular area. The series of images are identified to obtain the triangular region of the triangular component in the series of images, and the center coordinates of the triangular region are determined.
[0007] Optionally, an equation is fitted based on the center coordinates and the image capture time, and the target region group is determined according to the fitting result and a preset verification equation, including: Based on the center coordinates of the triangular region and the image capture time, an equation is fitted to obtain the fitting equation between the center coordinates and time. The group verification coefficients are determined based on the preset verification equations and the fitting equations of the corresponding triangular regions within the group. The target region group is then determined based on the group verification coefficients.
[0008] Optionally, the fitting equation includes a horizontal coordinate fitting equation and a vertical coordinate fitting equation. The process of fitting the equation based on the center coordinates of the triangular region and the image capture time to obtain the fitting equation between the center coordinates and time includes: Determine the x-coordinate of the center coordinate of the triangular region, and set the x-coordinate and the corresponding image capture time as a set of data; Based on the series of images, obtain the x-coordinate-time series data of the triangular region; Based on the aforementioned abscissa-time series data, a fitting equation for the abscissa of the triangular region is obtained; and Determine the ordinate of the center coordinate of the triangular region, and set the ordinate and the corresponding image capture time as a set of data; Based on the series of images, obtain the ordinate-time series data of the triangular region; Based on the aforementioned ordinate-time series data, a fitting equation for the ordinate of the triangular region is obtained.
[0009] Optionally, determining the group verification coefficient based on the preset verification equation and the fitting equation of the corresponding triangular region within the group, and determining the target region group based on the group verification coefficient includes: The triangular region is grouped to obtain multiple region subgroups; The fitting equations of the triangular regions contained in the regional group are integrated based on the preset verification equations to obtain the group verification coefficients. The group with the smallest group verification coefficient is determined as the target group.
[0010] Optionally, determining the deformation result of the monitored building based on the center coordinates of the target triangular region included in the target region group includes: The average value of the center coordinates of each triangular region contained in the target area group is determined as the deformation result of the monitored building; The deformation result is compared with a preset value; If the deformation result is less than the first preset value, the deformation monitoring result of the monitored building will be output as no deformation. If the deformation result is greater than or equal to the first preset value, the deformation monitoring result of the monitored building will be output as deformation.
[0011] Optionally, after determining the deformation result of the monitored building based on the center coordinates of the target triangular region included in the target region group, the method further includes: The deformation results are updated based on the new images of the triangular components on the monitored building that have been received.
[0012] Furthermore, to achieve the above objectives, this application also provides a machine vision-based building deformation monitoring device, comprising: The acquisition module is used to acquire a series of images of triangular components fixed on the monitored building, and to identify the series of images to obtain the triangular region and the center coordinates of the triangular region, wherein the system images include multiple images; The fitting module is used to fit an equation based on the center coordinates and the image capture time, and to determine the target region group based on the fitting result and the preset verification equation. The determination module is used to determine the deformation results of the monitored building based on the center coordinates of the target triangular region contained in the target region group.
[0013] To achieve the above objectives, this application also proposes a machine vision-based building deformation monitoring device, which includes a memory, a processor, and a machine vision-based building deformation monitoring program stored in the memory and executable on the processor. When the machine vision-based building deformation monitoring program is executed by the processor, it implements the steps of the machine vision-based building deformation monitoring method described above.
[0014] To achieve the above objectives, this application also proposes a computer-readable storage medium storing a machine vision-based building deformation monitoring program, which, when executed by a processor, implements the steps of the machine vision-based building deformation monitoring method described above.
[0015] To achieve the above objectives, this application proposes a machine vision-based method, apparatus, equipment, and computer-readable storage medium for monitoring building deformation. It acquires a series of images of triangular components fixed to the building being monitored using an industrial camera. The images are then identified and located to obtain the triangular regions and their center coordinates. An equation is fitted based on the center coordinates and the image capture time to determine a target area group with high accuracy. Finally, the deformation result of the monitored building is obtained based on the center coordinates of the target area group. This method enables real-time monitoring of building deformation and improves the accuracy of building deformation monitoring. Attached Figure Description
[0016] Figure 1 This is a flowchart illustrating the first embodiment of the machine vision-based building deformation monitoring method of this application; Figure 2 This is a detailed flowchart illustrating the first embodiment of the machine vision-based building deformation monitoring method of this application. Figure 3 This is a schematic diagram of the triangular component involved in the first embodiment of the machine vision-based building deformation monitoring method of this application; Figure 4 This is a schematic diagram of the triangular region division in the triangular component involved in the first embodiment of the building deformation monitoring method based on machine vision in this application; Figure 5 This is a second detailed flowchart illustrating the first embodiment of the machine vision-based building deformation monitoring method of this application; Figure 6 This is a schematic diagram of the structure of the machine vision-based building deformation monitoring device of this application; Figure 7 This is a schematic block diagram of the internal structure of a machine vision-based building deformation monitoring device according to an embodiment of this application.
[0017] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0018] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain the present invention, and should not be construed as limiting the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0019] The first embodiment of this application proposes a machine vision-based method for monitoring building deformation, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the machine vision-based building deformation monitoring method of this application, as shown below. Figure 1 As shown, the machine vision-based building deformation monitoring method includes: Step S10: Acquire a series of images of the triangular component fixed on the monitored building, and identify the series of images to obtain the triangular region and the center coordinates of the triangular region, wherein the system images include multiple images; The monitored buildings in this embodiment mainly refer to old buildings that are difficult to monitor using satellite remote sensing or tiltmeters, such as historical buildings and old residential houses. The triangular component involved in this embodiment is a marker used to locate the monitored building. The triangular component is fixed to the surface of the monitored building using screws, glue, ropes, etc. Thus, if the monitored building tilts or settles, the position of the triangular component fixed to its surface will also change accordingly. Therefore, this embodiment uses the triangular component as a marker, and determines the deformation of the building by observing the changes in the coordinate position of the triangular component.
[0020] Specifically, refer to Figure 2 , Figure 2 This is a detailed flowchart illustrating the first embodiment of the machine vision-based building deformation monitoring method of this application. Figure 2 As shown, step S10 includes: Step S101: Take pictures of the triangular component with an industrial camera to obtain a series of images taken at different times. The triangular component is fixedly installed on the building being monitored. The positions of the industrial camera, the building being monitored, and the triangular component are relatively fixed. The triangular component includes a triangular area. Triangular components are triangular-shaped markers, which can be equilateral triangles with a certain thickness. The material of the triangular components must be stable and resistant to weathering and aging to prevent damage to their shape and positioning due to prolonged fixation to the exterior of the building. Their side length, thickness, and color are determined according to actual needs to ensure that industrial cameras can clearly capture the triangular components. Figure 3 This is a schematic diagram of the triangular component involved in the first embodiment of the machine vision-based building deformation monitoring method of this application. Figure 3 The basic shape of the triangular component shown is an equilateral triangle. Inside the outer frame of the equilateral triangle, there are three nested triangles with successively decreasing side lengths. These nested triangles divide the triangular component into multiple triangular regions.
[0021] Beforehand, select a stable location with minimal interference on the outer surface of the building to be monitored, suitable for installing the triangular component. For example, install it on an external load-bearing wall, avoiding areas with low stability such as windows and doors. Furthermore, choose a side away from roads and pedestrian traffic, preferably a leeward side. After the triangular component is securely installed, install industrial cameras around the building. The industrial cameras should be installed in locations with minimal interference and where they can fully capture images of the triangular component. For example, the industrial cameras can be installed in a stable area at a certain height from the ground, such as on a load-bearing column of another building directly facing the triangular component and less than 10 meters away from the building being monitored.
[0022] After the industrial camera is fixedly installed, it continuously captures images of the triangular component according to preset shooting parameters. This can be done by continuously recording video, recording video of the triangular component at preset time intervals, or capturing images at preset time intervals. The fixed shooting period may be several months, years, or even decades. The industrial camera uploads the acquired video or images to a machine vision-based building deformation monitoring device. The machine vision-based building deformation monitoring device selects the required image frames from the images uploaded by the industrial camera and saves them as a series of images. Understandably, the more images in the series, the more accurate the final result; however, a larger number of images means higher computational costs. Therefore, the number of images in the series is determined according to specific needs, such as 20, 30, 50, or 100 images. The interval between images in the series can be fixed or random, such as fixed at 12 hours, 24 hours, or 48 hours. In this embodiment, image frames can be selected backwards from the most recent shooting time, with images at 12-hour intervals being selected as the required image frames, until 30 images in the series are obtained.
[0023] Step S102: Identify the series of images to obtain the triangular region of the triangular component in the series of images, and determine the center coordinates of the triangular region.
[0024] like Figure 4 As shown, Figure 4 This is a schematic diagram of the triangular region division in the triangular component involved in the first embodiment of the machine vision-based building deformation monitoring method of this application, as shown below. Figure 4 As shown, each small triangular region is labeled as a triangular region, and each region is numbered, resulting in Triangular Region 1, Triangular Region 2, ..., Triangular Region 9. In other embodiments, more or fewer triangular regions can be set.
[0025] This embodiment identifies triangular components in a series of images based on a feature matching algorithm in computer vision technology. The feature matching algorithm is a mathematical tool in computer vision that sorts feature descriptors in two images and returns matching points. It is a technique that can be used to solve a wide range of reliable motion tracking, localization, and image retrieval problems. This embodiment identifies triangular regions based on the feature matching algorithm, mainly including the following steps: Feature detection, based on the spatial distribution, basic features, shape, and structural features of feature points in the triangular region of the triangular component in a series of images, detects features in the image sequence using a feature detection algorithm; Feature descriptor extraction: Based on the features detected from the sequence images, a feature descriptor extraction algorithm is used to extract the feature descriptor for each feature. Feature comparison involves comparing the feature descriptors extracted from each image in the series to locate transient matching points between features. The matching points are filtered by removing error points and duplicate points from the obtained matching points to obtain valid matching points, and the matching results are determined based on the valid matching points. Matching result verification involves using computer vision algorithms or manually labeled comparison points to evaluate the matching results, and identifying the regions corresponding to the matched points that pass the evaluation as the recognized triangular regions.
[0026] In other embodiments, a target recognition model can be built using deep learning to identify triangular components. The regions within the identified triangular components are then numbered counter-clockwise. Normally, this allows obtaining each triangular region of each component. Figure 4 Nine triangular regions in the middle.
[0027] After identifying the triangular components, the center coordinates of the triangular regions can be quickly and easily obtained using programming languages and OpenCV. Each triangular region and its center coordinates are represented as: Triangle Region 1 (X1, Y1), Triangle Region 2 (X2, Y2) ... Triangle Region 9 (X9, Y9).
[0028] Since the positions of the industrial camera, the triangular component, and the monitored building are relatively fixed, this embodiment can directly perform subsequent calculations based on the center coordinates of the triangular region within the triangular component in the planar coordinate system of the series of images. Unless otherwise specified, the coordinates involved in this embodiment refer to the planar xy coordinate system. In other embodiments, to prevent inaccurate monitoring results due to changes in the relative position of the center coordinates caused by changes in the relative positional relationship, the planar coordinates in the image are transferred to the world coordinate system of the real environment. For example, an xyz world coordinate system is established with the location of the industrial camera as coordinate 0. After obtaining the planar center coordinates based on the series of images, the coordinates are then transferred to the xyz world coordinate system, and subsequent calculations are performed based on the center coordinates of the triangular region within the triangular component in the xyz world coordinate system.
[0029] Step S20: Based on the center coordinates and the image capture time, perform equation fitting, and determine the target area group according to the fitting result and the preset verification equation. See Figure 5 , Figure 5 This is a detailed flowchart illustrating the second part of the first embodiment of the machine vision-based building deformation monitoring method of this application. Figure 5 As shown, step S20 includes: Step S201: Based on the center coordinates of the triangular region and the image capture time, perform equation fitting to obtain the fitting equation between the center coordinates and time; The acquisition time for each triangular region in each image is the same, therefore the fitting equation between time and coordinates can be determined. This embodiment determines the fitting equations for the horizontal coordinate and time, and the fitting equations for the vertical coordinate and time, specifically: Determine the x-coordinate of the center coordinate of the triangular region, and set the x-coordinate and the corresponding image capture time as a set of data, which can be represented as (T, X). Based on the series of images, the abscissa-time series data of the triangular region is obtained, namely (T, X1), (T, X2)......(T, X9). As shown in Table 1, Table 1 is an example of abscissa-time series data.
[0030] Table 1: Example Data for the Horizontal Axis - Time Series Based on the aforementioned abscissa-time series data, a fitting equation for the abscissa of the triangular region is obtained. In this embodiment, the fitting equations for the abscissas of each triangular region (taking nine regions as an example) are expressed as follows: Where X1-X9 represent the x-coordinates of the nine triangular regions, A represents the constant in the fitting equation, and T represents time.
[0031] The ordinate of the center coordinate of the triangular region is determined, and the ordinate and the corresponding image capture time are used to form a set of data; in this embodiment, the set of data is represented as (T, Y). Based on the series of images, obtain the ordinate-time series data of the triangular region; that is, (T, Y1), (T, Y2)......(T, Y9). As shown in Table 2, Table 2 is an example of ordinate-time series data.
[0032] Table 2. Vertical Axis - Example Data for Time Series Based on the aforementioned ordinate-time series data, a fitting equation for the ordinate of the triangular region is obtained. In this embodiment, the fitting equations for the ordinates of each triangular region are expressed as follows: Where Y1-Y9 represent the ordinates of the nine triangular regions, B represents the constant in the ordinate fitting equation, and T represents time.
[0033] Step S202: Determine the group verification coefficients based on the preset verification equations and the fitting equations of the corresponding triangular regions within the group; determine the target region group based on the group verification coefficients. Specifically, the triangular regions are grouped to obtain multiple region groups; in this embodiment, each triangular region is randomly and evenly grouped, with each group containing the same number of triangular regions. For example, the nine triangular regions mentioned above are divided into three groups: the first region group, triangular region 1, triangular region 2, and triangular region 3; the second region group, triangular region 4, triangular region 5, and triangular region 6; and the third region group, triangular region 7, triangular region 8, and triangular region 9.
[0034] The fitting equations of the triangular regions contained in the regional group are integrated based on the preset verification equations to obtain the group verification coefficients. The preset verification equation for a region group containing three triangular regions can be set as follows: Where E1, E2, and E3 represent the group verification coefficients of the first, second, and third regional groups, respectively; T represents time; X11, X12, and X13 represent the abscissas of the center coordinates of each triangular region in the first regional group, and Y11, Y12, and Y13 represent the ordinates of the center coordinates of each triangular region in the first regional group; similarly, X21, X22, and X23 represent the abscissas of the center coordinates of each triangular region in the second regional group, and Y21, Y22, and Y23 represent the ordinates of the center coordinates of each triangular region in the second regional group; X31, X32, and X33 represent the abscissas of the center coordinates of each triangular region in the third regional group, and Y31, Y32, and Y33 represent the ordinates of the center coordinates of each triangular region in the third regional group.
[0035] The group with the smallest group verification coefficient is determined as the target group.
[0036] Based on the preset verification equation, center coordinates, and image capture time, the group verification coefficients for each region can be obtained. The region group with the smallest verification coefficient is then selected as the target region group. A smaller verification coefficient indicates higher accuracy.
[0037] In one embodiment, the group check coefficients E1, E2, and E3 of the first region group, the second region group, and the third region group are as follows: Since E3 < E1 < E2, the third region group corresponding to E3 is the target region group. Therefore, the accuracy of deformation calculations based on the third region group corresponding to E3 is the highest.
[0038] Step S30: Determine the deformation result of the monitored building based on the center coordinates of the target triangle region contained in the target region group.
[0039] Specifically, the average value of the center coordinates of each triangular region contained in the target area group is determined as the deformation result of the monitored building, and the deformation result includes the x-axis deformation value and the y-axis deformation value.
[0040] For example, the target area group mentioned above, the third area group, includes triangular areas 7, 8, and 9, which are the target triangular areas. Further calculations are made of the average center coordinates of each target triangular area: the average x-coordinate and the average y-coordinate. These average x-coordinate and average y-coordinate values are then determined as the x-axis deformation value and y-axis deformation value, respectively, thus obtaining the deformation results of the monitored building.
[0041] The deformation result is further compared with a preset value; if the deformation result is less than the first preset value, the deformation monitoring result of the monitored building is output as undeformed; if the deformation result is greater than or equal to the first preset value, the deformation monitoring result of the monitored building is output as deformed. The first preset value is set based on the origin of the image coordinate system and the original center coordinates of the triangular component. Alternatively, it can be set based on the initial coordinates of the triangular region contained in the target area group.
[0042] Since the machine vision-based building deformation monitoring method involved in this embodiment can perform continuous monitoring over a long period of time, after receiving a new image uploaded by an industrial camera, the deformation result is updated based on the new image of the triangular component on the monitored building. Steps S10-S30 are repeated during the update process to obtain the updated deformation result, thereby achieving long-term real-time monitoring and ensuring the safety of the monitored building.
[0043] This embodiment uses the above-described scheme to acquire a series of images of triangular components fixed to the monitored building using an industrial camera. The series of images are then identified and located to obtain the triangular regions and their center coordinates. Based on the center coordinates and the image capture time, an equation is fitted to determine a target area group with a high accuracy coefficient. Finally, the deformation result of the monitored building is obtained based on the center coordinates of the target area group. This achieves real-time monitoring of building deformation and improves the accuracy of building deformation monitoring.
[0044] In addition, this application also provides a building deformation monitoring device based on machine vision, referring to... Figure 6 , Figure 6 This is a schematic diagram of the structure of the machine vision-based building deformation monitoring device of this application. The machine vision-based building deformation monitoring device includes: The acquisition module 10 is used to acquire a series of images of triangular components fixed on the monitored building, and to identify the series of images to obtain the triangular region and the center coordinates of the triangular region, wherein the system images include multiple images; The fitting module 20 is used to perform equation fitting based on the center coordinates and the image capture time, and to determine the target area group based on the fitting results and the preset verification equation. The determination module 30 is used to determine the deformation result of the monitored building based on the center coordinates of the target triangular region contained in the target region group.
[0045] The acquisition module 10 includes: A series of image acquisition units are used to capture images of the triangular component using an industrial camera, thereby obtaining a series of images captured at different times. The triangular component is fixedly installed on the monitored building, and the positions of the industrial camera, the monitored building, and the triangular component are relatively fixed. The triangular component includes a triangular region. A series of image recognition units are used to recognize the series of images, obtain the triangular region of the triangular component in the series of images, and determine the center coordinates of the triangular region.
[0046] The fitting module 20 includes: The equation fitting unit is used to perform equation fitting based on the center coordinates of the triangular region and the image capture time to obtain the fitting equation of the center coordinates and time. The target region group determination unit is used to determine the group verification coefficients based on the preset verification equations and the fitting equations of the corresponding triangular regions within the region group, and to determine the target region group based on the group verification coefficients.
[0047] Module 30 includes: The deformation result acquisition unit is used to determine the average value of the center coordinates of each triangular region contained in the target area group as the deformation result of the monitored building; The comparison unit is used to compare the deformation result with a preset value; The first result output unit is used to output the deformation monitoring result of the monitored building as undeformed if the deformation result is less than a first preset value. The second result output unit is used to output the deformation monitoring result of the monitored building as deformation if the deformation result is greater than or equal to the first preset value.
[0048] Furthermore, refer to Figure 7 This application also provides a machine vision-based building deformation monitoring device, the internal structure of which can be as follows: Figure 7As shown, the machine vision-based building deformation monitoring device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory of the machine vision-based building deformation monitoring device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system, computer programs, and database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database of the machine vision-based building deformation monitoring device is used for the target recognition program of the machine vision-based building deformation monitoring device. The network interface of the machine vision-based building deformation monitoring device is used for communication with external terminals via network connection. The input device of the machine vision-based building deformation monitoring device is used to receive signals input from external devices. When the computer program is executed by the processor, it implements a machine vision-based building deformation monitoring method as described in the above embodiment.
[0049] Those skilled in the art will understand that Figure 7 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the machine vision-based building deformation monitoring equipment to which the present application is applied.
[0050] Furthermore, this application also proposes a computer-readable storage medium comprising a machine vision-based building deformation monitoring program. When executed by a processor, the machine vision-based building deformation monitoring program implements the steps of the machine vision-based building deformation monitoring method as described in the above embodiments. It is understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.
[0051] In summary, the machine vision-based building deformation monitoring method, apparatus, equipment, and computer-readable storage medium provided in this application acquire a series of images of triangular components fixed to the monitored building, identify the series of images to obtain triangular regions and their center coordinates, perform equation fitting based on the center coordinates and image capture time, determine target region groups based on the fitting results and preset verification equations, and determine the deformation result of the monitored building based on the center coordinates of the target triangular regions contained in the target region groups. By acquiring a series of images of triangular components fixed to the monitored building using an industrial camera, identifying and locating the series of images to obtain triangular regions and their center coordinates, and then performing equation fitting based on the center coordinates and image capture time to determine target region groups with high accuracy coefficients based on the equation fitting results, and finally obtaining the deformation result of the monitored building based on the center coordinates of the target region groups, real-time monitoring of building deformation is achieved, improving the accuracy of building deformation monitoring.
[0052] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media provided in this application and used in the embodiments can include both non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0053] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.
[0054] The above description is only a preferred embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural changes made based on the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. A method for monitoring building deformation based on machine vision, characterized in that, include: Acquire a series of images of a triangular component fixed to the building being monitored, and identify the series of images to obtain the triangular region and the center coordinates of the triangular region, wherein the series of images includes multiple images; An equation is fitted based on the center coordinates and the image capture time, and the target area group is determined based on the fitting results and the preset verification equation. The deformation results of the monitored building are determined based on the center coordinates of the target triangle region contained in the target region group; An equation is fitted based on the center coordinates and the image capture time. The target region group is determined based on the fitting results and a preset verification equation. Based on the center coordinates of the triangular region and the image capture time, an equation is fitted to obtain the fitting equation between the center coordinates and time. The group verification coefficient is determined based on the preset verification equation and the fitting equation of the corresponding triangular region within the group, and the target region group is determined based on the group verification coefficient. The step of determining the group verification coefficient based on the preset verification equation and the fitting equation of the corresponding triangular region within the group, and determining the target region group based on the group verification coefficient includes: The triangular region is grouped to obtain multiple region subgroups; The fitting equations of the triangular regions contained in the regional group are integrated based on the preset verification equations to obtain the group verification coefficients. The group with the smallest group verification coefficient is identified as the target group. The preset verification equation is as follows: Where E represents the group verification coefficient of the regional group; T represents time; X1, X2, X3 represent the abscissas of the center coordinates of each triangular region in the regional group, and Y1, Y2, Y3 represent the ordinates of the center coordinates of each triangular region in the regional group.
2. The machine vision-based building deformation monitoring method according to claim 1, characterized in that, The process of acquiring a series of images of a triangular component fixed to the monitored building, and identifying the triangular region and its center coordinates from the images, includes: The triangular component is photographed by an industrial camera to obtain a series of images at different shooting times. The triangular component is fixedly installed on the monitored building. The positions of the industrial camera, the monitored building, and the triangular component are relatively fixed. The triangular component includes a triangular area. The series of images are identified to obtain the triangular region of the triangular component in the series of images, and the center coordinates of the triangular region are determined.
3. The machine vision-based building deformation monitoring method according to claim 1, characterized in that, The fitting equation includes a horizontal coordinate fitting equation and a vertical coordinate fitting equation. The process of fitting the equation based on the center coordinates of the triangular region and the image capture time to obtain the fitting equation between the center coordinates and time includes: Determine the x-coordinate of the center coordinate of the triangular region, and set the x-coordinate and the corresponding image capture time as a set of data; Based on the series of images, obtain the x-coordinate-time series data of the triangular region; Based on the aforementioned abscissa-time series data, a fitting equation for the abscissa of the triangular region is obtained; and Determine the ordinate of the center coordinate of the triangular region, and set the ordinate and the corresponding image capture time as a set of data; Based on the series of images, obtain the ordinate-time series data of the triangular region; Based on the aforementioned ordinate-time series data, a fitting equation for the ordinate of the triangular region is obtained.
4. The machine vision-based building deformation monitoring method according to claim 1, characterized in that, The determination of the deformation results of the monitored building based on the center coordinates of the target triangular region contained in the target region group includes: The average value of the center coordinates of each triangular region contained in the target area group is determined as the deformation result of the monitored building; The deformation result is compared with a preset value; If the deformation result is less than the first preset value, the deformation monitoring result of the monitored building will be output as no deformation. If the deformation result is greater than or equal to the first preset value, the deformation monitoring result of the monitored building will be output as deformation.
5. The machine vision-based building deformation monitoring method according to claim 1, characterized in that, After determining the deformation result of the monitored building based on the center coordinates of the target triangular region contained in the target region group, the method further includes: The deformation results are updated based on the new images of the triangular components on the monitored building that have been received.
6. A building deformation monitoring device based on machine vision, characterized in that, include: The acquisition module is used to acquire a series of images of a triangular component fixed on the monitored building, and to identify the series of images to obtain the triangular region and the center coordinates of the triangular region, wherein the series of images includes multiple images; The fitting module is used to fit an equation based on the center coordinates and the image capture time, and to determine the target region group based on the fitting result and the preset verification equation. The determination module is used to determine the deformation results of the monitored building based on the center coordinates of the target triangular regions contained in the target region group; The fitting module includes: The equation fitting unit is used to perform equation fitting based on the center coordinates of the triangular region and the image capture time to obtain the fitting equation of the center coordinates and time. The target region group determination unit is used to determine the group verification coefficient based on the preset verification equation and the fitting equation of the corresponding triangular region within the region group, and to determine the target region group based on the group verification coefficient. The step of determining the group verification coefficient based on the preset verification equation and the fitting equation of the corresponding triangular region within the group, and determining the target region group based on the group verification coefficient includes: The triangular region is grouped to obtain multiple region subgroups; The fitting equations of the triangular regions contained in the regional group are integrated based on the preset verification equations to obtain the group verification coefficients. The group with the smallest group verification coefficient is identified as the target group. The preset verification equation is as follows: Where E represents the group verification coefficient of the regional group; T represents time; X1, X2, X3 represent the abscissas of the center coordinates of each triangular region in the regional group, and Y1, Y2, Y3 represent the ordinates of the center coordinates of each triangular region in the regional group.
7. A building deformation monitoring device based on machine vision, characterized in that, The machine vision-based building deformation monitoring device includes a memory, a processor, and a machine vision-based building deformation monitoring program stored in the memory and executable on the processor. When the machine vision-based building deformation monitoring program is executed by the processor, it implements the steps of the machine vision-based building deformation monitoring method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a machine vision-based building deformation monitoring program, which, when executed by a processor, implements the steps of the machine vision-based building deformation monitoring method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Roadway deformation monitoring method and device based on three-dimensional scanning and positioning identification
CN115655130A
Automatic track deformation monitoring system and monitoring method thereof
CN116142260A
Building deformation monitoring method and device based on preferable view angle shooting
CN116778094A
Target tracking method and system for bridge monitoring system
CN116881657A
Bridge construction deformation monitoring method and device based on computer vision and medium
CN117115116A
