CN117830908A - A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios - Google Patents
A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios Download PDFInfo
- Publication number
- CN117830908A CN117830908A CN202410030225.5A CN202410030225A CN117830908A CN 117830908 A CN117830908 A CN 117830908A CN 202410030225 A CN202410030225 A CN 202410030225A CN 117830908 A CN117830908 A CN 117830908A
- Authority
- CN
- China
- Prior art keywords
- drill rod
- drilling
- drill
- counting
- target detection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 57
- 239000003245 coal Substances 0.000 title claims abstract description 39
- 230000003044 adaptive effect Effects 0.000 title claims description 44
- 238000005553 drilling Methods 0.000 claims abstract description 174
- 238000001514 detection method Methods 0.000 claims abstract description 93
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 66
- 238000010586 diagram Methods 0.000 claims abstract description 22
- 238000012216 screening Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 11
- 238000004590 computer program Methods 0.000 claims description 16
- 238000004364 calculation method Methods 0.000 claims description 11
- 230000007717 exclusion Effects 0.000 claims description 8
- 238000004140 cleaning Methods 0.000 claims description 7
- 238000002372 labelling Methods 0.000 claims description 5
- 238000013135 deep learning Methods 0.000 abstract description 2
- 239000000872 buffer Substances 0.000 description 24
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/0464—Convolutional networks [CNN, ConvNet]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/46—Descriptors for shape, contour or point-related descriptors, e.g. scale invariant feature transform [SIFT] or bags of words [BoW]; Salient regional features
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/82—Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/20—Special algorithmic details
- G06T2207/20081—Training; Learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/30—Subject of image; Context of image processing
- G06T2207/30242—Counting objects in image
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Mathematical Physics (AREA)
- Biophysics (AREA)
- Data Mining & Analysis (AREA)
- Biomedical Technology (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Databases & Information Systems (AREA)
- Medical Informatics (AREA)
- Molecular Biology (AREA)
- Quality & Reliability (AREA)
- Earth Drilling (AREA)
Abstract
Description
技术领域Technical Field
本发明涉及人工智能深度学习技术领域,特别涉及一种自适应场景的煤矿钻杆计数方法、装置、设备及介质。The present invention relates to the field of artificial intelligence deep learning technology, and in particular to a scenario-adaptive coal mine drill rod counting method, device, equipment and medium.
背景技术Background technique
现有钻杆计数的技术大都是基于视觉(即目标检测)的钻杆计数方法,这类方法使用目标检测(如Yolov5)+DeepSort(物体追踪)算法,识别到的边界框为常规的长方形框,具体的计数方法为:①借助两个辅助“缓冲区”进行计数。②计数方法为,钻杆的中心点或某一个特殊点,在钻杆来回进出的过程中(及追踪中心点),当中心点碰到左边的“缓冲区”时退钻计数+1,当中心点碰到右边的“缓冲区”时进钻计数+1,如此反复进行计数。但是,这种计数方法存在的问题有:①思路简单,只需要观察钻杆中心点与“缓冲区”的碰撞即可,没有数学公式及数学逻辑;②需要提前绘制两个“缓冲区”,绘制“缓冲区”的时候一方面需要修改代码,另一方面需要观察钻杆中心点运动的位置,根据运动位置的范围去修改代码,从而修改“缓冲区”的位置;当“缓冲区”的位置绘制不准确时,对于计数肯定是没有帮助的;③最大的问题就是,因为有“缓冲区”辅助,所以摄像机与钻机的位置必须固定,这样才能计数准确,但是,实际摄像机与钻杆的位置是可以随时变动的,当摄像机稍微被移动,那么“缓冲区”就需要重新绘制,从而影响计数的准确性。Most of the existing drill rod counting technologies are based on vision (i.e., target detection) drill rod counting methods. This type of method uses target detection (such as Yolov5) + DeepSort (object tracking) algorithms. The identified bounding box is a regular rectangular box. The specific counting method is: ① Counting with the help of two auxiliary "buffers". ② The counting method is that when the center point or a special point of the drill rod touches the "buffer" on the left, the drill count is +1, and when the center point touches the "buffer" on the right, the drill count is +1, and the counting is repeated in this way. However, this counting method has the following problems: ① The idea is simple, and only the collision between the center point of the drill rod and the "buffer zone" needs to be observed, without any mathematical formula or logic; ② Two "buffer zones" need to be drawn in advance. When drawing the "buffer zones", the code needs to be modified on the one hand, and the position of the movement of the center point of the drill rod needs to be observed on the other hand. The code needs to be modified according to the range of the movement position, thereby modifying the position of the "buffer zone"; when the position of the "buffer zone" is not drawn accurately, it is definitely not helpful for counting; ③ The biggest problem is that, because of the assistance of the "buffer zone", the position of the camera and the drilling rig must be fixed so that the counting can be accurate. However, the actual position of the camera and the drill rod can be changed at any time. When the camera is slightly moved, the "buffer zone" needs to be redrawn, which affects the accuracy of the counting.
由上可见,如何实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,提高钻杆计数的准确性和效率是本领域有待解决的问题。It can be seen from the above that how to realize the adaptive scenario of coal mine drill rod counting, increase the diversity of scenario applications and the applicability of drill rod counting in practical applications, and improve the accuracy and efficiency of drill rod counting are problems to be solved in this field.
发明内容Summary of the invention
有鉴于此,本发明的目的在于提供一种自适应场景的煤矿钻杆计数方法、装置、设备及介质,能够实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,提高钻杆计数的准确性和效率。其具体方案如下:In view of this, the purpose of the present invention is to provide a scenario-adaptive coal mine drill rod counting method, device, equipment and medium, which can realize scenario-adaptive coal mine drill rod counting, increase the diversity of scenario applications and the applicability of drill rod counting in practical applications, and improve the accuracy and efficiency of drill rod counting. The specific scheme is as follows:
第一方面,本申请公开了一种自适应场景的煤矿钻杆计数方法,包括:In a first aspect, the present application discloses a scenario-adaptive coal mine drill rod counting method, comprising:
获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;Obtaining historical downhole drilling videos, processing and annotating the historical downhole drilling videos to obtain annotated drilling data, and constructing a rotating target detection model for adaptive scenarios based on a rotating target detection algorithm and using the annotated drilling data;
获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;Acquire a current drilling video, and use the rotating target detection model to identify the current drilling video to obtain a recognition result;
基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;Based on the drill rod counting inference algorithm and according to the preset drill rod selection principle, the identification result is screened to obtain the target drill rod, and the key points of the target drill rod and the center point of the impact power head are determined;
实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。The distance between the key point of the target drill rod and the center point of the impact power head is calculated in real time, a peak value change diagram is drawn according to the distance, and the drill rod counting is performed using the peak value change diagram.
可选的,所述对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,包括:Optionally, the processing and labeling of the historical downhole drilling video to obtain labeled drilling data includes:
将所述历史井下打钻视频切分为各图片,并对各所述图片进行清洗处理,以得到清洗处理后的所述图片;Dividing the historical downhole drilling video into pictures, and cleaning each of the pictures to obtain the cleaned pictures;
利用预设的旋转目标检测标注工具对清洗处理后的所述图片进行标注,以得到标注后打钻数据。The image after cleaning is annotated using a preset rotating target detection and annotation tool to obtain annotated drilling data.
可选的,所述基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型,包括:Optionally, the rotating target detection model for adaptive scenarios is constructed based on the rotating target detection algorithm and using the annotated drilling data, including:
基于旋转目标检测算法并利用所述标注后打钻数据对预设的初始旋转目标检测模型分别进行训练、测试以及验证,以得到用于自适应场景的所述旋转目标检测模型;其中,所述旋转目标检测算法包括YOLOv5_OBB、YOLOv7_OBB、YOLOv8_OBB、GGHL、PP-YOLOE-R、R3Det以及MMRotate算法。Based on the rotating target detection algorithm and using the annotated drilling data, the preset initial rotating target detection model is trained, tested and verified respectively to obtain the rotating target detection model for the adaptive scene; wherein the rotating target detection algorithm includes YOLOv5_OBB, YOLOv7_OBB, YOLOv8_OBB, GGHL, PP-YOLOE-R, R3Det and MMRotate algorithms.
可选的,所述利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果,包括:Optionally, the using the rotating target detection model to identify the current drilling video to obtain a recognition result includes:
利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到带旋转边界框的所述识别结果;所述识别结果包括钻机整体、冲击动力头、钻机头部、钻机钻杆以及对应的中心点坐标、短边长度、长边长度、旋转角度。The current drilling video is identified by using the rotating target detection model to obtain the identification result with a rotating bounding box; the identification result includes the drill rig as a whole, the impact power head, the drill head, the drill rod and the corresponding center point coordinates, short side length, long side length, and rotation angle.
可选的,所述基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,包括:Optionally, the drill rod counting inference algorithm is used to screen the identification result according to a preset drill rod selection principle to obtain a target drill rod, including:
构建所述钻杆选取原则;所述钻杆选取原则包括旋转边界框选取原则、遮挡排除选取原则以及关注钻杆选取原则;Constructing the drill rod selection principle; the drill rod selection principle includes a rotation bounding box selection principle, an occlusion exclusion selection principle and a focus drill rod selection principle;
基于钻杆计数推理算法并按照所述旋转边界框选取原则、所述遮挡排除选取原则以及所述关注钻杆选取原则对带旋转边界框的所述识别结果进行钻杆筛选,以得到目标钻杆。Based on the drill rod counting inference algorithm and in accordance with the rotation bounding box selection principle, the occlusion exclusion selection principle and the focus drill rod selection principle, the recognition result with the rotation bounding box is screened for drill rods to obtain the target drill rods.
可选的,所述确定目标钻杆关键点和冲击动力头中心点,包括:Optionally, determining the target drill rod key point and the impact power head center point includes:
确定当前所述目标钻杆的状态;所述状态包括进钻和退钻;Determine the current state of the target drill pipe; the state includes drilling in and drilling out;
基于所述状态确定相应的目标钻杆关键点和冲击动力头中心点。Based on the state, the corresponding target drill rod key point and the impact power head center point are determined.
可选的,所述实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数,包括:Optionally, the real-time calculation of the distance between the target drill rod key point and the center point of the impact power head, drawing a peak value change graph according to the distance, and using the peak value change graph to count the drill rods includes:
若所述状态为进钻,则按照预设的进钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的进钻距离,并根据所述进钻距离绘制进钻峰值变化图,利用所述进钻峰值变化图进行钻杆计数;If the state is drilling, the drilling distance between the key point of the target drill rod and the center point of the impact power head is calculated according to a preset drilling distance calculation method, and a drilling peak change graph is drawn according to the drilling distance, and the drilling peak change graph is used to count the drill rods;
若所述状态为退钻,则按照预设的退钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的退钻距离,并根据所述退钻距离绘制退钻峰值变化图,利用所述退钻峰值变化图进行钻杆计数。If the state is drill withdrawal, the drill withdrawal distance between the target drill rod key point and the center point of the impact power head is calculated according to the preset drill withdrawal distance calculation method, and a drill withdrawal peak change graph is drawn according to the drill withdrawal distance, and the drill rod counting is performed using the drill withdrawal peak change graph.
第二方面,本申请公开了一种自适应场景的煤矿钻杆计数装置,包括:In a second aspect, the present application discloses a scene-adaptive coal mine drill rod counting device, comprising:
模型构建模块,用于获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;A model building module, used to obtain historical downhole drilling videos, process and annotate the historical downhole drilling videos to obtain annotated drilling data, and build a rotating target detection model for adaptive scenarios based on a rotating target detection algorithm and using the annotated drilling data;
识别模块,用于获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;A recognition module, used for acquiring a current drilling video, and using the rotating target detection model to recognize the current drilling video to obtain a recognition result;
钻杆筛选模块,用于基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;A drill rod screening module is used to screen the identification results based on the drill rod counting inference algorithm and according to the preset drill rod selection principle to obtain the target drill rod and determine the key points of the target drill rod and the center point of the impact power head;
钻杆计数模块,用于实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。The drill rod counting module is used to calculate the distance between the key point of the target drill rod and the center point of the impact power head in real time, draw a peak change diagram according to the distance, and use the peak change diagram to count the drill rods.
第三方面,本申请公开了一种电子设备,包括:In a third aspect, the present application discloses an electronic device, including:
存储器,用于保存计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序,以实现前述的自适应场景的煤矿钻杆计数方法。The processor is used to execute the computer program to implement the aforementioned method for counting coal mine drill rods in an adaptive scenario.
第四方面,本申请公开了一种计算机存储介质,用于保存计算机程序;其中,所述计算机程序被处理器执行时实现前述公开的自适应场景的煤矿钻杆计数方法的步骤。In a fourth aspect, the present application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, the steps of the aforementioned disclosed method for counting coal mine drill rods in an adaptive scenario are implemented.
可见,本申请提供了一种自适应场景的煤矿钻杆计数方法,包括获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。本申请基于旋转目标检测算法并利用标注后打钻数据构建用于自适应场景的旋转目标检测模型,利用旋转目标检测模型对当前打钻视频进行识别,并基于钻杆计数推理算法筛选出目标钻杆,通过计算目标钻杆关键点和冲击动力头中心点之间的距离变化,从而准确获得峰值变化,进行钻杆计数,本申请的上述技术方案不需要绘制缓冲区,可以随便切换摄像机位置,还可以随机更换打钻场景,从而实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,将旋转目标检测算法与钻杆计数推理算法结合,提高钻杆计数的准确性和效率。It can be seen that the present application provides a method for counting drill rods in coal mines for adaptive scenarios, including obtaining historical underground drilling videos, processing and annotating the historical underground drilling videos to obtain annotated drilling data, and constructing a rotating target detection model for adaptive scenarios based on a rotating target detection algorithm and using the annotated drilling data; obtaining a current drilling video, and identifying the current drilling video using the rotating target detection model to obtain an identification result; based on a drill rod counting inference algorithm and in accordance with a preset drill rod selection principle, performing drill rod screening on the identification result to obtain a target drill rod, and determining the key points of the target drill rod and the center point of the impact power head; calculating in real time the distance between the key points of the target drill rod and the center point of the impact power head, drawing a peak change graph based on the distance, and using the peak change graph to count drill rods. This application is based on a rotating target detection algorithm and uses annotated drilling data to build a rotating target detection model for adaptive scenarios, uses the rotating target detection model to identify the current drilling video, and screens out target drill rods based on the drill rod counting inference algorithm, and calculates the distance change between the key point of the target drill rod and the center point of the impact power head to accurately obtain the peak change and perform drill rod counting. The above technical solution of this application does not require drawing a buffer zone, can switch the camera position at will, and can also randomly change the drilling scene, thereby realizing coal mine drill rod counting in adaptive scenarios, increasing the diversity of scene applications and the applicability of drill rod counting in practical applications, and combining the rotating target detection algorithm with the drill rod counting inference algorithm to improve the accuracy and efficiency of drill rod counting.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据提供的附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.
图1为本申请公开的一种自适应场景的煤矿钻杆计数方法流程图;FIG1 is a flow chart of a method for counting drill rods in a coal mine in an adaptive scenario disclosed in the present application;
图2为本申请公开的一种进钻时钻杆筛选及钻杆整体示例图;FIG2 is an example diagram of drill rod screening and the overall structure of drill rods during drilling disclosed in the present application;
图3为本申请公开的一种退钻时钻杆筛选及钻杆整体示例图;FIG3 is an example diagram of drill rod screening and the overall structure of drill rods during drill withdrawal disclosed in the present application;
图4为本申请公开的一种识别结果示例图;FIG4 is an example diagram of a recognition result disclosed in the present application;
图5(a)-(b)为本申请公开的一种进钻时目标钻杆关键点示例图;FIG5(a)-(b) are exemplary diagrams of key points of a target drill pipe during drilling disclosed in the present application;
图6为本申请公开的一种目标钻杆四个角坐标分布示例图;FIG6 is an example diagram of the distribution of four angular coordinates of a target drill rod disclosed in the present application;
图7(a)-(b)为本申请公开的一种退钻时目标钻杆关键点示例图;FIG. 7 (a)-(b) are exemplary diagrams of key points of a target drill rod during drill withdrawal disclosed in the present application;
图8为本申请公开的一种峰值变化示例图;FIG8 is a peak value variation example diagram disclosed in the present application;
图9为本申请公开的一种自适应场景的煤矿钻杆计数方法流程图;FIG9 is a flow chart of a method for counting drill rods in a coal mine in an adaptive scenario disclosed in the present application;
图10为本申请公开的一种钻杆计数的具体流程图;FIG10 is a specific flow chart of a drill rod counting method disclosed in the present application;
图11为本申请公开的一种自适应场景的煤矿钻杆计数装置结构示意图;FIG11 is a schematic structural diagram of a coal mine drill rod counting device for an adaptive scenario disclosed in the present application;
图12为本申请提供的一种电子设备结构图。FIG12 is a structural diagram of an electronic device provided in this application.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
现有钻杆计数的技术大都是基于视觉(即目标检测)的钻杆计数方法,这类方法使用目标检测(如Yolov5)+DeepSort(物体追踪)算法,识别到的边界框为常规的长方形框,具体的计数方法为:①借助两个辅助“缓冲区”进行计数。②计数方法为,钻杆的中心点或某一个特殊点,在钻杆来回进出的过程中(及追踪中心点),当中心点碰到左边的“缓冲区”时退钻计数+1,当中心点碰到右边的“缓冲区”时进钻计数+1,如此反复进行计数。但是,这种计数方法存在的问题有:①思路简单,只需要观察钻杆中心点与“缓冲区”的碰撞即可,没有数学公式及数学逻辑;②需要提前绘制两个蓝色的“缓冲区”,绘制“缓冲区”的时候一方面需要修改代码,另一方面需要观察钻杆中心点运动的位置,根据运动位置的范围去修改代码,从而修改“缓冲区”的位置;当“缓冲区”的位置绘制不准确时,对于计数肯定是没有帮助的;③最大的问题就是,因为有“缓冲区”辅助,所以摄像机与钻机的位置必须固定,这样才能计数准确,但是,实际摄像机与钻杆的位置是可以随时变动的,当摄像机稍微被移动,那么“缓冲区”就需要重新绘制,从而影响计数的准确性。由上可见,如何实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,提高钻杆计数的准确性和效率是本领域有待解决的问题。Most of the existing drill rod counting technologies are based on vision (i.e., target detection) drill rod counting methods. This type of method uses target detection (such as Yolov5) + DeepSort (object tracking) algorithms. The identified bounding box is a regular rectangular box. The specific counting method is: ① Counting with the help of two auxiliary "buffers". ② The counting method is that when the center point or a special point of the drill rod touches the "buffer" on the left, the drill count is +1, and when the center point touches the "buffer" on the right, the drill count is +1, and the counting is repeated in this way. However, there are some problems with this counting method: ① The idea is simple, and only the collision between the center point of the drill rod and the "buffer zone" needs to be observed, without mathematical formulas and mathematical logic; ② Two blue "buffer zones" need to be drawn in advance. When drawing the "buffer zone", the code needs to be modified on the one hand, and the position of the drill rod center point needs to be observed on the other hand. The code needs to be modified according to the range of the movement position, thereby modifying the position of the "buffer zone"; when the position of the "buffer zone" is not drawn accurately, it is definitely not helpful for counting; ③ The biggest problem is that because of the "buffer zone" assistance, the position of the camera and the drill rig must be fixed so that the counting can be accurate. However, the actual position of the camera and the drill rod can be changed at any time. When the camera is slightly moved, the "buffer zone" needs to be redrawn, which affects the accuracy of the counting. As can be seen from the above, how to realize the adaptive scene counting of coal mine drill rods, increase the diversity of scene applications and the applicability of drill rod counting in practical applications, and improve the accuracy and efficiency of drill rod counting are problems to be solved in this field.
参见图1所示,本发明实施例公开了一种自适应场景的煤矿钻杆计数方法,具体可以包括:As shown in FIG1 , an embodiment of the present invention discloses a method for counting drill rods in a coal mine in an adaptive scenario, which may specifically include:
步骤S11:获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型。Step S11: Obtain historical downhole drilling videos, process and annotate the historical downhole drilling videos to obtain annotated drilling data, and construct a rotating target detection model for adaptive scenarios based on a rotating target detection algorithm and using the annotated drilling data.
步骤S12:获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果。Step S12: obtaining a current drilling video, and using the rotating target detection model to identify the current drilling video to obtain a recognition result.
本实施例中,获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到带旋转边界框的所述识别结果;所述识别结果包括钻机整体、冲击动力头、钻机头部、钻机钻杆以及对应的中心点坐标、短边长度、长边长度、旋转角度。In this embodiment, the current drilling video is obtained, and the current drilling video is recognized using the rotating target detection model to obtain the recognition result with a rotating boundary box; the recognition result includes the drill rig as a whole, the impact power head, the drill head, the drill rod and the corresponding center point coordinates, short side length, long side length, and rotation angle.
具体的,使用旋转目标检测模型对现场的当前打钻视频进行检测及识别,实时地识别到包括钻机信息的带旋转边界框的识别结果,识别信息包括钻机整体、冲击动力头、钻机头部、钻机钻杆4种物体;同时获得4种物体的中心点坐标、短边长度、长边长度、旋转角度。Specifically, the rotating target detection model is used to detect and identify the current drilling video on site, and the recognition result with a rotating bounding box including the drilling rig information is identified in real time. The recognition information includes four objects: the drilling rig as a whole, the impact power head, the drill head, and the drill rod. At the same time, the center point coordinates, short side length, long side length, and rotation angle of the four objects are obtained.
步骤S13:基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点。Step S13: Based on the drill rod counting inference algorithm and in accordance with the preset drill rod selection principle, the identification result is subjected to drill rod screening to obtain the target drill rod, and the key points of the target drill rod and the center point of the impact power head are determined.
本实施例中,构建所述钻杆选取原则;所述钻杆选取原则包括旋转边界框选取原则、遮挡排除选取原则以及关注钻杆选取原则,基于钻杆计数推理算法并按照所述旋转边界框选取原则、所述遮挡排除选取原则以及所述关注钻杆选取原则对带旋转边界框的所述识别结果进行钻杆筛选,以得到目标钻杆,确定当前所述目标钻杆的状态;所述状态包括进钻和退钻,基于所述状态确定相应的目标钻杆关键点和冲击动力头中心点。In this embodiment, the drill rod selection principle is constructed; the drill rod selection principle includes a rotating bounding box selection principle, an occlusion exclusion selection principle and a focus drill rod selection principle; based on the drill rod counting inference algorithm and in accordance with the rotating bounding box selection principle, the occlusion exclusion selection principle and the focus drill rod selection principle, the recognition result with the rotating bounding box is screened for drill rods to obtain a target drill rod, and the current state of the target drill rod is determined; the state includes drilling in and drilling out, and the corresponding target drill rod key points and the center point of the impact power head are determined based on the state.
本实施例中,钻杆筛选如图2所示,获取钻机整体body(图2中边界框)的中心点坐标、以及上、下、左、右、四个边界框,对于左右边界,选取x坐标为参照,取左边为x_min,右边为x_max;对于上下边界,选取y坐标为参照,取下边为y_min,上边为y_max;然后获取冲击动力头的中心点坐标,并绘制圆点(如图2中右侧的大圆点);然后确定目标钻杆。本申请按照预设的钻杆选取原则确定目标钻杆,旋转目标检测算法会识别到视频图像中的所有钻杆,但是本发明只关心对计数有帮助的钻杆,其他的钻杆会过滤掉,图2中左侧的大圆点即为目标钻杆关键点。In this embodiment, the drill rod screening is shown in Figure 2. The center point coordinates of the entire body of the drill rig (the boundary box in Figure 2) and the four boundary boxes of upper, lower, left and right are obtained. For the left and right boundaries, the x coordinate is selected as a reference, and the left side is taken as x_min and the right side is taken as x_max; for the upper and lower boundaries, the y coordinate is selected as a reference, and the lower side is taken as y_min and the upper side is taken as y_max; then the center point coordinates of the impact power head are obtained, and dots are drawn (such as the large dots on the right side in Figure 2); then the target drill rod is determined. This application determines the target drill rod according to the preset drill rod selection principle. The rotating target detection algorithm will identify all drill rods in the video image, but the present invention only cares about the drill rods that are helpful for counting. Other drill rods will be filtered out. The large dots on the left side in Figure 2 are the key points of the target drill rod.
目标钻杆的钻杆选取原则为:①钻机整体body边框之外的钻杆全部排除掉,如图3框外的钻杆(经常地上会放置很多钻杆,图3画面中地上的钻杆不明显,但是地上有钻杆)需要排除;②冲击动力头和钻机头部(如图3所示,这里的钻机头部有遮挡没有完全露出来)之间的钻杆排除掉;③选取与冲击动力头外侧连接的钻杆为本发明关注的钻杆,如图2、图3中填充的钻杆。其中,钻机的整体、钻杆、冲击动力头以及钻机头部的具体位置如图4所示。The drill rod selection principle of the target drill rod is as follows: ① All drill rods outside the frame of the drilling rig body are excluded, such as the drill rods outside the frame of Figure 3 (there are often many drill rods placed on the ground, the drill rods on the ground are not obvious in the picture of Figure 3, but there are drill rods on the ground) need to be excluded; ② The drill rods between the impact power head and the drill head (as shown in Figure 3, the drill head here is blocked and not fully exposed) are excluded; ③ The drill rods connected to the outside of the impact power head are selected as the drill rods concerned by the present invention, such as the drill rods filled in Figures 2 and 3. Among them, the specific positions of the drilling rig as a whole, the drill rods, the impact power head and the drill head are shown in Figure 4.
目标钻杆关键点的确定分为进钻和退钻两种情况。进钻情况如图2所示,退钻情况如图3所示,(1)进钻时目标钻杆关键点的确定:进钻时找到目标钻杆上距离“冲击动力头(如图4所示)”最远的点,作为目标钻杆关键点。图2会有2种情况,即①目标钻杆在冲击动力头的左边,如图5(a)所示;②标钻杆在冲击动力头的右边,如图5(b)所示。具体描述如下:①目标钻杆位置在冲击动力头左边,获取目标钻杆四个角的坐标,选取最左边两个点的纵坐标值取中间点,即(y1+y4)/2,即为目标钻杆关键点。目标钻杆关键点和冲击动力头中心点之间的横坐标距离的差值(即图5(a)中左侧圆点与右侧圆点横坐标x之差)计算为dist。②目标钻杆位置在冲击动力头右边,获取目标钻杆四个角的坐标,选取最右边两个点的纵坐标值取中间点,即(y2+y3)/2,即为目标钻杆关键点。目标钻杆关键点和冲击动力头中心点之间的横坐标距离的差值(即图5(b)中右侧圆点与左侧圆点横坐标x之差)计算为dist。y1,y2,y3,y4四个点坐标如图6所示。The determination of the key points of the target drill rod is divided into two cases: drilling in and drilling out. The drilling in case is shown in Figure 2, and the drilling out case is shown in Figure 3. (1) Determination of the key points of the target drill rod during drilling: When drilling in, find the point on the target drill rod that is farthest from the "impact power head (as shown in Figure 4)" as the key point of the target drill rod. There are two cases in Figure 2, namely, ① the target drill rod is on the left side of the impact power head, as shown in Figure 5(a); ② the target drill rod is on the right side of the impact power head, as shown in Figure 5(b). The specific description is as follows: ① The target drill rod is on the left side of the impact power head, obtain the coordinates of the four corners of the target drill rod, select the ordinate values of the two leftmost points and take the middle point, that is, (y1+y4)/2, which is the key point of the target drill rod. The difference in the horizontal coordinate distance between the key point of the target drill rod and the center point of the impact power head (that is, the difference in the horizontal coordinate x between the left and right dots in Figure 5(a)) is calculated as dist. ② The target drill rod is located on the right side of the impact power head. The coordinates of the four corners of the target drill rod are obtained. The ordinate values of the two rightmost points are selected and the middle point, i.e. (y2+y3)/2, is the key point of the target drill rod. The difference in the horizontal coordinate distance between the key point of the target drill rod and the center point of the impact power head (i.e. the difference in the horizontal coordinate x between the right and left dots in Figure 5(b)) is calculated as dist. The coordinates of the four points y1, y2, y3, and y4 are shown in Figure 6.
(2)退钻时目标钻杆关键点的确定:退钻时找到目标钻杆上距离“冲击动力头(如图4所示)”最近的点,作为目标钻杆关键点。图3也会有2种情况,即①目标钻杆在冲击动力头的左边,如图7(a)所示;②标钻杆在冲击动力头的右边,如图7(b)所示。具体描述如下:①目标钻杆位置在冲击动力头左边,获取目标钻杆四个角的坐标,选取最右边两个点的纵坐标值取中间点,即(y2+y3)/2,即为目标钻杆关键点。目标钻杆关键点和冲击动力头中心点之间的横坐标距离的差值(即图7(a)中左侧圆点与右侧圆点横坐标x之差)计算为dist。②目标钻杆位置在冲击动力头右边,获取目标钻杆四个角的坐标,选取最左边两个点的纵坐标值取中间点,即(y1+y4)/2,即为目标钻杆关键点。目标钻杆关键点和冲击动力头中心点之间的横坐标距离的差值(即图7(b)中右侧圆点与左侧圆点横坐标x之差)计算为dist。(2) Determination of the key point of the target drill rod when retracting the drill: When retracting the drill, find the point on the target drill rod that is closest to the "impact power head (as shown in Figure 4)" as the key point of the target drill rod. Figure 3 also has two situations, namely ① the target drill rod is on the left side of the impact power head, as shown in Figure 7 (a); ② the target drill rod is on the right side of the impact power head, as shown in Figure 7 (b). The specific description is as follows: ① The target drill rod is on the left side of the impact power head, obtain the coordinates of the four corners of the target drill rod, select the ordinate values of the two rightmost points and take the middle point, that is, (y2+y3)/2, which is the key point of the target drill rod. The difference in the horizontal coordinate distance between the key point of the target drill rod and the center point of the impact power head (that is, the difference in the horizontal coordinate x between the left and right dots in Figure 7 (a)) is calculated as dist. ② The target drill rod is on the right side of the impact power head, obtain the coordinates of the four corners of the target drill rod, select the ordinate values of the two leftmost points and take the middle point, that is, (y1+y4)/2, which is the key point of the target drill rod. The difference in the horizontal coordinate distance between the target drill rod key point and the center point of the impact power head (i.e., the difference in the horizontal coordinate x between the right and left dots in Figure 7(b)) is calculated as dist.
本实施例中,确定目标钻杆和目标钻杆关键点流程如下:(1)进钻时:检测到目标钻杆时,直接将该钻杆对应的中心点坐标,当前视频帧数,当前时间戳添加于数组中,该数组定义于整体数据集的for循环外,并且将筛选出来符合条件的钻杆进行mask的可视化;并在目标钻杆上生成遮罩,确定目标钻杆关键点。(2)退钻时:检测到目标钻杆时,首先判断目标钻杆上目标钻杆关键点的坐标值是否在钻机整体body框内,如果在,将该钻杆对应的中心点坐标,当前视频帧数,当前时间戳添加于数组中,该数组定义于整体数据集的for循环外,并且将筛选出来符合条件的钻杆进行mask的可视化;在目标钻杆上生成遮罩,确定目标钻杆关键点。In this embodiment, the process of determining the target drill rod and the key points of the target drill rod is as follows: (1) When drilling: When the target drill rod is detected, the center point coordinates, current video frame number, and current timestamp corresponding to the drill rod are directly added to the array, which is defined outside the for loop of the overall data set, and the drill rods that meet the conditions are screened out for visualization of the mask; and a mask is generated on the target drill rod to determine the key points of the target drill rod. (2) When drilling back: When the target drill rod is detected, first determine whether the coordinate values of the key points of the target drill rod on the target drill rod are within the overall body frame of the drilling rig. If so, the center point coordinates, current video frame number, and current timestamp corresponding to the drill rod are added to the array, which is defined outside the for loop of the overall data set, and the drill rods that meet the conditions are screened out for visualization of the mask; and a mask is generated on the target drill rod to determine the key points of the target drill rod.
步骤S14:实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。Step S14: Calculate the distance between the key point of the target drill rod and the center point of the impact power head in real time, draw a peak change graph according to the distance, and use the peak change graph to count the drill rods.
本实施例中,若所述状态为进钻,则按照预设的进钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的进钻距离,并根据所述进钻距离绘制进钻峰值变化图,利用所述进钻峰值变化图进行钻杆计数;若所述状态为退钻,则按照预设的退钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的退钻距离,并根据所述退钻距离绘制退钻峰值变化图,利用所述退钻峰值变化图进行钻杆计数。In this embodiment, if the state is drilling, the drilling distance between the target drill rod key point and the center point of the impact power head is calculated according to a preset drilling distance calculation method, and a drilling peak change graph is drawn according to the drilling distance, and the drill rod count is performed using the drilling peak change graph; if the state is drilling withdrawal, the drilling withdrawal distance between the target drill rod key point and the center point of the impact power head is calculated according to a preset drilling withdrawal distance calculation method, and a drilling withdrawal peak change graph is drawn according to the drilling withdrawal distance, and the drill rod count is performed using the drilling withdrawal peak change graph.
具体的,通过目标钻杆关键点与冲击动力头中心点之间距离的变化进行计数。如图8所示,横坐标为视频帧数(每秒25帧),纵坐标为目标钻杆关键点与冲击动力头中心点之间的距离dist随帧数的变化。距离dist为目标钻杆关键点与冲击动力头中心点之差。通过距离dist的峰值变化来辅助钻杆计数。流程如下:初始化一个阈值threshold(threshold的值根据实际情况设置)。(1)从纵坐标考虑寻找所有峰值:当目标钻杆关键点与冲击动力头中心点之间的距离dist的值(即图8中的某一个点)比左边或右边的点的纵坐标高于threshold时,该点被记为峰值peak。(2)从横坐标考虑确定有效的峰值:对找到的峰值进行筛选。定义两个变量peak1和peak2,分别记录前一个波峰和当前波峰位置,并定义一个变量distance计算两个波峰之间的距离,只有当两个波峰之间的距离大于distance(distance的值根据实际情况设置)时,将前一个波峰位置加入到筛选后的列表中,即完成一次钻杆计数;否则,两个波峰之间的距离小于distance时,不进行计数,并舍弃该峰值。(3)持续计数:在所有峰值peaks组成的数组长度中循环进行以上步骤(1)和(2)持续进行钻杆打钻计数,直到停止打钻。进钻计数和退钻计数均采用以上计算思想,不同之处在于两个关键点(目标钻杆关键点与冲击动力头中心点的选取有差异(如图5和图7所示)。Specifically, the count is performed by the change in the distance between the target drill rod key point and the center point of the impact power head. As shown in Figure 8, the horizontal axis is the number of video frames (25 frames per second), and the vertical axis is the change in the distance dist between the target drill rod key point and the center point of the impact power head with the number of frames. The distance dist is the difference between the target drill rod key point and the center point of the impact power head. The drill rod counting is assisted by the peak change of the distance dist. The process is as follows: Initialize a threshold threshold (the value of the threshold is set according to the actual situation). (1) Find all peaks from the vertical coordinate: When the value of the distance dist between the target drill rod key point and the center point of the impact power head (that is, a point in Figure 8) is higher than the vertical coordinate of the point on the left or right by the threshold, the point is recorded as the peak peak. (2) Determine the effective peak from the horizontal coordinate: filter the peaks found. Define two variables peak1 and peak2 to record the positions of the previous peak and the current peak respectively, and define a variable distance to calculate the distance between the two peaks. Only when the distance between the two peaks is greater than distance (the value of distance is set according to the actual situation), the previous peak position is added to the filtered list, and a drill rod count is completed; otherwise, when the distance between the two peaks is less than distance, no counting is performed and the peak is discarded. (3) Continuous counting: loop through the above steps (1) and (2) in the array length composed of all peaks to continue counting the drill rod drilling until drilling stops. Both the forward drilling count and the backward drilling count adopt the above calculation idea, the difference lies in the selection of two key points (the target drill rod key point and the center point of the impact power head (as shown in Figures 5 and 7).
本实施例中,获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。本申请基于旋转目标检测算法并利用标注后打钻数据构建用于自适应场景的旋转目标检测模型,利用旋转目标检测模型对当前打钻视频进行识别,并基于钻杆计数推理算法筛选出目标钻杆,通过计算目标钻杆关键点和冲击动力头中心点之间的距离变化,从而准确获得峰值变化,进行钻杆计数,本申请的上述技术方案不需要绘制缓冲区,可以随便切换摄像机位置,还可以随机更换打钻场景,从而实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,将旋转目标检测算法与钻杆计数推理算法结合,提高钻杆计数的准确性和效率。In this embodiment, historical downhole drilling videos are obtained, the historical downhole drilling videos are processed and labeled to obtain labeled drilling data, and a rotating target detection model for adaptive scenarios is constructed based on a rotating target detection algorithm and using the labeled drilling data; a current drilling video is obtained, and the current drilling video is identified using the rotating target detection model to obtain an identification result; based on a drill rod counting inference algorithm and in accordance with a preset drill rod selection principle, drill rod screening is performed on the identification result to obtain a target drill rod, and a target drill rod key point and an impact power head center point are determined; the distance between the target drill rod key point and the impact power head center point is calculated in real time, a peak change graph is plotted according to the distance, and drill rod counting is performed using the peak change graph. This application is based on a rotating target detection algorithm and uses annotated drilling data to build a rotating target detection model for adaptive scenarios, uses the rotating target detection model to identify the current drilling video, and screens out target drill rods based on the drill rod counting inference algorithm, and calculates the distance change between the key point of the target drill rod and the center point of the impact power head to accurately obtain the peak change and perform drill rod counting. The above technical solution of this application does not require drawing a buffer zone, can switch the camera position at will, and can also randomly change the drilling scene, thereby realizing coal mine drill rod counting in adaptive scenarios, increasing the diversity of scene applications and the applicability of drill rod counting in practical applications, and combining the rotating target detection algorithm with the drill rod counting inference algorithm to improve the accuracy and efficiency of drill rod counting.
参见图9所示,本发明实施例公开了一种自适应场景的煤矿钻杆计数方法,具体可以包括:As shown in FIG9 , an embodiment of the present invention discloses a method for counting drill rods in a coal mine in an adaptive scenario, which may specifically include:
步骤S21:获取历史井下打钻视频,将所述历史井下打钻视频切分为各图片,并对各所述图片进行清洗处理,以得到清洗处理后的所述图片,利用预设的旋转目标检测标注工具对清洗处理后的所述图片进行标注,以得到标注后打钻数据。Step S21: Obtain a historical downhole drilling video, divide the historical downhole drilling video into pictures, and clean each of the pictures to obtain the cleaned pictures, and use a preset rotating target detection and labeling tool to label the cleaned pictures to obtain labeled drilling data.
步骤S22:基于旋转目标检测算法并利用所述标注后打钻数据对预设的初始旋转目标检测模型分别进行训练、测试以及验证,以得到用于自适应场景的所述旋转目标检测模型;其中,所述旋转目标检测算法包括YOLOv5_OBB、YOLOv7_OBB、YOLOv8_OBB、GGHL、PP-YOLOE-R、R3Det以及MMRotate算法。Step S22: Based on the rotating target detection algorithm and using the annotated drilling data, the preset initial rotating target detection model is trained, tested and verified respectively to obtain the rotating target detection model for the adaptive scene; wherein the rotating target detection algorithm includes YOLOv5_OBB, YOLOv7_OBB, YOLOv8_OBB, GGHL, PP-YOLOE-R, R3Det and MMRotate algorithms.
本实施例中,使用roLabelImg旋转目标检测标注工具对图像进行;此外,旋转目标检测算法包括但不限于YOLOv5_OBB、YOLOv7_OBB、YOLOv8_OBB、GGHL、PP-YOLOE-R、R3Det以及MMRotate。In this embodiment, the roLabelImg rotation target detection annotation tool is used to annotate the image; in addition, the rotation target detection algorithms include but are not limited to YOLOv5_OBB, YOLOv7_OBB, YOLOv8_OBB, GGHL, PP-YOLOE-R, R3Det and MMRotate.
步骤S23:获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果。Step S23: obtaining the current drilling video, and using the rotating target detection model to identify the current drilling video to obtain a recognition result.
步骤S24:基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点。Step S24: Based on the drill rod counting inference algorithm and in accordance with the preset drill rod selection principle, the identification result is subjected to drill rod screening to obtain the target drill rod, and the key points of the target drill rod and the center point of the impact power head are determined.
步骤S25:实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。Step S25: Calculate the distance between the target drill rod key point and the center point of the impact power head in real time, draw a peak change graph according to the distance, and use the peak change graph to count the drill rods.
本申请的具体流程如图10所示,(1)获取煤矿井下的当前打钻视频;(2)利用训练好的旋转目标检测模型对当前打钻视频进行识别,以得到带有旋转边界框的识别结果;(3)基于钻杆计数推理算法并按照预设的钻杆选取原则对识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点,计算目标钻杆关键点和冲击动力头中心点之间的距离,根据距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。The specific process of the present application is shown in FIG10 , which includes: (1) obtaining the current drilling video in a coal mine; (2) using the trained rotating target detection model to identify the current drilling video to obtain a recognition result with a rotating bounding box; (3) based on the drill rod counting inference algorithm and in accordance with the preset drill rod selection principle, the drill rods are screened on the recognition result to obtain the target drill rod, determine the key point of the target drill rod and the center point of the impact power head, calculate the distance between the key point of the target drill rod and the center point of the impact power head, draw a peak change graph according to the distance, and use the peak change graph to count the drill rods.
其中,旋转目标检测模型的构架过程如下:(1)获取历史井下打钻视频;(2)对历史井下打钻视频进行处理,并使用roLabelImg旋转目标检测标注工具对进行标注,以得到标注后打钻数据;(3)基于旋转目标检测算法并利用标注后打钻数据构建用于自适应场景的旋转目标检测模型。The construction process of the rotating target detection model is as follows: (1) obtaining historical downhole drilling videos; (2) processing the historical downhole drilling videos and labeling them using the roLabelImg rotating target detection labeling tool to obtain labeled drilling data; (3) constructing a rotating target detection model for adaptive scenarios based on the rotating target detection algorithm and using the labeled drilling data.
本实施例中,获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。本申请基于旋转目标检测算法并利用标注后打钻数据构建用于自适应场景的旋转目标检测模型,利用旋转目标检测模型对当前打钻视频进行识别,并基于钻杆计数推理算法筛选出目标钻杆,通过计算目标钻杆关键点和冲击动力头中心点之间的距离变化,从而准确获得峰值变化,进行钻杆计数,本申请的上述技术方案不需要绘制缓冲区,可以随便切换摄像机位置,还可以随机更换打钻场景,从而实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,将旋转目标检测算法与钻杆计数推理算法结合,提高钻杆计数的准确性和效率。In this embodiment, historical downhole drilling videos are obtained, the historical downhole drilling videos are processed and labeled to obtain labeled drilling data, and a rotating target detection model for adaptive scenarios is constructed based on a rotating target detection algorithm and using the labeled drilling data; a current drilling video is obtained, and the current drilling video is identified using the rotating target detection model to obtain an identification result; based on a drill rod counting inference algorithm and in accordance with a preset drill rod selection principle, drill rod screening is performed on the identification result to obtain a target drill rod, and a target drill rod key point and an impact power head center point are determined; the distance between the target drill rod key point and the impact power head center point is calculated in real time, a peak change graph is plotted according to the distance, and drill rod counting is performed using the peak change graph. This application is based on a rotating target detection algorithm and uses annotated drilling data to build a rotating target detection model for adaptive scenarios, uses the rotating target detection model to identify the current drilling video, and screens out the target drill rod based on the drill rod counting inference algorithm, and calculates the distance change between the key point of the target drill rod and the center point of the impact power head to accurately obtain the peak change and perform drill rod counting. The above technical solution of this application does not require drawing a buffer zone, can switch the camera position at will, and can also randomly change the drilling scene, thereby realizing coal mine drill rod counting in adaptive scenarios, increasing the diversity of scene applications and the applicability of drill rod counting in practical applications, and combining the rotating target detection algorithm with the drill rod counting inference algorithm to improve the accuracy and efficiency of drill rod counting.
参见图11所示,本发明实施例公开了一种自适应场景的煤矿钻杆计数装置,具体可以包括:As shown in FIG. 11 , an embodiment of the present invention discloses a scene-adaptive coal mine drill rod counting device, which may specifically include:
模型构建模块11,用于获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;A model building module 11 is used to obtain historical downhole drilling videos, process and annotate the historical downhole drilling videos to obtain annotated drilling data, and build a rotating target detection model for adaptive scenarios based on a rotating target detection algorithm and using the annotated drilling data;
识别模块12,用于获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;The recognition module 12 is used to obtain the current drilling video and recognize the current drilling video using the rotating target detection model to obtain a recognition result;
钻杆筛选模块13,用于基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;A drill rod screening module 13 is used to screen the identification results based on the drill rod counting inference algorithm and according to the preset drill rod selection principle to obtain the target drill rod and determine the key points of the target drill rod and the center point of the impact power head;
钻杆计数模块14,用于实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。The drill rod counting module 14 is used to calculate the distance between the target drill rod key point and the center point of the impact power head in real time, draw a peak change graph according to the distance, and use the peak change graph to count the drill rods.
本实施例中,获取历史井下打钻视频,对所述历史井下打钻视频进行处理及标注,以得到标注后打钻数据,基于旋转目标检测算法并利用所述标注后打钻数据构建用于自适应场景的旋转目标检测模型;获取当前打钻视频,利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到识别结果;基于钻杆计数推理算法并按照预设的钻杆选取原则对所述识别结果进行钻杆筛选,以得到目标钻杆,确定目标钻杆关键点和冲击动力头中心点;实时计算所述目标钻杆关键点和所述冲击动力头中心点之间的距离,根据所述距离绘制峰值变化图,利用所述峰值变化图进行钻杆计数。本申请基于旋转目标检测算法并利用标注后打钻数据构建用于自适应场景的旋转目标检测模型,利用旋转目标检测模型对当前打钻视频进行识别,并基于钻杆计数推理算法筛选出目标钻杆,通过计算目标钻杆关键点和冲击动力头中心点之间的距离变化,从而准确获得峰值变化,进行钻杆计数,本申请的上述技术方案不需要绘制缓冲区,可以随便切换摄像机位置,还可以随机更换打钻场景,从而实现自适应场景的煤矿钻杆计数,增加场景应用的多样性以及实际应用中钻杆计数的适用性,将旋转目标检测算法与钻杆计数推理算法结合,提高钻杆计数的准确性和效率。In this embodiment, historical downhole drilling videos are obtained, the historical downhole drilling videos are processed and labeled to obtain labeled drilling data, and a rotating target detection model for adaptive scenarios is constructed based on a rotating target detection algorithm and using the labeled drilling data; a current drilling video is obtained, and the current drilling video is identified using the rotating target detection model to obtain an identification result; based on a drill rod counting inference algorithm and in accordance with a preset drill rod selection principle, drill rod screening is performed on the identification result to obtain a target drill rod, and a target drill rod key point and an impact power head center point are determined; the distance between the target drill rod key point and the impact power head center point is calculated in real time, a peak change graph is plotted according to the distance, and drill rod counting is performed using the peak change graph. This application is based on a rotating target detection algorithm and uses annotated drilling data to build a rotating target detection model for adaptive scenarios, uses the rotating target detection model to identify the current drilling video, and screens out the target drill rod based on the drill rod counting inference algorithm, and calculates the distance change between the key point of the target drill rod and the center point of the impact power head to accurately obtain the peak change and perform drill rod counting. The above technical solution of this application does not require drawing a buffer zone, can switch the camera position at will, and can also randomly change the drilling scene, thereby realizing coal mine drill rod counting in adaptive scenarios, increasing the diversity of scene applications and the applicability of drill rod counting in practical applications, and combining the rotating target detection algorithm with the drill rod counting inference algorithm to improve the accuracy and efficiency of drill rod counting.
在一些具体实施例中,所述模型构建模块11,具体可以包括:In some specific embodiments, the model building module 11 may specifically include:
清洗处理模块,用于将所述历史井下打钻视频切分为各图片,并对各所述图片进行清洗处理,以得到清洗处理后的所述图片;A cleaning processing module, used for dividing the historical downhole drilling video into pictures, and performing cleaning processing on each of the pictures to obtain the cleaned pictures;
标注模块,用于利用预设的旋转目标检测标注工具对清洗处理后的所述图片进行标注,以得到标注后打钻数据。The marking module is used to mark the image after cleaning by using a preset rotating target detection marking tool to obtain marked drilling data.
在一些具体实施例中,所述模型构建模块11,具体可以包括:In some specific embodiments, the model building module 11 may specifically include:
训练测试验证模块,用于基于旋转目标检测算法并利用所述标注后打钻数据对预设的初始旋转目标检测模型分别进行训练、测试以及验证,以得到用于自适应场景的所述旋转目标检测模型;其中,所述旋转目标检测算法包括YOLOv5_OBB、YOLOv7_OBB、YOLOv8_OBB、GGHL、PP-YOLOE-R、R3Det以及MMRotate算法。A training, testing and verification module is used to train, test and verify the preset initial rotating target detection model based on the rotating target detection algorithm and using the labeled drilling data to obtain the rotating target detection model for the adaptive scene; wherein the rotating target detection algorithm includes YOLOv5_OBB, YOLOv7_OBB, YOLOv8_OBB, GGHL, PP-YOLOE-R, R3Det and MMRotate algorithms.
在一些具体实施例中,所述识别模块12,具体可以包括:In some specific embodiments, the identification module 12 may specifically include:
识别模块,用于利用所述旋转目标检测模型对所述当前打钻视频进行识别,以得到带旋转边界框的所述识别结果;所述识别结果包括钻机整体、冲击动力头、钻机头部、钻机钻杆以及对应的中心点坐标、短边长度、长边长度、旋转角度。The recognition module is used to use the rotating target detection model to recognize the current drilling video to obtain the recognition result with a rotating bounding box; the recognition result includes the drilling rig as a whole, the impact power head, the drilling rig head, the drilling rig drill rod and the corresponding center point coordinates, short side length, long side length, and rotation angle.
在一些具体实施例中,所述钻杆筛选模块13,具体可以包括:In some specific embodiments, the drill rod screening module 13 may specifically include:
原则构建模块,用于构建所述钻杆选取原则;所述钻杆选取原则包括旋转边界框选取原则、遮挡排除选取原则以及关注钻杆选取原则;A principle construction module, used to construct the drill rod selection principle; the drill rod selection principle includes a rotation bounding box selection principle, an occlusion exclusion selection principle and a focus drill rod selection principle;
钻杆筛选模块,用于基于钻杆计数推理算法并按照所述旋转边界框选取原则、所述遮挡排除选取原则以及所述关注钻杆选取原则对带旋转边界框的所述识别结果进行钻杆筛选,以得到目标钻杆。The drill rod screening module is used to screen the recognition results with the rotating bounding box based on the drill rod counting inference algorithm and in accordance with the rotating bounding box selection principle, the occlusion exclusion selection principle and the focus drill rod selection principle to obtain the target drill rod.
在一些具体实施例中,所述钻杆筛选模块13,具体可以包括:In some specific embodiments, the drill rod screening module 13 may specifically include:
状态确定模块,用于确定当前所述目标钻杆的状态;所述状态包括进钻和退钻;A state determination module, used to determine the current state of the target drill pipe; the state includes drilling in and drilling out;
关键点及中心点确定模块,用于基于所述状态确定相应的目标钻杆关键点和冲击动力头中心点。The key point and center point determination module is used to determine the corresponding target drill rod key point and impact power head center point based on the state.
在一些具体实施例中,所述钻杆计数模块14,具体可以包括:In some specific embodiments, the drill rod counting module 14 may specifically include:
进钻钻杆计数模块,用于若所述状态为进钻,则按照预设的进钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的进钻距离,并根据所述进钻距离绘制进钻峰值变化图,利用所述进钻峰值变化图进行钻杆计数;A drilling rod counting module is used for calculating the drilling distance between the key point of the target drill rod and the center point of the impact power head according to a preset drilling distance calculation method if the state is drilling, and drawing a drilling peak value variation diagram according to the drilling distance, and using the drilling peak value variation diagram to count drill rods;
退钻钻杆计数模块,用于若所述状态为退钻,则按照预设的退钻距离计算方法计算所述目标钻杆关键点和所述冲击动力头中心点之间的退钻距离,并根据所述退钻距离绘制退钻峰值变化图,利用所述退钻峰值变化图进行钻杆计数。The drill rod withdrawal counting module is used to calculate the drill withdrawal distance between the target drill rod key point and the center point of the impact power head according to a preset drill withdrawal distance calculation method if the state is drill withdrawal, and draw a drill withdrawal peak change graph according to the drill withdrawal distance, and use the drill withdrawal peak change graph to count drill rods.
图12为本申请实施例提供的一种电子设备的结构示意图。该电子设备20,具体可以包括:至少一个处理器21、至少一个存储器22、电源23、通信接口24、输入输出接口25和通信总线26。其中,所述存储器22用于存储计算机程序,所述计算机程序由所述处理器21加载并执行,以实现前述任一实施例公开的由电子设备执行的自适应场景的煤矿钻杆计数方法中的相关步骤。FIG12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input/output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the method for counting coal mine drill rods in an adaptive scenario performed by an electronic device disclosed in any of the aforementioned embodiments.
本实施例中,电源23用于为电子设备20上的各硬件设备提供工作电压;通信接口24能够为电子设备20创建与外界设备之间的数据传输通道,其所遵循的通信协议是能够适用于本申请技术方案的任意通信协议,在此不对其进行具体限定;输入输出接口25,用于获取外界输入数据或向外界输出数据,其具体的接口类型可以根据具体应用需要进行选取,在此不进行具体限定。In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.
另外,存储器22作为资源存储的载体,可以是只读存储器、随机存储器、磁盘或者光盘等,其上所存储的资源包括操作系统221、计算机程序222及数据223等,存储方式可以是短暂存储或者永久存储。In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon include an operating system 221, a computer program 222 and data 223, etc. The storage method can be temporary storage or permanent storage.
其中,操作系统221用于管理与控制电子设备20上的各硬件设备以及计算机程序222,以实现处理器21对存储器22中数据223的运算与处理,其可以是Windows、Unix、Linux等。计算机程序222除了包括能够用于完成前述任一实施例公开的由电子设备20执行的自适应场景的煤矿钻杆计数方法的计算机程序之外,还可以进一步包括能够用于完成其他特定工作的计算机程序。数据223除了可以包括自适应场景的煤矿钻杆计数设备接收到的由外部设备传输进来的数据,也可以包括由自身输入输出接口25采集到的数据等。Among them, the operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20 to realize the operation and processing of the data 223 in the memory 22 by the processor 21, which can be Windows, Unix, Linux, etc. In addition to including a computer program that can be used to complete the method of counting coal mine drill rods in an adaptive scenario performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks. In addition to including data transmitted from an external device received by the adaptive scenario coal mine drill rod counting device, the data 223 can also include data collected by its own input and output interface 25, etc.
结合本文中所公开的实施例描述的方法或算法的步骤可以直接用硬件、处理器执行的软件模块,或者二者的结合来实施。软件模块可以置于随机存储器(RAM)、内存、只读存储器(ROM)、电可编程ROM、电可擦除可编程ROM、寄存器、硬盘、可移动磁盘、CD-ROM、或技术领域内所公知的任意其它形式的存储介质中。The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
进一步的,本申请实施例还公开了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序被处理器加载并执行时,实现前述任一实施例公开的自适应场景的煤矿钻杆计数方法步骤。Furthermore, an embodiment of the present application also discloses a computer-readable storage medium, in which a computer program is stored. When the computer program is loaded and executed by a processor, the steps of the method for counting coal mine drill rods in an adaptive scenario disclosed in any of the aforementioned embodiments are implemented.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
以上对本发明所提供的一种自适应场景的煤矿钻杆计数方法、装置、设备及存储介质进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The above is a detailed introduction to the method, device, equipment and storage medium for counting coal mine drill rods in an adaptive scenario provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410030225.5A CN117830908B (en) | 2024-01-09 | 2024-01-09 | A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410030225.5A CN117830908B (en) | 2024-01-09 | 2024-01-09 | A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117830908A true CN117830908A (en) | 2024-04-05 |
CN117830908B CN117830908B (en) | 2024-10-15 |
Family
ID=90513328
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410030225.5A Active CN117830908B (en) | 2024-01-09 | 2024-01-09 | A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117830908B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112580609A (en) * | 2021-01-26 | 2021-03-30 | 南京北路智控科技股份有限公司 | Coal mine drill rod counting method |
US20210115742A1 (en) * | 2019-10-16 | 2021-04-22 | Magnetic Variation Services LLC | Drill pipe tally system |
CN113111805A (en) * | 2021-04-16 | 2021-07-13 | 北京科技大学 | Method for counting underground drilling number of coal mine based on machine vision |
CN114821453A (en) * | 2022-06-30 | 2022-07-29 | 广州英码信息科技有限公司 | Coal mine drill rod counting method based on target detection and computer readable medium |
-
2024
- 2024-01-09 CN CN202410030225.5A patent/CN117830908B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20210115742A1 (en) * | 2019-10-16 | 2021-04-22 | Magnetic Variation Services LLC | Drill pipe tally system |
CN112580609A (en) * | 2021-01-26 | 2021-03-30 | 南京北路智控科技股份有限公司 | Coal mine drill rod counting method |
CN113111805A (en) * | 2021-04-16 | 2021-07-13 | 北京科技大学 | Method for counting underground drilling number of coal mine based on machine vision |
CN114821453A (en) * | 2022-06-30 | 2022-07-29 | 广州英码信息科技有限公司 | Coal mine drill rod counting method based on target detection and computer readable medium |
Non-Patent Citations (2)
Title |
---|
XIAOJUN WU ET AL: "Drill Pipe Counting Method in Coal Mine Based on Improved Object Tracking", 《2023 8TH INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND SIGNAL PROCESSING (ICSP)》, 31 December 2023 (2023-12-31), pages 1181 - 1184 * |
张栋等: "基于改进 MobileNetV2 的钻杆计数方法", 《工矿自动化》, vol. 48, no. 10, 31 October 2022 (2022-10-31) * |
Also Published As
Publication number | Publication date |
---|---|
CN117830908B (en) | 2024-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11615519B2 (en) | Method and apparatus for identifying concrete crack based on video semantic segmentation technology | |
Yang et al. | Vision-based tower crane tracking for understanding construction activity | |
CN110738163A (en) | A mine personnel illegal action recognition system | |
CN102479324A (en) | Image processing apparatus and method, and program | |
CN104680193B (en) | Online objective classification method and system based on quick similitude network integration algorithm | |
CN111062364B (en) | A method and device for monitoring assembly operations based on deep learning | |
CN109712167A (en) | Target detecting and method for tracing and system | |
CN113570575B (en) | A drilling depth statistics method and system based on target detection | |
CN104822009A (en) | Method for identifying video scene transformation and device thereof | |
CN118521859A (en) | Industrial robot image processing method based on image fusion | |
CN115546221B (en) | Reinforcing steel bar counting method, device, equipment and storage medium | |
WO2017071146A1 (en) | Touch control screen navigation method based on fingerprint identifier, and relevant device | |
Yang | Enhancing action recognition of construction workers using data-driven scene parsing | |
CN115661755A (en) | Worker safety dynamic evaluation method based on computer vision and trajectory prediction | |
CN117830908A (en) | A method, device, equipment and medium for counting drill rods in coal mines based on adaptive scenarios | |
CN111402289A (en) | Crowd performance error detection method based on deep learning | |
CN118674934A (en) | Method for simply identifying relative historical water level and early warning water level at rear end | |
CN111027195A (en) | Simulation scene generation method, device and equipment | |
CN109144551A (en) | Equipment firmware update and system under a kind of multi-layer networking mode | |
CN110263704B (en) | Face data acquisition method, device, server, video acquisition device and medium | |
CN105373262A (en) | Method and device for identifying invalid light paths of infrared touch screen | |
CN114419483B (en) | A method, system and device for detecting illegal setting of fences for power tower operations | |
CN117036798A (en) | Power transmission and distribution line image recognition method and system based on deep learning | |
Myrans et al. | Combining classifiers to detect faults in wastewater networks | |
CN115661714A (en) | Method and system for calculating underground drilling depth of coal mine and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |