High-altitude operation risk early warning method and device and electronic equipment

The initial images of high-altitude workers are obtained through camera equipment, and human image features are extracted and risk assessment is carried out, which solves the problem of low accuracy of manual supervision and recognition, and achieves efficient and accurate risk warning, reducing the occurrence of high-altitude work accidents.

CN118887702APending Publication Date: 2024-11-01GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411052159.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In the prior art, the accuracy of identifying high-altitude operation risks through manual supervision is low, resulting in the occurrence of safety accidents.

Method used

The initial image of the high-altitude workers is obtained through the camera equipment, the human image feature is extracted and identified, and the risk identification model is input to evaluate the risk level of the work, and early warning information is sent to the workers.

Benefits of technology

It improves the timeliness and accuracy of identification of high-altitude operation risks and reduces the risk of accidents.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118887702A_ABST
    Figure CN118887702A_ABST
Patent Text Reader

Abstract

The invention discloses a risk early warning method and device for high-altitude operation and electronic equipment. Relates to the field of image recognition. The method comprises the steps that an image shot by camera equipment used for shooting a target operation position is acquired, an initial image is obtained, and an aerial operator is located at the target operation position; acquiring a human body image in the initial image, and performing feature extraction operation on the human body image to obtain feature information of the human body image; and inputting the feature information into a risk identification model to obtain an operation risk level of the high-altitude operation personnel, and sending early warning information to the high-altitude operation personnel according to the operation risk level. Through the method and the device, the problem of low accuracy of identifying the operation risk through a manual supervision method in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image recognition, and more specifically, to a risk warning method, device and electronic equipment for high-altitude operations. Background Art

[0002] In the electric power industry, working at heights is an indispensable part of the maintenance, inspection and construction of transmission lines, substations and other infrastructure. When workers perform working at heights, incorrect working postures and other reasons may lead to safety hazards such as falling from heights.

[0003] Currently, when ensuring the safety of workers working at heights, the method usually adopted is to manually supervise the workers working at heights to avoid safety accidents. However, since workers working at heights are far away from supervisors, supervisors cannot accurately identify whether the workers have safety hazards, which leads to safety accidents.

[0004] Currently, no effective solution has been proposed to address the problem of low accuracy in identifying operational risks through manual supervision in related technologies. Summary of the invention

[0005] The present application provides a risk warning method, device and electronic equipment for high-altitude operations to solve the problem of low accuracy in identifying operation risks through manual supervision methods in related technologies.

[0006] According to one aspect of the present application, a risk warning method for high-altitude operations is provided. The method includes: obtaining an image captured by a camera device used to capture a target operation position to obtain an initial image, wherein a high-altitude operator is located at the target operation position; obtaining a human body image in the initial image, and performing a feature extraction operation on the human body image to obtain feature information of the human body image; inputting the feature information into a risk identification model to obtain the operation risk level of the high-altitude operator, and sending warning information to the high-altitude operator according to the operation risk level.

[0007] Optionally, obtaining the human body image in the initial image includes: inputting the initial image into a portrait recognition model to obtain a recognition result, wherein the recognition result includes at least one human body frame and diagonal coordinate information of the human body frame, the human body frame is a rectangular frame, and the diagonal coordinate information includes coordinate information of the four corners of the human body frame; determining the number of human body frames in the recognition result, and determining the human body image of the aerial work personnel in the initial image based on the number and at least one human body frame.

[0008] Optionally, the portrait recognition model is trained in the following manner: obtaining multiple first historical images and using the multiple first historical images as a training set to obtain training set images, wherein each first historical image includes at least one portrait, and each portrait is labeled with a preset identifier; obtaining multiple second historical images and using the multiple second historical images as a test set to obtain test set images, wherein each second historical image includes at least one portrait; training the initial recognition model through the training set images to obtain a candidate recognition model, and determining the recognition accuracy of the candidate recognition model through the test set; when the recognition accuracy is greater than an accuracy threshold, determining the candidate recognition model as a portrait recognition model.

[0009] Optionally, determining the human body image of the aerial work personnel in the initial image based on the number and at least one human body frame includes: when the number is 1, determining the area contained in the human body frame as the human body image; when the number is not 1, obtaining the diagonal coordinate information of each human body frame, and determining the coverage area of ​​each human body frame in the initial image based on the diagonal coordinate information to obtain multiple coverage areas; judging whether there are overlapping areas in the multiple coverage areas; when there are no overlapping areas in the multiple coverage areas, determining the area contained in each human body frame as the human body image; when there are overlapping areas in the multiple coverage areas, obtaining multiple target human body frames related to the overlapping areas, combining the multiple target human body frames to obtain the target area, and obtaining the minimum rectangular area covering the target area in the initial image, and determining the minimum rectangular area as the human body image.

[0010] Optionally, performing a feature extraction operation on a human body image to obtain feature information of the human body image includes: enlarging the human body image to different magnifications according to a nearest neighbor interpolation method to obtain a plurality of processed images; inputting the processed images into a feature extraction model in descending order of magnification to obtain feature information of the human body image, wherein the feature extraction model is used to extract feature information of the received processed image, and fuse the feature information of a plurality of processed images to obtain feature information of the human body image.

[0011] Optionally, the risk identification model includes a first sub-identification model and a second sub-identification model, and inputting the feature information into the risk identification model to obtain the work risk level of the height-working personnel includes: inputting the feature information into the first sub-identification model to obtain a first risk score, wherein the recognition algorithm applied by the first sub-identification model processes the feature information according to a first processing order to obtain a posture recognition result, and generates a first risk score based on the posture recognition result, and the first processing order is the processing order of the feature information from bottom to top in the human body image; when the first risk score is within the first scoring interval, determining the work risk level to be the first level; when the first risk score is within the second scoring interval, Determine that the operation risk level is the second level, wherein the first level is greater than the second level; when the first risk score is within the third score interval, input the feature information into the second sub-recognition model to obtain a second risk score, wherein the recognition algorithm applied by the second sub-recognition model processes the feature information in accordance with a second processing order to obtain a posture recognition result, and generate a second risk score based on the posture recognition result, wherein the second processing order is a processing order from top to bottom of the feature information in the human body image; when the second risk score is greater than or equal to a preset score, determine that the operation risk level is the first level; when the second risk score is less than the preset score, determine that the operation risk level is the second level.

[0012] Optionally, sending warning information to height-altitude workers according to the operation risk level includes: when the operation risk level is the first level, sending first warning information to the height-altitude workers, wherein the first warning information indicates that the current posture is a dangerous posture; when the operation risk level is the second level, sending second warning information to the height-altitude workers, wherein the second warning information indicates that the current posture is a safe posture.

[0013] According to another aspect of the present application, a risk warning device for high-altitude operations is provided. The device includes: a first acquisition unit, used to acquire an image captured by a camera device used to capture a target operation position, and obtain an initial image, wherein the high-altitude operator is located at the target operation position; a second acquisition unit, used to acquire a human body image in the initial image, and perform a feature extraction operation on the human body image to obtain feature information of the human body image; an identification unit, used to input the feature information into a risk identification model, obtain the operation risk level of the high-altitude operator, and send warning information to the high-altitude operator according to the operation risk level.

[0014] According to another aspect of the present invention, a computer program product is provided, including a computer program, which, when executed by a processor, implements a risk warning method for high-altitude operations in the present application.

[0015] According to another aspect of the present invention, there is also provided an electronic device comprising one or more processors and a memory; the memory stores computer-readable instructions, and the processor is used to run the computer-readable instructions, wherein when the computer-readable instructions are run, a risk warning method for high-altitude operations is executed.

[0016] Through this application, the following steps are adopted: obtaining an image captured by a camera device used to capture the target working position to obtain an initial image, in which the aerial workers are located at the target working position; obtaining a human body image in the initial image, and performing a feature extraction operation on the human body image to obtain feature information of the human body image; inputting the feature information into a risk identification model to obtain the operational risk level of the aerial workers, and sending early warning information to the aerial workers according to the operational risk level. The problem of low accuracy in identifying operational risks through manual supervision methods in related technologies is solved. The initial image of the aerial workers is obtained through a camera device, and the human body image of the aerial workers is accurately obtained from the initial image, and feature extraction is performed, so that the risk level of the current state of the aerial workers is evaluated according to the extracted features, thereby achieving the effect of improving the timeliness and accuracy of identifying the risks of aerial operations. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0018] Figure 1 is a flow chart of a risk warning method for high-altitude operations provided in an embodiment of the present application;

[0019] Figure 2 is a flow chart of an optional risk identification method provided according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of a risk warning device for high-altitude operations provided according to an embodiment of the present application;

[0021] Figure 4 It is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0025] It should be noted that the risk warning method, device and electronic equipment for high-altitude operations determined in the present disclosure can be used in the field of image recognition, and can also be used in any field except the field of image recognition. The application field of the risk warning method, device and electronic equipment for high-altitude operations determined in the present disclosure is not limited.

[0026] It should be noted that the collected information, user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) used in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of relevant data are in compliance with the relevant laws, regulations and standards of the relevant regions, necessary confidentiality measures are taken, and public order and good customs are not violated. Corresponding operation portals are provided for users to choose to authorize or refuse to use. For example, an interface is set up between this system and relevant users or organizations. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0027] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0028] Nearest neighbor interpolation: It is a commonly used interpolation method in image processing. Its principle is to interpolate based on the values ​​of the nearest neighboring pixels of a pixel. Specifically, for the pixel that needs to be interpolated, the nearest neighbor interpolation method will find its nearest known pixel, and then use the value of the pixel as the interpolation result.

[0029] Monitoring ball: a device used for remote real-time video monitoring in outdoor wireless networks and unpowered environments.

[0030] Faster R-CNN deep network model: It is a deep learning network model for target detection. It is improved on the basis of R-CNN (Region-based Convolutional Neural Networks), which can improve the detection accuracy and speed up the detection speed.

[0031] YOLOv5 algorithm: a real-time target detection algorithm, one of the YOLO (You Only Look Once) series of algorithms.

[0032] According to an embodiment of the present application, a risk warning method for high-altitude operations is provided.

[0033] Figure 1 1 is a flow chart of a risk warning method for high-altitude operations provided in accordance with an embodiment of the present application. Figure 1 As shown, the method comprises the following steps:

[0034] Step S101, acquiring an image captured by a camera device used to capture a target working position, and obtaining an initial image, wherein a worker working at height is located at the target working position.

[0035] Specifically, the camera device may be a device that can photograph the target work position, and the initial image is an original picture obtained by photographing the workers performing high-altitude operations at the target work position through the camera device. When the high-altitude workers are working at the target work position, the camera device can obtain the image information of the high-altitude workers in real time, thereby determining the current work risk of the high-altitude workers based on the image information. The camera device may be a control ball deployed in a high-altitude work scene.

[0036] It should be noted that the control ball can be divided into a fixed control ball and an emergency control ball. The fixed control ball is used for long-term monitoring of the target operation position to keep track of the operation status at any time. Especially for power grid scenarios, long-term monitoring of the power grid is required to ensure the stability of the power system. When performing high-altitude operations, such as power grid maintenance, the fixed control ball may not be able to accurately obtain the image information of the operation point due to angle problems, position problems, etc., or some locations do not have fixed control balls. In this case, an emergency control ball needs to be set up to obtain image information of the operation scene.

[0037] Step S102, obtaining a human body image in the initial image, and performing a feature extraction operation on the human body image to obtain feature information of the human body image.

[0038] It should be noted that since the camera device may be far away from the target work position, the human portrait in the initial image taken by the camera device is relatively small. Therefore, when identifying the work risks of high-altitude workers, it is first necessary to accurately identify the current feature information of the high-altitude workers. At this time, it is necessary to accurately obtain the human body image of the worker first, and then analyze the image information in the human body image to achieve the technical effect of accurately identifying the work risks of high-altitude workers.

[0039] Specifically, after obtaining the initial image, the size and number of human body frames can be confirmed in the initial image according to the portrait recognition model, where each human body frame corresponds to a staff member, and the image in the human body frame is further processed, such as cropping and enlarging the human body frame, so as to obtain a clear and accurate human body image, and further identify the characteristic information of the operating personnel from the human body image, thereby achieving the effect of obtaining the characteristic information of the operating personnel from the initial image.

[0040] Step S103, input the characteristic information into the risk identification model to obtain the operation risk level of the height-altitude operator, and send warning information to the height-altitude operator according to the operation risk level.

[0041] It should be noted that the risk identification model can determine whether there is a risk in the operation process based on the characteristic information related to the posture of the operator. When training the risk identification model, the training samples of the risk identification model can be determined as multiple characteristic information sets, and the risk score corresponding to each characteristic information set, so that the risk identification model can determine the risk score based on the characteristic information, and then determine the risk level according to the interval in which the risk score is located, thereby achieving the technical effect of accurately identifying the risk level of the operator based on the posture characteristic information.

[0042] Specifically, after obtaining the characteristic information of the operating personnel, the characteristic information can be input into the risk identification model. The risk identification model can be used to obtain the operating risk level of the high-altitude operating personnel at the current moment, and then early warning information can be generated according to the operating risk level, so as to achieve timely and accurate identification of the risks of high-altitude operations, and send the risk level to the operating personnel in a timely manner, so that the operating personnel can promptly repair the risky problems, thereby achieving the technical effect of reducing the accident rate of high-altitude operations.

[0043] The risk warning method for high-altitude operations provided in the embodiment of the present application obtains an initial image by acquiring an image captured by a camera device used to capture the target operation position, wherein the high-altitude operator is located at the target operation position; obtains a human body image in the initial image, and performs a feature extraction operation on the human body image to obtain feature information of the human body image; inputs the feature information into a risk identification model to obtain the operation risk level of the high-altitude operator, and sends warning information to the high-altitude operator according to the operation risk level. The problem of low accuracy in identifying operation risks through manual supervision methods in related technologies is solved. The initial image of the high-altitude operator is obtained through a camera device, and the human body image of the high-altitude operator is accurately obtained from the initial image, and feature extraction is performed, so that the risk level of the current state of the high-altitude operator is evaluated according to the extracted features, thereby achieving the effect of improving the timeliness and accuracy of identifying the risks of high-altitude operations.

[0044] In order to accurately identify the human portrait in the initial image, optionally, in the risk warning method for high-altitude operations provided in an embodiment of the present application, obtaining a human body image in the initial image includes: inputting the initial image into a human portrait recognition model to obtain a recognition result, wherein the recognition result includes at least one human body frame and diagonal coordinate information of the human body frame, the human body frame is a rectangular frame, and the diagonal coordinate information includes coordinate information of the four corners of the human body frame; determining the number of human body frames in the recognition result, and determining the human body image of the high-altitude operator in the initial image based on the number and at least one human body frame.

[0045] Specifically, when identifying the human body image in the initial image, the human body recognition model can be used to perform recognition, thereby obtaining a recognition result. It should be noted that since there may be multiple high-altitude workers in the initial image at the same time, there may be multiple human body frames in the recognition result.

[0046] It should be noted that the recognition result of the portrait recognition model is the coordinate information of each human frame, and the position of the human frame can be calibrated by using the diagonal coordinate information as the coordinate information of the human frame. For example, if an operator is identified in the initial image, there is a human frame, the coordinates of the upper left corner of the human frame are (X1, Y1), and the coordinates of the lower right corner of the human frame are (X2, Y2). Then, the area covered by the entire human frame can be determined based on the diagonal coordinate information, that is, the coverage range is the intersection of the area between X1 and X2 and the area between Y1 and Y2.

[0047] Furthermore, the portrait recognition model may also recognize multiple human frames. In this case, it is necessary to determine whether the multiple human frames are all different workers. When two human frames are for the same worker, it may be a model recognition error. Therefore, it is necessary to further determine the human image in the initial image based on the number of human frames.

[0048] For example, since the human body frame always includes all parts of the operator's body, when there is only one person in the initial image, one human body frame is determined; when there are multiple people in the initial image, if there are overlapping parts between the multiple people, the overlapping human bodies are determined to be in one human body frame, if there are no overlapping parts among the multiple people, a human body frame is determined for each non-overlapping human body, and the number of people in each human body frame is marked, thereby completing the recognition operation of the portrait position and avoiding the overlap of multiple people resulting in partial portraits in the human body frame, which in turn affects the accuracy of feature extraction.

[0049] This embodiment recognizes human portraits through a human portrait recognition model, and determines the human body image corresponding to each worker in the initial image according to the obtained human body frame, thereby achieving the technical effect of accurately recognizing the human body image in the initial image.

[0050] In order to improve the recognition accuracy of portraits, optionally, in the risk warning method for high-altitude operations provided in an embodiment of the present application, a portrait recognition model is trained in the following manner: multiple first historical images are obtained, and the multiple first historical images are used as a training set to obtain training set images, wherein each first historical image includes at least one portrait, and each portrait is annotated with a preset identifier; multiple second historical images are obtained, and the multiple second historical images are used as a test set to obtain test set images, wherein each second historical image includes at least one portrait; the initial recognition model is trained through the training set images to obtain a candidate recognition model, and the recognition accuracy of the candidate recognition model is determined through the test set; when the recognition accuracy is greater than the accuracy threshold, the candidate recognition model is determined to be a portrait recognition model.

[0051] Specifically, when training a portrait recognition model, a large number of initial images of workers in high-altitude work scenes taken by a surveillance ball in the past can be obtained, and the workers can be labeled in the images to obtain a first historical image. At the same time, multiple unlabeled initial images can be obtained to obtain a second historical image, where the first historical image is a training set and the second historical image is a test set.

[0052] Furthermore, the model is trained using the first historical image set, and the model is tested using the second historical image set. When the test result indicates that the accuracy of the model in recognizing a human portrait is greater than an accuracy threshold, the model training is completed.

[0053] It should be noted that the portrait recognition model can be a Faster R-CNN deep network model. When performing portrait recognition, the Faster R-CNN deep network model first divides a human frame according to a human head, and each human frame selects all body parts connected to the head, and then traverses the contour coordinates of all human frames to obtain the contour coordinate information of all human frames, thereby obtaining a human frame containing the portrait.

[0054] This embodiment achieves the technical effect of improving the accuracy of the model in recognizing portraits by setting historical images to train the portrait recognition model.

[0055] Optionally, in the risk warning method for high-altitude operations provided in an embodiment of the present application, determining the human body image of the high-altitude workers in the initial image based on the number and at least one human body frame includes: when the number is 1, determining the area contained in the human body frame as the human body image; when the number is not 1, obtaining the diagonal coordinate information of each human body frame, and determining the coverage area of ​​each human body frame in the initial image based on the diagonal coordinate information to obtain multiple coverage areas; judging whether there are overlapping areas in the multiple coverage areas; when there are no overlapping areas in the multiple coverage areas, determining the area contained in each human body frame as the human body image; when there are overlapping areas in the multiple coverage areas, obtaining multiple target human body frames related to the overlapping areas, combining the multiple target human body frames to obtain the target area, and obtaining the minimum rectangular area covering the target area in the initial image, and determining the minimum rectangular area as the human body image.

[0056] Specifically, since there may be multiple workers in the initial image, when recognizing human body images, the human body frames of multiple people may overlap. In this case, it is necessary to first determine the number of human body images in the initial image. When the number is 1, it means that only one person is recognized, and the area contained in the human body frame can be directly determined as the human body image.

[0057] Furthermore, when the number of human body frames is not 1, it is necessary to obtain the diagonal coordinate information of each human body frame, and determine the coverage area of ​​each human body frame in the initial image based on the diagonal coordinate information, that is, determine the position information of each human body frame, and determine whether there is an overlapping area between multiple human body frames based on the position information. In the case of an overlapping area, it is necessary to obtain multiple target human body frames related to the overlapping area, and combine the multiple target human body frames to obtain a target area, wherein the target area contains the portrait information in the multiple target human body frames.

[0058] Furthermore, in order to ensure the accuracy of the subsequent model recognition feature information, the target area needs to be expanded to obtain the minimum rectangular area that can cover the target area, and the minimum rectangular area is determined as the human body image when the operator overlaps.

[0059] It should be noted that when there is no overlapping area, although there are multiple workers, the human body images of the workers do not affect each other. At this time, the area included in the human body frames of multiple workers can be determined as the human body image, thereby achieving the technical effect of accurately obtaining the human body images of the workers.

[0060] For example, in the initial image, if there is only one human body frame, the diagonal coordinate information of the human body frame is output; if there are multiple human body frames, it is determined whether there is an overlapping area among the multiple human body frames according to the contour coordinate information of the multiple human body frames; if there is an overlapping area, the coordinates of the upper left corner and the lower right corner or the coordinates of the lower left corner and the upper right corner of the two or more overlapping human body frames are extracted, and the size of the human body frame is re-determined according to the two diagonal coordinates, and finally the diagonal coordinate information of the re-determined human body frame is output; if there is no overlap, at least several pairs of corresponding diagonal coordinate information are output according to the number of human body frames and the corresponding contour coordinate information, wherein the number of pairs is determined according to the number of human body frames, and at least one human body frame is guaranteed to output a pair of diagonal coordinate information, so as to achieve the technical effect of accurately determining the human body frame of the operator while ensuring the integrity of the portrait in the human body frame, thereby improving the accuracy of subsequent human posture recognition.

[0061] In order to improve the accuracy of feature information, optionally, in the risk warning method for high-altitude operations provided in an embodiment of the present application, a feature extraction operation is performed on a human body image to obtain feature information of the human body image, including: enlarging the human body image to different multiples according to the nearest interpolation method to obtain multiple processed images; inputting the processed images into a feature extraction model in descending order of multiples to obtain feature information of the human body image, wherein the feature extraction model is used to extract feature information of the received processed image, and fuse the feature information of multiple processed images to obtain feature information of the human body image.

[0062] Specifically, the feature information may be a human body posture feature in a human body image. When obtaining the human body posture feature, since the human body image may be small or the image in the human body image is blurry, the portrait in the human body image may be magnified to different multiples according to the nearest interpolation method to obtain processed images at different magnifications, and the feature extraction and fusion operations are performed on the processed images at different magnifications through a feature extraction model, so as to obtain more accurate and comprehensive portrait feature information.

[0063] The human body image obtained by the portrait recognition model is enlarged to different scales by the nearest neighbor interpolation method, and the feature information in the images at different scales is fused by the feature extraction model to obtain the portrait feature information. The specific steps are as follows:

[0064] First, the nearest neighbor interpolation method can be used to enlarge the human body image to N1, N2, …, N i ,…,N I times, where N1<N2<…<N i-1 <N i For example, N1 is 2 times and N2 is 4 times, thereby obtaining processed images with different magnifications. Due to the different magnifications, the clarity of the portraits in the processed images is different, so that the feature extraction model can extract different feature information according to the images with different magnifications.

[0065] Furthermore, after obtaining multiple processed images, the multiple processed images can be input into a feature extraction model, and feature extraction and feature fusion operations are performed on the processed images through the feature extraction model, wherein the multiple processed images need to be input into the feature extraction model in order of magnification from large to small. After the feature extraction model extracts the feature information of the first processed image, the feature extraction model stores the feature information in the model, performs feature extraction on the second processed image, and fuses the feature information with the feature information of the first processed image to obtain fused feature information, and stores the fused feature information in the model, and repeats the above process until all processed images are subjected to feature extraction and fusion operations, and finally the feature information stored in the model is input as the feature information of the human body image, thereby completing the feature information extraction operation on the human body image.

[0066] The feature extraction and fusion operations in the feature extraction model can be performed according to the following formula:

[0067] Y I =O I (x)

[0068] Y i =Conv(concat(Y i+1,O i (x)))

[0069] Calculate Y in sequence I ,Y I-1 ,…,Y i ,…,Y1, where Y1 is the final output fusion feature; Y I represents the image feature with the maximum expansion multiple, which is the image feature itself with the maximum magnification multiple, O i Expanded N for extraction i times the human body frame image; x is the image input cropped from the control ball image according to the size of the human body frame; Conv is the operation of the 1×1 convolution layer, and concat is the serial splicing operation.

[0070] For example, during processing, the features of the ×8 branch and the ×4 branch are first fused together, and then after passing through a 1×1 convolution layer, the fused features are fused with the features of the ×2 branch. The formula for the above feature fusion operation is as follows:

[0071] Y3=O3(x)

[0072] Y2=Conv(concat(Y3,O2(x)))

[0073] Y1=Conv(concat(Y2,O1(x)))

[0074] Among them, Y3 represents the image feature with an expansion multiple of ×8, Y2 is the output of the first fusion, and Y1 is the output of the second fusion, which is also the final fusion feature.

[0075] This embodiment achieves the technical effect of accurately acquiring human feature information in human images by enlarging the image to different scales and performing feature extraction and feature fusion on the images at different scales.

[0076] Optionally, in the risk warning method for high-altitude operations provided in an embodiment of the present application, the risk identification model includes a first sub-identification model and a second sub-identification model, and the feature information is input into the risk identification model to obtain the work risk level of the high-altitude operator, including: inputting the feature information into the first sub-identification model to obtain a first risk score, wherein the recognition algorithm applied by the first sub-identification model processes the feature information in a first processing order to obtain a posture recognition result, and generates a first risk score based on the posture recognition result, and the first processing order is the processing order of the feature information from bottom to top in the human body image; when the first risk score is within the first scoring interval, the work risk level is determined to be the first level; when the first risk score is within the first scoring interval, the work risk level is determined to be the first level. In the case of the second scoring interval, the operation risk level is determined to be the second level, wherein the first level is greater than the second level; in the case of the first risk score being in the third scoring interval, the feature information is input into the second sub-recognition model to obtain a second risk score, wherein the recognition algorithm applied by the second sub-recognition model processes the feature information in accordance with the second processing order to obtain a posture recognition result, and generates a second risk score based on the posture recognition result, wherein the second processing order is the processing order of the feature information from top to bottom in the human body image; in the case of the second risk score being greater than or equal to the preset score, the operation risk level is determined to be the first level; in the case of the second risk score being less than the preset score, the operation risk level is determined to be the second level.

[0077] It should be noted that the model structures of the first sub-recognition model and the second sub-recognition model are the same, but the algorithms used in the models are different. The recognition algorithm applied by the first sub-recognition model processes the feature information according to a first processing order, which is the processing order of the feature information from bottom to top in the human body image. The recognition algorithm applied by the second sub-recognition model processes the feature information according to a second processing order, which is the processing order of the feature information from top to bottom in the human body image. Using different image processing orders to process images can improve the accuracy of image recognition.

[0078] It should be noted that the first sub-recognition model and the second sub-recognition model can be models using the YOLOv5 target detection algorithm, and the structure of the YOLOv5 algorithm includes at least a Backbone layer, a Neck layer, and a Prediction layer. The Backbone layer is mainly responsible for re-extracting features from the fused features obtained by the feature extraction model; the Neck layer enhances the features extracted by the Backbone layer and passes them to the Prediction layer, which performs risk scoring to obtain a risk scoring result.

[0079] Furthermore, Figure 2 is a flow chart of an optional risk identification method provided according to an embodiment of the present application, such as Figure 2 As shown in the figure, the Neck layer of the first sub-recognition model first analyzes the human body fusion features in a bottom-up order from the human body image, and passes it to the Prediction layer. The Prediction layer gives the risk score S of the current posture of the operator, wherein the risk score can be in percentage, and the corresponding limit threshold α and fuzzy threshold β are set. When the risk score obtained by passing the human body skeleton image inferred from bottom to top to the Prediction layer is within the range [α-β, α+β] (that is, the risk score is in the third score interval), the second sub-recognition model analyzes the human body fusion features again in a top-down order from the human body image to obtain a secondary risk score S'. When the secondary risk score S'<α (that is, the risk score is less than the preset score), the action is identified as the second level. When the secondary score index S'≥α (that is, the risk score is greater than or equal to the preset score), the action is identified as the first level.

[0080] It should be noted that when the risk score S is not in the range of [α-β, α+β], the prediction result can be given directly. The specific prediction method is: when S<α-β (that is, it is located in the second scoring interval), the operation risk level is determined to be the second level; when S>α+β (that is, it is located in the first scoring interval), the operation risk level is determined to be the first level, thereby achieving the technical effect of accurately identifying posture risks according to the risk identification model.

[0081] It should be noted that, optionally, in the risk warning method for high-altitude operations provided in the embodiment of the present application, sending warning information to high-altitude operators according to the operation risk level includes: when the operation risk level is the first level, sending first warning information to the high-altitude operators, wherein the first warning information indicates that the current posture is a dangerous posture; when the operation risk level is the second level, sending second warning information to the high-altitude operators, wherein the second warning information indicates that the current posture is a safe posture.

[0082] Specifically, when it is determined that the operation risk level is the first level, indicating that the operator's posture is risky at this time, a first warning message is sent to prompt the operator to correct the posture in time; when the operation risk level is the second level, indicating that the operator's posture is risk-free at this time, a second warning message is sent to inform the operator that they can work normally, thereby achieving the technical effect of promptly informing the operator of the operation risks and ensuring the safety of the operator.

[0083] This embodiment determines the risk score through the risk identification model, and judges whether re-scoring is needed based on the relationship between the risk score and the scoring range, and then scores the risk of the human body image through two different scoring methods, thereby achieving the technical effect of improving the accuracy of risk identification.

[0084] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0085] The embodiment of the present application also provides a risk warning device for high-altitude operations. It should be noted that the risk warning device for high-altitude operations in the embodiment of the present application can be used to execute the risk warning method for high-altitude operations provided in the embodiment of the present application. The risk warning device for high-altitude operations provided in the embodiment of the present application is introduced below.

[0086] Figure 3 Schematic diagram of a risk warning device for high-altitude operations provided according to an embodiment of the present application. Figure 3 As shown, the device includes: a first acquisition unit 31, a second acquisition unit 32, and an identification unit 33.

[0087] The first acquisition unit 31 is used to acquire an image captured by a camera device used to capture a target working position, and obtain an initial image, wherein the aerial worker is located at the target working position.

[0088] The second acquisition unit 32 is used to acquire the human body image in the initial image and perform a feature extraction operation on the human body image to obtain feature information of the human body image.

[0089] The identification unit 33 is used to input the characteristic information into the risk identification model to obtain the operation risk level of the high-altitude workers and send early warning information to the high-altitude workers according to the operation risk level.

[0090] The risk warning device for high-altitude operations provided in the embodiment of the present application obtains an image captured by a camera device used to capture the target operation position through a first acquisition unit 31 to obtain an initial image, in which the high-altitude operator is located at the target operation position; the second acquisition unit 32 obtains a human body image in the initial image, and performs a feature extraction operation on the human body image to obtain feature information of the human body image; the recognition unit 33 inputs the feature information into a risk recognition model to obtain the operation risk level of the high-altitude operator, and sends warning information to the high-altitude operator according to the operation risk level. The problem of low accuracy in identifying operation risks through manual supervision in the related art is solved, the initial image of the high-altitude operator is obtained through a camera device, and the human body image of the high-altitude operator is accurately obtained from the initial image, and feature extraction is performed, so as to evaluate the risk level of the current state of the high-altitude operator according to the extracted features, thereby achieving the effect of improving the timeliness and accuracy of identifying the risks of high-altitude operations.

[0091] Optionally, in the risk warning device for high-altitude operations provided in an embodiment of the present application, the second acquisition unit 32 includes: a first recognition module, used to input the initial image into a portrait recognition model to obtain a recognition result, wherein the recognition result includes at least one human body frame and diagonal coordinate information of the human body frame, the human body frame is a rectangular frame, and the diagonal coordinate information includes coordinate information of the four corners of the human body frame; a first determination module, used to determine the number of human body frames in the recognition result, and determine the human body image of the high-altitude operator in the initial image based on the number and at least one human body frame.

[0092] Optionally, in the risk warning device for high-altitude operations provided in an embodiment of the present application, the portrait recognition model is trained in the following manner: a third acquisition unit is used to acquire multiple first historical images, and use the multiple first historical images as a training set to obtain training set images, wherein each first historical image includes at least one portrait, and each portrait is labeled with a preset identifier; a fourth acquisition unit is used to acquire multiple second historical images, and use the multiple second historical images as a test set to obtain test set images, wherein each second historical image includes at least one portrait; a training unit is used to train the initial recognition model through the training set images to obtain a candidate recognition model, and determine the recognition accuracy of the candidate recognition model through the test set; a determination unit is used to determine that the candidate recognition model is a portrait recognition model when the recognition accuracy is greater than an accuracy threshold.

[0093] Optionally, in the risk warning device for high-altitude operations provided in an embodiment of the present application, the first determination module includes: a first determination submodule, which is used to determine the area included in the human body frame as a human body image when the number is 1; a second determination submodule, which is used to obtain the diagonal coordinate information of each human body frame when the number is not 1, and determine the coverage area of ​​each human body frame in the initial image according to the diagonal coordinate information to obtain multiple coverage areas; a judgment submodule, which is used to judge whether there is an overlapping area in the multiple coverage areas; a third determination submodule, which is used to determine the area included in each human body frame as a human body image when there is no overlapping area in the multiple coverage areas; a fourth determination submodule, which is used to obtain multiple target human body frames related to the overlapping area when there is an overlapping area in the multiple coverage areas, and combine the multiple target human body frames to obtain the target area, and obtain the minimum rectangular area covering the target area in the initial image, and determine the minimum rectangular area as the human body image.

[0094] Optionally, in the risk warning device for high-altitude operations provided in an embodiment of the present application, the second acquisition unit 32 includes: an amplification module, used to amplify the human body image to different multiples according to the nearest interpolation method to obtain multiples of the processed images; an extraction module, used to input the processed images into the feature extraction model in order from large to small multiples to obtain feature information of the human body image, wherein the feature extraction model is used to extract the feature information of the received processed image, and fuse the feature information of multiple processed images to obtain the feature information of the human body image.

[0095] Optionally, in the risk warning device for high-altitude operations provided in the embodiment of the present application, the risk identification model includes a first sub-identification model and a second sub-identification model, and the identification unit 33 includes: a second identification module, used to input feature information into the first sub-identification model to obtain a first risk score, wherein the recognition algorithm applied by the first sub-identification model processes the feature information in a first processing order to obtain a posture recognition result, and generates a first risk score based on the posture recognition result, and the first processing order is the processing order from bottom to top of the feature information in the human body image; a second determination module, used to determine that the operation risk level is the first level when the first risk score is within the first scoring interval; and a third determination module, used to determine that the operation risk level is the first level when the first risk score is within the second scoring interval. The operation risk level is determined to be the second level, wherein the first level is greater than the second level; a third identification module is used to input the feature information into the second sub-identification model to obtain a second risk score when the first risk score is within the third score interval, wherein the recognition algorithm applied by the second sub-identification model processes the feature information according to the second processing order to obtain a posture recognition result, and generates a second risk score based on the posture recognition result, wherein the second processing order is the processing order of the feature information from top to bottom in the human body image; a fourth determination module is used to determine that the operation risk level is the first level when the second risk score is greater than or equal to a preset score; a fifth determination module is used to determine that the operation risk level is the second level when the second risk score is less than a preset score.

[0096] Optionally, in the risk warning device for high-altitude operations provided in an embodiment of the present application, the identification unit 33 includes: a first sending module, used to send a first warning message to the high-altitude operation personnel when the operation risk level is a first level, wherein the first warning message indicates that the current posture is a dangerous posture; a second sending module, used to send a second warning message to the high-altitude operation personnel when the operation risk level is a second level, wherein the second warning message indicates that the current posture is a safe posture.

[0097] The risk warning device for high-altitude operations includes a processor and a memory. The first acquisition unit 31, the second acquisition unit 32, the identification unit 33, etc. are all stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.

[0098] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the problem of low accuracy in identifying operation risks through manual supervision in related technologies is solved by adjusting kernel parameters.

[0099] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0100] An embodiment of the present invention provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the risk warning method for high-altitude operations is implemented.

[0101] An embodiment of the present invention provides a processor, which is used to run a program, wherein the risk warning method for high-altitude operations is executed when the program is running.

[0102] Figure 4 is a schematic diagram of an electronic device provided according to an embodiment of the present application, such as Figure 4 As shown, an embodiment of the present invention provides an electronic device, the electronic device 40 includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor executes the program to implement the steps of the risk warning method for high-altitude operations. The device in this article can be a server, a PC, a PAD, a mobile phone, etc.

[0103] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the steps of the above-mentioned risk warning method for high-altitude operations.

[0104] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0105] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0106] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0107] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0108] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0109] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0110] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0111] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0112] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A risk warning method for high-altitude operations, characterized in that: include: Acquire an image captured by a camera device for capturing a target working position to obtain an initial image, wherein the aerial worker is located at the target working position; Acquire a human body image in the initial image, and perform a feature extraction operation on the human body image to obtain feature information of the human body image; The characteristic information is input into a risk identification model to obtain the operation risk level of the high-altitude operator, and early warning information is sent to the high-altitude operator according to the operation risk level.

2. The method according to claim 1, characterized in that Acquiring a human body image in the initial image includes: Inputting the initial image into a portrait recognition model to obtain a recognition result, wherein the recognition result includes at least one human frame and diagonal coordinate information of the human frame, the human frame is a rectangular frame, and the diagonal coordinate information includes coordinate information of four corners of the human frame; The number of human frames in the recognition result is determined, and the human body image of the aerial worker in the initial image is determined according to the number and the at least one human body frame.

3. The method according to claim 2, characterized in that The portrait recognition model is trained in the following way: Acquire a plurality of first historical images, and use the plurality of first historical images as a training set to obtain training set images, wherein each first historical image includes at least one human portrait, and each human portrait is annotated with a preset identifier; Acquire a plurality of second historical images, and use the plurality of second historical images as a test set to obtain a test set image, wherein each second historical image includes at least one human portrait; Training the initial recognition model through the training set images to obtain a candidate recognition model, and determining the recognition accuracy of the candidate recognition model through the test set; When the recognition accuracy is greater than the accuracy threshold, the candidate recognition model is determined to be the portrait recognition model.

4. The method according to claim 2, characterized in that: Determining the human body image of the aerial worker in the initial image according to the number and the at least one human body frame includes: When the number is 1, the area included in the human body frame is determined as the human body image; When the number is not 1, obtaining diagonal coordinate information of each human body frame, and determining a coverage area of ​​each human body frame in the initial image according to the diagonal coordinate information, to obtain a plurality of coverage areas; Determine whether there is an overlapping area among the multiple coverage areas; In the case that the overlapping area does not exist in the multiple coverage areas, determining the area included in each human body frame as the human body image; In the case where there is an overlapping area among the multiple covered areas, multiple target human body frames related to the overlapping area are obtained, and the multiple target human body frames are combined to obtain a target area, and a minimum rectangular area covering the target area is obtained in the initial image, and the minimum rectangular area is determined as the human body image.

5. The method according to claim 1, characterized in that Performing a feature extraction operation on the human body image to obtain feature information of the human body image includes: The human body image is magnified to different multiples according to the nearest neighbor interpolation method to obtain a plurality of processed images; The processed images are input into the feature extraction model in order from large to small magnifications to obtain feature information of the human body image, wherein the feature extraction model is used to extract feature information of the received processed images, and fuse the feature information of the multiple processed images to obtain feature information of the human body image.

6. The method according to claim 1, characterized in that The risk identification model includes a first sub-identification model and a second sub-identification model. The characteristic information is input into the risk identification model to obtain the operation risk level of the high-altitude operator, including: Inputting the feature information into the first sub-recognition model to obtain a first risk score, wherein the recognition algorithm applied by the first sub-recognition model processes the feature information according to a first processing order to obtain a posture recognition result, and generates the first risk score according to the posture recognition result, wherein the first processing order is a processing order of the feature information from bottom to top in the human body image; When the first risk score is within a first score range, determining the operation risk level to be a first level; When the first risk score is within a second score interval, determining the operation risk level to be a second level, wherein the first level is greater than the second level; When the first risk score is within the third score interval, inputting the feature information into the second sub-recognition model to obtain a second risk score, wherein the recognition algorithm applied by the second sub-recognition model processes the feature information according to a second processing order to obtain a posture recognition result, and generating the second risk score according to the posture recognition result, wherein the second processing order is a processing order of the feature information from top to bottom in the human body image; When the second risk score is greater than or equal to a preset score, determining the operation risk level to be the first level; When the second risk score is less than the preset score, the operation risk level is determined to be the second level.

7. The method according to claim 6, characterized in that Sending warning information to the high-altitude operation personnel according to the operation risk level includes: When the operation risk level is the first level, sending a first warning message to the aerial operation personnel, wherein the first warning message indicates that the current posture is a dangerous posture; When the operation risk level is the second level, a second warning message is sent to the aerial operation personnel, wherein the second warning message indicates that the current posture is a safe posture.

8. A risk warning device for high-altitude operations, characterized in that: include: A first acquisition unit is used to acquire an image captured by a camera device used to capture a target working position to obtain an initial image, wherein the aerial worker is located at the target working position; A second acquisition unit is used to acquire a human body image in the initial image, and perform a feature extraction operation on the human body image to obtain feature information of the human body image; The identification unit is used to input the characteristic information into a risk identification model to obtain the operation risk level of the high-altitude operator and send early warning information to the high-altitude operator according to the operation risk level.

9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the risk warning method for high-altitude operations described in any one of claims 1 to 7 is implemented.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the risk warning method for high-altitude operations as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Power transmission tower anti-falling equipment protection design method and system based on multi-source fusion

    CN120147096A

  • Transmission tower fall protection equipment design method and system based on multi-source fusion

    CN120147096B

  • High-altitude operation risk early warning method and system based on camera image recognition

    CN120932107A

  • High-altitude operation risk early warning method and system based on camera image recognition

    CN120932107B