Quality detection method, device and equipment of exploration well and readable storage medium
By frame-based processing and identification of the filling video of the exploration well, the filling time and number of times are determined, the problems of low quality detection efficiency and high cost of exploration wells are solved, and rapid and accurate quality evaluation is achieved, and detection efficiency and safety are improved.
Patent Information
- Application Number
- CN202310787621.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-31
- Estimated Expiration
- 2043-06-29
AI Technical Summary
In seismic exploration, the quality detection efficiency of the exploration well is low and the cost is high, resulting in a long time for the quality detection of the exploration well, affecting the quality of the seismic data collected and involving safety issues.
By obtaining the filling video of the exploration well, performing frame processing and identification, determining the filling time and number of times, the quality of the exploration well is evaluated and the need for manual inspection is reduced.
It improves the efficiency of exploration well quality inspection, reduces inspection costs, saves time, and achieves rapid and accurate exploration well quality assessment.
Smart Images

Figure CN119229331A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of seismic exploration technology, and in particular to a method, device, equipment and readable storage medium for quality detection of an exploration well. Background Art
[0002] During seismic exploration and acquisition operations, the quality of the exploration well will not only affect the quality of the collected seismic data, but also involve safety issues. Therefore, the quality inspection of the exploration well is an indispensable link.
[0003] In the related art, a filling video corresponding to the exploration well is obtained, and the filling video is a video of the staff filling the exploration well. The filling video corresponding to the exploration well is manually checked to determine the quality of the exploration well.
[0004] Since there are a large number of exploration wells, a large amount of manpower is needed to carry out quality inspection of the exploration wells, which makes the cost of quality inspection of the exploration wells high and takes a long time, resulting in low efficiency of quality inspection of the exploration wells. Summary of the invention
[0005] The embodiments of the present application provide a method, device, equipment and computer-readable storage medium for quality inspection of an exploration well, which can be used to solve the problems in the related art. The technical solution is as follows:
[0006] On the one hand, an embodiment of the present application provides a method for quality detection of an exploration well, the method comprising:
[0007] Obtaining fill video of the exploration well to be quality inspected;
[0008] Performing frame processing on the filling video to obtain a plurality of video frames included in the filling video and a shooting time of each video frame;
[0009] Identify the multiple video frames to obtain video content of each video frame;
[0010] Determine a first video frame and a second video frame from the plurality of video frames according to the video contents of the respective video frames and the shooting time of the respective video frames, wherein the first video frame is the video frame with the earliest shooting time among the video frames whose video contents include the first object and the first body, and 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 contents do not include the first object and the first body, the first object is an object for filling the exploration well, and the first body is a tool for the first object to fill the exploration well;
[0011] Determine, according to the shooting time of the first video frame and the shooting time of the second video frame, the filling time length of the exploration well, wherein the filling time length indicates the time length from the start of filling the exploration well to the end of filling the exploration well;
[0012] Determine a plurality of third video frames from the plurality of video frames according to video contents of the respective video frames, wherein the video contents of the third video frames include the first subject and the first object;
[0013] Determine the number of times the exploration well is filled according to the shooting time of each third video frame, where the number of times indicates the number of times the exploration well is filled within the filling time length;
[0014] The quality of the exploration well is determined according to the filling time and the filling times.
[0015] In a possible implementation, determining the number of filling times of the exploration well according to the shooting time of each third video frame includes:
[0016] Determine a fourth video frame and a fifth video frame from the plurality of third video frames according to shooting times of the third video frames, the fourth video frame being the earliest video frame shot in the video frames whose video contents include a first object in a first posture and a first object in a first color, the fifth video frame being the earliest video frame shot in the video frames whose shooting time is after the shooting time of the fourth video frame and whose video contents include a first object in a first posture and a first object in a second color, an intersection-and-union ratio of the first object and the first object included in the fourth video frame and the fifth video frame being greater than an intersection-and-union ratio threshold, the first color being the color of a filler of the exploration well, and the second color being the color of the first object;
[0017] Using events corresponding to video frames between the fourth video frame and the fifth video frame as filling events;
[0018] The number of filling events included in the filling video is taken as the number of filling times of the exploration well.
[0019] In a possible implementation, determining the fourth video frame and the fifth video frame from the plurality of third video frames according to shooting time of each third video frame includes:
[0020] determining an intersection-over-union ratio of the first subject and the first object included in each third video frame;
[0021] Taking, among the plurality of third video frames, a third video frame whose IoU ratio is greater than an IoU ratio threshold as a candidate video frame;
[0022] According to the shooting time of each candidate video frame, a fourth video frame and a fifth video frame are determined from the candidate video frames.
[0023] In a possible implementation manner, determining the intersection-over-union ratio of the first object and the first body included in each third video frame includes:
[0024] For any third video frame among the plurality of third video frames, determining a first region and a second region in the any third video frame, the first region including a reference part of the first object, and the second region including the first object;
[0025] Based on the absence of an overlapping area between the first area and the second area, taking a reference value as an intersection-and-union ratio of a first object and a first subject included in any one of the third video frames;
[0026] Based on the existence of an overlapping area between the first area and the second area, the area of the overlapping area is determined; the area of the third area is determined, and the quotient between the area of the overlapping area and the area of the third area is used as the intersection and union ratio of the first object and the first object included in any third video frame, and the third area is the area including the first area and the second area.
[0027] In a possible implementation, determining the first video frame and the second video frame from the plurality of video frames according to the video content of each video frame and the shooting time of each video frame includes:
[0028] Determine, according to video contents 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 contents of the first candidate video frames include the first subject and the first object, and the video contents of the second candidate video frames do not include the first subject and the first object;
[0029] Using the first candidate video frame with the earliest shooting time among the multiple first candidate video frames as the first video frame;
[0030] Determine a plurality of third candidate video frames from the plurality of second candidate video frames, wherein a shooting time of any third candidate video frame is after a shooting time of the first video frame;
[0031] Among the multiple third candidate video frames, the third candidate video frame with the earliest shooting time is used as the second video frame.
[0032] In a possible implementation, determining the quality of the exploration well according to the filling time and the filling times includes:
[0033] Acquiring relevant information of the exploration well, wherein the relevant information includes the depth of the exploration well and the radius of the exploration well;
[0034] Determining a standard filling number and a standard filling duration of the exploration well according to the depth of the exploration well and the radius of the exploration well;
[0035] Based on the filling time being not less than the standard filling time and the filling times being the standard filling times, determining 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 filling times is less than the standard number of filling times, it is determined that the quality of the exploration well does not meet the quality requirement.
[0037] In a possible implementation, after determining the quality of the exploration well according to the filling time and the filling number, the method further includes:
[0038] Based on the fact that the quality of the exploration well does not meet the quality requirements, a prompt message is played, where the prompt message is used to indicate that the quality of the exploration well does not meet the quality requirements.
[0039] On the other hand, an embodiment of the present application provides a quality detection device for an exploration well, the device comprising:
[0040] An acquisition module, used to acquire a filling video of an exploration well to be quality inspected;
[0041] A processing module, used for performing frame processing on the filling video to obtain a plurality of video frames included in the filling video and a shooting time of each video frame;
[0042] An identification module, used to identify the multiple video frames to obtain the video content of each video frame;
[0043] a determination module, configured to determine a first video frame and a second video frame from the plurality of video frames according to video contents of the respective video frames and shooting times of the respective video frames, wherein the first video frame is a video frame having the earliest shooting time among video frames whose video contents include a first object and a first body, and the second video frame is a video frame having the earliest shooting time among video frames whose shooting time is after the shooting time of the first video frame and whose video contents do not include the first object and the first body, the first object is an object for filling the exploration well, and the first object is a tool for the first object to fill the exploration well;
[0044] The determination module is further used to determine the filling time of the exploration well according to the shooting time of the first video frame and the shooting time of the second video frame, wherein the filling time 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 from the plurality of video frames according to video contents of the respective video frames, wherein the video contents of the third video frames include the first subject and the first object;
[0046] The determination module is further used to determine the number of filling times of the exploration well according to the shooting time of each third video frame, and the number of filling times indicates the number of times the exploration well is filled within the filling time length;
[0047] The determination module is further used to determine the quality of the exploration well according to the filling time and the filling times.
[0048] In a possible implementation, the determination module is used to determine a fourth video frame and a fifth video frame from the multiple third video frames according to the shooting time of each third video frame, the fourth video frame being the video frame with the earliest shooting time among the video frames whose video content includes a first object in a first posture and a first object in a first color, the fifth video frame being 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 posture and a first object in a second color, the intersection-and-union ratio of the first object and the first object included in the fourth video frame and the fifth video frame is greater than an intersection-and-union ratio threshold, the first color is the color of a filler of the exploration well, and the second color is the color of the first object; the event corresponding to the video frame between the fourth video frame and the fifth video frame is used as a filling event; and the number of filling events included in the filling video is used as the number of filling times of the exploration well.
[0049] In a possible implementation, the determination module is used to determine the intersection-and-union ratio of the first object and the first object included in each third video frame; select the third video frame whose intersection-and-union ratio is greater than the intersection-and-union ratio threshold among the multiple third video frames as a candidate video frame; and determine the fourth video frame and the fifth video frame among the candidate video frames according to the shooting time of each candidate video frame.
[0050] In one possible implementation, the determination module is used to determine, for any third video frame among the multiple third video frames, a first area and a second area in the any third video frame, the first area including a reference part of the first object, and the second area including the first object; based on the absence of an overlapping area between the first area and the second area, using a reference value as an intersection-and-union ratio of the first object and the first object included in the any third video frame; based on the presence of an overlapping area between the first area and the second area, determining an area of the overlapping area; determining an area of the third area, using a quotient between the area of the overlapping area and the area of the third area as an intersection-and-union ratio of the first object and the first object included in the any third video frame, the third area being an area including the first area and the second area.
[0051] In a possible implementation, the determination module is used to determine multiple first candidate video frames and multiple second candidate video frames from the multiple video frames according to the video content of each video frame, the video content of the first candidate video frame includes the first object and the first object, and the video content of the second candidate video frame does not include the first object and the first object; take the first candidate video frame with the earliest shooting time among the multiple first candidate video frames as the first video frame; determine multiple third candidate video frames from the multiple second candidate video frames, the shooting time of any third candidate video frame is after the shooting time of the first video frame; take the third candidate video frame with the earliest shooting time among the multiple third candidate video frames as the second video frame.
[0052] In one possible implementation, the determination module is used to obtain relevant information of the exploration well, wherein the relevant information includes the depth of the exploration well and the radius of the exploration well; determine the standard filling number and standard filling time of the exploration well according to the depth of the exploration well and the radius of the exploration well; determine 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 filling number being the standard filling number; determine 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 filling number being less than the standard filling number.
[0053] In a possible implementation manner, the device further includes:
[0054] The playing module is used to play prompt information based on the fact that the quality of the exploration well does not meet the quality requirements, wherein the prompt information is used to indicate that the quality of the exploration well does not meet the quality requirements.
[0055] On the other hand, an embodiment of the present application provides a computer device, which includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements any of the above-mentioned exploration well quality inspection methods.
[0056] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor so that a computer implements any of the above-mentioned methods for detecting the quality of an exploration well.
[0057] On the other hand, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that the computer implements any of the above-mentioned quality inspection methods for exploration wells.
[0058] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:
[0059] The technical solution provided in the embodiment of the present application obtains the filling video of the exploration well, identifies the filling video, obtains the filling time and filling times of the exploration well, and then determines the quality of the exploration well according to the filling time and filling times. The method can determine the quality of the exploration well without manually watching the filling videos of the exploration well one by one, saves the time required for detecting the quality of the exploration well, and improves the detection efficiency of the quality of the exploration well. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0061] Figure 1 It is a schematic diagram of an implementation environment of a quality detection method for an exploration well provided in an embodiment of the present application;
[0062] Figure 2 It is a flow chart of a quality detection method for an exploration well provided in an embodiment of the present application;
[0063] Figure 3 is a schematic diagram of a first candidate video frame provided in an embodiment of the present application;
[0064] Figure 4is a schematic diagram of a first area and a second area included in any third video frame provided in an embodiment of the present application;
[0065] Figure 5 is a schematic diagram of a first area and a second area included in any third video frame provided in an embodiment of the present application;
[0066] Figure 6 It is a structural schematic diagram of a quality detection device for an exploration well provided in an embodiment of the present application;
[0067] Figure 7 It is a structural diagram of a terminal device provided in an embodiment of the present application;
[0068] Figure 8 It is a structural diagram of a server provided in an embodiment of the present application. DETAILED DESCRIPTION
[0069] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0070] Figure 1 Schematic diagram of the implementation environment of a method for quality inspection of an exploration well provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: a computer device 101, which may be a terminal device or a server, and the present application embodiment does not limit this. The computer device 101 is used to execute the quality detection method for the exploration well provided in the present application embodiment.
[0071] Optionally, the computer device 101 is a terminal device, which can be any electronic device product that can interact with a user through one or more methods such as a keyboard, a touchpad, a remote control, voice interaction, or a handwriting device. For example, PC (Personal Computer), mobile phone, smart phone, PDA (Personal Digital Assistant), wearable device, PPC (Pocket PC), tablet computer, smart car machine, smart TV, smart speaker, smart watch, etc.
[0072] The terminal device may generally refer to one of a plurality of terminal devices. This embodiment is only illustrated by taking the terminal device as an example. Those skilled in the art may know that the number of the terminal devices may be more or less. For example, the terminal device may be only one, or the terminal devices may be dozens or hundreds, or more. The embodiment of this application does not limit the number and device type of the terminal devices.
[0073] When the computer device 101 is a server, the server is a single server, or a server cluster consisting of multiple servers, or any one of a cloud computing platform and a virtualization center, which is not limited in the embodiments of the present application. The server is connected to the terminal device through a wired network or a wireless network. The server has a data receiving function, a data processing function, and a data sending function. Of course, the server may also have other functions, which are not limited in the embodiments of the present application.
[0074] Those skilled in the art should understand that the above-mentioned terminal devices and servers are for illustration only, and other existing or future terminal devices or servers, if applicable to the present application, should also be included in the scope of protection of the present application and are incorporated herein by reference.
[0075] The present application provides a method for detecting the quality of an exploration well. The method can be applied to the above Figure 1 The implementation environment shown is Figure 2 Taking the flowchart of a method for quality inspection of an exploration well provided in the embodiment of the present application as an example, the method can be Figure 1 The computer device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 208.
[0076] In step 201, a filling video of an exploration well to be quality inspected is obtained.
[0077] In an exemplary embodiment of the present application, the filling videos of various exploration wells are stored in the computer device, and the computer device can use the filling video of any exploration well as the filling video of the exploration well to be quality inspected.
[0078] In a possible implementation, the computer device also stores the corresponding relationship between the filling video of each exploration well and the identification of each exploration well. The identification of the exploration well can be the location of the exploration well, the number of the exploration well, or other identification that can uniquely represent an exploration well, which is not limited in the embodiment of the present application.
[0079] Based on the computer device being a terminal device, the terminal device displays an exploration well determination page, and an input box is displayed in the exploration well determination page, and the input box is used to obtain the identification of the exploration well to be quality tested. Based on the user's input operation in the input box, the terminal device obtains the identification of the exploration well to be quality tested, and then the terminal device obtains the filling video of the exploration well to be quality tested according to the identification of the exploration well to be quality tested and the corresponding relationship between the filling video of each exploration well and the identification of each exploration well.
[0080] Optionally, the exploration well determination page may also display multiple candidate exploration well identifiers. In response to a selection operation for the identifier of any candidate exploration well, the terminal device uses the identifier of the selected candidate exploration well as the identifier of the exploration well to be quality tested, and then obtains the filling video of the exploration well to be quality tested based on the identifier of the exploration well to be quality tested and the corresponding relationship between the filling video of each exploration well and the identifier of each exploration well.
[0081] Based on the computer device being a server, the terminal device obtains the identification of the exploration well to be quality inspected, and sends a detection request to the server, in which the identification of the exploration well to be quality inspected is carried. The server receives the detection request sent by the terminal device, parses the detection request, obtains the identification of the exploration well to be quality inspected, and obtains the filling video of the exploration well to be quality inspected according to the identification of the exploration well to be quality inspected and the corresponding relationship between the filling video of each exploration well and the identification of each exploration well.
[0082] Among them, the process of the terminal device obtaining the identification of the exploration well to be quality tested is similar to the process of obtaining the identification of the exploration well to be quality tested when the above-mentioned computer device is a terminal device, and will not be repeated here.
[0083] In step 202, the filling video is frame-divided to obtain a plurality of video frames included in the filling video and the shooting time of each video frame.
[0084] The shooting time of each video frame refers to the time when each video frame is used to fill the video, or the shooting time of each video frame refers to the time when each video frame is captured.
[0085] In a possible implementation, a video framing software is installed and run in a computer device, and the video framing software is used to perform framing processing on a video. The video framing software is called to perform framing processing on the filler video to obtain a plurality of video frames included in the filler video and the shooting time of each video frame. The video framing software can be any software that can perform framing processing on a video, and the embodiment of the present application does not limit this. Exemplarily, the video framing software is a frame-by-frame video editor (Aiseesoft Video Editor).
[0086] For example, the duration of the filling video is 10 seconds, and the filling video is framed to obtain 10 video frames, wherein the shooting time of the first video frame is 00:01, the shooting time of the second video frame is 00:02, the shooting time of the third video frame is 00:03, the shooting time of the fourth video frame is 00:04, the shooting time of the fifth video frame is 00:05, the shooting time of the sixth video frame is 00:06, the shooting time of the seventh video frame is 00:07, the shooting time of the eighth video frame is 00:08, the shooting time of the ninth video frame is 00:09, and the shooting time of the tenth video frame is 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 identifying multiple video frames to obtain the video content of each video frame includes: calling a content recognition model to identify multiple video frames to obtain the video content of each video frame. Among them, the content recognition model is any model that can perform content recognition, and the embodiment of the present application is not limited to this. Exemplarily, the content recognition model is a convolutional neural network (CNN) model.
[0089] In step 204, a first video frame and a second video frame are determined from the plurality of video frames according to the video content of each video frame and the shooting time of each video frame.
[0090] The first video frame is the earliest video frame shot in the video frames whose video contents include the first object and the first body, the second video frame is the earliest video frame shot in the video frames whose shooting time is after the shooting time of the first video frame and whose video contents do not include the first object and the first body, the first object is the object for filling the exploration well, and the first object is the tool for the first object to fill the exploration well. Exemplarily, the first object is the staff for filling the exploration well, and the first object is a well-blocking bucket.
[0091] Optionally, the process of determining the first video frame and the second video frame from a plurality of video frames according to the video content of each video frame and the shooting time of each video frame includes: determining a plurality of first candidate video frames and a plurality of second candidate video frames from a plurality of video frames according to the video content of each video frame. The video content of the first candidate video frame includes the first subject and the first object, and the video content of the second candidate video frame does not include the first subject 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. A plurality of third candidate video frames is determined from the plurality of second candidate video frames, and the shooting time of the third candidate video frames is later than the shooting time of the first video frame; and the third candidate video frame with the earliest shooting time among the plurality of third candidate video frames is taken as the second video frame.
[0092] Exemplarily, the filled video is framed to obtain 10 video frames. Among them, the video content of the third video frame to the eighth video frame includes the first object and the first object, and the video content of the first video frame, the second video frame, the ninth video frame and the tenth video frame does not include the first object and the first object. Therefore, the third video frame to the eighth video frame are used as the first candidate video frame, and the first video frame, the second video frame, the ninth video frame and the tenth video frame are used as the second candidate video frame. The shooting time of the third video frame in the first candidate video frame is the earliest, so the third video frame is used as the first video frame. The shooting time of the first video frame and the second video frame is earlier than the shooting time of the first video frame, and the shooting time of the ninth video frame and the tenth video frame is later than the shooting time of the first video frame. Therefore, the ninth video frame and the tenth video frame are used as the third candidate video frame. Since the shooting time of the ninth video frame in the ninth video frame and the tenth video frame is the earliest, the ninth video frame is used as the second video frame.
[0093] like Figure 3 3 is a schematic diagram of a first candidate video frame provided in an embodiment of the present application, wherein a first object 301 and a first body 302 are displayed in the first candidate video frame.
[0094] It should be noted that, in addition to the first object and the first body, the first candidate video frame may also include other content, and the second candidate video frame does not include the first object and the first body. The second candidate video frame may include other content, and this embodiment of the present application does not limit this.
[0095] In step 205, the filling time of the exploration well is determined according to the shooting time of the first video frame and the shooting time of the second video frame.
[0096] The filling duration indicates the duration from the start of filling the exploration well to the end of filling the exploration well. In a possible implementation, after the first video frame and the second video frame are determined in the above step 204, the filling duration of the exploration well is determined according to 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 is used as the filling duration of the exploration well.
[0097] For example, the shooting time of the first video frame is 00:03, and the shooting time of the second video frame is 00:09. According to the shooting time of the first video frame and the shooting time of the second video frame, it is determined that the filling time of the exploration well is 6 seconds.
[0098] In step 206, a plurality of third video frames are determined from the plurality of video frames according to the video content of each video frame.
[0099] The video content of the third video frame includes the first object and the first object, the first object is the object for filling the exploration well, and the first object is the tool for the first object to fill the exploration well. According to the video content of each video frame, the process of determining multiple third video frames from multiple video frames includes: taking the video frame whose video content includes the first object and the first object from the multiple video frames as the third video frame.
[0100] In step 207, the number of filling times of the exploration well is determined according to the shooting time of each third video frame.
[0101] The filling times indicates the number of times the exploration well is filled within the filling time.
[0102] In a possible implementation, the process of determining the number of filling times of the exploration well according to the shooting time of each third video frame includes: determining the fourth video frame and the fifth video frame in multiple third video frames according to the shooting time of each third video frame; taking the time corresponding to the video frame between the fourth video frame and the fifth video frame as the filling event, and taking the number of filling events included in the filling video as the number of filling times of the exploration well. Among them, the fourth video frame is the video frame with the earliest shooting time among the video frames whose video content includes the first object in the first posture and the first object in the first color, and 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 the first object in the first posture and the first object in the second color, and the intersection-and-union ratio of the first object and the first object included in the fourth video frame and the fifth video frame is greater than the intersection-and-union ratio threshold. The intersection-and-union ratio of the first object and the first object is used to indicate the ratio between the intersection of the first object and the first object and the union of the first object and the first object. The first color is the color of the filler of the exploration well, and the second color is the color of the first object. For example, if the filling material of the exploration well is loess, the first color is yellow, and the color of the well barrel is white, then the second color is white. The intersection-and-union ratio threshold is set based on experience or adjusted according to the implementation environment, and the embodiment of the present application does not limit this. For example, the intersection-and-union ratio threshold is 0.3.
[0103] The process of determining a fourth video frame and a fifth video frame from multiple third video frames according to the shooting time of each third video frame includes: determining an intersection-and-union ratio of a first object and a first object included in each third video frame; taking a third video frame whose intersection-and-union ratio is greater than an intersection-and-union ratio threshold among the multiple third video frames as a candidate video frame; and determining a fourth video frame and a fifth video frame from the candidate video frames according to the shooting time of each candidate video frame.
[0104] The process of determining the intersection-and-union 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 the first area and the second area in any third video frame; and determining the intersection-and-union ratio of the first object and the first object included in any third video frame according to the first area and the second area. The first area includes a reference part of the first object, and the second area includes the first object. The reference part of the first object is the hand of the first object. The first area is the smallest area including the hand of the first object, and the second area is the smallest area including the first object.
[0105] Determine the intersection and union ratio of the first object and the first object included in any third video frame based on the first area and the second area, including: based on the absence of overlapping areas between the first area and the second area, use the reference value as the intersection and union ratio of the first object and the first object included in any third video frame. Based on the existence of overlapping areas between the first area and the second area, determine the area of the overlapping area, determine the area of the third area, and use the quotient between the area of the overlapping area and the area of the third area as the intersection and union ratio of the first object and the first object included in any third video frame. Wherein, the third area is a region including the first area and the second area. The third area is a graphic corresponding to the image composed of the first area and the second area. Wherein, the reference value is 0.
[0106] like Figure 4 401 is a schematic diagram of a first area and a second area included in any third video frame provided in an embodiment of the present application. 401 is the first area, and 402 is the second area. Since there is an overlap between the first area and the second area, Figure 4 The shaded area in is an overlapping area, therefore, the ratio of the area of the shaded area to the area of the figure composed of the first area and the second area is taken as the intersection-and-union ratio of the first object and the first subject included in any third video frame.
[0107] like Figure 5 is a schematic diagram of another first area and a second area included in any third video frame provided in an embodiment of the present application. 501 is the first area, and 502 is the second area. Since there is no overlapping area between the first area and the second area, 0 is used as the intersection-and-union ratio of the first object and the first object included in any third video frame.
[0108] In a possible implementation, according to the shooting time of each candidate video frame, the process of determining the fourth video frame and the fifth video frame in the candidate video frame includes: detecting the first object and the first object included in each candidate video frame to obtain the posture of the first object and the color of the first object included in each candidate video frame; taking the candidate video frame in which the posture of the first object included in the candidate video frame is the first posture and the color of the first object is the first color as the first reference video frame; taking the candidate video frame in which the posture of the first object included in the candidate video frame is the first posture and the color of the first object is the second color as the second reference video frame. Taking the first reference video frame with the earliest shooting time in the first reference video frame as the fourth video frame; taking the second reference video frame in which the shooting time in the second reference video frame is after the fourth video frame and the closest to the fourth video frame as the fifth video frame. The event corresponding to the video frame between the fourth video frame and the fifth video frame is a filling event, and the number of filling events included in the filling video is 1. Among them, the first object's posture being the first posture means that the first object is in a bent state, the first object being in a bent state and the first object's color being the first color means that the first object is filling an exploration well, and the first object being in a bent state and the first object's color being the second color means that the first object has completed a filling event.
[0109] A sixth video frame and a seventh video frame may also be determined in the third video frame, the sixth video frame being a video frame of the first video content that appears after the fifth video frame in the plurality of third video frames and includes a first object in a first posture and a first object in a first color, and the seventh video frame being a video frame of the first video content that appears after the sixth video frame and includes a first object in a first posture and a first object in a second color. The intersection-and-union ratio of the first object and the first object included in the sixth video frame and the seventh video frame is greater than an intersection-and-union ratio threshold, and the event corresponding to the video frame between the sixth video frame and the seventh video frame is used as a filling event. At this time, the number of filling events included in the filling video is 2.
[0110] According to the above method, the third video frame after the seventh video frame in the filling video is traversed to obtain the number of filling events included in the filling video. The number of filling events included in the filling video is used as the number of filling times of the exploration well. For example, if the number of filling events included in the filling video is 5, the number of filling times of the exploration well is 5.
[0111] Optionally, the process of detecting the first object and the first object included in each candidate video frame to obtain the posture of the first object and the color of the first object included in each candidate video frame includes: calling a posture detection model, performing posture detection on the first object included in each candidate video frame, and obtaining the posture of the first object included in each candidate video frame. Calling a color recognition model to recognize the color of the first object included in each candidate video frame, and obtaining the color of the first object included in each candidate video frame. Optionally, the posture detection model is any model capable of posture detection, and the color recognition model is any model capable of color recognition, and the embodiments of the present application are not limited to this. Exemplarily, the posture detection model is MoveNet (a posture detection model), and the color recognition model is an 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 times.
[0113] In one possible implementation, the process of determining the quality of an exploration well based on the filling time and the number of fillings includes: obtaining relevant information about the exploration well, the relevant information including the depth of the exploration well and the radius of the exploration well; determining the standard number of fillings and the standard filling time of the exploration well based on the depth of the exploration well and the radius of the exploration well; determining the quality of the exploration well based on the filling time, the number of fillings, the standard filling time and the standard number of fillings.
[0114] Among them, the process of obtaining relevant information of the exploration well includes: the relevant information of the exploration well and the correspondence between the identification of the exploration well and the relevant information of the exploration well are stored in the computer device, and the relevant information of the exploration well is obtained according to the identification of the exploration well and the correspondence between the identification of the exploration well and the relevant information of the exploration well.
[0115] The following Table 1 is an exemplary table of the correspondence between an identification of an exploration well and related information of the exploration well provided in an embodiment of the present application.
[0116] Table 1
[0117]
[0118]
[0119] It can be seen from Table 1 above that the depth of the exploration well marked as 51001001 is 12.4 meters and the radius is 50 centimeters. The depths and radii of the exploration wells marked as others are shown in Table 1 above and will not be repeated here.
[0120] The process of determining the standard filling times and standard filling duration of the exploration well according to the depth and radius of the exploration well includes: taking the duration corresponding to the depth of the exploration well as the standard filling duration of the exploration well; determining the volume of the exploration well according to the depth and radius of the exploration well; determining the volume of the first object; and taking the quotient between the volume of the exploration well and the volume of the first object as the standard filling times of the exploration well.
[0121] Optionally, a table of correspondence between various depths and various time lengths is stored in the computer device. After the depth of the exploration well is obtained, the standard filling time of the exploration well is determined based on the table of correspondence between the depth of the exploration well and various depths and various time lengths.
[0122] The following Table 2 is a table of corresponding relationships between various depths and various durations provided in an embodiment of the present application.
[0123] Table 2
[0124] Depth (unit: meter) Duration (unit: minutes) 10 5 12 6 14 7
[0125] It can be seen from Table 2 above that when the depth is 10 meters, the corresponding duration is 5 minutes. When the depth is other, the corresponding duration is shown in Table 2 above, which will not be repeated here.
[0126] The process of determining the volume of the exploration well according to the depth and radius of the exploration well includes: determining the bottom area of the exploration well according to the radius of the exploration well, and taking the product of the bottom area of the exploration well and the depth of the exploration well as the volume of the exploration well.
[0127] Optionally, the volume V of the exploration well is determined according to the depth and radius of the exploration well according to the following formula (1).
[0128] V=πR 2 D Formula (1)
[0129] In the above formula (1), π is the 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 filling times, the standard filling time, and the standard filling number 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 filling times being the standard filling number; 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 filling times being less than the standard filling number.
[0131] Exemplarily, the filling time is 5 minutes, the filling times are 5 times, the standard filling time is 4 minutes, and the standard filling times are 5 times, then it is determined that the quality of the exploration well meets the quality requirements.
[0132] For another example, if the filling time is 5 minutes, the filling times are 5 times, and the standard filling time is 6 minutes, the standard filling times are 5 times, it is determined that the quality of the exploration well does not meet the quality requirements.
[0133] Optionally, after the quality of the exploration well is determined, the quality of the exploration well and the identification of the exploration well may be stored in correspondence, so that the user can directly obtain the quality of the exploration well according to the identification of the exploration well.
[0134] In a possible implementation, after the quality of the exploration well is obtained, a prompt message may be played based on the fact that 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. The content of the prompt message may be any content, which is not limited in the embodiment of the present application. In this way, the user may refill the exploration well after hearing the prompt message.
[0135] Based on the computer device being a terminal device, if the quality of the exploration well does not meet the quality requirements, a prompt message can be displayed, so that the user can refill the exploration well after seeing the prompt message.
[0136] Based on the computer device being a server, if the quality of the exploration well does not meet the quality requirements, the server sends a prompt message to the terminal device, and the terminal device displays the prompt message.
[0137] Optionally, after the computer device determines the quality of multiple exploration wells, it can also generate a result table according to the identification, filling number, filling time, standard filling number, standard filling time and quality of each exploration well.
[0138] The following Table 3 is an exemplary table of a result table provided in an embodiment of the present application.
[0139] Table 3
[0140] Logo Filling times Filling time Standard filling times Standard filling time quality 56762129 4 5:16 4 5:00 qualified 56762130 5 5:54 5 5:00 qualified 56762131 3 6:34 5 5:00 Failure 56762132 5 4:29 5 5:00 Failure 56762133 4 5:20 4 5:00 qualified 56762134 6 5:21 6 5:00 qualified
[0141] The qualified in the above Table 3 means that the quality meets the quality requirements, and the unqualified means that the quality does not meet the quality requirements. It can be seen from the above Table 3 that the exploration well marked as 56762129 has 4 filling times, a filling time of 5:16, a standard filling time of 4 times, a standard filling time of 5:00, and a qualified quality. The filling times, filling times, standard filling times, standard filling times and quality of the exploration wells marked as other are shown in the above Table 3, and will not be repeated here.
[0142] After acquiring the filling video of the exploration well, the above method obtains the filling time and filling number of the exploration well by identifying the filling video, and then determines the quality of the exploration well according to the filling time and filling number. This method can determine the quality of the exploration well without manually watching the filling videos of the exploration well one by one, saving the time required for detecting the quality of the exploration well and improving the detection efficiency of the quality of the exploration well.
[0143] Figure 6 FIG. 1 is a schematic diagram of a structure of a quality detection device for an exploration well provided in an embodiment of the present application. Figure 6 As shown, the device comprises:
[0144] An acquisition module 601 is used to acquire a filling video of an exploration well to be quality inspected;
[0145] The processing module 602 is used to perform frame processing on the filling video to obtain multiple video frames included in the filling 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] A determination module 604 is used to determine a first video frame and a second video frame from a plurality of video frames according to video contents of each video frame and shooting time of each video frame, wherein the first video frame is a video frame having the earliest shooting time among video frames whose video contents include the first object and the first body, and the second video frame is a video frame having the earliest shooting time among video frames whose shooting time is later than the shooting time of the first video frame and whose video contents do not include the first object and the first body, the first object is an object for filling the exploration well, and the first object is a tool for the first object to fill the exploration well;
[0148] The determination module 604 is further used to determine the filling time of the exploration well according to the shooting time of the first video frame and the shooting time of the second video frame, where the filling time indicates the time from the start of filling the exploration well to the end of filling the exploration well;
[0149] The determination module 604 is further configured to determine a plurality of third video frames from the plurality of video frames according to the video content of each video frame, wherein the video content of the third video frames includes the first subject and the first object;
[0150] The determination module 604 is further used to determine the number of filling times of the exploration well according to the shooting time of each third video frame, where the number of filling times indicates the number of times the exploration well is filled within the filling time length;
[0151] The determination module 604 is further used to determine the quality of the exploration well according to the filling time and the filling times.
[0152] In a possible implementation, the determination module 604 is used to determine a fourth video frame and a fifth video frame from multiple third video frames according to the shooting time of each third video frame, the fourth video frame being the video frame with the earliest shooting time among the video frames whose video content includes the first object in the first posture and the first object in the first color, the fifth video frame being 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 the first object in the first posture and the first object in the second color, the intersection-and-union ratio of the first object and the first object included in the fourth video frame and the fifth video frame is greater than the intersection-and-union ratio threshold, the first color is the color of the filler of the exploration well, and the second color is the color of the first object; the event corresponding to the video frame between the fourth video frame and the fifth video frame is used as the filling event; and the number of filling events included in the filling video is used as the number of filling times of the exploration well.
[0153] In one possible implementation, a determination module 604 is used to determine an IoU ratio of a first object and a first subject included in each third video frame; a third video frame whose IoU ratio is greater than an IoU ratio threshold value among multiple third video frames is used as a candidate video frame; and a fourth video frame and a fifth video frame are determined from the candidate video frames according to the shooting time of each candidate video frame.
[0154] In one possible implementation, the determination module 604 is used to determine, for any third video frame among multiple third video frames, a first area and a second area in any third video frame, the first area including a reference part of the first object, and the second area including the first object; based on the absence of an overlapping area between the first area and the second area, taking a reference value as an intersection-and-union ratio of the first object and the first object included in any third video frame; based on the presence of an overlapping area between the first area and the second area, determining an area of the overlapping area; determining an area of the third area, taking a quotient between the area of the overlapping area and the area of the third area as an intersection-and-union ratio of the first object and the first object included in any third video frame, the third area being an area including the first area and the second area.
[0155] In one possible implementation, the determination module 604 is used 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 frame includes the first object and the first object, and the video content of the second target video frame 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 used as the first video frame; multiple third candidate video frames are determined from the multiple second candidate video frames, and the shooting time of any third candidate video frame is after the shooting time of the first video frame; and the third candidate video frame with the earliest shooting time among the multiple third candidate video frames is used as the second video frame.
[0156] In one possible implementation, determination module 604 is used to obtain relevant information of the exploration well, the relevant information including the depth of the exploration well and the radius of the exploration well; determine the standard filling number and standard filling time of the exploration well according to the depth of the exploration well and the radius of the exploration well; determine 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 filling number being the standard filling number; determine 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 filling number being less than the standard filling number.
[0157] In a possible implementation, the device further includes:
[0158] The playing module is used to play prompt information based on the fact that the quality of the exploration well does not meet the quality requirements, and the prompt information is used to indicate that the quality of the exploration well does not meet the quality requirements.
[0159] After acquiring the filling video of the exploration well, the above device obtains the filling time and filling number of the exploration well by identifying the filling video, and then determines the quality of the exploration well according to the filling time and filling number. Since the quality of the exploration well can be determined without manually watching the filling videos of the exploration well one by one, the time required for detecting the quality of the exploration well is saved, and the detection efficiency of the quality of the exploration well is improved.
[0160] It should be understood that the above-mentioned device only uses the division of the above-mentioned functional modules as an example to illustrate when implementing its functions. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0161] Figure 7 The structure block diagram of a terminal device 700 provided by an exemplary embodiment of the present application is shown. The terminal device 700 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The terminal device 700 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.
[0162] Typically, the terminal device 700 includes: a processor 701 and a memory 702 .
[0163] The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 701 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 701 may also include an AI (Artificial Intelligence) processor, which is used to process computing 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 a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 702 is used to store at least one instruction, which is used to be executed by the processor 701 to implement the quality detection method for the exploration well provided in the method embodiment of the present application.
[0165] In some embodiments, the terminal device 700 may further optionally include: a peripheral device interface 703 and at least one peripheral device. The processor 701, the memory 702 and the peripheral device interface 703 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 703 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707 and a power supply 709.
[0166] The peripheral device interface 703 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 701 and the memory 702. In some embodiments, the processor 701, the memory 702, and the peripheral device interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral device interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
[0167] The radio frequency circuit 704 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 704 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 704 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency 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 radio frequency circuit 704 can communicate with other terminal devices through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 704 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.
[0168] The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to collect touch signals on the surface or above the surface of the display screen 705. The touch signal can be input to the processor 701 as a control signal for processing. At this time, the display screen 705 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 705 can be one, set on the front panel of the terminal device 700; in other embodiments, the display screen 705 can be at least two, respectively set on different surfaces of the terminal device 700 or in a folding design; in other embodiments, the display screen 705 can be a flexible display screen, set on a curved surface or a folding surface of the terminal device 700. Even, the display screen 705 can also be set to a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 705 can be made of materials such as LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), etc.
[0169] The camera assembly 706 is used to capture images or videos. Optionally, the camera assembly 706 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal device 700, and the rear camera is arranged on the back of the terminal device 700. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 706 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold 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, and convert the sound waves into electrical signals and input them into the processor 701 for processing, or input them into the radio frequency circuit 704 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal device 700. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 701 or the radio frequency circuit 704 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 707 may also include a headphone jack.
[0171] The power supply 709 is used to power various components in the terminal device 700. The power supply 709 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the 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 charged through a wired line, and a wireless rechargeable battery is a battery charged through 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 , including but not limited to: an acceleration sensor 711 , a gyroscope sensor 712 , a pressure sensor 713 , an optical sensor 715 , and a proximity sensor 716 .
[0173] The acceleration sensor 711 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the terminal device 700. For example, the acceleration sensor 711 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 701 can control the display screen 705 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 can also be used for collecting game or user motion data.
[0174] The gyroscope sensor 712 can detect the body direction and rotation angle of the terminal device 700, and the gyroscope sensor 712 can cooperate with the acceleration sensor 711 to collect the user's 3D actions on the terminal device 700. The processor 701 can implement the following functions based on the data collected by the gyroscope sensor 712: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0175] The pressure sensor 713 can be set on the side frame of the terminal device 700 and / or the lower layer of the display screen 705. When the pressure sensor 713 is set on the side frame of the terminal device 700, it can detect the user's holding signal of the terminal device 700, and the processor 701 performs left and right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 713. When the pressure sensor 713 is set on the lower layer of the display screen 705, the processor 701 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 705. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.
[0176] The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 can control the display brightness of the display screen 705 according to 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 reduced. In another embodiment, the processor 701 can also dynamically adjust the shooting parameters of the camera assembly 706 according to the ambient light intensity collected by the optical sensor 715.
[0177] The proximity sensor 716, also called a distance sensor, is usually arranged on the front panel of the terminal device 700. The proximity sensor 716 is used to collect 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 the screen-on state to the 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 the screen-off state to the screen-on state.
[0178] Those skilled in the art will understand that Figure 7 The structure shown in the figure does not constitute a limitation on the terminal device 700, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.
[0179] Figure 8The schematic diagram of the structure of the server provided in the embodiment of the present application, the server 800 may have relatively large differences due to different configurations or performances, and may include one or more processors (Central Processing Units, CPU) 801 and one or more memories 802, wherein at least one program code is stored in the one or more memories 802, and the at least one program code is loaded and executed by the one or more processors 801 to implement the quality detection method of the exploration well provided in the above-mentioned various method embodiments. Of course, the server 800 may also have components such as a wired or wireless network interface, a keyboard, and an input and output interface for input and output, and the server 800 may also include other components for implementing device functions, which will not be described in detail here.
[0180] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to enable a computer to implement any of the above-mentioned quality detection methods for exploration wells.
[0181] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0182] In an exemplary embodiment, a computer program or a computer program product is also provided, wherein at least one computer instruction is stored in the computer program or the computer program product, and the at least one computer instruction is loaded and executed by a processor so that a computer implements any of the above-mentioned quality inspection methods for exploration wells.
[0183] It should be noted that the 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 are all authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the filling video and exploration well related information involved in this application are all obtained with full authorization.
[0184] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.
[0185] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0186] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for quality inspection of an exploration well, characterized in that: The method comprises: Obtaining fill video of the exploration well to be quality inspected; Performing frame processing on the filling video to obtain a plurality of video frames included in the filling video and a shooting time of each video frame; Identify the multiple video frames to obtain video content of each video frame; Determine a first video frame and a second video frame from the plurality of video frames according to the video contents of the respective video frames and the shooting time of the respective video frames, wherein the first video frame is the video frame with the earliest shooting time among the video frames whose video contents include the first object and the first body, and 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 contents do not include the first object and the first body, the first object is an object for filling the exploration well, and the first body is a tool for the first object to fill the exploration well; Determine, according to the shooting time of the first video frame and the shooting time of the second video frame, the filling time length of the exploration well, wherein the filling time length indicates the time length from the start of filling the exploration well to the end of filling the exploration well; Determine a plurality of third video frames from the plurality of video frames according to video contents of the respective video frames, wherein the video contents of the third video frames include the first subject and the first object; Determine the number of times the exploration well is filled according to the shooting time of each third video frame, where the number of times indicates the number of times the exploration well is filled within the filling time length; The quality of the exploration well is determined according to the filling time and the filling times.
2. The method according to claim 1, characterized in that The step of determining the number of times the exploration well is filled according to the shooting time of each third video frame includes: Determine a fourth video frame and a fifth video frame from the plurality of third video frames according to shooting times of the third video frames, the fourth video frame being the earliest video frame shot in the video frames whose video contents include a first object in a first posture and a first object in a first color, the fifth video frame being the earliest video frame shot in the video frames whose shooting time is after the shooting time of the fourth video frame and whose video contents include a first object in a first posture and a first object in a second color, an intersection-and-union ratio of the first object and the first object included in the fourth video frame and the fifth video frame being greater than an intersection-and-union ratio threshold, the first color being the color of a filler of the exploration well, and the second color being the color of the first object; Using events corresponding to video frames between the fourth video frame and the fifth video frame as filling events; The number of filling events included in the filling video is taken as the number of filling times of the exploration well.
3. The method according to claim 2, characterized in that The determining of the fourth video frame and the fifth video frame from the plurality of third video frames according to the shooting time of each third video frame comprises: determining an intersection-over-union ratio of the first subject and the first object included in each third video frame; Taking, among the plurality of third video frames, a third video frame whose IoU ratio is greater than an IoU ratio threshold as a candidate video frame; According to the shooting time of each candidate video frame, a fourth video frame and a fifth video frame are determined from the candidate video frames.
4. The method according to claim 3, characterized in that The determining of the intersection-over-union ratio of the first object and the first body included in each third video frame includes: For any third video frame among the plurality of third video frames, determining a first region and a second region in the any third video frame, the first region including a reference part of the first object, and the second region including the first object; Based on the absence of an overlapping area between the first area and the second area, taking a reference value as an intersection-and-union ratio of a first object and a first subject included in any one of the third video frames; Based on the existence of an overlapping area between the first area and the second area, the area of the overlapping area is determined; the area of the third area is determined, and the quotient between the area of the overlapping area and the area of the third area is used as the intersection and union ratio of the first object and the first object included in any third video frame, and the third area is the area including the first area and the second area.
5. The method according to claim 1, characterized in that The determining, according to the video content of each video frame and the shooting time of each video frame, the first video frame and the second video frame from the plurality of video frames comprises: Determine, according to video contents 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 contents of the first candidate video frames include the first subject and the first object, and the video contents of the second candidate video frames do not include the first subject and the first object; Using the first candidate video frame with the earliest shooting time among the multiple first candidate video frames as the first video frame; Determine a plurality of third candidate video frames from the plurality of second candidate video frames, wherein a shooting time of any third candidate video frame is after a shooting time of the first video frame; Among the multiple third candidate video frames, the third candidate video frame with the earliest shooting time is used 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 according to the filling time and the filling times includes: Acquiring relevant information of the exploration well, wherein the relevant information includes the depth of the exploration well and the radius of the exploration well; Determining a standard filling number and a standard filling duration of the exploration well according to the depth of the exploration well and the radius of the exploration well; Based on the filling time being not less than the standard filling time and the filling times being the standard filling times, determining 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 filling times is less than the standard number of filling times, it is determined that the quality of the exploration well does not meet the quality requirement.
7. The method according to any one of claims 1 to 5, characterized in that: After determining the quality of the exploration well according to the filling time and the filling times, the method further includes: Based on the fact that the quality of the exploration well does not meet the quality requirements, a prompt message is played, where the prompt message is used to indicate that the quality of the exploration well does not meet the quality requirements.
8. A quality inspection device for an exploration well, characterized in that: The device comprises: An acquisition module, used to acquire a filling video of an exploration well to be quality inspected; A processing module, used for performing frame processing on the filling video to obtain a plurality of video frames included in the filling video and a shooting time of each video frame; An identification module, used to identify the multiple video frames to obtain the video content of each video frame; a determination module, configured to determine a first video frame and a second video frame from the plurality of video frames according to video contents of the respective video frames and shooting times of the respective video frames, wherein the first video frame is a video frame having the earliest shooting time among video frames whose video contents include a first object and a first body, and the second video frame is a video frame having the earliest shooting time among video frames whose shooting time is after the shooting time of the first video frame and whose video contents do not include the first object and the first body, the first object is an object for filling the exploration well, and the first object is a tool for the first object to fill the exploration well; The determination module is further used to determine the filling time of the exploration well according to the shooting time of the first video frame and the shooting time of the second video frame, wherein the filling time 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 from the plurality of video frames according to video contents of the respective video frames, wherein the video contents of the third video frames include the first subject and the first object; The determination module is further used to determine the number of filling times of the exploration well according to the shooting time of each third video frame, and the number of filling times indicates the number of times the exploration well is filled within the filling time length; The determination module is further used to determine the quality of the exploration well according to the filling time and the filling times.
9. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor so that the computer device implements 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 program code, and the at least one program code is loaded and executed by the processor to enable the computer to implement the quality detection method for exploration wells as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Gravel packing pipe column and gravel packing method
CN104879099A
Near-surface constant speed filling method and apparatus
CN107817525A
Method, device and system for monitoring alarm of blasting operation in mine
CN110318810A
Integrated well construction system operations
CN112105795A
Photographing detection method, device and equipment and computer readable storage medium
CN116137071A