Quality testing methods, devices, equipment and readable storage media for exploration wells
By automatically framing and recognizing the video of exploration well filling, and combining it with the exploration well size information, the filling time and number of times of the exploration well are automatically evaluated, which solves the problem of low efficiency in exploration well quality inspection and achieves efficient and low-cost quality assessment.
Patent Information
- Application Number
- CN202310787621.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2025-10-28
- Estimated Expiration
- 2043-06-29
AI Technical Summary
Quality inspection of exploration wells relies on manual video inspection, which results in high costs and low efficiency, making it difficult to efficiently complete the quality inspection of a large number of exploration wells.
By performing frame-by-frame processing and recognition on the filling video of the exploration well, the filling duration and number of times are determined, and the quality of the exploration well is automatically evaluated in combination with the depth and radius of the exploration well.
It enables rapid assessment of exploration well quality without manual inspection, improving detection efficiency and reducing detection costs.
Smart Images

Figure CN119229331B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of seismic exploration technology, and in particular to a method, apparatus, equipment, and readable storage medium for quality inspection of exploration wells. Background Technology
[0002] During seismic exploration and acquisition operations, the quality of exploration wells not only affects the quality of the acquired seismic data but also involves safety issues. Therefore, quality inspection of exploration wells is an indispensable step.
[0003] In related technologies, a filling video corresponding to the exploration well is obtained. This filling video is a video of workers filling the exploration well. The filling video corresponding to the exploration well is then manually inspected to determine the quality of the exploration well.
[0004] Because of the large number of exploration wells, a significant amount of manpower is required for quality inspection, resulting in high costs and long processing times, and consequently, low efficiency in quality inspection. Summary of the Invention
[0005] This application provides a method, apparatus, device, and computer-readable storage medium for quality inspection of exploration wells, which can be used to solve problems in related technologies. The technical solution is as follows:
[0006] On one hand, embodiments of this application provide a method for quality inspection of exploration wells, the method comprising:
[0007] Obtain the fill video of the exploration well to be inspected for quality.
[0008] The filling video is segmented into frames to obtain multiple video frames included in the filling video and the shooting time of each video frame;
[0009] The video content of each video frame is obtained by identifying the multiple video frames.
[0010] Based on the video content and the shooting time of each video frame, a first video frame and a second video frame are determined among the plurality of video frames. The first video frame is the video frame with the earliest shooting time among the video frames whose video content includes the first object and the first object. The second video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the first video frame and whose video content does not include the first object and the first object. The first object is the object that fills the exploration well, and the first object is the tool that fills the exploration well with the first object.
[0011] The filling time of the exploration well is determined based on the shooting time of the first video frame and the shooting time of the second video frame. The filling time indicates the time from the start of filling the exploration well to the end of filling the exploration well.
[0012] Based on the video content of each video frame, a plurality of third video frames are determined among the plurality of video frames, wherein the video content of the third video frames includes the first object and the first object;
[0013] The number of times the exploration well is filled is determined based on the shooting time of each third video frame, and the number of times the exploration well is filled indicates the number of times the exploration well is filled within the filling duration;
[0014] The quality of the exploration well is determined based on the filling duration and the number of filling cycles.
[0015] In one possible implementation, determining the number of times the exploration well is filled based on the capture time of each third video frame includes:
[0016] Based on the shooting time of each third video frame, a fourth video frame and a fifth video frame are determined from the plurality of third video frames. The fourth video frame is the video frame with the earliest shooting time among the video frames whose video content includes a first object in a first pose and a first object in a first color. The fifth video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the fourth video frame and whose video content includes a first object in a first pose and a first object in a second color. The intersection-over-union ratio (IoU) of the first object and the first object included in the fourth video frame and the fifth video frame is greater than the IoU threshold. The first color is the color of the filling material of the exploration well, and the second color is the color of the first object.
[0017] The events corresponding to the video frames between the fourth and fifth video frames are used as fill events;
[0018] The number of filling events included in the filling video is taken as the number of times the exploration well is filled.
[0019] In one possible implementation, determining the fourth and fifth video frames from the plurality of third video frames based on the capture time of each third video frame includes:
[0020] Determine the intersection-over-union ratio of the first object and the first object included in each third video frame;
[0021] Among the plurality of third video frames, the third video frame whose cross-union ratio is greater than the cross-union ratio threshold is selected as the candidate video frame.
[0022] Based on the shooting time of each candidate video frame, the fourth and fifth video frames are determined from the candidate video frames.
[0023] In one possible implementation, determining the intersection-over-union ratio (IoU) of the first object and the first object included in each third video frame includes:
[0024] For any one of the plurality of third video frames, a first region and a second region are determined in the first video frame, wherein the first region includes a reference part of the first object and the second region includes the first object;
[0025] Based on the fact that there is no overlap between the first region and the second region, the reference value is used as the intersection-union ratio of the first object and the first object included in any third video frame;
[0026] Based on the existence of an overlapping area between the first region and the second region, the area of the overlapping area is determined; the area of the third region is determined, and the quotient between the area of the overlapping area and the area of the third region is used as the intersection-union ratio of the first object and the first object included in any third video frame, wherein the third region is the region including the first region and the second region.
[0027] In one possible implementation, determining the first video frame and the second video frame from the plurality of video frames based on the video content and the shooting time of each video frame includes:
[0028] Based on the video content of each video frame, a plurality of first candidate video frames and a plurality of second candidate video frames are determined from the plurality of video frames. The video content of the first candidate video frames includes the first object and the first object, while the video content of the second candidate video frames does not include the first object and the first object.
[0029] The first candidate video frame with the earliest shooting time among the plurality of first candidate video frames is taken as the first video frame.
[0030] Multiple third candidate video frames are determined from the plurality of second candidate video frames, wherein the shooting time of any third candidate video frame is after the shooting time of the first video frame;
[0031] The third candidate video frame with the earliest shooting time among the plurality of third candidate video frames is selected as the second video frame.
[0032] In one possible implementation, determining the quality of the exploration well based on the filling duration and the number of fillings includes:
[0033] Obtain relevant information about the exploration well, including the depth and radius of the exploration well;
[0034] Based on the depth and radius of the exploration well, determine the standard number of filling operations and the standard filling duration for the exploration well;
[0035] Based on the fact that the filling time is not less than the standard filling time and the number of fillings is the standard number of fillings, it is determined that the quality of the exploration well meets the quality requirements;
[0036] Based on the fact that the filling time is less than the standard filling time, and / or the number of fillings is less than the standard number of fillings, it is determined that the quality of the exploration well does not meet the quality requirements.
[0037] In one possible implementation, after determining the quality of the exploration well based on the filling duration and the number of fillings, the method further includes:
[0038] If the quality of the exploration well does not meet the quality requirements, a prompt message will be played, indicating that the quality of the exploration well does not meet the quality requirements.
[0039] On the other hand, embodiments of this application provide a quality inspection device for exploration wells, the device comprising:
[0040] The acquisition module is used to acquire the fill video of the exploration well to be inspected for quality.
[0041] The processing module is used to perform frame-by-frame processing on the filling video to obtain multiple video frames included in the filling video and the shooting time of each video frame;
[0042] The recognition module is used to recognize the multiple video frames and obtain the video content of each video frame;
[0043] The determining module is used to determine a first video frame and a second video frame from the plurality of video frames based on the video content of each video frame and the shooting time of each video frame. The first video frame is the video frame with the earliest shooting time among the video frames whose video content includes a first object and a first object. The second video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the first video frame and whose video content does not include the first object and the first object. The first object is the object that fills the exploration well, and the first object is the tool that fills the exploration well with the first object.
[0044] The determining module is further configured to determine the filling duration of the exploration well based on the shooting time of the first video frame and the shooting time of the second video frame, wherein the filling duration indicates the time from the start of filling the exploration well to the end of filling the exploration well;
[0045] The determining module is further configured to determine a plurality of third video frames among the plurality of video frames based on the video content of each video frame, wherein the video content of the third video frame includes the first object and the first object;
[0046] The determining module is further configured to determine the number of times the exploration well is filled based on the shooting time of each third video frame, wherein the number of fillings indicates the number of times the exploration well is filled within the filling duration;
[0047] The determining module is further configured to determine the quality of the exploration well based on the filling duration and the number of filling cycles.
[0048] In one possible implementation, the determining module is configured to determine a fourth video frame and a fifth video frame from the plurality of third video frames based on the shooting time of each third video frame. The fourth video frame is the earliest shooting video frame among video frames whose video content includes a first object in a first pose and a first object of a first color. The fifth video frame is the earliest shooting video frame among video frames whose shooting time is after the shooting time of the fourth video frame and whose video content includes a first object in a first pose and a first object of a second color. The intersection-over-union (IoU) ratio of the first object and the first object included in the fourth video frame and the fifth video frame is greater than an IoU threshold. The first color is the color of the filling material of the exploration well, and the second color is the color of the first object. Events corresponding to video frames between the fourth video frame and the fifth video frame are taken as filling events. The number of filling events included in the filling video is taken as the number of times the exploration well is filled.
[0049] In one possible implementation, the determining module is configured to determine the cross-intersection over union (CUI) ratio of the first object and the first object included in each third video frame; to select the third video frames whose CUI ratio is greater than the CUI threshold as candidate video frames; and to determine the fourth and fifth video frames from the candidate video frames based on the shooting time of each candidate video frame.
[0050] In one possible implementation, the determining module is configured to, for any one of the plurality of third video frames, determine a first region and a second region in the any one third video frame, wherein the first region includes a reference portion of the first object, and the second region includes the first object; based on the fact that the first region and the second region do not overlap, use a reference value as the intersection-over-union ratio (IoU) of the first object and the first object included in the any one third video frame; based on the fact that the first region and the second region overlap, determine the area of the overlapping region; determine the area of a third region, and use the quotient between the area of the overlapping region and the area of the third region as the IoU of the first object and the first object included in the any one third video frame, wherein the third region is the region including the first region and the second region.
[0051] In one possible implementation, the determining module is configured to determine, based on the video content of each video frame, a plurality of first candidate video frames and a plurality of second candidate video frames from the plurality of video frames, wherein the video content of the first candidate video frames includes the first object and the first object, and the video content of the second candidate video frames does not include the first object and the first object; to select the first candidate video frame with the earliest shooting time from the plurality of first candidate video frames as the first video frame; to determine a plurality of third candidate video frames from the plurality of second candidate video frames, wherein the shooting time of any third candidate video frame is after the shooting time of the first video frame; and to select the third candidate video frame with the earliest shooting time from the plurality of third candidate video frames as the second video frame.
[0052] In one possible implementation, the determining module is configured to acquire relevant information about the exploration well, including the depth and radius of the exploration well; determine the standard number of fills and the standard fill duration of the exploration well based on the depth and radius of the exploration well; determine that the quality of the exploration well meets the quality requirements based on the fill duration being not less than the standard fill duration and the number of fills being the standard number of fills; and determine that the quality of the exploration well does not meet the quality requirements based on the fill duration being less than the standard fill duration and / or the number of fills being less than the standard number of fills.
[0053] In one possible implementation, the device further includes:
[0054] The playback module is used to play a prompt message when the quality of the exploration well does not meet the quality requirements. The prompt message is used to indicate that the quality of the exploration well does not meet the quality requirements.
[0055] On the other hand, embodiments of this application provide a computer device, which includes a processor and a memory. The memory stores at least one piece of program code, which is loaded and executed by the processor to enable the computer device to implement any of the above-described methods for quality inspection of exploration wells.
[0056] On the other hand, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement any of the above-described exploration well quality inspection methods.
[0057] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-mentioned quality inspection methods for exploration wells.
[0058] The technical solution provided in this application has at least the following beneficial effects:
[0059] The technical solution provided in this application, after acquiring the filling video of an exploration well, identifies the filling duration and number of fillings by analyzing the video, and then determines the quality of the exploration well based on the filling duration and number of fillings. This method eliminates the need for manual review of each exploration well's filling video, saving time required for quality inspection and improving the efficiency of exploration well quality inspection. Attached Figure Description
[0060] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0061] Figure 1 This is a schematic diagram illustrating the implementation environment of a quality inspection method for exploration wells provided in this application embodiment;
[0062] Figure 2 This is a flowchart of a quality inspection method for exploration wells provided in an embodiment of this application;
[0063] Figure 3 This is a schematic diagram of a first candidate video frame provided in an embodiment of this application;
[0064] Figure 4This is a schematic diagram of a first region and a second region included in any third video frame according to an embodiment of this application;
[0065] Figure 5 This is a schematic diagram of the first and second regions included in any other third video frame provided in the embodiments of this application;
[0066] Figure 6 This is a schematic diagram of the structure of a quality inspection device for exploration wells provided in an embodiment of this application;
[0067] Figure 7 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;
[0068] Figure 8 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0069] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0070] Figure 1 This is a schematic diagram illustrating the implementation environment of a quality inspection method for exploration wells provided in this application embodiment, such as... Figure 1 As shown, the implementation environment includes a computer device 101, which can be a terminal device or a server; this embodiment does not limit the specific type of device. The computer device 101 is used to execute the exploration well quality inspection method provided in this embodiment.
[0071] Optionally, computer device 101 is a terminal device. A terminal device can be any electronic device that allows human-computer interaction with a user through one or more methods such as a keyboard, touchpad, remote control, voice interaction, or handwriting device. Examples include PCs (Personal Computers), mobile phones, smartphones, PDAs (Personal Digital Assistants), wearable devices, PPCs (Pocket PCs), tablets, smart car systems, smart TVs, smart speakers, and smartwatches.
[0072] A terminal device can refer to one of multiple terminal devices; this embodiment uses only one terminal device as an example. Those skilled in the art will understand that the number of terminal devices can be more or less. For example, there may be only one terminal device, or there may be dozens or hundreds, or even more. This application embodiment does not limit the number or type of terminal devices.
[0073] When computer device 101 is a server, the server can be a single server, a server cluster consisting of multiple servers, or any of the following: a cloud computing platform or a virtualization center. This application embodiment does not limit this. The server and terminal devices communicate via a wired or wireless network. The server has data receiving, data processing, and data sending functions. Of course, the server may also have other functions, which this application embodiment does not limit.
[0074] Those skilled in the art should understand that the above-described terminal devices and servers are merely illustrative examples. Other existing or future terminal devices or servers that are applicable to this application should also be included within the scope of protection of this application, and are hereby incorporated by reference.
[0075] This application provides a method for quality inspection of exploration wells, which can be applied to the above-mentioned... Figure 1 The implementation environment shown is as follows: Figure 2 The flowchart shown in this embodiment of the present application illustrates a method for quality inspection of exploration wells. This method can be implemented by... Figure 1 The computer device 101 in the middle performs the operation. For example... Figure 2 As shown, the method includes the following steps 201 to 208.
[0076] In step 201, a fill video of the exploration well to be inspected is acquired.
[0077] In an exemplary embodiment of this application, the computer device stores fill videos of various exploration wells, and the computer device can use the fill video of any one exploration well as the fill video of the exploration well to be subjected to quality inspection.
[0078] In one possible implementation, the computer device also stores the correspondence between the fill video of each exploration well and the identifier of each exploration well. The identifier of an exploration well can be its location, its number, or other identifiers that uniquely identify a single exploration well; this embodiment of the application does not limit this.
[0079] Using a computer device as the terminal, the terminal displays an exploration well identification page. This page includes an input box for retrieving the identifier of the exploration well to be inspected. Based on the user's input in the input box, the terminal obtains the identifier of the exploration well to be inspected. Then, based on the identifier of the exploration well to be inspected and the correspondence between the fill video of each exploration well and its identifier, the terminal obtains the fill video of the exploration well to be inspected.
[0080] Optionally, the exploration well determination page may also display multiple candidate exploration well identifiers. In response to the selection of any candidate exploration well identifier, the terminal device uses the selected candidate exploration well identifier as the identifier of the exploration well to be quality inspected, and then obtains the filling video of the exploration well to be quality inspected based on the identifier of the exploration well to be quality inspected and the correspondence between the fill video of each exploration well and the identifier of each exploration well.
[0081] Using a computer device as the server, the terminal device obtains the identifier of the exploration well to be inspected and sends an inspection request to the server, carrying the identifier of the exploration well to be inspected. The server receives the inspection request from the terminal device, parses the inspection request to obtain the identifier of the exploration well to be inspected, and obtains the filling video of the exploration well to be inspected based on the identifier of the exploration well to be inspected and the correspondence between the filling video of each exploration well and the identifier of each exploration well.
[0082] The process by which the terminal device acquires the identifier of the exploration well to be inspected is similar to the process by which the computer device acquires the identifier of the exploration well to be inspected when it is the terminal device, and will not be described in detail here.
[0083] In step 202, the fill video is processed by frame segmentation to obtain the multiple video frames included in the fill video and the shooting time of each video frame.
[0084] The capture time of each video frame refers to the time it takes for each video frame to fill the video, or the capture time of each video frame refers to the time it takes to capture each video frame.
[0085] In one possible implementation, video framing software is installed and runs on the computer device. This software is used to perform frame segmentation processing on the video. The video framing software is invoked to perform frame segmentation processing on the filler video, obtaining multiple video frames included in the filler video and the capture time of each video frame. The video framing software can be any software capable of performing frame segmentation processing on video; this application embodiment does not limit its application. For example, the video framing software is a frame-by-frame video editor (Aiseesoft Video Editor).
[0086] For example, the duration of the fill video is 10 seconds. The fill video is divided into frames to obtain 10 video frames. The first video frame is captured at 00:01, the second at 00:02, the third at 00:03, the fourth at 00:04, the fifth at 00:05, the sixth at 00:06, the seventh at 00:07, the eighth at 00:08, the ninth at 00:09, and the tenth at 00:10.
[0087] In step 203, multiple video frames are identified to obtain the video content of each video frame.
[0088] Optionally, the process of recognizing multiple video frames to obtain the video content of each video frame includes: calling a content recognition model to recognize multiple video frames and obtain the video content of each video frame. The content recognition model can be any model capable of content recognition, and this embodiment of the application does not limit its application. For example, the content recognition model is a Convolutional Neural Network (CNN) model.
[0089] In step 204, the first video frame and the second video frame are determined from among the multiple video frames based on the video content and the shooting time of each video frame.
[0090] The first video frame is the earliest captured video frame whose content includes the first object and the first object. The second video frame is the earliest captured video frame whose content does not include the first object and the first object, even if captured after the first video frame. The first object is the object used to fill the exploration well, and the first object is the tool used to fill the exploration well. For example, the first object is the worker filling the exploration well, and the first object is a well casing.
[0091] Optionally, the process of determining the first and second video frames from multiple video frames based on the video content and shooting time of each video frame includes: determining multiple first candidate video frames and multiple second candidate video frames from multiple video frames based on the video content of each video frame. The video content of the first candidate video frames includes a first object and a first physical object, while the video content of the second candidate video frames does not include the first object and the first physical object. The first candidate video frame with the earliest shooting time among the multiple first candidate video frames is selected as the first video frame. Multiple third candidate video frames are determined from the multiple second candidate video frames, where the shooting time of the third candidate video frames is later than the shooting time of the first video frames; the third candidate video frame with the earliest shooting time among the multiple third candidate video frames is selected as the second video frame.
[0092] For example, the video is segmented into 10 frames. The video content of frames 3 to 8 includes the first object and the first physical object, while the video content of frames 1, 2, 9, and 10 does not include the first object and the first physical object. Therefore, frames 3 to 8 are selected as the first candidate video frames, and frames 1, 2, 9, and 10 are selected as the second candidate video frames. Since the third video frame was captured earliest among the first candidate video frames, it is selected as the first video frame. The first and second video frames were captured earlier than the first video frame, while the ninth and tenth video frames were captured later than the first video frame. Therefore, the ninth and tenth video frames are selected as the third candidate video frames. Since the ninth video frame was captured earliest among the ninth and tenth video frames, it is selected as the second video frame.
[0093] like Figure 3 This is a schematic diagram of a first candidate video frame provided in an embodiment of this application, wherein the first candidate video frame displays a first object 301 and a first object 302.
[0094] It should be noted that the first candidate video frame may include other content besides the first object and the first object, while the second candidate video frame may not include the first object and the first object, but may include other content. This application embodiment does not limit this.
[0095] In step 205, the filling time of the exploration well is determined based on the shooting time of the first video frame and the shooting time of the second video frame.
[0096] The filling duration indicates the time from the start of filling the exploration well to the end of filling the exploration well. In one possible implementation, after determining the first video frame and the second video frame in step 204 above, the filling duration of the exploration well is determined based on the shooting time of the first video frame and the shooting time of the second video frame. Optionally, the difference between the shooting time of the second video frame and the shooting time of the first video frame can be used as the filling duration of the exploration well.
[0097] For example, if the first video frame is captured at 00:03 and the second video frame is captured at 00:09, then the filling time of the exploration well is determined to be 6 seconds based on the capture times of the first and second video frames.
[0098] In step 206, multiple third video frames are determined from among the multiple video frames based on the video content of each video frame.
[0099] The video content of the third video frame includes a first object and a first object, where the first object is the object used to fill the exploration well, and the first object is the tool used by the first object to fill the exploration well. The process of determining multiple third video frames from multiple video frames based on the video content of each video frame includes: selecting video frames whose video content includes both the first object and the first object as the third video frames.
[0100] In step 207, the number of times the exploration well is filled is determined based on the shooting time of each third video frame.
[0101] The number of fillings indicates the number of times the exploration well is filled within the filling time.
[0102] In one possible implementation, the process of determining the number of well filling operations based on the capture time of each third video frame includes: determining a fourth video frame and a fifth video frame from among multiple third video frames based on the capture time of each third video frame; using the time corresponding to the video frame between the fourth and fifth video frames as a filling event; and using the number of filling events included in the filling video as the number of well filling operations. Specifically, the fourth video frame is the earliest captured video frame among video frames whose video content includes a first object in a first pose and a first object of a first color; the fifth video frame is the earliest captured video frame among video frames whose capture time is after the capture time of the fourth video frame and whose video content includes a first object in a first pose and a first object of a second color; and the intersection-union ratio (IUGR) of the first object and the first object included in the fourth and fifth video frames is greater than an IUGR threshold. The IUGR of the first object and the first object is used to indicate the ratio between the intersection and the union of the first object and the first object. The first color is the color of the well filling material, and the second color is the color of the first object. For example, if the filling material of an exploration well is loess, then the first color is yellow; if the color of the well casing is white, then the second color is white. The intersection-union ratio (IURR) threshold is set based on experience or adjusted according to the implementation environment; this application embodiment does not limit this. For example, the IURR threshold is 0.3.
[0103] The process of determining the fourth and fifth video frames from multiple third video frames based on the shooting time of each third video frame includes: determining the intersection-over-union ratio (IoU) of the first object and the first subject included in each third video frame; selecting the third video frames from multiple third video frames whose IoU is greater than the IoU threshold as candidate video frames; and determining the fourth and fifth video frames from the candidate video frames based on the shooting time of each candidate video frame.
[0104] The process of determining the intersection-over-union (IoU) ratio of the first object and the first object included in each third video frame includes: for any third video frame among multiple third video frames, determining a first region and a second region within that third video frame; and determining the IoU ratio of the first object and the first object included in that third video frame based on the first region and the second region. The first region includes a reference portion of the first object, and the second region includes the first object. The reference portion of the first object is the hand of the first object. The first region is the smallest region including the hand of the first object, and the second region is the smallest region including the first object.
[0105] Based on the first and second regions, the intersection-over-union (IoU) ratio of the first object and the first object included in any third video frame is determined, including: 1) Based on the absence of overlap between the first and second regions, a reference value is used as the IoU ratio of the first object and the first object included in any third video frame. 2) Based on the presence of overlap between the first and second regions, the area of the overlapping area is determined, and the area of the third region is determined. The quotient between the area of the overlapping area and the area of the third region is used as the IoU ratio of the first object and the first object included in any third video frame. Here, the third region is the region that includes the first and second regions. The third region is the graphic corresponding to the image formed by the first and second regions. The reference value is 0.
[0106] like Figure 4 This is a schematic diagram illustrating a first region and a second region included in any third video frame according to an embodiment of this application. Wherein, 401 represents the first region, and 402 represents the second region. Since there is overlap between the first and second regions, Figure 4 The shaded areas in the video are overlapping areas. Therefore, the ratio of the area of the shaded area to the area of the graphic formed by the first and second areas is used as the intersection-union ratio of the first object and the first subject included in any third video frame.
[0107] like Figure 5 This is a schematic diagram of a first region and a second region included in another third video frame provided in this application embodiment. Wherein, 501 is the first region and 502 is the second region. Since there is no overlapping area between the first region and the second region, 0 is used as the intersection-union ratio (IUGR) of the first object and the first entity included in any third video frame.
[0108] In one possible implementation, the process of determining the fourth and fifth video frames from the candidate video frames based on their capture times includes: detecting the first object and the first object included in each candidate video frame to obtain the pose and color of the first object; designating the candidate video frame with the first object's pose as a first pose and the first object's color as a first color as the first reference video frame; designating the candidate video frame with the first object's pose as a first pose and the first object's color as a second reference video frame as the second reference video frame. The first reference video frame with the earliest capture time is designated as the fourth video frame; the second reference video frame with a capture time after the fourth video frame and the closest to the fourth video frame is designated as the fifth video frame. The events corresponding to the video frames between the fourth and fifth video frames are called fill events, and the number of fill events in the fill video is one. Among them, the first object's posture is the first posture, which means that the first object is in a bent-over state. The first object being in a bent-over state and the first object's color being the first color indicates that the first object is filling an exploration well. The first object being in a bent-over state and the first object's color being the second color indicates that the first object has completed one filling event.
[0109] The sixth and seventh video frames can also be determined within the third video frame. The sixth video frame is the first video frame appearing after the fifth video frame among multiple third video frames, containing video content including a first object in a first pose and a first object of a first color. The seventh video frame is the first video frame appearing after the sixth video frame, containing video content including a first object in a first pose and a first object of a second color. If the intersection-over-union (IoU) ratio of the first object and the first object included in the sixth and seventh video frames is greater than the IoU threshold, the events corresponding to the video frames between the sixth and seventh video frames are used as fill events. In this case, the number of fill events included in the fill video is two.
[0110] Following the method described above, iterate through the third video frame after the seventh video frame in the fill video to obtain the number of fill events included in the fill video. Use the number of fill events included in the fill video as the number of times the exploration well is filled. For example, if the fill video includes 5 fill events, then the exploration well is filled 5 times.
[0111] Optionally, the process of detecting the first object and the first object included in each candidate video frame to obtain the pose and color of the first object included in each candidate video frame includes: calling a pose detection model to detect the pose of the first object included in each candidate video frame to obtain the pose of the first object included in each candidate video frame; and calling a color recognition model to recognize the color of the first object included in each candidate video frame to obtain the color of the first object included in each candidate video frame. Optionally, the pose detection model can be any model capable of pose detection, and the color recognition model can be any model capable of color recognition; this application embodiment does not limit either approach. For example, the pose detection model is MoveNet (a pose detection model), and the color recognition model is the RGB (Red-Green-Blue) model.
[0112] In step 208, the quality of the exploration well is determined based on the filling time and the number of filling cycles.
[0113] In one possible implementation, the process of determining the quality of an exploration well based on the filling duration and the number of fillings includes: obtaining relevant information about the exploration well, including the depth and radius of the exploration well; determining the standard number of fillings and the standard filling duration based on the depth and radius of the exploration well; and determining the quality of the exploration well based on the filling duration, the number of fillings, the standard filling duration, and the standard number of fillings.
[0114] The process of obtaining relevant information about exploration wells includes: storing relevant information about exploration wells and the correspondence between exploration well identifiers and related information in computer equipment; and obtaining relevant information about exploration wells based on the exploration well identifiers and the correspondence between exploration well identifiers and related information.
[0115] Table 1 below is an exemplary table showing the correspondence between the identifier of an exploration well and related information of the exploration well, as provided in an embodiment of this application.
[0116] Table 1
[0117]
[0118]
[0119] As shown in Table 1 above, the exploration well marked 51001001 has a depth of 12.4 meters and a radius of 50 centimeters. The depths and radii of the other exploration wells are shown in Table 1 above and will not be repeated here.
[0120] The process of determining the standard number of fills and the standard fill duration of an exploration well based on its depth and radius includes: using the duration corresponding to the depth of the exploration well as the standard fill duration; determining the volume of the exploration well based on its depth and radius; determining the volume of the first object; and using the quotient between the volume of the exploration well and the volume of the first object as the standard number of fills.
[0121] Optionally, the computer device stores a table showing the correspondence between various depths and durations. After obtaining the depth of the exploration well, the standard filling duration of the exploration well is determined based on the table showing the correspondence between the depth of the exploration well and various depths and durations.
[0122] Table 2 below shows a table of correspondences between various depths and durations provided in an embodiment of this application.
[0123] Table 2
[0124] Depth (unit: meters) Duration (in minutes) 10 5 12 6 14 7
[0125] As shown in Table 2 above, the corresponding duration is 5 minutes when the depth is 10 meters. The corresponding durations for other depths are shown in Table 2 above, and will not be repeated here.
[0126] The process of determining the volume of an exploration well based on its depth and radius includes: determining the bottom area of the exploration well based on its radius, and then using the product of the bottom area and the depth of the exploration well as the volume of the exploration well.
[0127] Optionally, the volume V of the exploration well can be determined according to the following formula (1) based on the depth and radius of the exploration well.
[0128] V = πR 2 Formula D (1)
[0129] In the above formula (1), π is the ratio of a circle to pi, R is the radius of the exploration well, and D is the depth of the exploration well.
[0130] In one possible implementation, the process of determining the quality of an exploration well based on the filling time, the number of fillings, the standard filling time, and the standard number of fillings includes: determining that the quality of the exploration well meets the quality requirements based on the filling time being not less than the standard filling time and the number of fillings being the standard number of fillings; and determining that the quality of the exploration well does not meet the quality requirements based on the filling time being less than the standard filling time and / or the number of fillings being less than the standard number of fillings.
[0131] For example, if the filling time is 5 minutes and the filling number is 5 times, and the standard filling time is 4 minutes and the standard filling number is 5 times, then the quality of the exploration well is determined to meet the quality requirements.
[0132] For example, if the filling time is 5 minutes and the filling number is 5 times, while the standard filling time is 6 minutes and the standard filling number is 5 times, then the quality of the exploration well is determined to be unsatisfactory.
[0133] Optionally, after determining the quality of the exploration well, the quality of the exploration well and the identification of the exploration well can be stored together so that users can directly obtain the quality of the exploration well based on the identification of the exploration well.
[0134] In one possible implementation, after obtaining the quality of the exploration well, if the quality of the exploration well does not meet the quality requirements, a prompt message can be played. The prompt message indicates that the quality of the exploration well does not meet the requirements, and the content of the prompt message can be arbitrary; this embodiment of the application does not limit this. After hearing the prompt message, the user can then refill the exploration well.
[0135] Since the computer equipment is the terminal device, if the quality of the exploration well does not meet the requirements, a prompt message can be displayed. After seeing the prompt message, the user can then refill the exploration well.
[0136] If the quality of an exploration well does not meet the quality requirements, the server sends a prompt message to the terminal device, which then displays the prompt message.
[0137] Optionally, after the computer equipment determines the quality of multiple exploration wells, it can also generate a result table based on the identification, number of fillings, filling duration, standard number of fillings, standard filling duration, and quality of each exploration well.
[0138] Table 3 below is an exemplary result table provided in an embodiment of this application.
[0139] Table 3
[0140] logo Number of fills Fill duration Standard fill count Standard fill duration quality 56762129 4 5:16 4 5:00 qualified 56762130 5 5:54 5 5:00 qualified 56762131 3 6:34 5 5:00 Unqualified 56762132 5 4:29 5 5:00 Unqualified 56762133 4 5:20 4 5:00 qualified 56762134 6 5:21 6 5:00 qualified
[0141] In Table 3 above, "qualified" means the quality meets the quality requirements, and "unqualified" means the quality does not meet the quality requirements. As shown in Table 3, the exploration well identified as 56762129 had 4 filling cycles and a filling time of 5:16, meeting the standard filling cycle count of 4 cycles and a standard filling time of 5:00, thus its quality is qualified. The filling cycles, filling times, standard filling cycles, standard filling times, and quality of other exploration wells are shown in Table 3 above and will not be repeated here.
[0142] The method described above, after acquiring the well filling video, identifies the filling duration and number of fillings by analyzing the video, and then determines the well quality based on these parameters. This method eliminates the need for manual review of each well's filling video, saving time and improving the efficiency of well quality inspection.
[0143] Figure 6 The diagram shown is a structural schematic of a quality inspection device for exploration wells provided in an embodiment of this application. Figure 6 As shown, the device includes:
[0144] The acquisition module 601 is used to acquire the fill video of the exploration well to be inspected for quality.
[0145] The processing module 602 is used to perform frame-segmentation processing on the filler video to obtain multiple video frames included in the filler video and the shooting time of each video frame.
[0146] The recognition module 603 is used to recognize multiple video frames and obtain the video content of each video frame;
[0147] The determining module 604 is used to determine the first video frame and the second video frame among multiple video frames based on the video content and the shooting time of each video frame. The first video frame is the video frame with the earliest shooting time among the video frames whose video content includes the first object and the first object. The second video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the first video frame and whose video content does not include the first object and the first object. The first object is the object that fills the exploration well, and the first object is the tool that fills the exploration well with the first object.
[0148] The determining module 604 is also used to determine the filling time of the exploration well based on the shooting time of the first video frame and the shooting time of the second video frame. The filling time indicates the time from the start of filling the exploration well to the end of filling the exploration well.
[0149] The determining module 604 is also used to determine multiple third video frames in multiple video frames based on the video content of each video frame, wherein the video content of the third video frame includes the first object and the first object.
[0150] The determination module 604 is also used to determine the number of times the exploration well is filled based on the shooting time of each third video frame, and the number of fillings indicates the number of times the exploration well is filled within the filling time.
[0151] The determination module 604 is also used to determine the quality of the exploration well based on the filling time and the number of fillings.
[0152] In one possible implementation, the determining module 604 is used to determine a fourth video frame and a fifth video frame among multiple third video frames based on the shooting time of each third video frame. The fourth video frame is the video frame with the earliest shooting time among the video frames whose video content includes a first object in a first pose and a first object of a first color. The fifth video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the fourth video frame and whose video content includes a first object in a first pose and a first object of a second color. The intersection-over-union ratio (IoU) of the first object and the first object included in the fourth and fifth video frames is greater than the IoU threshold. The first color is the color of the filling material of the exploration well, and the second color is the color of the first object. The events corresponding to the video frames between the fourth and fifth video frames are taken as filling events. The number of filling events included in the filling video is taken as the number of times the exploration well is filled.
[0153] In one possible implementation, the determining module 604 is used to determine the intersection-over-union ratio (IoU) of the first object and the first object included in each third video frame; to select the third video frames whose IoU is greater than the IoU threshold as candidate video frames; and to determine the fourth and fifth video frames from the candidate video frames based on the shooting time of each candidate video frame.
[0154] In one possible implementation, the determining module 604 is configured to, for any one of a plurality of third video frames, determine a first region and a second region in any one of the third video frames, wherein the first region includes a reference part of a first object and the second region includes a first object; based on the fact that the first region and the second region do not overlap, use a reference value as the intersection-over-union ratio (IoU) of the first object and the first object included in any one of the third video frames; based on the fact that the first region and the second region overlap, determine the area of the overlapping region; determine the area of a third region, and use the quotient between the area of the overlapping region and the area of the third region as the IoU of the first object and the first object included in any one of the third video frames, wherein the third region is the region that includes the first region and the second region.
[0155] In one possible implementation, the determining module 604 is configured to determine multiple first candidate video frames and multiple second candidate video frames from multiple video frames based on the video content of each video frame. The video content of the first candidate video frames includes a first object and a first object, while the video content of the second candidate video frames does not include the first object and the first object. The first candidate video frame with the earliest shooting time among the multiple first candidate video frames is selected as the first video frame. Multiple third candidate video frames are determined from the multiple second candidate video frames, where the shooting time of any third candidate video frame is after the shooting time of the first video frame. The third candidate video frame with the earliest shooting time among the multiple third candidate video frames is selected as the second video frame.
[0156] In one possible implementation, module 604 is used to obtain relevant information about the exploration well, including the depth and radius of the exploration well; based on the depth and radius of the exploration well, determine the standard number of fills and the standard fill duration; based on the fill duration being not less than the standard fill duration and the number of fills being the standard number of fills, determine that the quality of the exploration well meets the quality requirements; based on the fill duration being less than the standard fill duration and / or the number of fills being less than the standard number of fills, determine that the quality of the exploration well does not meet the quality requirements.
[0157] In one possible implementation, the device further includes:
[0158] The playback module is used to play a prompt message when the quality of an exploration well does not meet the quality requirements. The prompt message indicates that the quality of the exploration well does not meet the quality requirements.
[0159] After acquiring the filling video of the exploration well, the aforementioned device identifies the filling duration and number of fillings by analyzing the video, and then determines the quality of the exploration well based on the filling duration and number of fillings. Since it eliminates the need for manual review of each exploration well's filling video, it saves time required for well quality inspection and improves the efficiency of exploration well quality inspection.
[0160] It should be understood that the above-described apparatus is only illustrated by the division of the functional modules described above when implementing its functions. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process can be found in the method embodiments, which will not be repeated here.
[0161] Figure 7 A structural block diagram of a terminal device 700 provided in an exemplary embodiment of this application is shown. The terminal device 700 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), MP4 player (Moving Picture Experts Group Audio Layer IV), laptop computer, or desktop computer. The terminal device 700 may also be referred to as a user device, portable terminal, laptop terminal, desktop terminal, or other names.
[0162] Typically, terminal device 700 includes a processor 701 and a memory 702.
[0163] Processor 701 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 701 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 701 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 701 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 701 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0164] The memory 702 may include one or more computer-readable storage media, which may be non-transitory. The memory 702 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 702 are used to store at least one instruction, which is executed by the processor 701 to implement the exploration well quality inspection method provided in the method embodiments of this application.
[0165] In some embodiments, the terminal device 700 may also optionally include a peripheral device interface 703 and at least one peripheral device. The processor 701, memory 702, and peripheral device interface 703 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, and a power supply 709.
[0166] Peripheral device interface 703 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 701 and memory 702. In some embodiments, processor 701, memory 702 and peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 701, memory 702 and peripheral device interface 703 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0167] The radio frequency (RF) circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 704 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 704 can communicate with other terminal devices through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 704 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0168] Display screen 705 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 705 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 701 for processing. In this case, display screen 705 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, display screen 705 may be a single screen, disposed on the front panel of terminal device 700; in other embodiments, display screen 705 may be at least two screens, disposed on different surfaces of terminal device 700 or in a folded design; in still other embodiments, display screen 705 may be a flexible display screen, disposed on a curved or folded surface of terminal device 700. Furthermore, display screen 705 may be configured as a non-rectangular irregular shape, i.e., a non-rectangular screen. Display screen 705 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0169] The camera assembly 706 is used to acquire images or videos. Optionally, the camera assembly 706 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal device 700, and the rear-facing camera is located on the back of the terminal device 700. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0170] The audio circuit 707 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 701 for processing, or input to the radio frequency circuit 704 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different part of the terminal device 700. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert the electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0171] Power supply 709 is used to supply power to the various components in terminal device 700. Power supply 709 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 709 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0172] In some embodiments, the terminal device 700 further includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: an accelerometer 711, a gyroscope 712, a pressure sensor 713, an optical sensor 715, and a proximity sensor 716.
[0173] Accelerometer 711 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 700. For example, accelerometer 711 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 701 can control display screen 705 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 711. Accelerometer 711 can also be used for games or for acquiring user motion data.
[0174] The gyroscope sensor 712 can detect the orientation and rotation angle of the terminal device 700. The gyroscope sensor 712, in conjunction with the accelerometer sensor 711, can collect 3D motion data from the user on the terminal device 700. Based on the data collected by the gyroscope sensor 712, the processor 701 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.
[0175] The pressure sensor 713 can be disposed on the side bezel of the terminal device 700 and / or on the lower layer of the display screen 705. When the pressure sensor 713 is disposed on the side bezel of the terminal device 700, it can detect the user's grip signal on the terminal device 700, and the processor 701 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 713. When the pressure sensor 713 is disposed on the lower layer of the display screen 705, the processor 701 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 705. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0176] An optical sensor 715 is used to collect ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is decreased. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 based on the ambient light intensity collected by the optical sensor 715.
[0177] The proximity sensor 716, also known as a distance sensor, is typically located on the front panel of the terminal device 700. The proximity sensor 716 is used to detect the distance between the user and the front of the terminal device 700. In one embodiment, when the proximity sensor 716 detects that the distance between the user and the front of the terminal device 700 is gradually decreasing, the processor 701 controls the display screen 705 to switch from a screen-on state to a screen-off state; when the proximity sensor 716 detects that the distance between the user and the front of the terminal device 700 is gradually increasing, the processor 701 controls the display screen 705 to switch from a screen-off state to a screen-on state.
[0178] Those skilled in the art will understand that Figure 7 The structure shown does not constitute a limitation on the terminal device 700, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0179] Figure 8This is a schematic diagram of the server structure provided in the embodiments of this application. The server 800 can vary considerably due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 801 and one or more memories 802. The one or more memories 802 store at least one line of program code, which is loaded and executed by the one or more processors 801 to implement the exploration well quality inspection method provided in the various method embodiments described above. Of course, the server 800 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 800 may also include other components for implementing device functions, which will not be elaborated here.
[0180] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code that is loaded and executed by a processor to enable a computer to implement any of the above-described methods for quality inspection of exploration wells.
[0181] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.
[0182] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-described methods for quality inspection of exploration wells.
[0183] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the information related to fill videos and exploration wells involved in this application was obtained with full authorization.
[0184] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.
[0185] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0186] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.
Claims
1. A method for quality inspection of exploration wells, characterized in that, The method includes: Obtain the fill video of the exploration well to be inspected for quality. The filling video is segmented into frames to obtain multiple video frames included in the filling video and the shooting time of each video frame; The video content of each video frame is obtained by identifying the multiple video frames. Based on the video content and the shooting time of each video frame, a first video frame and a second video frame are determined among the plurality of video frames. The first video frame is the video frame with the earliest shooting time among the video frames whose video content includes the first object and the first object. The second video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the first video frame and whose video content does not include the first object and the first object. The first object is the object that fills the exploration well, and the first object is the tool that fills the exploration well with the first object. The filling time of the exploration well is determined based on the shooting time of the first video frame and the shooting time of the second video frame. The filling time indicates the time from the start of filling the exploration well to the end of filling the exploration well. Based on the video content of each video frame, a plurality of third video frames are determined among the plurality of video frames, wherein the video content of the third video frames includes the first object and the first object; The number of times the exploration well is filled is determined based on the shooting time of each third video frame, and the number of times the exploration well is filled indicates the number of times the exploration well is filled within the filling duration; The quality of the exploration well is determined based on the filling duration and the number of filling cycles.
2. The method according to claim 1, characterized in that, Determining the number of times the exploration well is filled based on the shooting time of each third video frame includes: Based on the shooting time of each third video frame, a fourth video frame and a fifth video frame are determined from the plurality of third video frames. The fourth video frame is the video frame with the earliest shooting time among the video frames whose video content includes a first object in a first pose and a first object in a first color. The fifth video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the fourth video frame and whose video content includes a first object in a first pose and a first object in a second color. The intersection-over-union ratio (IoU) of the first object and the first object included in the fourth video frame and the fifth video frame is greater than the IoU threshold. The first color is the color of the filling material of the exploration well, and the second color is the color of the first object. The events corresponding to the video frames between the fourth and fifth video frames are used as fill events; The number of filling events included in the filling video is taken as the number of times the exploration well is filled.
3. The method according to claim 2, characterized in that, The step of determining the fourth and fifth video frames from the plurality of third video frames based on the shooting time of each third video frame includes: Determine the intersection-over-union ratio of the first object and the first object included in each third video frame; Among the plurality of third video frames, the third video frame whose cross-union ratio is greater than the cross-union ratio threshold is selected as the candidate video frame. Based on the shooting time of each candidate video frame, the fourth and fifth video frames are determined from the candidate video frames.
4. The method according to claim 3, characterized in that, Determining the intersection-over-union ratio (IoU) of the first object and the first object included in each third video frame includes: For any one of the plurality of third video frames, a first region and a second region are determined in the first video frame, wherein the first region includes a reference part of the first object and the second region includes the first object; Based on the fact that there is no overlap between the first region and the second region, the reference value is used as the intersection-union ratio of the first object and the first object included in any third video frame; Based on the existence of an overlapping area between the first region and the second region, the area of the overlapping area is determined; the area of the third region is determined, and the quotient between the area of the overlapping area and the area of the third region is used as the intersection-union ratio of the first object and the first object included in any third video frame, wherein the third region is the region including the first region and the second region.
5. The method according to claim 1, wherein The step of determining the first video frame and the second video frame from the plurality of video frames based on the video content and the shooting time of each video frame includes: Based on the video content of each video frame, a plurality of first candidate video frames and a plurality of second candidate video frames are determined from the plurality of video frames. The video content of the first candidate video frames includes the first object and the first object, while the video content of the second candidate video frames does not include the first object and the first object. The first candidate video frame with the earliest shooting time among the plurality of first candidate video frames is taken as the first video frame. Multiple third candidate video frames are determined from the plurality of second candidate video frames, wherein the shooting time of any third candidate video frame is after the shooting time of the first video frame; The third candidate video frame with the earliest shooting time among the plurality of third candidate video frames is selected as the second video frame.
6. The method according to any one of claims 1 to 5, characterized in that, Determining the quality of the exploration well based on the filling duration and the number of filling cycles includes: Obtain relevant information about the exploration well, including the depth and radius of the exploration well; Based on the depth and radius of the exploration well, determine the standard number of filling operations and the standard filling duration for the exploration well; Based on the fact that the filling time is not less than the standard filling time and the number of fillings is the standard number of fillings, it is determined that the quality of the exploration well meets the quality requirements; Based on the fact that the filling time is less than the standard filling time, and / or the number of fillings is less than the standard number of fillings, it is determined that the quality of the exploration well does not meet the quality requirements.
7. The method according to any one of claims 1 to 5, characterized in that, After determining the quality of the exploration well based on the filling time and the number of fillings, the method further includes: If the quality of the exploration well does not meet the quality requirements, a prompt message will be played, indicating that the quality of the exploration well does not meet the quality requirements.
8. A quality inspection device for exploration wells, characterized in that, The device includes: The acquisition module is used to acquire the fill video of the exploration well to be inspected for quality. The processing module is used to perform frame-by-frame processing on the filling video to obtain multiple video frames included in the filling video and the shooting time of each video frame; The recognition module is used to recognize the multiple video frames and obtain the video content of each video frame; The determining module is used to determine a first video frame and a second video frame from the plurality of video frames based on the video content of each video frame and the shooting time of each video frame. The first video frame is the video frame with the earliest shooting time among the video frames whose video content includes a first object and a first object. The second video frame is the video frame with the earliest shooting time among the video frames whose shooting time is after the shooting time of the first video frame and whose video content does not include the first object and the first object. The first object is the object that fills the exploration well, and the first object is the tool that fills the exploration well with the first object. The determining module is further configured to determine the filling duration of the exploration well based on the shooting time of the first video frame and the shooting time of the second video frame, wherein the filling duration indicates the time from the start of filling the exploration well to the end of filling the exploration well; The determining module is further configured to determine a plurality of third video frames among the plurality of video frames based on the video content of each video frame, wherein the video content of the third video frame includes the first object and the first object; The determining module is further configured to determine the number of times the exploration well is filled based on the shooting time of each third video frame, wherein the number of fillings indicates the number of times the exploration well is filled within the filling duration; The determining module is further configured to determine the quality of the exploration well based on the filling duration and the number of filling cycles.
9. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one piece of program code, the at least one piece of program code being loaded and executed by the processor to enable the computer device to implement the quality inspection method for exploration wells as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable the computer to implement the quality inspection method for exploration wells as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Near-surface constant speed filling method and apparatus
CN107817525A
Method, device and system for monitoring alarm of blasting operation in mine
CN110318810A