Method and device for detecting safe distance between crane hoisting object and personnel based on depth image
Through the combination of depth images and three-dimensional point cloud data, the spatial transformation network and the GS-YOLOV5 model are used to detect hanging objects and pedestrians, solving the problems of sensor vulnerability and laser radar interference in the existing technology, and achieving efficient and accurate driving. Detection of safe distance between hanging objects and people.
Patent Information
- Application Number
- CN202410769060.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-14
- Publication Date
- 2024-09-06
AI Technical Summary
In the existing technology, during the working process of the crane, a weighing sensor needs to be set up to detect the hoisted object, which is easy to wear and the small-capacity sensor cannot adapt to any weight. The cost of the large-capacity sensor is high, and there is interference from metal objects in the lidar detection, which requires a large amount of calculation and is difficult to achieve high efficiency. Safe distance detection.
Depth images are used to obtain three-dimensional point cloud data of the target area. Through the spatial transformation network and the GS-YOLOV5 target detection model, the hanging objects and pedestrians are detected after dimensionality reduction. The IOU value is calculated to determine the safe distance, reducing the amount of calculation and avoiding sensor wear and tear. interference.
It achieves efficient and accurate detection of safe distances between hanging objects and people, reduces the amount of calculation and interference, improves the real-time and accuracy of detection, and provides timely feedback on safety issues.
Smart Images

Figure CN118608494A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart factory safety management, and in particular to a method and device for detecting the safe distance between a crane and a person based on a depth image. Background Art
[0002] In the industrial manufacturing industry, safe production is very important. For example, if non-staff members enter the warning area during the operation of a crane, it will cause serious safety problems.
[0003] In recent years, the deep learning model of neural network has been widely used as a new technical means to assist construction site safety management. The large amount of image data obtained by image sensors at the construction site can provide rich data for the training of target detection algorithms. The development of computer vision technology has made it a feasible solution to use digital image technology to quickly identify the safety of crane warning areas. For example, CN115861867A provides an automatic tracking method for crane hoisting objects based on significant target detection. It tracks the hoisted objects in real time and defines the warning range in real time according to the size of the tracked objects and the height to ensure the safe construction of the hoisting workers.
[0004] However, in the above technical solution, it is necessary to set up a weighing sensor to detect whether the crane is lifting an object. On the one hand, since the weighing sensor is mostly set on the hook, it is easy to wear as the hook swings; on the other hand, the workshop structure of the crane and the weight of the heavy objects are diverse. The current small-capacity weighing sensor cannot be suitable for heavy objects of any weight, and the large-capacity weighing sensor has a large deadweight. In order to overcome this problem, laser radar ranging method is currently used to detect hoisted objects, but when applied to the industrial manufacturing industry, due to the large number of metals such as alloys and iron, it is easy to interfere with the laser radar and affect the detection results.
[0005] Moreover, during the detection process, the background needs to continuously perform target detection, which requires a lot of calculations.
[0006] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention
[0007] The purpose of the present invention is to address the deficiencies in the prior art and thus provide a method and device for detecting the safe distance between a crane-mounted object and a person based on a depth image.
[0008] In order to achieve the above-mentioned object, the technical solution adopted by the present invention is as follows: In a first aspect, a method for detecting the safe distance between a crane and a person based on a depth image is provided, comprising the following steps: Obtain depth images and three-dimensional point cloud data of the target area; Determine the region of interest for the suspended object in the depth image, and determine whether the crane is started based on the depth value of the region of interest for the suspended object; When it is determined that the vehicle is started, the three-dimensional point cloud data corresponding to the region of interest of the hanging object is processed through the space conversion network to obtain the pixel coordinates of the hanging object target detection frame; The three-dimensional point cloud data of the target area is reduced to two-dimensional image data using the point cloud two-dimensional processing method. The GS-YOLOV5 target detection model is used to detect pedestrians in the two-dimensional image data to obtain the pixel coordinates of the pedestrian target detection frame. The IOU value is calculated based on the pixel coordinates of the suspended object detection frame and the pixel coordinates of the pedestrian target detection frame, and whether it is a safe distance is determined based on the IOU value.
[0009] A second aspect of the present invention provides a device for detecting the safe distance between a crane and a person based on a depth image, comprising: An acquisition module is used to acquire the depth image and three-dimensional point cloud data of the target area; A driving detection module is used to determine the region of interest of the hanging object in the depth image, and judge whether the driving is started based on the depth value of the region of interest of the hanging object; The hanging object detection module is used to process the three-dimensional point cloud data corresponding to the hanging object interest area through the space conversion network when determining the start of driving, and obtain the pixel coordinates of the hanging object target detection frame; A conversion module, used for reducing the dimensionality of the three-dimensional point cloud data of the target area into two-dimensional image data using a point cloud two-dimensional processing method; The pedestrian detection module is used to detect pedestrians in two-dimensional image data using the GS-YOLOV5 target detection model to obtain the pixel coordinates of the pedestrian target detection frame; The safety judgment module is used to calculate the IOU value based on the pixel coordinates of the suspended object target detection frame and the pixel coordinates of the pedestrian target detection frame. When the IOU value is greater than a preset threshold, it is judged as a safe distance; when the IOU value is less than the preset threshold, it is judged as an unsafe distance.
[0010] A third aspect of the present invention provides a crane, comprising a depth camera and a device for detecting the safe distance between the crane and personnel, wherein the depth camera is used to collect depth images and three-dimensional point cloud data of a target area; the device for detecting the safe distance between the crane and personnel is the aforementioned device for detecting the safe distance between the crane and personnel, and is used to determine whether the crane and personnel are at a safe distance based on the depth image and three-dimensional point cloud data collected by the depth camera.
[0011] A fourth aspect of the present invention provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person when executing the computer program.
[0012] A fifth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person.
[0013] A sixth aspect of the present invention is a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person.
[0014] Compared with the prior art, the present invention has outstanding substantial features and significant progress. Specifically, after acquiring the depth image and three-dimensional point cloud data of the target area, the present invention does not immediately perform target detection, but first determines the area of interest of the suspended object in the depth image, and judges whether the driving is started based on the depth value of the area of interest of the suspended object. Only when the driving is started, the subsequent suspended object target detection and pedestrian target detection frame detection are performed, which can greatly reduce the computing power required for target detection; and using the depth camera to obtain the depth image can overcome the problem of easy wear of the existing weighing sensor or strong interference in the laser radar ranging.
[0015] When determining the start of driving, the three-dimensional point cloud data corresponding to the area of interest of the hanging object is processed through the space transformation network to obtain the pixel coordinates of the hanging object target detection frame. The space transformation network method can reduce the amount of calculation.
[0016] The 3D point cloud data of the target area is reduced to 2D image data using the point cloud 2D processing method. The GS-YOLOV5 target detection model is used to detect pedestrians in the 2D image data to obtain the pixel coordinates of the pedestrian target detection frame. Compared with directly using 3D point cloud data for target detection, first reducing the 3D point cloud data to 2D image data and then performing target detection on the basis of 2D image data can achieve accurate detection of pedestrian target detection frames.
[0017] The IOU value is calculated based on the pixel coordinates of the hoisted object detection frame and the pixel coordinates of the pedestrian target detection frame, and whether it is a safe distance is determined based on the IOU value, so as to predict safety issues in the process of lifting heavy objects by driving, and provide timely and efficient feedback to on-site personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 This is a principle block diagram of Example 1 of the present invention.
[0019] Figure 2 It is a schematic diagram of the network structure of the GS-YOLOV5 target detection model described in Example 1 of the present invention.
[0020] Figure 3 It is a structural diagram of GSConv described in Example 1 of the present invention.
[0021] Figure 4 It is a principle block diagram of the device for detecting the safe distance between a crane and a person based on a depth image according to Embodiment 2 of the present invention.
[0022] Figure 5 It is a schematic structural diagram of the traveling crane described in Example 3 of the present invention.
[0023] In the figure, 1. Crane hoist; 2. Depth camera; 3. Horizontal moving device; 4. Horizontal moving guide rail. DETAILED DESCRIPTION
[0024] A depth camera is a device that can obtain depth information of objects in a scene. It calculates the distance between the object and the camera by emitting infrared light or laser beams and measuring the reflection time or angle of the light. A point cloud is a collection of three-dimensional points obtained by a depth camera, and each point has its coordinates and color information in three-dimensional space.
[0025] The principle of depth camera to obtain point cloud is simple and intuitive. By emitting light and measuring the reflection time or angle of light, the depth camera can calculate the distance between the object and the camera and generate a depth image. Through the depth image, the depth information obtained by the depth camera can be converted into a point cloud to obtain a three-dimensional representation of the objects in the scene. Specifically, each point in the point cloud has its coordinates and color information in three-dimensional space.
[0026] The technical solution of the present invention is further described in detail below through specific implementation methods.
[0027] Example 1 This embodiment provides a method for detecting the safe distance between a crane and a person based on a depth image. Figure 1 As shown, the following steps are included: The depth image and corresponding three-dimensional point cloud data of the target area are obtained. The three-dimensional point cloud data includes spatial coordinates (x, y, z) and color information RGB, where z is the depth value.
[0028] An area of interest for the suspended object is determined in the depth image, and whether the driving is started is determined based on the depth value of the area of interest for the suspended object.
[0029] In a specific implementation, the region of interest may be pre-set, and then the region of interest that matches the region of interest may be determined in the depth image as the region of interest for the suspended object.
[0030] Specifically, the following steps are performed when judging whether the vehicle is started based on the depth value of the region of interest of the suspended object: Select at least one point in the central area of the hanging object interest area as a target point; If the number of target points is 1, the depth value of the target point is compared with the preset depth threshold to determine whether the vehicle is started; When the depth value of the target point is less than the preset depth threshold, it is determined that the driving is started; When the depth value of the target point is not less than the preset depth threshold, it is determined that the driving is not started; If the number of target points is greater than 1, the depth values of multiple target points are averaged, and the driving is judged based on the average and the preset depth threshold; When the mean value is less than the preset depth threshold, it is determined that the vehicle is started; When the mean value is not less than the preset depth threshold, it is determined that the driving is not started.
[0031] It can be understood that in specific implementation, the simplest method is to select a point in the central area of the point cloud data of the area of interest as the target point, but if the target point is an abnormal point, it will affect the judgment result. Selecting multiple points in the central area of the point cloud data of the area of interest as the target point, and averaging the depth values of the three-dimensional point cloud data of the multiple target points, and then judging whether the driving is started based on the average and the preset depth threshold is a little more complicated, but it can avoid the interference caused by the presence of abnormal points among these target points.
[0032] When it is determined that the vehicle is started, the three-dimensional point cloud data corresponding to the area of interest of the hanging object is processed through the space transformation network to obtain the pixel coordinates of the hanging object target detection frame.
[0033] It should be noted that there is no need to perform target recognition here, and the region of interest obtained in the depth image is directly used as the region of interest of the suspended object target, which reduces the amount of calculation.
[0034] In one embodiment, the following steps are performed when converting the three-dimensional point cloud coordinates of the suspended object target detection frame into pixel coordinates through the spatial transformation network: According to the camera imaging principle, the 3D point cloud data is converted from the world coordinate system to the camera coordinate system using the camera external parameters. The formula is: Among them, x c ,y c ,z c is the coordinate of any point in the camera coordinate system, x w ,y w ,z w is the coordinate of any point in the world coordinate system, R is the rotation matrix, and t is the translation vector; According to the principle of similar triangles and the intrinsic parameters of the camera, the 3D point cloud data is transformed from the camera coordinate system to the image coordinate system by projection. The formula is: Where x, y are the coordinates of any point in the camera coordinate system, and f is the focal length; Combining the above two formulas, the two-dimensional image data is converted from the image coordinate system to the pixel coordinate system. The formula is: Among them, u, v are the coordinates of any point in the pixel coordinate system, u 0 ,v 0 are the coordinates of the origin, fx=f / dx, fy=f / dy.
[0035] After obtaining the pixel coordinates of the hanging object target frame, pedestrian detection is triggered: specifically, the three-dimensional point cloud data of the target area is reduced to two-dimensional image data using the point cloud two-dimensional processing method, and the GS-YOLOV5 target detection model is used to perform pedestrian detection on the two-dimensional image data to obtain the pixel coordinates of the pedestrian target detection frame.
[0036] Furthermore, the GS-YOLOV5 target detection model is a small target detection algorithm improved by combining the YOLOV5 detection model with the GSConv convolution module. Figure 2-3 As shown in the figure, VoV-GSCSP is used to replace the original C3 module in the neck network of the YOLOV5 detection model, and the GSConv convolution module is used to replace the original Conv convolution module in the neck network of the YOLOV5 detection model.
[0037] In the GS-YOLOV5 target detection model, the input feature map is first operated using standard convolution, and the obtained output is respectively operated in two ways. One way is to extract features using depthwise separable convolution, and the other way is to perform a Concat channel splicing operation with the result after depthwise separable convolution processing, and then the splicing result is shuffled to realize information interaction between channels.
[0038] Furthermore, the depthwise separable convolution consists of two processes: depthwise convolution and pointwise convolution. The depthwise convolution only performs convolution in space, and the pointwise convolution fuses the output features of the depthwise convolution. The mathematical formula of the depthwise convolution is shown below: in, Y1[I,j,k] Represents the value of the feature map after the deep convolution output, X[i+m,j+n,l] is the value of the input feature map, W d [i+m,j+n,l] is the value of the depth convolution kernel, K is the convolution kernel size; the mathematical formula of point-by-point convolution is as follows: Among them, the result of the input after point-by-point convolution calculation is the output result of the depth-separable convolution; The mathematical expression of Concat is as follows: in, X i For the input of one channel, Y i For another input.
[0039] After building the architecture of the GS-YOLOV5 target detection model, a large number of images of vehicles with hanging objects and pedestrians in the same frame are collected as training sets to train the GS-YOLOV5 target detection model and obtain a GS-YOLOV5 target detection model with good signals.
[0040] After obtaining the pixel coordinates of the pedestrian target detection frame, the IOU value is calculated based on the pixel coordinates of the suspended object target detection frame and the pixel coordinates of the pedestrian target detection frame, and whether it is a safe distance is determined based on the IOU value.
[0041] In one embodiment, a comparison table between the depth value and the first preset threshold is pre-built, and after the depth value is obtained, the comparison table is searched based on the depth value to obtain the corresponding first preset threshold; The IOU value is compared with a first preset threshold value, and when the IOU value is greater than the first preset threshold value, it is determined to be a safe distance, and when the IOU value is less than the first preset threshold value, it is determined to be an unsafe distance.
[0042] This is because the first preset threshold is a variable threshold related to the depth information of the hanging object. When the depth information of the hanging object is larger, the first preset threshold is smaller; when the depth information of the hanging object is smaller, the first preset threshold is larger. Therefore, when using it, the corresponding first preset threshold must be determined based on the depth information of the hanging object.
[0043] In another embodiment, the on-site distance can be obtained by performing on-site conversion based on the IOU value and the depth value, and the on-site distance is compared with the first preset threshold. When the on-site distance is greater than the second preset threshold, it is determined to be a safe distance, and when the on-site distance is less than the second preset threshold, it is determined to be an unsafe distance. It should be noted that the preset threshold here is a fixed value, for example, 1.5m.
[0044] It should be noted here that under different depth information, the same IOU value will obtain different on-site distances. Therefore, when performing on-site conversion, it is necessary to consider the height of the hoisted object, that is, the depth information of the hoisted object.
[0045] It can be understood that, in a specific implementation, the GS-YOLOV5 target detection model and the hanging object detection are both developed based on the Linux ARM architecture operating system.
[0046] It can be understood that when the crane is working, it determines in real time based on the depth value whether the vehicle is started, that is, whether the suspended object has left the ground. When the suspended object leaves the ground, subsequent point cloud processing and pedestrian detection steps are performed; when the suspended object returns to the ground, that is, the vehicle stops, subsequent point cloud processing and pedestrian detection steps are not performed. On the one hand, by setting the starting conditions for point cloud processing and pedestrian detection, they are only started when needed, reducing the amount of background calculations. On the other hand, the depth image can be automatically used to detect whether the suspended object has left the ground, and subsequent detection can be automatically started without receiving instructions from other devices or the background. It has good real-time performance and is not affected by the network.
[0047] Furthermore, when it is determined that the distance between a pedestrian and a suspended object is unsafe, a warning message is generated and a warning prompt is given.
[0048] Example 2 This embodiment provides a device for detecting the safe distance between a crane and a person based on a depth image. Figure 4 As shown, including: An acquisition module is used to acquire the depth image and three-dimensional point cloud data of the target area; A driving detection module is used to determine the region of interest of the hanging object in the depth image, and judge whether the driving is started based on the depth value of the region of interest of the hanging object; The hanging object detection module is used to determine when the vehicle is started, and to process the three-dimensional point cloud data corresponding to the area of interest of the hanging object through the space conversion network to obtain the pixel coordinates of the hanging object target detection frame; A conversion module, used for reducing the dimension of the point cloud data of the target area into two-dimensional image data by using a point cloud two-dimensional processing method; The pedestrian detection module is used to detect pedestrians in two-dimensional image data using the GS-YOLOV5 target detection model to obtain the pixel coordinates of the pedestrian target detection frame; The safety judgment module is used to calculate the IOU value based on the pixel coordinates of the suspended object target detection frame and the pixel coordinates of the pedestrian target detection frame. When the IOU value is greater than a preset threshold, it is judged as a safe distance; when the IOU value is less than the preset threshold, it is judged as an unsafe distance.
[0049] Specifically, the specific steps of data processing in this embodiment can refer to the method for detecting the safe distance between a crane-mounted object and a person described in Example 1, and will not be repeated here.
[0050] Example 3 This embodiment provides a traveling crane, including a traveling crane 1, a depth camera 2, a traveling crane and a personnel safety distance detection device, and an early warning module. Figure 5As shown, the crane hoist 1 slides horizontally along the horizontal guide rail 4 through the horizontal moving device 3 to adjust the horizontal position; the depth camera 2 is arranged on the horizontal moving device 3, and moves horizontally synchronously with the crane hoist to collect the depth image and three-dimensional point cloud data of the target area; The device for detecting the safe distance between the crane and the personnel is the device for detecting the safe distance between the crane and the personnel described in Example 2, which can be set on site or in a remote background, and is used to determine whether the crane and the personnel are at a safe distance based on the depth image and three-dimensional point cloud data collected by the depth camera; The early warning module is arranged inside the remote control handle and is communicated with the safe distance detection device for the traveling crane and the personnel. When the safe distance detection device for the traveling crane and the personnel determines that the traveling crane and the personnel are in an unsafe distance state, the early warning module alarms to promptly remind the crane operator to stop the operation.
[0051] Example 4 This embodiment provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person when executing the computer program.
[0052] Example 5 This embodiment provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person are implemented.
[0053] Example 6 This embodiment provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the aforementioned method for detecting the safe distance between a crane-mounted object and a person.
[0054] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.
Claims
1. A method for detecting the safe distance between a crane and a person based on a depth image, characterized in that: The following steps are involved: Obtain the depth image and corresponding 3D point cloud data of the target area; Determine the region of interest for the suspended object in the depth image, and determine whether the crane is started based on the depth value of the region of interest for the suspended object; When it is determined that the vehicle is started, the three-dimensional point cloud data corresponding to the region of interest of the hanging object is processed through the space conversion network to obtain the pixel coordinates of the hanging object target detection frame; The three-dimensional point cloud data of the target area is reduced to two-dimensional image data using the point cloud two-dimensional processing method. The GS-YOLOV5 target detection model is used to detect pedestrians in the two-dimensional image data to obtain the pixel coordinates of the pedestrian target detection frame. The IOU value is calculated based on the pixel coordinates of the suspended object detection frame and the pixel coordinates of the pedestrian target detection frame, and whether it is a safe distance is determined based on the IOU value.
2. The method for detecting the safe distance between a crane and a person based on a depth image according to claim 1 is characterized in that: When judging whether the crane is started based on the depth value of the area of interest of the hanging object, perform the following steps: Select at least one point in the central area of the hanging object interest area as a target point; If the number of target points is 1, the depth value of the target point is compared with the preset depth threshold to determine whether the vehicle is started; When the depth value of the target point is less than the preset depth threshold, it is determined that the driving is started; When the depth value of the target point is not less than the preset depth threshold, it is determined that the driving is not started; If the number of target points is greater than 1, the depth values of multiple target points are averaged, and the driving is judged based on the average and the preset depth threshold; When the mean value is less than the preset depth threshold, it is determined that the vehicle is started; When the mean value is not less than the preset depth threshold, it is determined that the driving is not started.
3. The method for detecting the safe distance between a crane and a person based on a depth image according to claim 1 is characterized in that: The following steps are performed when the 3D point cloud coordinates of the suspended object detection frame are converted into pixel coordinates through the spatial transformation network: According to the camera imaging principle, the 3D point cloud data is converted from the world coordinate system to the camera coordinate system using the camera external parameters. The formula is: Among them, x c ,y c ,z c is the coordinate of any point in the camera coordinate system, x w ,y w ,z w is the coordinate of any point in the world coordinate system, R 3×3 is the rotation matrix, t 3×1 is the translation vector; According to the principle of similar triangles and the intrinsic parameters of the camera, the 3D point cloud data is transformed from the camera coordinate system to the image coordinate system by projection. The formula is: Where x, y are the coordinates of any point in the camera coordinate system, and f is the focal length; Combining the above two formulas, the two-dimensional image data is converted from the image coordinate system to the pixel coordinate system. The formula is: Among them, u, v are the coordinates of any point in the pixel coordinate system, u0, v0 are the coordinates of the origin, and f x =f / dx,f y =f / dy.
4. A method for detecting the safe distance between a crane and a person based on a depth image according to any one of claims 1 to 3, characterized in that: The steps to determine whether it is a safe distance based on the IOU value are: Pre-constructing a comparison table between the depth value and the first preset threshold value, and after obtaining the depth value, searching the comparison table based on the depth value to obtain the corresponding first preset threshold value; The IOU value is compared with a first preset threshold value, and when the IOU value is greater than the first preset threshold value, it is determined to be a safe distance, and when the IOU value is less than the first preset threshold value, it is determined to be an unsafe distance.
5. A method for detecting the safe distance between a crane and a person based on a depth image according to any one of claims 1 to 3, characterized in that: The steps of determining whether it is a safe distance according to the IOU value are as follows: performing on-site conversion according to the IOU value and the depth value to obtain the on-site distance, comparing the on-site distance with a first preset threshold, determining it to be a safe distance when the on-site distance is greater than a second preset threshold, and determining it to be an unsafe distance when the on-site distance is less than the second preset threshold.
6. A device for detecting the safe distance between a crane and a person based on a depth image, characterized in that: include: An acquisition module is used to acquire the depth image and three-dimensional point cloud data of the target area; A driving detection module is used to determine the region of interest of the hanging object in the depth image, and judge whether the driving is started based on the depth value of the region of interest of the hanging object; The hanging object detection module is used to process the three-dimensional point cloud data corresponding to the hanging object interest area through the space conversion network when determining the start of driving, and obtain the pixel coordinates of the hanging object target detection frame; A conversion module, used for reducing the dimensionality of the three-dimensional point cloud data of the target area into two-dimensional image data using a point cloud two-dimensional processing method; The pedestrian detection module is used to detect pedestrians in two-dimensional image data using the GS-YOLOV5 target detection model to obtain the pixel coordinates of the pedestrian target detection frame; The safety judgment module is used to calculate the IOU value based on the pixel coordinates of the suspended object target detection frame and the pixel coordinates of the pedestrian target detection frame. When the IOU value is greater than a preset threshold, it is judged as a safe distance; when the IOU value is less than the preset threshold, it is judged as an unsafe distance.
7. A traveling crane, characterized in that: It includes a depth camera and a device for detecting the safe distance between a crane and personnel, wherein the depth camera is used to collect depth images and three-dimensional point cloud data of a target area; the device for detecting the safe distance between a crane and personnel is the device for detecting the safe distance between a crane and personnel as described in claim 6, which is used to determine whether the crane and personnel are at a safe distance based on the depth image and three-dimensional point cloud data collected by the depth camera.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Cited By
Monocular camera-based 3D human-vehicle cross detection method, device and equipment, medium and product
CN120298483A
