CN113838133A - A state detection method, apparatus, computer equipment and storage medium - Google Patents
A state detection method, apparatus, computer equipment and storage medium Download PDFInfo
- Publication number
- CN113838133A CN113838133A CN202111114374.2A CN202111114374A CN113838133A CN 113838133 A CN113838133 A CN 113838133A CN 202111114374 A CN202111114374 A CN 202111114374A CN 113838133 A CN113838133 A CN 113838133A
- Authority
- CN
- China
- Prior art keywords
- hydraulic support
- information
- target
- key point
- hydraulic
- 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.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 85
- 238000000034 method Methods 0.000 claims abstract description 50
- 230000015654 memory Effects 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 10
- 230000036544 posture Effects 0.000 description 33
- 239000003245 coal Substances 0.000 description 23
- 230000008569 process Effects 0.000 description 23
- 238000003062 neural network model Methods 0.000 description 20
- 238000012549 training Methods 0.000 description 16
- 238000010586 diagram Methods 0.000 description 12
- 238000005065 mining Methods 0.000 description 12
- 230000008859 change Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000008602 contraction Effects 0.000 description 2
- 238000007499 fusion processing Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000001681 protective effect Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 238000013528 artificial neural network Methods 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000011435 rock Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/70—Determining position or orientation of objects or cameras
- G06T7/73—Determining position or orientation of objects or cameras using feature-based methods
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH OR ROCK DRILLING; MINING
- E21D—SHAFTS; TUNNELS; GALLERIES; LARGE UNDERGROUND CHAMBERS
- E21D15/00—Props; Chocks, e.g. made of flexible containers filled with backfilling material
- E21D15/14—Telescopic props
- E21D15/44—Hydraulic, pneumatic, or hydraulic-pneumatic props
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH OR ROCK DRILLING; MINING
- E21D—SHAFTS; TUNNELS; GALLERIES; LARGE UNDERGROUND CHAMBERS
- E21D15/00—Props; Chocks, e.g. made of flexible containers filled with backfilling material
- E21D15/14—Telescopic props
- E21D15/46—Telescopic props with load-measuring devices; with alarm devices
-
- E—FIXED CONSTRUCTIONS
- E21—EARTH OR ROCK DRILLING; MINING
- E21F—SAFETY DEVICES, TRANSPORT, FILLING-UP, RESCUE, VENTILATION, OR DRAINING IN OR OF MINES OR TUNNELS
- E21F17/00—Methods or devices for use in mines or tunnels, not covered elsewhere
- E21F17/18—Special adaptations of signalling or alarm devices
-
- 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
- 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/20—Special algorithmic details
- G06T2207/20084—Artificial neural networks [ANN]
Landscapes
- Engineering & Computer Science (AREA)
- Mining & Mineral Resources (AREA)
- Geochemistry & Mineralogy (AREA)
- Life Sciences & Earth Sciences (AREA)
- General Life Sciences & Earth Sciences (AREA)
- Geology (AREA)
- Structural Engineering (AREA)
- Mechanical Engineering (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Image Analysis (AREA)
Abstract
本公开提供了一种状态检测方法、装置、计算机设备和存储介质,其中,该方法包括:获取目标图像;识别目标图像中的液压支架,并确定液压支架中的至少一个目标构件对应的多个目标关键点;基于目标关键点的目标位置信息,确定液压支架的姿态信息;基于液压支架的姿态信息,确定液压支架的安全状态。
The present disclosure provides a state detection method, device, computer equipment and storage medium, wherein the method includes: acquiring a target image; identifying a hydraulic support in the target image, and determining a plurality of hydraulic supports corresponding to at least one target component in the hydraulic support Target key points; determine the attitude information of the hydraulic support based on the target position information of the target key points; determine the safety state of the hydraulic support based on the attitude information of the hydraulic support.
Description
技术领域technical field
本公开涉及深度学习和计算机视觉技术领域,具体而言,涉及一种状态检测方法、装置、计算机设备和存储介质。The present disclosure relates to the technical field of deep learning and computer vision, and in particular, to a state detection method, apparatus, computer equipment and storage medium.
背景技术Background technique
矿井作业,需要利用液压支架支撑矿井上表面,防止掉落矿石,导致危险情况的发生。比如,液压支架是一种用来控制采煤工作面矿山压力的防护设备,在煤矿开采过程中,由于煤矿掉落会给液压支架施加侧向力,使液压支架产生侧向摆动,从而带动液压支架扭斜;或者,由于某个液压支架移动,导致多个液压支架承载力不均衡,进而破坏液压支架等情况的发生,会导致煤块掉落,发生危险。现今,通过在液压支架上设置多个传感器设备,收集多个传感器设备采集到的多组数据,并进行融合处理,预测出当前液压支架的位置状态。In mine operations, it is necessary to use hydraulic supports to support the upper surface of the mine to prevent ore from falling, resulting in dangerous situations. For example, the hydraulic support is a kind of protective equipment used to control the mine pressure of the coal mining face. During the coal mining process, the falling of the coal mine will exert a lateral force on the hydraulic support, causing the hydraulic support to swing sideways, thereby driving the hydraulic pressure. The support is skewed; or, due to the movement of a certain hydraulic support, the bearing capacity of multiple hydraulic supports is unbalanced, thereby destroying the hydraulic support, etc., which will cause the coal to fall and be dangerous. Today, by setting up multiple sensor devices on the hydraulic support, collecting multiple sets of data collected by the multiple sensor devices, and performing fusion processing, the current position state of the hydraulic support is predicted.
但是,上述预测方案的前提是需要在液压支架的各个梁上都安装传感器设备,才能判断该液压支架的姿态变化,因此,对液压支架姿态检测的成本要求较高;另外,采煤工作环境复杂,液压支架上的传感器设备容易损坏,传感器设备的线路常常会因为液压支架的移动而折损,造成采集到的数据无法正常回传,不仅影响工作效率,还增加了保养维修传感器设备的成本。However, the premise of the above prediction scheme is that sensor equipment needs to be installed on each beam of the hydraulic support to judge the posture change of the hydraulic support. Therefore, the cost requirements for the posture detection of the hydraulic support are relatively high; in addition, the working environment of coal mining is complex. , The sensor equipment on the hydraulic support is easy to be damaged, and the line of the sensor equipment is often damaged due to the movement of the hydraulic support, resulting in the failure of normal return of the collected data, which not only affects the work efficiency, but also increases the cost of maintaining and repairing the sensor equipment.
发明内容SUMMARY OF THE INVENTION
本公开实施例至少提供一种状态检测方法、装置、计算机设备和存储介质。Embodiments of the present disclosure provide at least a state detection method, apparatus, computer device, and storage medium.
第一方面,本公开实施例提供了一种状态检测方法,包括:In a first aspect, an embodiment of the present disclosure provides a state detection method, including:
获取目标图像;get the target image;
识别所述目标图像中的液压支架,并确定所述液压支架中的至少一个目标构件对应的多个目标关键点;Identifying the hydraulic support in the target image, and determining a plurality of target key points corresponding to at least one target component in the hydraulic support;
基于所述目标关键点的目标位置信息,确定所述液压支架的姿态信息;Determine the attitude information of the hydraulic support based on the target position information of the target key point;
基于所述液压支架的姿态信息,确定所述液压支架的安全状态。Based on the attitude information of the hydraulic support, a safe state of the hydraulic support is determined.
本方面,深度神经网络模型能够预先学习到液压支架全部的关键点,并且针对不同的关键点,能够预测到不同的目标构件的姿态信息。因此,通过识别液压支架,确定目标构件对应的多个目标关键点,并利用该目标关键点的目标位置信息,能够准确计算出液压支架的姿态信息,比如某一目标构件的伸缩长度,或者是某一目标构件的倾斜角等。通过监测液压支架的姿态信息,能够准确得到液压支架的安全状态,比如安全或危险等。之后,工作人员可以根据监测到的液压支架的安全状态,在存在危险情况时,进行及时预警。本方面与现有技术中利用多个传感器相比,完全替代了传统传感器对数据的采集。同时,由于获取图像的方式可以是通过已有的监控摄像头,不需要重新布置拍摄设备,因此,能够降低针对信息采集设备的成本;另外,上述方法基于深度神经网络模型进行图像检测,相比较传统传感器融合多个采集数据,能够提高对液压支架的姿态信息的准确度,进而能够检测到较为精确的液压支架的安全状态。In this aspect, the deep neural network model can learn all the key points of the hydraulic support in advance, and can predict the posture information of different target components for different key points. Therefore, by identifying the hydraulic support, determining multiple target key points corresponding to the target component, and using the target position information of the target key point, the posture information of the hydraulic support can be accurately calculated, such as the telescopic length of a certain target component, or The inclination angle of a target component, etc. By monitoring the posture information of the hydraulic support, the safety state of the hydraulic support, such as safe or dangerous, can be accurately obtained. After that, the staff can give timely warning when there is a dangerous situation according to the monitored safety status of the hydraulic support. Compared with the use of multiple sensors in the prior art, this aspect completely replaces the collection of data by traditional sensors. At the same time, since the way of acquiring images can be through existing surveillance cameras, there is no need to rearrange the shooting equipment, so the cost of the information acquisition equipment can be reduced; in addition, the above method is based on the deep neural network model for image detection, compared with the traditional method. The sensor fuses multiple collected data, which can improve the accuracy of the attitude information of the hydraulic support, and then can detect a relatively accurate safety state of the hydraulic support.
一种可选的实施方式中,所述目标构件包括第一构件;所述姿态信息包括所述第一构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息;所述目标位置信息包括第一位置信息;In an optional implementation manner, the target member includes a first member; the attitude information includes first inclination angle information of the first member relative to a preset coordinate axis in a preset coordinate system; the target The location information includes first location information;
所述基于所述目标关键点的目标位置信息,确定所述液压支架的姿态信息,包括:The determining of the posture information of the hydraulic support based on the target position information of the target key points includes:
针对所述第一构件,基于位于所述第一构件的多个目标关键点中每个目标关键点在所述目标图像中的第一位置信息,分别确定每个所述目标关键点在所述预设坐标系下的第二位置信息;For the first component, based on the first position information of each target key point in the target image among the plurality of target key points located in the first component, it is determined that each target key point is located in the target image. the second position information in the preset coordinate system;
基于每个所述目标关键点在所述预设坐标系下的第二位置信息,确定所述第一构件相对于所述预设坐标系中的预设坐标轴的第一倾斜角信息。Based on second position information of each of the target key points in the preset coordinate system, first inclination angle information of the first member relative to a preset coordinate axis in the preset coordinate system is determined.
本实施方式是针对姿态信息为第一倾斜角信息的情况,由于深度神经网络模型能够精准确定每个第一构件中的多个目标关键点,因此,能够根据准确的多个目标关键点确定该目标关键点精准的第一位置信息,进而得到第一位置信息转换到预设坐标系下的精准的第二位置信息。由于第一倾斜角信息是在预设坐标系下进行分析得到的,因此,利用精准的第二位置信息,即可得到精准的第一倾斜角信息。This embodiment is aimed at the situation where the attitude information is the first inclination angle information. Since the deep neural network model can accurately determine multiple target key points in each first component, the Accurate first position information of the target key point, and then obtain accurate second position information converted from the first position information to the preset coordinate system. Since the first inclination angle information is obtained through analysis in the preset coordinate system, accurate first inclination angle information can be obtained by using the accurate second position information.
一种可选的实施方式中,所述目标构件还包括第二构件;所述姿态信息还包括所述第二构件的伸缩长度信息;所述目标关键点包括第一关键点和第二关键点;所述目标位置信息包括第三位置信息和第四位置信息;In an optional implementation manner, the target member further includes a second member; the posture information further includes telescopic length information of the second member; the target key point includes a first key point and a second key point ; The target position information includes third position information and fourth position information;
所述基于所述目标关键点的目标位置信息,确定所述液压支架的姿态信息,包括:The determining of the posture information of the hydraulic support based on the target position information of the target key points includes:
针对所述第二构件,确定位于所述第二构件上的第一关键点以及与所述第二构件对应的第二关键点;所述第二关键点位于与所述第二构件相连的其他目标构件上;For the second component, determine a first key point located on the second component and a second key point corresponding to the second component; the second key point is located on other key points connected to the second component on the target component;
基于所述第一关键点在所述目标图像中的第三位置信息和所述第二关键点在所述目标图像中的第四位置信息,确定所述第一关键点和所述第二关键点之间的距离信息;The first key point and the second key point are determined based on the third position information of the first key point in the target image and the fourth position information of the second key point in the target image distance information between points;
基于所述距离信息,确定所述第二构件的伸缩长度信息。Based on the distance information, the telescopic length information of the second member is determined.
本实施方式是针对姿态信息为伸缩长度信息的情况,由于深度神经网络模型能够精准确定每个第二构件中的第一关键点,以及预先为第二构件设置的相匹配的第二关键点,因此,能够根据准确的第一关键点和第二关键点确定其分别对应的精准的第三位置信息和第四位置信息。由于精确的第三位置信息和第四位置信息,根据二者之间的变化程度,即可确定第一关键点和第二关键点之间准确的距离信息,进而确定准确的第二构件的伸缩长度信息。This embodiment is aimed at the situation where the posture information is telescopic length information, since the deep neural network model can accurately determine the first key point in each second component and the matching second key point set for the second component in advance, Therefore, the precise third position information and the fourth position information respectively corresponding to the accurate first key point and the second key point can be determined. Due to the accurate third position information and the fourth position information, according to the degree of change between the two, the accurate distance information between the first key point and the second key point can be determined, and then the accurate expansion and contraction of the second member can be determined. length information.
一种可选的实施方式中所述识别所述目标图像中的液压支架,确定所述液压支架中的至少一个目标构件对应的多个目标关键点,包括:In an optional implementation manner, identifying the hydraulic support in the target image, and determining a plurality of target key points corresponding to at least one target component in the hydraulic support, includes:
确定所述液压支架的类型信息;determining the type information of the hydraulic support;
基于所述类型信息对所述目标图像进行识别,确定所述液压支架中的至少一个目标构件对应的多个目标关键点。The target image is identified based on the type information, and multiple target key points corresponding to at least one target member in the hydraulic support are determined.
本实施方式,由于液压支架类型的不同,因此在检测姿态信息时所利用的目标关键点不同。由于在深度神经网络模型的训练阶段可以灵活的为不同类型的液压支架配置不同的关键点,因此,在状态检测阶段,利用类型信息对目标图像进行识别,能够匹配到为该类型信息对应的液压支架所配置的多个目标关键点,提高了目标关键点与目标构件之间的匹配精度。In this embodiment, due to the different types of hydraulic supports, the target key points used when detecting attitude information are different. Since different key points can be flexibly configured for different types of hydraulic supports in the training stage of the deep neural network model, in the state detection stage, the type information is used to identify the target image, and the hydraulic pressure corresponding to the type of information can be matched. The multiple target key points configured on the bracket improve the matching accuracy between the target key points and the target component.
一种可选的实施方式中,所述基于所述液压支架的姿态信息,确定所述液压支架的安全状态,包括:In an optional implementation manner, determining the safety state of the hydraulic support based on the posture information of the hydraulic support includes:
获取与所述第一构件相对应的第一预设标准信息;acquiring first preset standard information corresponding to the first component;
在所述第一构件的第一倾斜角信息与对应的所述第一预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。In the case that the first inclination angle information of the first member matches the corresponding first preset standard information, it is determined that the safety state of the hydraulic support is safe.
本实施方式中第一预设标准信息可以是根据历史经验值或实际应用场景得到的第一构件在工作过程中的标准信息;因此,将检测到的准确的第一倾斜角信息与第一预设标准信息进行对比,能够预测出较为准确的液压支架的安全状态。In this embodiment, the first preset standard information may be the standard information of the first component in the working process obtained according to historical experience values or actual application scenarios; therefore, the detected accurate first inclination angle information is compared with the first preset standard information By comparing the standard information, the safety state of the hydraulic support can be predicted more accurately.
一种可选的实施方式中所述基于所述液压支架的姿态信息,确定所述液压支架的安全状态,包括:In an optional implementation manner, determining the safe state of the hydraulic support based on the posture information of the hydraulic support includes:
获取与所述第一构件相对应的第二预设标准信息,以及与所述第二构件相对应的第三预设标准信息;acquiring second preset standard information corresponding to the first component, and third preset standard information corresponding to the second component;
在所述第一构件的第一倾斜角信息与对应的所述第二预设标准信息相匹配,并且所述第二构件的伸缩长度信息与对应的所述第三预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。When the first inclination angle information of the first member matches the corresponding second preset standard information, and the telescopic length information of the second member matches the corresponding third preset standard information In this case, it is determined that the safety state of the hydraulic support is safe.
本实施方式中第二预设标准信息可以是根据历史经验值或实际工作场景得到的第一构件在工作过程中的标准信息,第三预设标准信息可以是根据实际工作场景得到的第二构件在工作过程中的标准信息,因此,将检测到的准确的第一倾斜角信息与第二预设标准信息进行对比,将检测到的伸缩长度信息与第二预设标准信息进行对比,能够预测出较为准确的液压支架的安全状态。In this embodiment, the second preset standard information may be the standard information of the first component in the working process obtained according to historical experience values or actual working scenarios, and the third preset standard information may be the second component obtained according to the actual working scene Standard information in the working process, therefore, by comparing the detected accurate first inclination angle information with the second preset standard information, and comparing the detected telescopic length information with the second preset standard information, it is possible to predict A more accurate safety state of the hydraulic support can be obtained.
一种可选的实施方式中,所述基于所述液压支架的姿态信息,确定所述液压支架的安全状态,包括,包括:In an optional implementation manner, determining the safety state of the hydraulic support based on the posture information of the hydraulic support includes:
获取与所述液压支架同时工作的其他液压支架的姿态信息;Obtain the posture information of other hydraulic supports working simultaneously with the hydraulic support;
基于所述液压支架的姿态信息,与所述其他液压支架中的液压支架的姿态信息相匹配的情况,确定相匹配的所述其他液压支架中液压支架的匹配个数;Based on the situation that the posture information of the hydraulic support matches the posture information of the hydraulic supports in the other hydraulic supports, determine the matching number of the hydraulic supports in the other hydraulic supports;
在所述匹配个数大于预设阈值的情况下,确定所述液压支架的安全状态为安全。When the number of matches is greater than a preset threshold, it is determined that the safety state of the hydraulic support is safe.
本实施方式,在液压支架工作过程中,其安全状态还与同时工作的其他液压支架有关,因此,在确定液压支架的姿态信息的情况下,还可以与其同时工作的其他液压支架的姿态信息进行对比,进一步得到一个较为准确的液压支架的安全状态。In this embodiment, during the working process of the hydraulic support, its safety state is also related to other hydraulic supports working at the same time. Therefore, when the attitude information of the hydraulic support is determined, the attitude information of other hydraulic supports working at the same time can also be carried out. By comparison, a more accurate safety state of the hydraulic support is further obtained.
一种可选的实施方式中,所述获取目标图像,包括:In an optional implementation manner, the obtaining the target image includes:
获取拍摄设备拍摄到的包括所述液压支架的原始图像;acquiring the original image including the hydraulic support captured by the photographing device;
识别所述原始图像中的液压支架,并确定所述液压支架对应的检测框;Identify the hydraulic support in the original image, and determine the detection frame corresponding to the hydraulic support;
基于所述检测框从所述原始图像中截取所述液压支架对应的目标图像。The target image corresponding to the hydraulic support is intercepted from the original image based on the detection frame.
本实施方式中确定出的液压支架对应的检测框,该检测框能够以最小范围包含整个液压支架,之后,截取该检测框所框出的部分原始图像作为目标图像,即目标图像尺寸小于原始图像,能够节省后续识别目标图像中液压支架的时间,进而提高后续状态检测的效率。The detection frame corresponding to the hydraulic support is determined in this embodiment. The detection frame can include the entire hydraulic support in the smallest range. After that, a part of the original image framed by the detection frame is intercepted as the target image, that is, the size of the target image is smaller than the original image. , which can save the time for subsequent identification of the hydraulic support in the target image, thereby improving the efficiency of subsequent state detection.
一种可选的实施方式中,所述目标构件包括所述液压支架中的支架梁。In an optional embodiment, the target member includes a support beam in the hydraulic support.
本实施方式,确定液压支架包括液压支架后,可以将状态检测方法应用在煤矿矿井场景中,能够精准检测液压支架中的支架梁的姿态信息,进而确定液压支架的安全状态,以针对煤矿矿井应用场景作出及时有效的安全预警。In this embodiment, after it is determined that the hydraulic support includes a hydraulic support, the state detection method can be applied in the scene of a coal mine, which can accurately detect the attitude information of the support beam in the hydraulic support, and then determine the safety state of the hydraulic support, so as to be applied to the coal mine. Provides timely and effective security warnings.
第二方面,本公开实施例还提供一种状态检测装置,包括:In a second aspect, an embodiment of the present disclosure further provides a state detection device, including:
图像获取模块,用于获取目标图像;The image acquisition module is used to acquire the target image;
关键点确定模块,用于识别所述目标图像中的液压支架,并确定所述液压支架中的至少一个目标构件对应的多个目标关键点;a key point determination module, configured to identify the hydraulic support in the target image, and determine a plurality of target key points corresponding to at least one target component in the hydraulic support;
信息确定模块,用于基于所述目标关键点的目标位置信息,确定所述液压支架的姿态信息;an information determination module, configured to determine the attitude information of the hydraulic support based on the target position information of the target key point;
状态检测模块,用于基于所述液压支架的姿态信息,确定所述液压支架的安全状态。A state detection module, configured to determine the safe state of the hydraulic support based on the attitude information of the hydraulic support.
一种可选的实施方式中,所述目标构件包括第一构件;所述姿态信息包括所述第一构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息;所述目标位置信息包括第一位置信息;In an optional implementation manner, the target member includes a first member; the attitude information includes first inclination angle information of the first member relative to a preset coordinate axis in a preset coordinate system; the target The location information includes first location information;
所述信息确定模块,用于针对所述第一构件,基于位于所述第一构件的多个目标关键点中每个目标关键点在所述目标图像中的第一位置信息,分别确定每个所述目标关键点在所述预设坐标系下的第二位置信息;基于每个所述目标关键点在所述预设坐标系下的第二位置信息,确定所述第一构件相对于所述预设坐标系中的预设坐标轴的第一倾斜角信息。The information determination module is configured to, for the first component, determine each of the target key points in the target image based on the first position information of each target key point in the target image. second position information of the target key point under the preset coordinate system; first inclination angle information of the preset coordinate axis in the preset coordinate system.
一种可选的实施方式中,所述目标构件还包括第二构件;所述姿态信息还包括所述第二构件的伸缩长度信息;所述目标关键点包括第一关键点和第二关键点;所述目标位置信息包括第三位置信息和第四位置信息;In an optional implementation manner, the target member further includes a second member; the posture information further includes telescopic length information of the second member; the target key point includes a first key point and a second key point ; The target position information includes third position information and fourth position information;
所述信息确定模块,用于针对所述第二构件,确定位于所述第二构件上的第一关键点以及与所述第二构件对应的第二关键点;所述第二关键点位于与所述第二构件相连的其他目标构件上;基于所述第一关键点在所述目标图像中的第三位置信息和所述第二关键点在所述目标图像中的第四位置信息,确定所述第一关键点和所述第二关键点之间的距离信息;基于所述距离信息,确定所述第二构件的伸缩长度信息。The information determination module is configured to, for the second component, determine a first key point located on the second component and a second key point corresponding to the second component; the second key point is located in the on other target components connected to the second component; based on the third position information of the first key point in the target image and the fourth position information of the second key point in the target image, determine distance information between the first key point and the second key point; based on the distance information, determine the telescopic length information of the second member.
一种可选的实施方式中,所述关键点确定模块,用于确定所述液压支架的类型信息;基于所述类型信息对所述目标图像进行识别,确定所述液压支架中的至少一个目标构件对应的多个目标关键点。In an optional implementation manner, the key point determination module is configured to determine the type information of the hydraulic support; identify the target image based on the type information, and determine at least one target in the hydraulic support Multiple target keypoints corresponding to the component.
一种可选的实施方式中,所述状态检测模块,用于获取与所述第一构件相对应的第一预设标准信息;在所述第一构件的第一倾斜角信息与对应的所述第一预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the state detection module is configured to acquire first preset standard information corresponding to the first member; between the first inclination angle information of the first member and the corresponding In the case where the first preset standard information matches, it is determined that the safety state of the hydraulic support is safe.
一种可选的实施方式中,所述状态检测模块,用于获取与所述第一构件相对应的第二预设标准信息,以及与所述第二构件相对应的第三预设标准信息;在所述第一构件的第一倾斜角信息与对应的所述第二预设标准信息相匹配,并且所述第二构件的伸缩长度信息与对应的所述第三预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the state detection module is configured to acquire second preset standard information corresponding to the first component and third preset standard information corresponding to the second component ; The first inclination angle information of the first member is matched with the corresponding second preset standard information, and the telescopic length information of the second member is matched with the corresponding third preset standard information In the case of , it is determined that the safety state of the hydraulic support is safe.
一种可选的实施方式中,所述状态检测模块,用于获取与所述液压支架同时工作的其他液压支架的姿态信息;基于所述液压支架的姿态信息,与所述其他液压支架中的液压支架的姿态信息相匹配的情况,确定相匹配的所述其他液压支架中液压支架的匹配个数;在所述匹配个数大于预设阈值的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the state detection module is used to obtain the attitude information of other hydraulic supports working simultaneously with the hydraulic support; based on the attitude information of the hydraulic support, it is If the posture information of the hydraulic supports matches, determine the matching number of hydraulic supports in the other hydraulic supports that match; in the case that the matching number is greater than the preset threshold, determine that the safety state of the hydraulic supports is Safety.
一种可选的实施方式中,所述图像获取模块,用于获取拍摄设备拍摄到的包括所述液压支架的原始图像;识别所述原始图像中的液压支架,并确定所述液压支架对应的检测框;基于所述检测框从所述原始图像中截取所述液压支架对应的目标图像。In an optional implementation manner, the image acquisition module is configured to acquire an original image including the hydraulic support captured by a photographing device; identify the hydraulic support in the original image, and determine the corresponding hydraulic support. A detection frame; based on the detection frame, a target image corresponding to the hydraulic support is intercepted from the original image.
一种可选的实施方式中,所述目标构件包括所述液压支架中的支架梁。In an optional embodiment, the target member includes a support beam in the hydraulic support.
第三方面,本公开实施例还提供一种计算机设备,包括:处理器、存储器和总线,所述存储器存储有所述处理器可执行的机器可读指令,当计算机设备运行时,所述处理器与所述存储器之间通过总线通信,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的状态检测方法的步骤。In a third aspect, embodiments of the present disclosure further provide a computer device, including: a processor, a memory, and a bus, where the memory stores machine-readable instructions executable by the processor, and when the computer device runs, the processing The processor and the memory communicate through a bus, and when the machine-readable instructions are executed by the processor, the first aspect or the steps of any possible state detection method in the first aspect are performed.
第四方面,本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述第一方面,或第一方面中任一种可能的状态检测方法的步骤。In a fourth aspect, embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to execute the first aspect, or any one of the first aspect. Steps of a possible state detection method.
关于上述状态检测装置、计算机设备和存储介质的效果描述参见上述状态检测方法的说明,这里不再赘述。For the description of the effects of the above state detection apparatus, computer equipment and storage medium, please refer to the description of the above state detection method, which will not be repeated here.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned objects, features and advantages of the present disclosure more obvious and easy to understand, the preferred embodiments are exemplified below, and are described in detail as follows in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to explain the technical solutions of the embodiments of the present disclosure more clearly, the following briefly introduces the accompanying drawings required in the embodiments, which are incorporated into the specification and constitute a part of the specification. The drawings illustrate embodiments consistent with the present disclosure, and together with the description serve to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. Other related figures are obtained from these figures.
图1示出了本公开实施例所提供的一种状态检测方法的流程图;FIG. 1 shows a flowchart of a state detection method provided by an embodiment of the present disclosure;
图2示出了本公开实施例所提供的液压支架中每个支架梁对应的目标关键点的展示示意图;FIG. 2 is a schematic diagram showing the target key points corresponding to each support beam in the hydraulic support provided by the embodiment of the present disclosure;
图3示出了本公开实施例所提供的护帮板的多种工作状态下的倾斜角的展示示意图;FIG. 3 is a schematic diagram showing the inclination angle of the fender provided by the embodiment of the present disclosure under various working states;
图4示出了本公开实施例所提供的顶梁的多种工作状态下的倾斜角的展示示意图;FIG. 4 is a schematic diagram showing the inclination angle of the roof beam provided by the embodiment of the present disclosure under various working states;
图5示出了本公开实施例所提供的液压支架的一种展示状态的示意图;FIG. 5 is a schematic diagram showing a display state of the hydraulic support provided by the embodiment of the present disclosure;
图6示出了本公开实施例所提供的一种状态检测装置的示意图;FIG. 6 shows a schematic diagram of a state detection apparatus provided by an embodiment of the present disclosure;
图7示出了本公开实施例所提供的一种计算机设备的结构示意图。FIG. 7 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为使本公开实施例的目的、技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only These are some, but not all, embodiments of the present disclosure. The components of the disclosed embodiments generally described and illustrated in the drawings herein may be arranged and designed in a variety of different configurations. Therefore, the following detailed description of the embodiments of the disclosure provided in the accompanying drawings is not intended to limit the scope of the disclosure as claimed, but is merely representative of selected embodiments of the disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative work fall within the protection scope of the present disclosure.
另外,本公开实施例中的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。In addition, the terms "first", "second" and the like in the description and claims in the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.
在本文中提及的“多个或者若干个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。Reference herein to "a plurality or several" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
经研究发现,矿井作业,需要利用液压支架支撑矿井上表面,防止掉落矿石,导致危险情况的发生。比如,液压支架是一种用来控制采煤工作面矿山压力的防护设备,在煤矿开采过程中,由于煤矿掉落会给液压支架施加侧向力,使液压支架产生侧向摆动,从而带动液压支架扭斜;或者,由于某个液压支架移动,导致多个液压支架承载力不均衡,进而破坏液压支架等情况的发生,会导致煤块掉落,发生危险。现今,通过在液压支架上设置多个传感器设备,收集多个传感器设备采集到的多组数据,并进行融合处理,预测出当前液压支架的位置状态。但是,上述预测方案的前提是需要在液压支架的各个梁上都安装传感器设备,才能判断该液压支架的姿态变化,因此,对液压支架姿态检测的成本要求较高;另外,采煤工作环境复杂,液压支架上的传感器设备容易损坏,传感器设备的线路常常会因为液压支架的移动而折损,造成采集到的数据无法正常回传,不仅影响工作效率,还增加了保养维修传感器设备的成本。The research found that the mine operation needs to use the hydraulic support to support the upper surface of the mine to prevent the ore from falling, resulting in the occurrence of dangerous situations. For example, the hydraulic support is a kind of protective equipment used to control the mine pressure of the coal mining face. During the coal mining process, the falling of the coal mine will exert a lateral force on the hydraulic support, causing the hydraulic support to swing sideways, thereby driving the hydraulic pressure. The support is skewed; or, due to the movement of a certain hydraulic support, the bearing capacity of multiple hydraulic supports is unbalanced, thereby destroying the hydraulic support, etc., which will cause the coal to fall and be dangerous. Today, by setting up multiple sensor devices on the hydraulic support, collecting multiple sets of data collected by the multiple sensor devices, and performing fusion processing, the current position state of the hydraulic support is predicted. However, the premise of the above prediction scheme is that sensor equipment needs to be installed on each beam of the hydraulic support to judge the posture change of the hydraulic support. Therefore, the cost requirements for the posture detection of the hydraulic support are relatively high; in addition, the working environment of coal mining is complex. , The sensor equipment on the hydraulic support is easy to be damaged, and the line of the sensor equipment is often damaged due to the movement of the hydraulic support, resulting in the failure of normal return of the collected data, which not only affects the work efficiency, but also increases the cost of maintaining and repairing the sensor equipment.
基于上述研究,本公开提供了一种状态检测方法、装置、计算机设备和存储介质,深度神经网络模型能够预先学习到液压支架全部的关键点,并且针对不同的关键点,能够预测到不同的目标构件的姿态信息。因此,通过识别液压支架,确定目标构件对应的多个目标关键点,并利用该目标关键点的目标位置信息,能够准确计算出液压支架的姿态信息,比如某一目标构件的伸缩长度,或者是某一目标构件的倾斜角等。通过监测液压支架的姿态信息,能够准确得到液压支架的安全状态,比如安全或危险等。之后,工作人员可以根据监测到的液压支架的安全状态,在存在危险情况时,进行及时预警。本方面与现有技术中利用多个传感器相比,完全替代了传统传感器对数据的采集。同时,由于获取图像的方式可以是通过已有的监控摄像头,不需要重新布置拍摄设备,因此,能够降低针对信息采集设备的成本;另外,上述方法基于深度神经网络模型进行图像检测,相比较传统传感器融合多个采集数据,能够提高对液压支架的姿态信息的准确度,进而能够检测到较为精确的液压支架的安全状态。Based on the above research, the present disclosure provides a state detection method, device, computer equipment and storage medium. The deep neural network model can learn all the key points of the hydraulic support in advance, and can predict different targets for different key points. The pose information of the component. Therefore, by identifying the hydraulic support, determining multiple target key points corresponding to the target component, and using the target position information of the target key point, the posture information of the hydraulic support can be accurately calculated, such as the telescopic length of a certain target component, or The inclination angle of a target component, etc. By monitoring the posture information of the hydraulic support, the safety state of the hydraulic support, such as safe or dangerous, can be accurately obtained. After that, the staff can give timely warning when there is a dangerous situation according to the monitored safety status of the hydraulic support. Compared with the use of multiple sensors in the prior art, this aspect completely replaces the collection of data by traditional sensors. At the same time, since the way of acquiring images can be through existing surveillance cameras, there is no need to rearrange the shooting equipment, so the cost of the information acquisition equipment can be reduced; in addition, the above method is based on the deep neural network model for image detection, compared with the traditional method. The sensor fuses multiple collected data, which can improve the accuracy of the attitude information of the hydraulic support, and then can detect a relatively accurate safety state of the hydraulic support.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects existing in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions to the above problems proposed by the present disclosure hereinafter should be the inventors Contributions made to this disclosure during the course of this disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种状态检测方法的应用场景进行详细介绍,以煤矿开采应用场景为例,针对液压支架的状态检测,需要确保液压支架的内部构件不发生变形,以降低发生安全事故的概率。其中,液压支架是用来控制采煤工作面矿山压力的一种支承装置。煤块采集面的矿压以外载的形式作用在液压支架上。在液压支架和煤块采集面围岩相互作用的力学系统中,若液压支架的各支承件合力与顶板作用在液压支架上的外载荷力正好处于同一直线,则可以确定该液压支架安全状态为安全。In order to facilitate the understanding of this embodiment, the application scenario of a state detection method disclosed in the embodiment of the present disclosure is first introduced in detail. Taking the application scenario of coal mining as an example, for the state detection of the hydraulic support, it is necessary to ensure the internal components of the hydraulic support. No deformation occurs to reduce the probability of safety accidents. Among them, the hydraulic support is a support device used to control the mine pressure of the coal mining face. The mine pressure of the coal collecting surface acts on the hydraulic support in the form of external load. In the mechanical system of the interaction between the hydraulic support and the surrounding rock of the coal collection surface, if the resultant force of each support of the hydraulic support and the external load force of the roof acting on the hydraulic support are exactly on the same line, the safe state of the hydraulic support can be determined as Safety.
由于煤矿不断开采,液压支架需要跟随工作面进行移动,并调整姿态,确定以调整后的最终姿态在当前工作面进行工作,由于不确定该液压支架调整后的实际姿态信息是否满足要求,因此,需要外在检测设备进行检测,以进一步确定液压支架的安全状态。Due to the continuous mining of the coal mine, the hydraulic support needs to move with the working face and adjust the attitude. It is determined to work on the current working face with the adjusted final attitude. Since it is uncertain whether the adjusted actual attitude information of the hydraulic support meets the requirements, therefore, External testing equipment is required for testing to further determine the safe state of the hydraulic support.
另外,由于顶煤移动,同样会对液压支架产生一个倾斜的作用力,导致液压支架的承载力不均衡,进而损坏液压支架,因此,需要实时检测液压支架的安全状态,才能保障矿井中煤矿开采工作的安全。In addition, due to the movement of the top coal, an inclined force will also be generated on the hydraulic support, resulting in an unbalanced bearing capacity of the hydraulic support, thereby damaging the hydraulic support. Therefore, it is necessary to detect the safety state of the hydraulic support in real time to ensure coal mining in the mine. job security.
为此,本公开实施例提供了一种状态检测方法,下面对该方法进行详细介绍,本公开实施例所提供的状态检测方法的执行主体一般为具有一定计算能力的计算机设备。在一些可能的实现方式中,该状态检测方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。To this end, an embodiment of the present disclosure provides a state detection method, which will be described in detail below. The execution subject of the state detection method provided by the embodiment of the present disclosure is generally a computer device with a certain computing capability. In some possible implementations, the state detection method may be implemented by the processor calling computer-readable instructions stored in the memory.
下面以执行主体为计算机设备为例对本公开实施例提供的状态检测方法加以说明。The state detection method provided by the embodiment of the present disclosure will be described below by taking the execution subject as a computer device as an example.
参见图1所示,为本公开实施例提供的一种状态检测方法的流程图,所述方法包括步骤S101~S104,其中:Referring to FIG. 1, which is a flowchart of a state detection method provided by an embodiment of the present disclosure, the method includes steps S101-S104, wherein:
S101:获取目标图像。S101: Acquire a target image.
本步骤获取到的目标图像中包括液压支架。其中,液压支架包括护帮板、前梁、顶梁、掩护梁、前连杆、底座等构件。The target image obtained in this step includes the hydraulic support. Among them, the hydraulic support includes a guard plate, a front beam, a top beam, a shield beam, a front connecting rod, a base and other components.
在一些实施例中,目标图像可以是对拍摄设备拍摄到的原始图像中的液压支架进行检测框标记,并将检测框标记出的液压支架对应的部分原始图像裁剪后的图像。In some embodiments, the target image may be an image obtained by marking the hydraulic support in the original image captured by the photographing device with a detection frame, and cropping a part of the original image corresponding to the hydraulic support marked by the detection frame.
S102:识别目标图像中的液压支架,并确定液压支架中的至少一个目标构件对应的多个目标关键点。S102: Identify the hydraulic support in the target image, and determine multiple target key points corresponding to at least one target component in the hydraulic support.
本步骤,可以利用深度神经网络模型识别目标图像中的液压支架,其中,深度神经网络模型在训练过程中利用大量标记有液压支架关键点的样本图像进行迭代训练,最终能够学习到液压支架全部的关键点,因此,在识别目标图像的过程中,确定液压支架,即可确定该液压支架中的至少一个目标构件对应的多个目标关键点。In this step, the deep neural network model can be used to identify the hydraulic support in the target image. In the training process, the deep neural network model uses a large number of sample images marked with key points of the hydraulic support for iterative training, and finally can learn all the hydraulic support. Therefore, in the process of identifying the target image, by determining the hydraulic support, a plurality of target key points corresponding to at least one target member in the hydraulic support can be determined.
液压支架包括至少一个目标构件。目标构件可以包括护帮板、前梁、顶梁、掩护梁、前连杆等支架梁。The hydraulic support includes at least one target member. The target components may include support beams such as fenders, front beams, roof beams, shield beams, and front linkages.
示例性的,目标构件对应的多个目标关键点,可以包括目标构件上设置的多个目标关键点,或者,目标构件上设置的一个目标关键点以及预先设置的与该目标构件连接的其他目标构件上设置的至少一个目标关键点。Exemplarily, the multiple target key points corresponding to the target component may include multiple target key points set on the target component, or, a target key point set on the target component and other preset targets connected to the target component. At least one target key set on the component.
延续上例,参见图2所示,其为液压支架中每个支架梁对应的目标关键点的展示示意图。护帮板21对应的多个目标关键点可以包括该护帮板的前端点1和该护帮板的后端点2;前梁22对应的多个目标关键点可以包括该前梁的前端点3和与该前梁连接的顶梁的前端点4;顶梁23对应的多个目标关键点可以包括该顶梁的前端点4和该顶梁的后端点5;掩护梁24对应的多个目标关键点可以包括该掩护梁的前端点6和该掩护梁的后端点7;前连杆25对应的多个目标关键点可以包括该前连杆上端点8和该前连杆的下端点9。Continuing the above example, see FIG. 2 , which is a schematic diagram showing the target key points corresponding to each support beam in the hydraulic support. The multiple target key points corresponding to the
在一些实施例中,液压支架可以有多种不同的类型(包括型号、种类,本公开实施例不进行具体限定),不同类型的液压支架,在利用深度神经网络模型进行训练过程时,所标记的关键点位置不同。因此,在识别目标图像中的液压支架的过程中,首先,确定该液压支架的类型,之后,根据预先训练学习到的所属该类型的液压支架对应的关键点的位置,确定该目标图像中的液压支架中至少一个目标构件对应的多个目标关键点。In some embodiments, the hydraulic support may have multiple different types (including models and types, which are not specifically limited in the embodiments of the present disclosure). For different types of hydraulic supports, when the deep neural network model is used for the training process, the marked The key point locations are different. Therefore, in the process of identifying the hydraulic support in the target image, first, the type of the hydraulic support is determined, and then, according to the positions of the key points corresponding to the hydraulic support of the type learned by pre-training, determine the hydraulic support in the target image. Multiple target key points corresponding to at least one target component in the hydraulic support.
这里,由于在深度神经网络模型的训练阶段可以灵活的为不同类型的液压支架配置不同的关键点,因此,在状态检测阶段,利用类型信息对目标图像进行识别,能够匹配到为该类型信息对应的液压支架所配置的多个目标关键点,提高了目标关键点与目标构件之间的匹配精度。Here, since in the training stage of the deep neural network model, different key points can be flexibly configured for different types of hydraulic supports, therefore, in the state detection stage, the type information is used to identify the target image, which can be matched to the corresponding type of information. The multiple target key points configured by the hydraulic support improve the matching accuracy between the target key points and the target components.
S103:基于目标关键点的目标位置信息,确定液压支架的姿态信息。S103: Determine the attitude information of the hydraulic support based on the target position information of the target key point.
本步骤中,目标关键点的目标位置信息为S103中确定出的多个目标关键点在目标图像中的目标位置信息。液压支架的姿态信息可以包括至少一个目标构件的姿态信息。In this step, the target position information of the target key points is the target position information of the plurality of target key points determined in S103 in the target image. The attitude information of the hydraulic support may include attitude information of at least one target member.
具体实施时,可以在目标图像中建立预设坐标系,将目标位置信息转换为在预设坐标系中的坐标信息;之后,基于多个目标关键点的坐标信息,确定目标构件的姿态信息,基于至少一个目标构件的姿态信息,确定液压支架的姿态信息。During specific implementation, a preset coordinate system can be established in the target image, and the target position information can be converted into coordinate information in the preset coordinate system; then, based on the coordinate information of multiple target key points, the attitude information of the target component is determined, Based on the attitude information of the at least one target member, attitude information of the hydraulic support is determined.
示例性的,姿态信息可以包括目标构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息,第一倾斜角信息可以包括倾斜角或俯仰角。比如,以目标构件为护帮板为例,确定护帮板相对于预设坐标系中的预设坐标轴的第一倾斜角信息,即倾斜角α1,可以参见图3所示,其为护帮板的多种工作状态下的倾斜角的展示示意图,其中,31表示在目标图像中所建立的预设坐标系,包括x坐标轴311和y坐标轴312;图3中的实直线表示护帮板对应的两个目标关键点(即P1和P2)所连直线,虚直线表示与x坐标轴311平行的直线,其中,实直线包括与x坐标轴311成α1=-180°的直线321,与x坐标轴311成α1=-150°直线322,与x坐标轴311成α1=-90°的直线323,与x坐标轴311成α1=0°的直线324。Exemplarily, the attitude information may include first tilt angle information of the target member relative to a preset coordinate axis in a preset coordinate system, and the first tilt angle information may include a tilt angle or a pitch angle. For example, taking the target component as the guard plate as an example, determine the first inclination angle information of the guard plate relative to the preset coordinate axis in the preset coordinate system, that is, the inclination angle α 1 , as shown in FIG. 3 , which is Schematic diagram showing the inclination angle of the guard board in various working states, wherein 31 represents the preset coordinate system established in the target image, including the
这里,由液压支架的结构可知,前梁的第一倾斜角信息与顶梁的第一倾斜角信息相同,因此,在确定了顶梁的第一倾斜角信息的情况下,即可确定前梁的第一倾斜角信息,不必重复计算。Here, it can be known from the structure of the hydraulic support that the first inclination angle information of the front beam is the same as the first inclination angle information of the top beam. Therefore, when the first inclination angle information of the top beam is determined, the front beam can be determined. The first inclination angle information does not need to be calculated repeatedly.
又比如,以目标构件为顶梁为例,确定顶梁相对于预设坐标系中的预设坐标轴的第一倾斜角信息,即倾斜角α2,参见图4所示,其为顶梁的多种工作状态下的倾斜角的展示示意图。其中,41表示在目标图像中所建立的预设坐标系,包括x坐标轴411和y坐标轴412;图4中的实直线表示顶梁对应的两个目标关键点(即P3和P4)所连直线,虚直线表示与x坐标轴411平行的直线,其中,实直线包括与x坐标轴411成α2=30°的直线421,与x坐标轴411成α2=-30°的直线422。For another example, taking the target member as the top beam as an example, determine the first inclination angle information of the top beam relative to the preset coordinate axis in the preset coordinate system, that is, the inclination angle α 2 , as shown in FIG. 4 , which is the top beam Schematic diagram showing the tilt angle under various working states. Among them, 41 represents the preset coordinate system established in the target image, including the
S104:基于液压支架的姿态信息,确定液压支架的安全状态。S104: Determine the safe state of the hydraulic support based on the attitude information of the hydraulic support.
这里,液压支架的姿态信息能够表征该液压支架的安全状态,具体的,可以是该液压支架中的每个目标构件的姿态信息均满足预设姿态要求,则可以确定该液压支架的安全状态为安全。如果该液压支架中任意目标构件的姿态信息不满足预设姿态要求,则可以确定该液压支架的安全状态为危险。一旦确定液压支架的安全状态为危险,为了保护工作人员的生命安全,需要及时切断液压支架的工作电源,并在工作人员做好安全防护的情况下,及时调整存在危险状态的目标构件。其调整方式可以包括按照目标构件当前所处状态下的第一预设标准信息进行目标构件倾斜角的调整;或者,按照第三预设标准信息进行目标构件伸缩长度的调整。如果该液压支架中任意目标构件的姿态信息不满足预设姿态要求,则可以确定该液压支架的安全状态为危险。一旦确定液压支架的安全状态为危险,为了保护工作人员的生命安全,需要及时切断液压支架的工作电源,并在工作人员做好安全防护的情况下,及时调整存在危险状态的目标构件。其调整方式可以包括按照目标构件当前所处状态下的第一预设标准信息进行目标构件倾斜角的调整;或者,按照第三预设标准信息进行目标构件伸缩长度的调整。Here, the attitude information of the hydraulic support can represent the safety state of the hydraulic support. Specifically, the attitude information of each target component in the hydraulic support can meet the preset attitude requirements, and the safety state of the hydraulic support can be determined as Safety. If the attitude information of any target component in the hydraulic support does not meet the preset attitude requirements, it can be determined that the safety state of the hydraulic support is dangerous. Once the safety state of the hydraulic support is determined to be dangerous, in order to protect the life and safety of the staff, it is necessary to cut off the working power of the hydraulic support in time, and adjust the target components in the dangerous state in time under the condition of safety protection of the staff. The adjustment method may include adjusting the inclination angle of the target member according to the first preset standard information of the current state of the target member; or adjusting the telescopic length of the target member according to the third preset standard information. If the attitude information of any target component in the hydraulic support does not meet the preset attitude requirements, it can be determined that the safety state of the hydraulic support is dangerous. Once the safety state of the hydraulic support is determined to be dangerous, in order to protect the life and safety of the staff, it is necessary to cut off the working power of the hydraulic support in time, and adjust the target components in the dangerous state in time under the condition of safety protection of the staff. The adjustment method may include adjusting the inclination angle of the target member according to the first preset standard information of the current state of the target member; or adjusting the telescopic length of the target member according to the third preset standard information.
在一些实施例中,预设姿态要求可以包括针对第一倾斜角信息的第一预设标准信息。该第一预设标准信息可以是根据历史经验值和实际工作场景进行定义,本公开实施例中不进行具体限定。比如,针对护帮板的倾斜角α1,在确定护帮板的工作场景为关闭状态的情况下,检测护帮板的倾斜角,此时,可以确定护帮板的第一倾斜角的第一预设标准信息为α1=-180°。如果检测出该倾斜角α1≠-180°,则确定该护帮板的安全状态为危险。在确定护帮板的工作场景为打开状态的情况下,检测护帮板的倾斜角,此时,可以确定护帮板的第一倾斜角的第一预设标准信息为α1=0°。如果检测出该倾斜角α1≠0°,则确定该护帮板的安全状态为危险。In some embodiments, the preset attitude requirement may include first preset standard information for the first tilt angle information. The first preset standard information may be defined according to historical experience values and actual working scenarios, which are not specifically limited in the embodiments of the present disclosure. For example, with respect to the inclination angle α 1 of the guard board, when it is determined that the working scene of the guard board is in the closed state, the tilt angle of the guard board is detected, and at this time, the first inclination angle of the guard board can be determined. A preset standard information is α 1 =-180°. If it is detected that the inclination angle α 1 ≠-180°, it is determined that the safety state of the fender is dangerous. When it is determined that the working scene of the guard board is in the open state, the inclination angle of the guard board is detected, and at this time, it can be determined that the first preset standard information of the first tilt angle of the guard board is α 1 =0°. If it is detected that the inclination angle α 1 ≠0°, it is determined that the safety state of the fender is dangerous.
上述S101~S104,通过深度神经网络模型能够预先学习到液压支架全部的关键点,并且针对不同的关键点,能够预测到不同的目标构件的姿态信息。因此,通过识别液压支架,确定目标构件对应的多个目标关键点,并利用该目标关键点的目标位置信息,能够准确计算出液压支架的姿态信息,比如某一目标构件的伸缩长度,或者是某一目标构件的倾斜角等。通过监测液压支架的姿态信息,能够准确得到液压支架的安全状态,比如安全或危险等。之后,工作人员可以根据监测到的液压支架的安全状态,在存在危险情况时,进行及时预警。本方面与现有技术中利用多个传感器相比,完全替代了传统传感器对数据的采集。同时,由于获取图像的方式可以是通过已有的监控摄像头,不需要重新布置拍摄设备,因此,能够降低针对信息采集设备的成本;另外,上述方法基于深度神经网络模型进行图像检测,相比较传统传感器融合多个采集数据,能够提高对液压支架的姿态信息的准确度,进而能够检测到较为精确的液压支架的安全状态。In the above S101 to S104, all the key points of the hydraulic support can be learned in advance through the deep neural network model, and the posture information of different target components can be predicted for different key points. Therefore, by identifying the hydraulic support, determining multiple target key points corresponding to the target component, and using the target position information of the target key point, the posture information of the hydraulic support can be accurately calculated, such as the telescopic length of a certain target component, or The inclination angle of a target component, etc. By monitoring the posture information of the hydraulic support, the safety state of the hydraulic support, such as safe or dangerous, can be accurately obtained. After that, the staff can give timely warning when there is a dangerous situation according to the monitored safety status of the hydraulic support. Compared with the use of multiple sensors in the prior art, this aspect completely replaces the collection of data by traditional sensors. At the same time, since the way of acquiring images can be through existing surveillance cameras, there is no need to rearrange the shooting equipment, so the cost of the information acquisition equipment can be reduced; in addition, the above method is based on the deep neural network model for image detection, compared with the traditional method. The sensor fuses multiple collected data, which can improve the accuracy of the attitude information of the hydraulic support, and then can detect a relatively accurate safety state of the hydraulic support.
针对S103,在一些实施例中,在确定目标构件包括第一构件的情况下,确定液压支架的姿态信息。此时,姿态信息可以包括第一构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息;目标位置信息可以包括第一位置信息。For S103, in some embodiments, in the case where it is determined that the target member includes the first member, the attitude information of the hydraulic support is determined. At this time, the attitude information may include first inclination angle information of the first member relative to the preset coordinate axis in the preset coordinate system; the target position information may include first position information.
具体实施时,针对第一构件,基于位于第一构件的多个目标关键点中每个目标关键点在目标图像中的第一位置信息,分别确定每个目标关键点在预设坐标系下的第二位置信息;基于每个目标关键点在预设坐标系下的第二位置信息,确定第一构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息。In a specific implementation, for the first component, based on the first position information of each target key point in the target image among the multiple target key points located in the first component, the position of each target key point in the preset coordinate system is determined respectively. second position information; based on the second position information of each target key point in the preset coordinate system, determine first inclination angle information of the first member relative to the preset coordinate axis in the preset coordinate system.
这里,根据目标关键点在目标图像中的第一位置信息,确定该目标关键点在预设坐标系下的第二位置信息,具体的,可以根据已经在目标图像中建立的预设坐标系,将确定出的第一位置信息转换为在预设坐标系中的坐标信息,将该坐标信息作为该目标关键点在预设坐标系下的第二位置信息。Here, according to the first position information of the target key point in the target image, the second position information of the target key point in the preset coordinate system is determined. Specifically, according to the preset coordinate system that has been established in the target image, The determined first position information is converted into coordinate information in the preset coordinate system, and the coordinate information is used as the second position information of the target key point in the preset coordinate system.
之后,由于利用第一构件对应的每个目标关键点的第二位置信息,可以表征该第一构件在预设坐标系中的位置,比如,两个目标关键点在预设坐标系中的坐标,可以确定该第一构件在预设坐标系中的直线方程。进而,能够确定该第一构件在预设坐标系中的直线,可以将该直线与预设坐标系中的预设坐标轴的夹角信息作为第一构件的第一倾斜角信息,或者,根据检测任务的需要,还可以将该直线与预设坐标系中的预设坐标轴的夹角的补角信息作为第一构件的第一倾斜角信息。After that, by using the second position information of each target key point corresponding to the first component, the position of the first component in the preset coordinate system can be represented, for example, the coordinates of the two target key points in the preset coordinate system , the straight line equation of the first component in the preset coordinate system can be determined. Further, the straight line of the first member in the preset coordinate system can be determined, and the angle information between the straight line and the preset coordinate axis in the preset coordinate system can be used as the first inclination angle information of the first member, or, according to According to the needs of the detection task, the supplementary angle information of the included angle between the straight line and the preset coordinate axis in the preset coordinate system can also be used as the first inclination angle information of the first member.
示例性的,第一构件可以包括护帮板、顶梁、掩护梁、前连杆。参见图5所示,其为液压支架的一种展示状态的示意图;其中,护帮板相对于预设坐标系中的预设坐标轴的倾斜角为α1,顶梁相对于预设坐标系中的预设坐标轴的倾斜角为α2,掩护梁相对于预设坐标系中的预设坐标轴的倾斜角为α3,前连杆相对于预设坐标系中的预设坐标轴的倾斜角为α4,51表示在目标图像中所建立的预设坐标系,包括x坐标轴511和y坐标轴512;图5中的目标关键点P1和目标关键点P2所连直线521表示护帮板,目标关键点P3和目标关键点P4所连直线522表示顶梁,目标关键点P5和目标关键点P6所连直线523表示掩护梁,目标关键点P7和目标关键点P8所连直线524表示前连杆。虚直线表示与x坐标轴511平行的直线。其中,直线521的倾斜角α1,即与x坐标轴511的夹角α1=-30°;直线522的倾斜角α2,即与x坐标轴511的夹角α2=30°;直线523的倾斜角α3,即与x坐标轴511的夹角α3=60°;直线524的倾斜角α4,即与x坐标轴511的夹角α4=150°。或者,还可以确定前连杆相对于预设坐标系中的预设坐标轴的倾斜角α4=30°,即与x坐标轴511的夹角的补角。Exemplarily, the first member may include a fender, a top beam, a shield beam, and a front link. Referring to FIG. 5 , which is a schematic diagram of a display state of the hydraulic support; wherein, the inclination angle of the guard plate relative to the preset coordinate axis in the preset coordinate system is α 1 , and the top beam is relative to the preset coordinate system. The inclination angle of the preset coordinate axis in the The inclination angle is α 4 , and 51 represents the preset coordinate system established in the target image, including the
这里,由于深度神经网络模型能够精准确定每个第一构件中的多个目标关键点,因此,能够根据准确的多个目标关键点确定该目标关键点精准的第一位置信息,进而得到第一位置信息转换到预设坐标系下的精准的第二位置信息。由于第一倾斜角信息是在预设坐标系下进行分析得到的,因此,利用精准的第二位置信息,即可得到精准的第一倾斜角信息。Here, since the deep neural network model can accurately determine multiple target key points in each first component, the precise first position information of the target key point can be determined according to the multiple accurate target key points, and then the first key point can be obtained. The position information is converted into accurate second position information under the preset coordinate system. Since the first inclination angle information is obtained through analysis in the preset coordinate system, accurate first inclination angle information can be obtained by using the accurate second position information.
针对S103,在一些实施例中,在确定目标构件包括第二构件的情况下,确定液压支架的姿态信息。此时,姿态信息包括第二构件的伸缩长度信息;该第二构件对应的多个目标关键点可以包括第一关键点和第二关键点。目标位置信息可以包括第三位置信息和第四位置信息。这里,第二构件包括可伸缩的构件,比如液压支架中的前梁,前梁为套接在顶梁内的,可伸缩。前梁在工作过程中,根据任务需要,可调整伸缩长度。示例性的,在当前任务为伸出任务的情况下,可以控制前梁伸出某一距离L1;在下一任务为缩回任务的情况下,再控制前梁从当前位置缩回某一距离L2。这里,前梁的伸出量L1或缩回量L2是根据任务需要进行调整的,并不固定。For S103, in some embodiments, in the case where it is determined that the target member includes the second member, the attitude information of the hydraulic support is determined. At this time, the posture information includes the telescopic length information of the second member; the multiple target key points corresponding to the second member may include the first key point and the second key point. The target location information may include third location information and fourth location information. Here, the second member includes a telescopic member, such as a front beam in a hydraulic support, and the front beam is sleeved in the top beam and is telescopic. During the working process of the front beam, the telescopic length can be adjusted according to the needs of the task. Exemplarily, when the current task is an extension task, the front beam can be controlled to extend a certain distance L 1 ; when the next task is a retraction task, the front beam can be controlled to retract a certain distance from the current position. L 2 . Here, the protruding amount L 1 or the retracting amount L 2 of the front beam is adjusted according to the needs of the task, and is not fixed.
伸缩长度信息可以包括第二构件的伸出量或缩回量,例如,前梁伸出量,或前梁缩回量。以前梁伸出为例,前梁伸出过程包括多个状态,比如,停止状态-伸出状态-停止状态,前梁从上一停止状态到下一停止状态所伸出的长度,即为当前工作时段前梁伸出量。又例如,以前梁缩回为例,前梁缩回过程包括多个状态,比如,停止状态-缩回状态-停止状态,而前梁从上一停止状态到下一停止状态所缩回的长度,即为当前时刻前梁缩回量。The telescoping length information may include the amount of extension or retraction of the second member, eg, the amount of extension of the front beam, or the amount of retraction of the front beam. Taking the extension of the front beam as an example, the extension process of the front beam includes multiple states, for example, the stop state - the extension state - the stop state, and the length of the front beam extending from the previous stop state to the next stop state is the current Front beam extension during working hours. For another example, taking the retraction of the front beam as an example, the retraction process of the front beam includes multiple states, such as a stop state-retraction state-stop state, and the length of the front beam retracted from the previous stop state to the next stop state , which is the retraction amount of the front beam at the current moment.
具体实施时,针对第二构件,确定位于第二构件上的第一关键点以及与第二构件对应的第二关键点;第二关键点位于与第二构件相连的其他目标构件上;基于第一关键点在目标图像中的第三位置信息和第二关键点在目标图像中的第四位置信息,确定第一关键点和第二关键点之间的距离信息;基于距离信息,确定第二构件的伸缩长度信息。During specific implementation, with respect to the second component, a first key point located on the second component and a second key point corresponding to the second component are determined; the second key point is located on other target components connected to the second component; based on the first key point on the second component The third position information of a key point in the target image and the fourth position information of the second key point in the target image, determine the distance information between the first key point and the second key point; based on the distance information, determine the second key point The telescopic length information of the component.
这里,根据第一关键点在目标图像中的第三位置信息,确定该第一关键点在预设坐标系下的第五位置信息;根据第二关键点在目标图像中的第四位置信息,确定该第二关键点在预设坐标系下的第六位置信息。具体的,可以根据已经在目标图像中建立的预设坐标系,将确定出的第三位置信息转换为在预设坐标系中的坐标信息,将该坐标信息作为该第一关键点在预设坐标系下的第五位置信息;将确定出的第四位置信息转换为在预设坐标系中的坐标信息,将该坐标信息作为该第二关键点在预设坐标系下的第六位置信息。Here, according to the third position information of the first key point in the target image, the fifth position information of the first key point in the preset coordinate system is determined; according to the fourth position information of the second key point in the target image, The sixth position information of the second key point in the preset coordinate system is determined. Specifically, according to the preset coordinate system that has been established in the target image, the determined third position information can be converted into coordinate information in the preset coordinate system, and the coordinate information can be used as the first key point in the preset coordinate system. The fifth position information under the coordinate system; convert the determined fourth position information into coordinate information in the preset coordinate system, and use the coordinate information as the sixth position information of the second key point under the preset coordinate system .
之后,可以利用第二构件对应的第一关键点的第五位置信息所指示的坐标和第二关键点的第六位置信息所是指的坐标,确定两坐标之间的距离,也可表示为第一关键点和第二关键点之间的距离。这里,第一关键点可以为第二构件上的关键点,第二关键点可以为与第二构件相连的其他目标构件上的关键点。After that, the coordinates indicated by the fifth position information of the first key point corresponding to the second component and the coordinates indicated by the sixth position information of the second key point can be used to determine the distance between the two coordinates, which can also be expressed as The distance between the first keypoint and the second keypoint. Here, the first key point may be a key point on the second component, and the second key point may be a key point on other target components connected to the second component.
针对其他目标构件,在一些实施例中,在第二构件为单个的情况下,其他目标构件可以为与第二构件相连的其他类别的构件,例如,在第二构件为前梁,且前梁为单个伸缩梁的情况下,其他目标构架可以为与前梁相连的顶梁。For other target members, in some embodiments, in the case where the second member is a single member, the other target members may be other types of members connected to the second member, for example, when the second member is a front beam, and the front beam In the case of a single telescopic beam, the other target frame may be a top beam connected to the front beam.
在另一些实施例中,在第二构件为多个的情况下,其他目标构件可以包括与第二构件相连的其他类别的其他构件(不为第二构件,比如顶梁),或者,包括与第二构件相连的同一类别的第二构件。例如,前梁包括多节伸缩梁,即为第一节伸缩梁,第二节伸缩梁,第三节伸缩梁,其中第一节伸缩梁的一端与顶梁连接,另一端与第二节伸缩梁连接,第三节伸缩梁一端与第二节伸缩梁连接,另一端与护帮板相连;在第二构件为第一节伸缩梁的情况下,其他目标构架可以为与第一节伸缩梁相连的顶梁;在第二构件为第二节伸缩梁的情况下,其他目标构架可以为与第二节伸缩梁相连的第一节伸缩梁或第三节伸缩梁;在第二构件为第三节伸缩梁的情况下,其他目标构架可以为与第三节伸缩梁相连的第二节伸缩梁。In other embodiments, when there are multiple second members, other target members may include other types of other members (not the second member, such as a roof beam) connected to the second member, or include other target members connected to the second member. A second member of the same class to which the second member is connected. For example, the front beam includes multiple telescopic beams, namely the first telescopic beam, the second telescopic beam, and the third telescopic beam, wherein one end of the first telescopic beam is connected to the top beam, and the other end is telescopic with the second section Beam connection, one end of the third telescopic beam is connected with the second telescopic beam, and the other end is connected with the guard board; in the case where the second component is the first telescopic beam, other target structures can be connected with the first telescopic beam Connected roof beam; in the case where the second member is the second telescopic beam, the other target frame can be the first telescopic beam or the third telescopic beam connected to the second telescopic beam; when the second member is the first telescopic beam or the third telescopic beam; In the case of three telescopic beams, the other target frame may be the second telescopic beam connected to the third telescopic beam.
可以预先为第二构件定义对应的其他目标构件上的关键点,即第二关键点,延续上例,在第二构件为前梁,且前梁为单个伸缩梁的情况下,预先定义的第二关键点可以为,与前梁相连的顶梁上的前端点4(参见图2所示),前梁的第一关键点可以为前梁的前端点3(参见图2所示)。延续上例,在第二构件为前梁,且前梁为多节伸缩梁的情况下,预先定义第二关键点,具体的,可以包括与第三节伸缩梁相连的第二节伸缩梁上的前端点,此时,第三节伸缩梁的第一关键点可以为第三节伸缩梁的前端点。或者,包括与第二节伸缩梁相连的第一节伸缩梁上的前端点,此时,第二节伸缩梁的第一关键点可以为第二节伸缩梁的前端点。或者,包括与第一节伸缩梁相连的顶梁上的前端点,此时,第一节伸缩梁的第一关键点可以为第一节伸缩梁的前端点。The key points on other target members corresponding to the second member can be defined in advance, that is, the second key point. Continuing the above example, when the second member is the front beam, and the front beam is a single telescopic beam, the pre-defined first The two key points may be the front end point 4 on the top beam connected to the front beam (see FIG. 2 ), and the first key point of the front beam may be the front end point 3 of the front beam (see FIG. 2 ). Continuing the above example, in the case where the second member is the front beam, and the front beam is a multi-section telescopic beam, the second key point is pre-defined. At this time, the first key point of the third section of the telescopic beam may be the front end point of the third section of the telescopic beam. Alternatively, the front end point of the first telescopic beam connected to the second telescopic beam is included. In this case, the first key point of the second telescopic beam may be the front end of the second telescopic beam. Alternatively, the front end point on the top beam connected to the first telescopic beam section is included. In this case, the first key point of the first telescopic beam section may be the front end point of the first telescopic beam section.
之后,根据第一关键点和第二关键点之间的距离,确定第二构件的伸缩长度信息,比如,从前梁开始伸出到停止伸出时间内,第一关键点相对于第二关键点的距离,即可以为前梁的伸出长度。如果有多组第一关键点和第二关键点,分别确定每组第一关键点相对于第二关键点之间的距离,并将其累加,得到前梁总的伸出长度。Afterwards, according to the distance between the first key point and the second key point, the telescopic length information of the second member is determined. The distance is the extension length of the front beam. If there are multiple sets of first key points and second key points, respectively determine the distance between each set of first key points relative to the second key point, and accumulate them to obtain the total extension length of the front beam.
这里,由于深度神经网络模型能够精准确定每个第二构件中的第一关键点,以及预先为第二构件设置的相匹配的第二关键点,因此,能够根据准确的第一关键点和第二关键点确定其分别对应的精准的第三位置信息和第四位置信息。由于精确的第三位置信息和第四位置信息,根据二者之间的变化程度,即可确定第一关键点和第二关键点之间准确的距离信息,进而确定准确的第二构件的伸缩长度信息。Here, since the deep neural network model can accurately determine the first key point in each second component and the matching second key point set for the second component in advance, it can be based on the accurate first key point and the first key point. The two key points determine their corresponding precise third position information and fourth position information respectively. Due to the accurate third position information and the fourth position information, according to the degree of change between the two, the accurate distance information between the first key point and the second key point can be determined, and then the accurate expansion and contraction of the second member can be determined. length information.
针对S104,在确定了液压支架的姿态信息的情况下,还可以进一步基于液压支架的姿态信息确定该液压支架的安全状态。For S104, when the posture information of the hydraulic support is determined, the safety state of the hydraulic support may be further determined based on the posture information of the hydraulic support.
利用第一倾斜角信息判断液压支架的安全状态。在一些实施例中,首先,可以先获取与第一构件相对应的第一预设标准信息;之后,在第一构件的第一倾斜角信息与对应的第一预设标准信息相匹配的情况下,才能够确定该液压支架的安全状态为安全。示例性的,针对液压支架中的每个第一构件,在每个第一构件的倾斜角均位于与其对应的第一预设标准信息所指示的预设倾斜角范围的情况下,可以确定该液压支架的安全状态为安全。比如,针对护帮板的倾斜角α1,在确定护帮板的工作场景为关闭状态的情况下,检测护帮板的倾斜角,并确定护帮板关闭状态下的预设倾斜角范围,即如果检测出护帮板的倾斜角则确定该护帮板的安全状态为安全;同理,分别确定液压支架中的顶梁、掩护梁、前连杆等支架梁的倾斜角,在每个支架梁的倾斜角分别位于与其各自对应的第一预设标准信息所指示的预设倾斜角范围的情况下,确定顶梁、掩护梁、前连杆的安全状态为安全,即确定液压支架的安全状态为安全。反之,针对液压支架中的任意一个第一构件,如果任意一个第一构件的第一倾斜角信息与其对应的第一预设标准信息不相匹配,即,任意一个第一构件的倾斜角不位于预设倾斜角范围,则可以确定该液压支架的安全状态为危险。延续上例,如果检测出护帮板的倾斜角或则确定该护帮板的安全状态为危险。此时不必再继续确定其他第一构件的安全状态,即可确定液压支架的安全状态为危险。The safety state of the hydraulic support is judged by using the first inclination angle information. In some embodiments, first, the first preset standard information corresponding to the first member may be obtained first; then, when the first inclination angle information of the first member matches the corresponding first preset standard information Only then can the safety state of the hydraulic support be determined to be safe. Exemplarily, for each first member in the hydraulic support, when the inclination angle of each first member is located in the preset inclination angle range indicated by the corresponding first preset standard information, it can be determined that the The safe state of the hydraulic support is safe. For example, with respect to the inclination angle α 1 of the guard plate, when it is determined that the working scene of the guard plate is in the closed state, the inclination angle of the guard plate is detected, and the preset inclination angle range in the closed state of the guard plate is determined, which is If the tilt angle of the guard plate is detected Then it is determined that the safety state of the guard plate is safe; in the same way, the inclination angles of the support beams such as the top beam, the cover beam, and the front connecting rod in the hydraulic support are respectively determined, and the inclination angle of each support beam is located at its corresponding In the case of the preset tilt angle range indicated by the first preset standard information, the safety state of the top beam, the cover beam, and the front link is determined to be safe, that is, the safety state of the hydraulic support is determined to be safe. On the contrary, for any first member in the hydraulic support, if the first inclination angle information of any first member does not match its corresponding first preset standard information, that is, the inclination angle of any first member is not located in With a preset tilt angle range, it can be determined that the safe state of the hydraulic support is dangerous. Continuing the above example, if the tilt angle of the guard plate is detected or Then it is determined that the safety state of the guard board is dangerous. At this time, it is not necessary to continue to determine the safety state of other first components, and it can be determined that the safety state of the hydraulic support is dangerous.
这里,第一构件的不同工作状态下的预设倾斜角范围不同,第一预设标准信息所指示的预设倾斜角范围可以是根据历史经验值或实际工作场景进行定义,本公开实施例中不进行具体限定。Here, the preset inclination angle ranges of the first component in different working states are different, and the preset inclination angle range indicated by the first preset standard information may be defined according to historical experience values or actual working scenarios. No specific limitation is made.
示例性的,煤矿井下液压支架在实际工作中需要和割煤机、刮板机配合实现三机联动工作,如果液压支架中的护帮板未及时收起,则会导致割煤机和护帮板碰撞事故,造成重大安全生产事故。如果液压支架中的护帮板收起后未及时打开,同样会导致片帮冒顶等事故,影响井下工人生命安全。因此,在确定液压支架的安全状态为危险时,需要及时向工作人员发送预警提示信息,或者,直接控制后台系统将该液压支架停机,避免井下安全和生产事故发生。Exemplarily, the hydraulic support in the coal mine needs to cooperate with the coal cutter and the scraper to realize the three-machine linkage work in actual work. Plate collision accident, resulting in a major safety production accident. If the guard plate in the hydraulic support is not opened in time after being stowed, it will also lead to accidents such as the collapse of the roof, affecting the safety of underground workers. Therefore, when it is determined that the safety state of the hydraulic support is dangerous, it is necessary to send early warning information to the staff in time, or directly control the background system to stop the hydraulic support to avoid underground safety and production accidents.
利用第一倾斜角信息和伸缩长度信息判断液压支架的安全状态。在另一些实施例中,还可以获取与第一构件相对应的第二预设标准信息,以及与第二构件相对应的第三预设标准信息;之后,在第一构件的第一倾斜角信息与对应的第二预设标准信息相匹配,并且第二构件的伸缩长度信息与对应的第三预设标准信息相匹配的情况下,确定液压支架的安全状态为安全。反之,如果液压支架中的任意一个第一构件的第一倾斜角信息与其对应的第二预设标准信息不相匹配,或者,液压支架中的任意一个第二构件的伸缩长度信息与其对应的第三预设标准信息不相匹配,则可以确定该液压支架的安全状态为危险。The safety state of the hydraulic support is judged by using the first inclination angle information and the telescopic length information. In other embodiments, the second preset standard information corresponding to the first member and the third preset standard information corresponding to the second member may also be acquired; after that, at the first inclination angle of the first member When the information matches the corresponding second preset standard information, and the telescopic length information of the second member matches the corresponding third preset standard information, it is determined that the safety state of the hydraulic support is safe. Conversely, if the first inclination angle information of any first member in the hydraulic support does not match its corresponding second preset standard information, or, the telescopic length information of any second member in the hydraulic support and its corresponding first If the three preset standard information do not match, it can be determined that the safety state of the hydraulic support is dangerous.
这里,第二预设标准信息和第三预设标准信息都可以是根据历史经验值或实际工作场景进行定义,本公开实施例中不进行具体限定。Here, both the second preset standard information and the third preset standard information may be defined according to historical experience values or actual working scenarios, which are not specifically limited in the embodiments of the present disclosure.
示例性的,只有在护帮板、顶梁、掩护梁和前连杆分别对应的倾斜角,均位于与其对应的第二预设标准信息指示的预设倾斜角范围,并且前梁的伸缩长度信息与第三预设标准信息相匹配的情况下,才可以确定该液压支架的安全状态为安全。如果任意一个支架梁,比如前梁,在确定其工作场景为全伸出状态的情况下,已知全伸出状态下前梁对应的第三预设标准信息指示前梁伸出量为1.5m,此时,如果确定前梁的实际伸出长度为1m的情况下,确定前梁的安全状态为危险,进而确定整个液压支架的安全状态为危险。Exemplarily, only the inclination angles corresponding to the fenders, the top beam, the shield beam and the front link are all within the preset inclination angle range indicated by the corresponding second preset standard information, and the telescopic length of the front beam is Only when the information matches the third preset standard information, it can be determined that the safety state of the hydraulic support is safe. If any one of the support beams, such as the front beam, is determined to be in the fully extended state, it is known that the third preset standard information corresponding to the front beam in the fully extended state indicates that the extension of the front beam is 1.5m , at this time, if it is determined that the actual extension length of the front beam is 1m, the safety state of the front beam is determined to be dangerous, and then the safety state of the entire hydraulic support is determined to be dangerous.
这里,检测前梁的伸缩长度信息,即实际伸缩长度,包括前梁伸出量或前梁缩回量,具体的,已知目标图像中相邻像素点之间的距离,以及实际长度与图像长度的比例C,由于该比例不变,因此,可以通过检测前梁在目标图像中第一关键点和第二关键点之间的距离L3,即图像长度,确定前梁的实际伸缩长度L4=C×L3。Here, the telescopic length information of the front beam is detected, that is, the actual telescopic length, including the extension of the front beam or the retraction of the front beam. Specifically, the distance between adjacent pixels in the known target image, and the actual length and the image are known. The ratio C of the length, since the ratio remains unchanged, the actual telescopic length L of the front beam can be determined by detecting the distance L 3 between the first key point and the second key point of the front beam in the target image, that is, the image length 4 =C×L 3 .
另外,第二构件的第二倾斜角信息可以为,与该第二构件相连的其他目标构件的第一倾斜角信息。在一些实施例中,在第一构件的第一倾斜角信息与对应的第二预设标准信息相匹配、第二构件的伸缩长度信息与对应的第三预设标准信息相匹配、并且第二构件的第二倾斜角信息与对应的第四预设标准信息相匹配的情况下,确定液压支架的安全状态为安全。其中,第四预设标准信息可以包括与第二构件相连的其他目标构件对应的第二预设标准信息。In addition, the second inclination angle information of the second member may be the first inclination angle information of other target members connected to the second member. In some embodiments, the first inclination angle information of the first member matches the corresponding second preset standard information, the telescopic length information of the second member matches the corresponding third preset standard information, and the second When the second inclination angle information of the component matches the corresponding fourth preset standard information, it is determined that the safety state of the hydraulic support is safe. The fourth preset standard information may include second preset standard information corresponding to other target components connected to the second component.
在另一些实施例中,可以实时记录有与该液压支架同时工作的其他液压支架的姿态信息,其他液压支架可以有多个。只有保证同时工作的大部分或全部液压支架彼此之间姿态信息相同,才可以确保矿井工作环境的安全状态为安全。因此,判断液压支架的安全状态,还可以将检测到的液压支架的姿态信息与该液压支架同时工作的其他液压支架的姿态信息进行匹配。In other embodiments, the posture information of other hydraulic supports working simultaneously with the hydraulic support may be recorded in real time, and there may be multiple other hydraulic supports. Only by ensuring that most or all of the hydraulic supports working at the same time have the same attitude information, the safe state of the mine working environment can be ensured. Therefore, in order to determine the safety state of the hydraulic support, the detected attitude information of the hydraulic support can also be matched with the attitude information of other hydraulic supports working simultaneously with the hydraulic support.
具体实施时,可以先获取与液压支架同时工作的其他液压支架的姿态信息;基于液压支架的姿态信息,与其他液压支架中的液压支架的姿态信息相匹配的情况,确定相匹配的其他液压支架中液压支架的匹配个数;在匹配个数大于预设阈值的情况下,确定液压支架的安全状态为安全。In the specific implementation, the attitude information of other hydraulic supports working simultaneously with the hydraulic support can be obtained first; based on the attitude information of the hydraulic support, if the attitude information of the hydraulic support in the other hydraulic supports matches with the attitude information of the hydraulic supports in the other hydraulic supports, other matching hydraulic supports are determined. The matching number of hydraulic supports in the middle; when the matching number is greater than the preset threshold, it is determined that the safety state of the hydraulic supports is safe.
这里,可以根据同时工作的液压支架的总数量、实际应用场景以及经验值设定预设阈值,本公开实施例不进行具体限定。例如,一般情况下,存在同时工作的10个液压支架,分别即为1,2,……10,如果当前液压支架10,与前8个液压支架(2~9)的姿态信息均匹配,只与液压支架1的姿态信息不匹配,则可以确定当前液压支架10的安全状态为安全,液压支架1的安全状态为危险。Here, the preset threshold may be set according to the total number of hydraulic supports working simultaneously, actual application scenarios, and empirical values, which are not specifically limited in this embodiment of the present disclosure. For example, in general, there are 10 hydraulic supports working at the same time, namely 1, 2, ... 10. If the current hydraulic support 10 matches the posture information of the first 8 hydraulic supports (2-9), only If the posture information of the
示例性的,以煤矿开采应用场景为例,有多个液压支架共同作业,其中,需要保证每个液压支架姿态信息都相同。因此,在检测液压支架的安全状态时,可以仅比较液压支架的姿态信息与该液压支架的前一个液压支架(即其他液压支架)的姿态信息是否匹配,如果匹配,则可以确定液压支架的安全状态为安全。如果不匹配,则确定液压支架的安全状态为危险,进而确定整个煤矿开采任务危险,及时向工作人员法发送预警提示信息。Exemplarily, taking a coal mining application scenario as an example, there are multiple hydraulic supports working together, and it is necessary to ensure that the attitude information of each hydraulic support is the same. Therefore, when detecting the safety state of the hydraulic support, it is only possible to compare whether the attitude information of the hydraulic support matches the attitude information of the previous hydraulic support (that is, other hydraulic supports) of the hydraulic support, and if they match, the safety of the hydraulic support can be determined. Status is safe. If it does not match, it is determined that the safety state of the hydraulic support is dangerous, and then the entire coal mining task is determined to be dangerous, and early warning information is sent to the staff law in time.
针对S101,确定目标图像的过程,具体的,获取拍摄设备拍摄到的包括液压支架的原始图像;识别原始图像中的液压支架,并确定液压支架对应的检测框;基于检测框从原始图像中截取液压支架对应的目标图像。For S101, the process of determining the target image, specifically, acquiring the original image including the hydraulic support captured by the photographing device; identifying the hydraulic support in the original image, and determining the detection frame corresponding to the hydraulic support; intercepting the original image based on the detection frame The target image corresponding to the hydraulic support.
这里,拍摄设备可以为摄像头等,用于拍摄液压支架的设备。检测框为在原始图像中标记液压支架的标识信息,包括指示检测框位置的坐标信息。根据指示检测框位置的坐标信息,确定液压支架的在原始图像中的区域图像(即部分原始图像),将该区域图像从原始图像中截取出来,可以得到液压支架对应的目标图像。Here, the photographing device may be a camera, etc., a device for photographing the hydraulic support. The detection frame is the identification information marking the hydraulic support in the original image, including coordinate information indicating the position of the detection frame. According to the coordinate information indicating the position of the detection frame, determine the region image of the hydraulic support in the original image (ie, part of the original image), and cut the region image from the original image to obtain the target image corresponding to the hydraulic support.
示例性的,可以利用目标检测网络,比如Faster RCNN、SSD、YOLO v2&v3等检测网络,识别原始图像中的液压支架,确定液压支架对应的检测框。Exemplarily, a target detection network, such as Faster RCNN, SSD, YOLO v2&v3 and other detection networks, can be used to identify the hydraulic support in the original image, and determine the detection frame corresponding to the hydraulic support.
这里,确定出的液压支架对应的检测框,该检测框能够以最小范围包含整个液压支架,之后,截取该检测框所框出的部分原始图像作为目标图像,即目标图像尺寸小于原始图像,能够节省后续识别目标图像中液压支架的时间,进而提高后续状态检测的效率。Here, the detection frame corresponding to the hydraulic support is determined, and the detection frame can include the entire hydraulic support in the smallest range. After that, a part of the original image framed by the detection frame is intercepted as the target image, that is, the size of the target image is smaller than the original image. The time for subsequent identification of the hydraulic support in the target image is saved, thereby improving the efficiency of subsequent state detection.
在一些实施例中,本公开实施例可以利用预先训练好的深度神经网络模型执行,其中,该深度神经网络模型的训练过程可以包括以下步骤:In some embodiments, the embodiments of the present disclosure may be performed using a pre-trained deep neural network model, wherein the training process of the deep neural network model may include the following steps:
步骤1、获取待训练的目标数据集。
其中,目标数据集可以包括多张包含液压支架的图片。示例性的,该图片可以是从拍摄液压支架的视频中抽取的具有不同姿态的液压支架图片。Among them, the target dataset may include multiple pictures containing hydraulic supports. Exemplarily, the picture may be a picture of a hydraulic support with different postures extracted from a video of the hydraulic support.
步骤2、针对每张图片,获取用户输入的用于标记图片中液压支架的标记信息,并为图片进行标记处理,得到液压支架对应的预设关键点。Step 2: For each picture, obtain the mark information input by the user for marking the hydraulic support in the picture, and perform mark processing for the picture to obtain preset key points corresponding to the hydraulic support.
其中,该标记信息可以为预设关键点的位置信息。Wherein, the marking information may be position information of preset key points.
步骤3、识别每张图片中的液压支架,确定液压支架对应的训练检测框。Step 3. Identify the hydraulic support in each picture, and determine the training detection frame corresponding to the hydraulic support.
这里,训练过程中确定液压支架的训练检测框的过程,可以参见与实际应用中的状态检测过程确定液压支架的检测框的过程相同,重复部分在此不再赘述。Here, the process of determining the training detection frame of the hydraulic support in the training process can be referred to as the process of determining the detection frame of the hydraulic support in the state detection process in practical applications, and the repeated parts will not be repeated here.
步骤4、基于液压支架对应的训练检测框,确定与训练检测框对应的训练图像。Step 4: Determine a training image corresponding to the training detection frame based on the training detection frame corresponding to the hydraulic support.
具体的,可以是将训练检测框对应的部分图片截取出来,得到训练图像。Specifically, a part of the picture corresponding to the training detection frame may be cut out to obtain the training image.
步骤5、利用标记有预设关键点的训练图像对待训练的深度神经网络模型进行训练,得到训练好的深度神经网络模型。Step 5. Use the training images marked with preset key points to train the deep neural network model to be trained to obtain a trained deep neural network model.
这里,训练好的目标神经网络能够输出液压支架对应的目标关键点的位置信息。Here, the trained target neural network can output the position information of the target key points corresponding to the hydraulic support.
示例性的,上述深度神经网络模型可以为姿态估计模型,比如姿态估计mmpose中的HRnet。Exemplarily, the above-mentioned deep neural network model may be an attitude estimation model, such as HRnet in attitude estimation mmpose.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of the specific implementation, the writing order of each step does not mean a strict execution order but constitutes any limitation on the implementation process, and the specific execution order of each step should be based on its function and possible Internal logic is determined.
基于同一发明构思,本公开实施例中还提供了与状态检测方法对应的状态检测装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述状态检测方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides a state detection device corresponding to the state detection method. Reference may be made to the implementation of the method, and repeated descriptions will not be repeated.
参照图6所示,为本公开实施例提供的一种状态检测装置的示意图,所述装置包括:图像获取模块601、关键点确定模块602、信息确定模块603和状态检测模块604;其中,Referring to FIG. 6 , which is a schematic diagram of a state detection device provided by an embodiment of the present disclosure, the device includes: an
图像获取模块601,用于获取目标图像;an
关键点确定模块602,用于识别所述目标图像中的液压支架,并确定所述液压支架中的至少一个目标构件对应的多个目标关键点;A key
信息确定模块603,用于基于所述目标关键点的目标位置信息,确定所述液压支架的姿态信息;an
状态检测模块604,用于基于所述液压支架的姿态信息,确定所述液压支架的安全状态。The
一种可选的实施方式中,所述目标构件包括第一构件;所述姿态信息包括所述第一构件相对于预设坐标系中的预设坐标轴的第一倾斜角信息;所述目标位置信息包括第一位置信息;In an optional implementation manner, the target member includes a first member; the attitude information includes first inclination angle information of the first member relative to a preset coordinate axis in a preset coordinate system; the target The location information includes first location information;
所述信息确定模块603,用于针对所述第一构件,基于位于所述第一构件的多个目标关键点中每个目标关键点在所述目标图像中的第一位置信息,分别确定每个所述目标关键点在所述预设坐标系下的第二位置信息;基于每个所述目标关键点在所述预设坐标系下的第二位置信息,确定所述第一构件相对于所述预设坐标系中的预设坐标轴的第一倾斜角信息。The
一种可选的实施方式中,所述目标构件还包括第二构件;所述姿态信息还包括所述第二构件的伸缩长度信息;所述目标关键点包括第一关键点和第二关键点;所述目标位置信息包括第三位置信息和第四位置信息;In an optional implementation manner, the target member further includes a second member; the posture information further includes telescopic length information of the second member; the target key point includes a first key point and a second key point ; The target position information includes third position information and fourth position information;
所述信息确定模块603,用于针对所述第二构件,确定位于所述第二构件上的第一关键点以及与所述第二构件对应的第二关键点;所述第二关键点位于与所述第二构件相连的其他目标构件上;基于所述第一关键点在所述目标图像中的第三位置信息和所述第二关键点在所述目标图像中的第四位置信息,确定所述第一关键点和所述第二关键点之间的距离信息;基于所述距离信息,确定所述第二构件的伸缩长度信息。The
一种可选的实施方式中,所述关键点确定模块602,用于确定所述液压支架的类型信息;基于所述类型信息对所述目标图像进行识别,确定所述液压支架中的至少一个目标构件对应的多个目标关键点。In an optional implementation manner, the key
一种可选的实施方式中,所述状态检测模块604,用于获取与所述第一构件相对应的第一预设标准信息;在所述第一构件的第一倾斜角信息与对应的所述第一预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the
一种可选的实施方式中,所述状态检测模块604,用于获取与所述第一构件相对应的第二预设标准信息,以及与所述第二构件相对应的第三预设标准信息;在所述第一构件的第一倾斜角信息与对应的所述第二预设标准信息相匹配,并且所述第二构件的伸缩长度信息与对应的所述第三预设标准信息相匹配的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the
一种可选的实施方式中,所述状态检测模块604,用于获取与所述液压支架同时工作的其他液压支架的姿态信息;基于所述液压支架的姿态信息,与所述其他液压支架中的液压支架的姿态信息相匹配的情况,确定相匹配的所述其他液压支架中液压支架的匹配个数;在所述匹配个数大于预设阈值的情况下,确定所述液压支架的安全状态为安全。In an optional implementation manner, the
一种可选的实施方式中,所述图像获取模块601,用于获取拍摄设备拍摄到的包括所述液压支架的原始图像;识别所述原始图像中的液压支架,并确定所述液压支架对应的检测框;基于所述检测框从所述原始图像中截取所述液压支架对应的目标图像。In an optional implementation manner, the
一种可选的实施方式中,所述目标构件包括所述液压支架中的支架梁。In an optional embodiment, the target member includes a support beam in the hydraulic support.
关于状态检测装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述状态检测方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the state detection apparatus and the interaction flow between the modules, reference may be made to the relevant description in the above-mentioned embodiment of the state detection method, which will not be described in detail here.
基于同一技术构思,本申请实施例还提供了一种计算机设备。参照图7所示,为本申请实施例提供的计算机设备的结构示意图,包括:Based on the same technical concept, the embodiments of the present application also provide a computer device. Referring to FIG. 7 , a schematic structural diagram of a computer device provided by an embodiment of the present application includes:
处理器71、存储器72和总线73。其中,存储器72存储有处理器71可执行的机器可读指令,处理器71用于执行存储器72中存储的机器可读指令,所述机器可读指令被处理器71执行时,处理器71执行下述步骤:S101:获取目标图像;S102:识别目标图像中的液压支架,并确定液压支架中的至少一个目标构件对应的多个目标关键点;S103:基于目标关键点的目标位置信息,确定液压支架的姿态信息;S104:基于液压支架的姿态信息,确定液压支架的安全状态。
上述存储器72包括内存721和外部存储器722;这里的内存721也称内存储器,用于暂时存放处理器71中的运算数据,以及与硬盘等外部存储器722交换的数据,处理器71通过内存721与外部存储器722进行数据交换,当计算机设备运行时,处理器71与存储器72之间通过总线73通信,使得处理器71在执行上述方法实施例中所提及的执行指令。The above-mentioned
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的状态检测方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is run by a processor, the steps of the state detection method described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例还提供一种计算机程序产品,包括计算机指令,所述计算机指令被处理器执行时实现上述的状态检测方法的步骤。其中,计算机程序产品可以是任何能实现上述状态检测方法的产品,该计算机程序产品中对现有技术做出贡献的部分或全部方案可以以软件产品(例如软件开发包(Software Development Kit,SDK))的形式体现,该软件产品可以被存储在一个存储介质中,通过包含的计算机指令使得相关设备或处理器执行上述状态检测方法的部分或全部步骤。Embodiments of the present disclosure further provide a computer program product, including computer instructions, which implement the steps of the above state detection method when the computer instructions are executed by a processor. Wherein, the computer program product can be any product that can realize the above state detection method, and some or all of the solutions that contribute to the prior art in the computer program product can be software products (for example, a software development kit (Software Development Kit, SDK)) ), the software product can be stored in a storage medium, and the computer instructions contained therein cause the relevant device or processor to execute some or all of the steps of the above state detection method.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个模块或组件可以结合,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that, for the convenience and brevity of description, for the specific working process of the device described above, reference may be made to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus and method may be implemented in other manners. The apparatus embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or components may be combined. Or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some communication interfaces, indirect coupling or communication connection of devices or modules, which may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本公开各个实施例中的各功能模块可以集成在一个处理模块中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。In addition, each functional module in each embodiment of the present disclosure may be integrated into one processing module, or each module may exist physically alone, or two or more modules may be integrated into one module.
所述功能如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-OnlyMemory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software function modules and sold or used as independent products, they may be stored in a processor-executable non-volatile computer-readable storage medium. Based on such understanding, the technical solutions of the present disclosure can be embodied in the form of software products in essence, or the parts that contribute to the prior art or the parts of the technical solutions. The computer software products are stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure rather than limit them. The protection scope of the present disclosure is not limited thereto, although referring to the foregoing The embodiments describe the present disclosure in detail. Those of ordinary skill in the art should understand that: any person skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed by the present disclosure. Changes can be easily thought of, or equivalent replacements are made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be covered in the present disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims (12)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111114374.2A CN113838133A (en) | 2021-09-23 | 2021-09-23 | A state detection method, apparatus, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111114374.2A CN113838133A (en) | 2021-09-23 | 2021-09-23 | A state detection method, apparatus, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113838133A true CN113838133A (en) | 2021-12-24 |
Family
ID=78969327
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111114374.2A Pending CN113838133A (en) | 2021-09-23 | 2021-09-23 | A state detection method, apparatus, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113838133A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114743149A (en) * | 2022-04-29 | 2022-07-12 | 上海商汤科技开发有限公司 | Motion detection method, motion detection device, electronic device, and storage medium |
CN114882358A (en) * | 2022-04-29 | 2022-08-09 | 上海商汤科技开发有限公司 | Motion detection method, motion detection device, electronic device, and storage medium |
CN114922667A (en) * | 2022-05-31 | 2022-08-19 | 中煤科工开采研究院有限公司 | Vision-based automatic straightening control system and method for hydraulic support in fully mechanized mining face |
CN118705994A (en) * | 2024-06-11 | 2024-09-27 | 山东能源装备集团高端支架制造有限公司 | A method for monitoring the position and posture of hydraulic support |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017012285A1 (en) * | 2015-07-20 | 2017-01-26 | 太原理工大学 | Method for implementing a centralized control platform of hydraulic support on fully mechanized mining working face in underground coal mines |
CN106643808A (en) * | 2017-01-22 | 2017-05-10 | 上海航天控制技术研究所 | Multi-grade fault diagnosis method of in-orbit data of star sensor |
US20190251338A1 (en) * | 2018-02-13 | 2019-08-15 | Kabushiki Kaisha Toshiba | Determination device, determination method, and computer program product |
CN111260649A (en) * | 2020-05-07 | 2020-06-09 | 常州唯实智能物联创新中心有限公司 | Close-range mechanical arm sensing and calibrating method |
US20200242331A1 (en) * | 2019-01-28 | 2020-07-30 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and device for acquiring 3d information of object |
CN111582204A (en) * | 2020-05-13 | 2020-08-25 | 北京市商汤科技开发有限公司 | Attitude detection method and apparatus, computer device and storage medium |
WO2020210004A1 (en) * | 2019-04-12 | 2020-10-15 | University Of Iowa Research Foundation | System and method to predict, prevent, and mitigate workplace injuries |
WO2020228380A1 (en) * | 2019-05-10 | 2020-11-19 | 山东大学 | Vehicle-mounted tunnel collapse monitoring and early-warning system and method |
CN112187174A (en) * | 2020-10-26 | 2021-01-05 | 李灵芝 | Solar photovoltaic bracket abnormity detection method and system based on artificial intelligence |
CN112370048A (en) * | 2020-11-10 | 2021-02-19 | 南京紫金体育产业股份有限公司 | Movement posture injury prevention method and system based on joint key points and storage medium |
CN112686889A (en) * | 2021-01-28 | 2021-04-20 | 郑州煤矿机械集团股份有限公司 | Hydraulic support pushing progress detection method and system based on monocular vision automatic label |
WO2021174697A1 (en) * | 2020-03-06 | 2021-09-10 | 平安科技(深圳)有限公司 | Human body posture evaluation method and apparatus, computer device, and storage medium |
-
2021
- 2021-09-23 CN CN202111114374.2A patent/CN113838133A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017012285A1 (en) * | 2015-07-20 | 2017-01-26 | 太原理工大学 | Method for implementing a centralized control platform of hydraulic support on fully mechanized mining working face in underground coal mines |
CN106643808A (en) * | 2017-01-22 | 2017-05-10 | 上海航天控制技术研究所 | Multi-grade fault diagnosis method of in-orbit data of star sensor |
US20190251338A1 (en) * | 2018-02-13 | 2019-08-15 | Kabushiki Kaisha Toshiba | Determination device, determination method, and computer program product |
US20200242331A1 (en) * | 2019-01-28 | 2020-07-30 | Beijing Baidu Netcom Science And Technology Co., Ltd. | Method and device for acquiring 3d information of object |
WO2020210004A1 (en) * | 2019-04-12 | 2020-10-15 | University Of Iowa Research Foundation | System and method to predict, prevent, and mitigate workplace injuries |
WO2020228380A1 (en) * | 2019-05-10 | 2020-11-19 | 山东大学 | Vehicle-mounted tunnel collapse monitoring and early-warning system and method |
WO2021174697A1 (en) * | 2020-03-06 | 2021-09-10 | 平安科技(深圳)有限公司 | Human body posture evaluation method and apparatus, computer device, and storage medium |
CN111260649A (en) * | 2020-05-07 | 2020-06-09 | 常州唯实智能物联创新中心有限公司 | Close-range mechanical arm sensing and calibrating method |
CN111582204A (en) * | 2020-05-13 | 2020-08-25 | 北京市商汤科技开发有限公司 | Attitude detection method and apparatus, computer device and storage medium |
CN112187174A (en) * | 2020-10-26 | 2021-01-05 | 李灵芝 | Solar photovoltaic bracket abnormity detection method and system based on artificial intelligence |
CN112370048A (en) * | 2020-11-10 | 2021-02-19 | 南京紫金体育产业股份有限公司 | Movement posture injury prevention method and system based on joint key points and storage medium |
CN112686889A (en) * | 2021-01-28 | 2021-04-20 | 郑州煤矿机械集团股份有限公司 | Hydraulic support pushing progress detection method and system based on monocular vision automatic label |
Non-Patent Citations (1)
Title |
---|
张风雷;: "基于姿态机和卷积神经网络的手的关键点估计", 计算机与数字工程, no. 01, pages 409 - 411 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114743149A (en) * | 2022-04-29 | 2022-07-12 | 上海商汤科技开发有限公司 | Motion detection method, motion detection device, electronic device, and storage medium |
CN114882358A (en) * | 2022-04-29 | 2022-08-09 | 上海商汤科技开发有限公司 | Motion detection method, motion detection device, electronic device, and storage medium |
CN114922667A (en) * | 2022-05-31 | 2022-08-19 | 中煤科工开采研究院有限公司 | Vision-based automatic straightening control system and method for hydraulic support in fully mechanized mining face |
CN118705994A (en) * | 2024-06-11 | 2024-09-27 | 山东能源装备集团高端支架制造有限公司 | A method for monitoring the position and posture of hydraulic support |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113838133A (en) | A state detection method, apparatus, computer equipment and storage medium | |
Yan et al. | Computer vision‐based recognition of 3D relationship between construction entities for monitoring struck‐by accidents | |
Zhong et al. | Multi-scale feature fusion network for pixel-level pavement distress detection | |
CN109448326B (en) | Geological disaster intelligent group defense monitoring system based on rapid image recognition | |
JP6764842B2 (en) | Information processing equipment, information processing system, information processing method, and information processing program | |
Park et al. | Small and overlapping worker detection at construction sites | |
Fang et al. | Vision-based load sway monitoring to improve crane safety in blind lifts | |
CN111275743B (en) | Target tracking method, device, computer readable storage medium and computer equipment | |
CN113537019B (en) | Detection method for identifying wearing of safety helmet of transformer substation personnel based on key points | |
CN111079536B (en) | Behavior analysis method, storage medium and device based on human body key point time sequence | |
CN116206255A (en) | Dangerous area personnel monitoring method and device based on machine vision | |
CN114445398A (en) | Method and device for monitoring state of side protection plate of hydraulic support of coal mining machine | |
CN113808200A (en) | Method and device for detecting moving speed of target object and electronic equipment | |
Zhang et al. | Applications of deep learning in intelligent construction | |
CN112132025A (en) | Emergency lane image processing method and device, computer equipment and storage medium | |
CN115929404A (en) | Coal mine roadway monitoring method, device and coal mine roadway detection system | |
JP7348575B2 (en) | Deterioration detection device, deterioration detection system, deterioration detection method, and program | |
Peng et al. | A new method for recognizing discontinuities from 3D point clouds in tunnel construction environments | |
KR102741577B1 (en) | Operation record analysis system for construction machinery | |
CN112712035A (en) | Detection method, device and system for coal mining machine following moving frame | |
Zhang et al. | A Dynamic Detection Method for Railway Slope Falling Rocks Based on the Gaussian Mixture Model Segmentation Algorithm | |
CN117781887A (en) | Bridge and tunnel security state monitoring method and system based on time sequence analysis | |
CN112101134A (en) | Object detection method and device, electronic device and storage medium | |
JP7272118B2 (en) | Intrusion detection devices, programs and intrusion detection systems | |
KR20240050012A (en) | Method for detecting a crack |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20211224 |