Lifting appliance early warning method and device, electronic equipment and storage medium

By acquiring multiple images to be identified and judging the movement status of the spreader and the position of the cargo based on the preset detection algorithm, early warning is only provided under specific conditions, which solves the problem of insufficient operating safety of the spreader equipment and improves the safe operation coefficient and accuracy of early warning. Spend.

CN118735835APending Publication Date: 2024-10-01CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310318469.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

There is a problem of insufficient safety during the operation of spreader equipment, resulting in a low operating safety factor and it is difficult to effectively improve the existing technology.

Method used

By acquiring multiple images to be identified, the movement status of the spreader and whether the cargo is located in the preset warning area are determined based on the preset detection algorithm. An early warning is only issued when the spreader is in a moving state and the cargo is in the warning area, which improves the accuracy of the early warning. degree and safety.

Benefits of technology

It effectively improves the safe operation coefficient of spreader equipment, reduces false alarms, improves the accuracy and safety of early warnings, and ensures the safety of personnel and equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118735835A_ABST
    Figure CN118735835A_ABST
Patent Text Reader

Abstract

The invention discloses a lifting appliance early warning method and device, electronic equipment and a storage medium, and relates to the technical field of safety protection. The method comprises the following steps: acquiring a plurality of to-be-recognized images, and judging the motion state of a lifting appliance based on a first to-be-recognized image and a second to-be-recognized image; the first to-be-identified image is any one to-be-identified image in the plurality of to-be-identified images, and the second to-be-identified image is any one to-be-identified image in the plurality of to-be-identified images except the first to-be-identified image. And detecting whether the lifting appliance in the plurality of to-be-identified images lifts the goods and whether the target object is located in a preset warning area based on a preset detection algorithm, and performing early warning when the lifting appliance is in a moving state, the lifting appliance lifts the goods and the target object is located in the preset warning area. Therefore, the safety operation coefficient of the hanger equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of safety protection technology, and in particular to a sling early warning method, device, electronic equipment and storage medium. Background Art

[0002] In some factories of existing enterprises, such as construction, shipbuilding, cable and other industries, spreaders play an important role in their daily material transportation as an indispensable material transportation tool. Although with the continuous development of the manufacturing industry, spreader equipment has undergone many transformations and upgrades, and has greatly improved the safety and stability of operations, the operational safety of spreader equipment is still the focus of attention.

[0003] Therefore, how to improve the safe operation coefficient of lifting equipment is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The present application provides a method, device, electronic device and storage medium for early warning of a sling, which are used to improve the safety operation coefficient of the sling equipment. The technical solution of the present application is as follows:

[0005] In a first aspect, a sling early warning method is provided, the method comprising: acquiring multiple images to be identified, and judging the movement state of the sling based on a first image to be identified and a second image to be identified; the first image to be identified is any one of the multiple images to be identified, and the second image to be identified is any one of the multiple images to be identified except the first image to be identified; based on a preset detection algorithm, detecting whether the sling in the multiple images to be identified is lifting cargo and whether a target object is located in a preset warning area, and issuing an early warning when the sling is in a moving state, the sling is lifting cargo and the target object is located in the preset warning area.

[0006] In some embodiments, the above-mentioned "determining the motion state of the sling based on the first image to be identified and the second image to be identified" includes: converting the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and differentiating the first grayscale image and the second grayscale image to obtain a differential image; determining the number of differential values ​​in the differential image whose differential values ​​are greater than a preset differential threshold and the total amount of differential values ​​in the differential image, and determining the differential ratio of the number of differentials to the total amount; determining the motion state of the sling based on the differential ratio and the preset ratio threshold.

[0007] In some embodiments, the method further includes: determining that the spreader is in a moving state when the difference ratio is greater than a preset ratio threshold.

[0008] In some embodiments, the multiple images to be identified are images captured within a preset time period.

[0009] In a second aspect, a sling warning device is provided, the device comprising: an acquisition unit, a judgment unit, a detection unit and a warning unit; the acquisition unit is used to acquire multiple images to be identified; the judgment unit is used to judge the motion state of the sling based on the first image to be identified and the second image to be identified. The first image to be identified is any image to be identified among the multiple images to be identified, and the second image to be identified is any image to be identified among the multiple images to be identified except the first image to be identified. The detection unit is used to detect whether the sling is lifting cargo in the multiple images to be identified and whether the target object is located in a preset warning area based on a preset detection algorithm. The warning unit is used to issue a warning when the sling is in a moving state, the sling is lifting cargo and the target object is located in a preset warning area.

[0010] In some embodiments, the judgment unit is specifically used to: convert the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and perform a difference between the first grayscale image and the second grayscale image to obtain a difference image. Determine the number of differences in the difference image whose difference values ​​are greater than a preset difference threshold and the total number of difference values ​​in the difference image, and determine the difference ratio of the number of differences to the total number. Determine the motion state of the sling based on the difference ratio and the preset ratio threshold.

[0011] In some embodiments, the device further comprises a determination unit, which is configured to determine that the spreader is in a moving state when the differential ratio is greater than a preset ratio threshold.

[0012] In some embodiments, the multiple images to be identified are images captured within a preset time period.

[0013] In a third aspect, an electronic device is provided, comprising: a processor and a communication interface; the communication interface and the processor are coupled, and the processor is used to run a computer program or instruction to implement the spreader warning method as in the first aspect.

[0014] In a fourth aspect, a computer-readable storage medium is provided. When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the spreader warning method as in the first aspect.

[0015] In a fifth aspect, a computer program product is provided. The computer program product includes computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the spreader warning method as in the first aspect.

[0016] The first aspect of the present application provides a method for early warning of a sling, which brings the following beneficial effects: after obtaining multiple images to be identified, it is determined whether the sling is in a moving state based on the images to be identified, and a detection algorithm is preset to detect whether the sling is lifting goods in the multiple images to be identified and whether the target object is located in a preset warning area, and an early warning is issued when the sling is in a moving state, the sling is lifting goods, and the target object is located in the preset warning area. In this way, when it is determined that the sling is in a moving state, the sling is lifting goods, and there is a target object (such as a pedestrian) in the warning area, an early warning is issued to improve the safety operation coefficient of the sling equipment.

[0017] In addition, the warning is only issued when the sling is in motion, the sling is lifting goods, and there are target objects (such as pedestrians) in the warning area. Considering that most slings require personnel to assist in clamping, and the goods are on the ground during clamping, the danger is relatively low. In this case, personnel should be allowed to enter without alarming. This application adds a sling movement judgment before the alarm, thus avoiding some false alarms and improving the accuracy of the warning.

[0018] It should be noted that the technical effects brought about by the implementation methods of the second to fifth aspects can refer to the technical effects brought about by the corresponding implementation methods in the first aspect, and will not be repeated here.

[0019] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application, and do not constitute an improper limitation on the present application.

[0021] Figure 1 One of the structural schematic diagrams of a spreader warning system provided in an embodiment of the present application;

[0022] Figure 2 A second structural diagram of a spreader warning system provided in an embodiment of the present application;

[0023] Figure 3 One of the flow charts of a method for early warning of a spreader is provided for an embodiment of the present application;

[0024] Figure 4 A second flowchart of a method for early warning of a spreader is provided for an embodiment of the present application;

[0025] Figure 5 A schematic diagram of the structure of a sling warning device provided in an embodiment of the present application;

[0026] Figure 6A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] In order to enable ordinary persons in the art to better understand the technical 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 accompanying drawings.

[0028] 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 sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.

[0029] Before introducing the transaction method provided by this application in detail, a brief introduction to the relevant elements, application scenarios, and implementation environment involved in this application is first given.

[0030] First, a brief introduction to the application scenarios involved in this application is given.

[0031] In some factories of existing enterprises, such as construction, shipbuilding, cable and other industries, spreaders play an important role in their daily material transportation as an indispensable material transportation tool. Although with the continuous development of the manufacturing industry, spreader equipment has undergone many transformations and upgrades, and has greatly improved the safety and stability of operations, the operational safety of spreader equipment is still the focus of attention.

[0032] How to ensure the safe operation of lifting equipment is a technical problem that needs to be solved urgently.

[0033] In response to the above problems, the present application provides a sling early warning method, which includes: acquiring multiple images to be identified, and judging the movement state of the sling based on a first image to be identified and a second image to be identified; the first image to be identified is any one of the multiple images to be identified, and the second image to be identified is any one of the multiple images to be identified except the first image to be identified; based on a preset detection algorithm, detecting whether the sling in the multiple images to be identified is lifting cargo and whether the target object is located in a preset warning area; and issuing an early warning when the sling is in a moving state, the sling is lifting cargo and the target object is located in the preset warning area.

[0034] In this way, when it is determined that the spreader is in a moving state, the spreader is lifting goods, and there is a target object (such as a pedestrian) in the warning area, an early warning is issued to improve the safety operation coefficient of the spreader equipment.

[0035] In addition, the warning is only issued when the sling is in motion, the sling is lifting goods, and there are target objects (such as pedestrians) in the warning area. Considering that most slings require personnel to assist in clamping, and the goods are on the ground during clamping, the danger is relatively low. In this case, personnel should be allowed to enter without alarming. This application adds a sling movement judgment before the alarm, thus avoiding some false alarms and improving the accuracy of the warning.

[0036] Based on the above invention concept, Figure 1 As shown, an embodiment of the present invention provides a spreader warning system 100. The spreader warning system 100 includes a camera 101, a server 102 and an alarm 103. The server 102 is connected to the camera 101 and the alarm 103 respectively.

[0037] The camera 101 is used to capture images including the sling and the area below the sling.

[0038] In some embodiments, the camera 101 is used to be fixed above the sling.

[0039] In other embodiments, the camera 101 is used to be fixed on a sling. The embodiment of the present application does not specifically limit the position of the sling.

[0040] The server 102 is used to receive the image sent by the camera 101 and analyze the image sent by the camera 101 to determine the movement state of the spreader, whether the spreader is lifting goods, and whether the target object is located in a preset warning area.

[0041] The server 102 is further configured to generate an alarm message and send the alarm message to the alarm 103 when it is determined that the spreader is in motion, the spreader is carrying goods, and the target object is located in a preset warning area.

[0042] The server 102 may be one server, multiple servers, or a server cluster.

[0043] Exemplarily, server 102 is a cloud server.

[0044] The alarm 103 is used to emit an alarm sound after receiving the alarm information sent by the server 102 to remind the operating personnel to work safely.

[0045] The camera 101 , the server 102 and the alarm 103 all have a communication module.

[0046] In other designs, such as Figure 2 As shown, another spreader warning system 200 is provided. The spreader warning system 200 includes a camera 201, an electronic device 202 and an alarm 203. The electronic device 202 is connected to the camera 201 and the alarm 203 respectively.

[0047] The electronic device 202, the camera 201 and the alarm 203 are all located locally.

[0048] The electronic device 202 may be a local functional industrial computer.

[0049] The camera 201, the electronic device 202 and the alarm 203 all have a communication module.

[0050] In this way, after the camera 202 acquires the image to be identified, the local electronic device 202 directly analyzes it without uploading it to the cloud server, thereby improving computing efficiency.

[0051] In other embodiments, the spreader warning system may be located in the electronic device 300. The electronic device 300 is used to obtain a plurality of images to be identified and analyze the plurality of images to be identified to determine whether to issue an alarm.

[0052] For ease of understanding, the sling warning method provided by the present application is specifically introduced below in conjunction with the accompanying drawings. The execution subject in the embodiment of the present application is described by taking an electronic device as an example.

[0053] Figure 3 FIG. 1 is a flow chart of a method for early warning of a spreader according to an exemplary embodiment. Figure 3 As shown, the spreader early warning method includes the following steps: S301-S304.

[0054] S301: The electronic device obtains a plurality of images to be recognized.

[0055] As a possible implementation method, the electronic device receives multiple images to be recognized sent by a camera.

[0056] In some embodiments, the camera captures multiple images to be recognized within a preset time period and sends the multiple images to be recognized to the electronic device. Accordingly, the electronic device receives the multiple images to be recognized sent by the camera.

[0057] Exemplarily, the camera captures 10 images to be recognized within 10 seconds S, and sends the 10 images to be recognized to the electronic device.

[0058] In other embodiments, the camera periodically collects images to be recognized and sends the collected images to the electronic device in real time. Accordingly, the electronic device continuously receives the images to be recognized sent by the camera and obtains multiple images to be recognized.

[0059] Exemplarily, the camera captures an image to be recognized every 1 second, and sends the captured image to be recognized to the electronic device.

[0060] In another case, the electronic device receives video data sent by a camera and obtains multiple images to be identified based on the video data.

[0061] It should be noted that the preset time period is pre-set in the camera by the operation and maintenance personnel. The preset time period can be 10S or 15S, and this embodiment of the present application does not limit this.

[0062] S302: The electronic device determines the motion state of the lifting device based on the first image to be recognized and the second image to be recognized.

[0063] The first image to be identified is any image to be identified among the multiple images to be identified, and the second image to be identified is any image to be identified among the multiple images to be identified except the first image to be identified.

[0064] As a possible implementation method, the electronic device converts the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and performs a difference between the first grayscale image and the second grayscale image to obtain a differential image. Further, the electronic device determines the number of differential values ​​in the differential image that are greater than a preset differential threshold and the total number of differential values ​​in the differential image, and determines the differential ratio of the number of differential values ​​to the total number. Subsequently, the electronic device determines the motion state of the sling based on the differential ratio and the preset ratio threshold.

[0065] As another possible implementation method, the electronic device obtains sparse optical flows in the first image to be identified and the second image to be identified to obtain a sparse optical flow map. Further, the electronic device obtains the number of first pixels in the optical flow map whose pixel values ​​are greater than a preset pixel threshold, and the total number of pixels in the optical flow map. Subsequently, the electronic device calculates the proportion of the first number of pixels to the total number of pixels to obtain the first pixel proportion. Finally, the electronic device determines the motion state of the sling based on the first pixel proportion and the preset proportion threshold, and determines that the sling is in motion when the first pixel proportion is greater than the preset proportion threshold.

[0066] In some other embodiments, the electronic device obtains dense optical flow in the first image to be identified and the second image to be identified based on the optical flow method to obtain a dense optical flow map. Further, the electronic device determines the motion state of the spreader based on a preset dense optical flow algorithm.

[0067] It should be noted that the preset difference threshold, the preset ratio threshold, the preset proportion threshold and the preset dense optical flow algorithm are pre-configured by the operation and maintenance personnel according to actual conditions.

[0068] S303: The electronic device detects, based on a preset detection algorithm, whether the sling in the multiple images to be identified is lifting cargo and whether the target object is located in a preset warning area.

[0069] As a possible implementation method, the electronic device detects each image to be identified one by one based on a preset detection algorithm to determine whether the sling in each image to be identified is lifting goods and whether the target object is located in a preset warning area.

[0070] Exemplarily, the electronic device obtains 10 images to be identified, and detects each image to be identified one by one based on a preset detection algorithm in the order in which the 10 images to be identified are received, so as to determine whether the sling in each image to be identified is lifting cargo and whether the target object is located in a preset warning area.

[0071] Subsequently, when the electronic device determines that the sling is lifting cargo and the target object is located in the preset warning area in the first image to be identified, the electronic device obtains the second image to be identified and determines whether the sling is lifting cargo and the target object is located in the preset warning area in each image to be identified, and this continues until the electronic device determines that the sling is lifting cargo and the target object is located in the preset warning area in the 10th image to be identified.

[0072] In some embodiments, the electronic device further trains the preset detection algorithm before using the preset detection algorithm.

[0073] Specifically, the electronic device obtains multiple sample images or multiple sample video data, and uses a deep learning target detection algorithm to identify the goods and target objects in the image until the electronic device obtains a learned target detection algorithm (i.e., a preset detection algorithm).

[0074] Exemplarily, the preset detection algorithm is the open source target detection model YOLOv4.

[0075] It should be noted that the electronic device may proceed to S302, may proceed to S303 first, or may proceed to S302 and S303 simultaneously, and this is not limited in the embodiments of the present application. The preset warning area is the area covered by the goods, and the preset warning area is larger than the coverage area of ​​the goods.

[0076] In some embodiments, the preset warning area is related to the moving speed and moving direction of the cargo.

[0077] S304. The electronic device issues an early warning when the sling is in a moving state, the sling is lifting goods, and the target object is located in a preset warning area.

[0078] As a possible implementation method, when the electronic device determines that the sling is in a moving state, the sling is lifting goods, and the target object is located in a preset warning area, it generates an alarm message and sends the alarm message to an alarm device.

[0079] In another case, the electronic device does not issue an early warning when it is determined that the spreader is in a stationary state, the spreader is not carrying cargo, or the target object is not located in a preset warning area.

[0080] The present application provides a sling early warning method, which has the following beneficial effects: when it is determined that the sling is in a moving state, the sling is lifting goods and there is a target object (such as a pedestrian) in the warning area, an early warning is issued to improve the safe operation coefficient of the sling equipment.

[0081] In addition, the warning is only issued when the sling is in motion, the sling is lifting goods, and there are target objects (such as pedestrians) in the warning area. Considering that most slings require personnel to assist in clamping, and the goods are on the ground during clamping, the danger is relatively low. In this case, personnel should be allowed to enter without alarming. This application adds a sling movement judgment before the alarm, thus avoiding some false alarms and improving the accuracy of the warning.

[0082] Furthermore, the technical solution of the embodiment of the present application can determine the moving state of the sling, the cargo lifted by the sling, and whether the target object is located in a preset warning area by only using multiple images to be identified, and when it is determined that the sling is in a moving state, the sling is lifting cargo, and there is a target object (such as a pedestrian) in the warning area, an early warning is issued, thereby reducing the early warning cost.

[0083] In one design, in order to determine the motion state of the spreader, such as Figure 4 As shown, S302 provided in the embodiment of the present application specifically includes: S3021-S3025.

[0084] S3021. The electronic device converts the first image to be recognized and the second image to be recognized into a first grayscale image and a second grayscale image respectively.

[0085] In some embodiments, the electronic device determines the first image to be recognized and the second image to be recognized based on the time interval of the images to be recognized.

[0086] Exemplarily, the time interval between the first image to be recognized and the second image to be recognized is less than or equal to 3S.

[0087] S3022: The electronic device performs a difference between the first grayscale image and the second grayscale image to obtain a difference image.

[0088] S3023: The electronic device determines the number of differences in the differential image whose differential values ​​are greater than a preset differential threshold and the total number of differential values ​​in the differential image.

[0089] S3024. The electronic device determines the ratio of the difference quantity to the total difference.

[0090] S3025. The electronic device determines the movement state of the spreader based on the differential ratio and a preset ratio threshold.

[0091] Specifically, the electronic device determines whether the difference ratio is greater than a preset ratio threshold, and determines that the spreader is in a moving state when the difference ratio is greater than the preset ratio threshold.

[0092] In another case, the electronic device determines the image to be identified within a preset time period based on the above-mentioned image difference method to determine the movement status of the spreader.

[0093] Exemplarily, the electronic device first converts multiple images to be identified into grayscale images, and performs a difference between the images taken one second apart to obtain multiple differenced images. Further, the electronic device counts the proportion of the values ​​in the differenced images that are greater than 10 to the entire image. If the proportion of the values ​​in each of the multiple differenced images that are greater than 10 to the entire image is greater than a preset threshold, the electronic device determines that the sling is in a moving state. Otherwise, the electronic device is in a stationary state.

[0094] The electronic device continuously acquires a plurality of images to be identified, and analyzes whether the slings in the plurality of images to be identified are all in a moving state based on the above-mentioned difference method.

[0095] In one design, the multiple images to be identified are images captured within a preset time period.

[0096] Exemplarily, the multiple images to be identified are images captured by the camera within 5 seconds.

[0097] In some embodiments, the multiple images to be identified are obtained by continuously photographing the sling by a camera, that is, the multiple images to be identified are images that are continuous in time.

[0098] The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, the sling warning device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0099] The embodiments of the present application can exemplarily divide the functional modules of the sling warning device or the electronic device according to the above method. For example, the sling warning device or the electronic device can include various functional modules corresponding to the various functional divisions, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiments of the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.

[0100] For example, an embodiment of the present application also provides a sling warning device.

[0101] Figure 5 4 is a spreader warning device 40 according to an exemplary embodiment. Figure 5 The hoisting equipment warning device 40 includes: an acquisition unit 401 , a judgment unit 402 , a detection unit 403 and a warning unit 404 .

[0102] The acquisition unit 401 is used to acquire a plurality of images to be recognized.

[0103] The judging unit 402 is used to judge the motion state of the sling based on the first image to be recognized and the second image to be recognized. The first image to be recognized is any image to be recognized among the multiple images to be recognized, and the second image to be recognized is any image to be recognized among the multiple images to be recognized except the first image to be recognized.

[0104] The detection unit 403 is used to detect whether the sling is lifting goods in the multiple images to be identified and whether the target object is located in a preset warning area based on a preset detection algorithm.

[0105] The early warning unit 404 is used to issue an early warning when the spreader is in a moving state, the spreader is carrying goods, and the target object is located in a preset warning area.

[0106] Optionally, the judgment unit 402 is specifically used to: convert the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and perform a difference between the first grayscale image and the second grayscale image to obtain a difference image. Determine the number of differences in the difference image whose difference values ​​are greater than a preset difference threshold and the total number of difference values ​​in the difference image, and determine the difference ratio of the number of differences to the total number. Determine the motion state of the sling based on the difference ratio and the preset ratio threshold.

[0107] Optional, such as Figure 5 As shown, the spreader warning device 40 further includes a determination unit 405; the determination unit 405 is used to determine that the spreader is in a moving state when the difference ratio is greater than a preset ratio threshold.

[0108] Optionally, the multiple images to be identified are images captured within a preset time period.

[0109] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the embodiment of the present application provides a possible structural diagram of the electronic device involved in the above-mentioned embodiment. Figure 6 As shown, the electronic device 50 includes a processor 501, a memory 502 and a bus 503. The processor 501 and the memory 502 may be connected via the bus 503.

[0110] The processor 501 is the control center of the communication device, which can be a processor or a general term for multiple processing elements. For example, the processor 501 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

[0111] As an embodiment, the processor 501 may include one or more CPUs, such as Figure 6 CPU 0 and CPU 1 are shown in .

[0112] The memory 502 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited to these.

[0113] As a possible implementation, the memory 502 may exist independently of the processor 501, and the memory 502 may be connected to the processor 501 via a bus 503, and is used to store instructions or program codes. When the processor 501 calls and executes the instructions or program codes stored in the memory 502, the sensor determination method provided in the embodiment of the present application can be implemented.

[0114] In another possible implementation, the memory 502 may also be integrated with the processor 501 .

[0115] The bus 503 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0116] It should be pointed out that Figure 6 The structure shown does not constitute a limitation on the electronic device 50. Figure 6 In addition to the components shown, the electronic device 50 may include more or fewer components than shown, or combine certain components, or arrange the components differently.

[0117] Optionally, the electronic device 50 provided in the embodiment of the present application may further include a communication interface 504 .

[0118] The communication interface 504 is used to connect with other devices through a communication network. The communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 504 may include a receiving unit for receiving data and a sending unit for sending data.

[0119] In one design, in the electronic device provided in the embodiment of the present application, the communication interface can also be integrated into the processor.

[0120] In another hardware structure of an electronic device provided in an embodiment of the present application, the electronic device may include a processor and a communication interface. The processor is coupled to the communication interface.

[0121] The functions of the processor may refer to the description of the above processor. In addition, the processor also has a storage function, which may refer to the function of the above memory.

[0122] The communication interface is used to provide data to the processor. The communication interface can be an internal interface of the communication device or an external interface of the communication device.

[0123] It should be pointed out that the above-mentioned another hardware structure does not constitute a limitation on the electronic device. In addition to the above-mentioned another hardware component, the electronic device may include more or fewer components, or a combination of certain components, or different component arrangements.

[0124] In the case of implementing the functions of the above-mentioned integrated modules in the form of hardware, the structural diagram of the middleware involved in the above-mentioned embodiments provided in the embodiments of the present application can refer to the structural diagram of the above-mentioned execution machine.

[0125] An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When a computer executes the instructions, the computer executes each step in the process of the sling warning method shown in the above method embodiment.

[0126] The embodiment of the present application also provides a computer program product including instructions, and when the instructions are executed on a computer, the computer executes the spreader warning method in the above method embodiment.

[0127] Among them, the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable computer disk, and a hard disk. Random Access Memory (RAM), Read-Only Memory (ROM), Erasable Programmable Read Only Memory (EPROM), registers, hard disks, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any other form of computer-readable storage medium in a suitable combination of the above, or numerical values ​​in the art. An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an Application Specific Integrated Circuit (ASIC). In the embodiments of the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program, which may be used by or in conjunction with an instruction execution system, apparatus, or device.

[0128] Since the server, user equipment, computer-readable storage medium, and computer program product in the embodiments of the present application can be applied to the above method, the technical effects that can be obtained can also refer to the above method embodiments, and the embodiments of the present application will not be repeated here.

[0129] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application.

Claims

1. A method for early warning of a spreader, characterized in that: The method comprises: Acquire multiple images to be identified, and determine the motion state of the spreader based on a first image to be identified and a second image to be identified; the first image to be identified is any image to be identified among the multiple images to be identified, and the second image to be identified is any image to be identified among the multiple images to be identified except the first image to be identified; Based on a preset detection algorithm, it is detected whether the sling in the multiple images to be identified is lifting cargo and whether the target object is located in a preset warning area, and an early warning is issued when the sling is in a moving state, the sling is lifting cargo and the target object is located in the preset warning area.

2. The spreader early warning method according to claim 1, characterized in that: The determining the motion state of the spreader based on the first image to be identified and the second image to be identified includes: Converting the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and performing a difference between the first grayscale image and the second grayscale image to obtain a difference image; Determine the number of differences in the difference image whose difference values ​​are greater than a preset difference threshold and the total number of difference values ​​in the difference image, and determine the difference ratio of the number of differences to the total number; The motion state of the spreader is determined based on the difference ratio and a preset ratio threshold.

3. The spreader early warning method according to claim 2, characterized in that: The method further comprises: When the difference ratio is greater than the preset ratio threshold, it is determined that the spreader is in a moving state.

4. The spreader early warning method according to any one of claims 1 to 3, characterized in that: The multiple images to be identified are images captured within a preset time period.

5. A spreader warning device, characterized in that: The device comprises: an acquisition unit, a judgment unit, a detection unit and an early warning unit; The acquisition unit is used to acquire a plurality of images to be recognized; The judgment unit is used to judge the motion state of the spreader based on a first image to be recognized and a second image to be recognized; the first image to be recognized is any image to be recognized among the multiple images to be recognized, and the second image to be recognized is any image to be recognized among the multiple images to be recognized except the first image to be recognized; The detection unit is used to detect whether the sling in the plurality of images to be identified is lifting cargo and whether the target object is located in a preset warning area based on a preset detection algorithm; The early warning unit is used to issue an early warning when the sling is in a moving state, the sling is lifting goods, and the target object is located in the preset warning area.

6. The spreader warning device according to claim 5, characterized in that: The judging unit is specifically used for: Converting the first image to be identified and the second image to be identified into a first grayscale image and a second grayscale image respectively, and performing a difference between the first grayscale image and the second grayscale image to obtain a difference image; Determine the number of differences in the difference image whose difference values ​​are greater than a preset difference threshold and the total number of difference values ​​in the difference image, and determine the difference ratio of the number of differences to the total number; The motion state of the spreader is determined based on the difference ratio and a preset ratio threshold.

7. The spreader warning device according to claim 6, characterized in that: The device also includes a determining unit; The determining unit is used to determine that the spreader is in a moving state when the difference ratio is greater than the preset ratio threshold.

8. The spreader warning device according to any one of claims 5 to 7, characterized in that: The multiple images to be identified are images captured within a preset time period.

9. An electronic device, characterized in that: include: A processor and a communication interface; the communication interface is coupled to the processor, and the processor is used to run a computer program or instruction to implement the spreader early warning method as described in any one of claims 1-4.

10. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute the spreader early warning method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Moving object detection method and system

    CN107330916A

  • Automatic tracking system, equipment and method for lifting tool

    CN110996068A

  • Tower crane early warning method, device and system and storage medium

    CN111392619A

  • Tower crane operation monitoring method and device, storage medium and processor

    CN113538841A