Forklift and pedestrian collision early warning method, collision early warning device and electronic equipment
By using warehouse surveillance video equipment and deep learning models to determine the early warning range of forklifts, all-round collision warning around forklifts is achieved, solving the problems of high equipment cost and limited early warning range, improving early warning accuracy and reducing errors. Report.
Patent Information
- Application Number
- CN202410512781.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-25
- Publication Date
- 2024-08-27
AI Technical Summary
The existing forklift-pedestrian collision warning system has the problems of high equipment cost and limited warning range, and cannot achieve effective warning for the entire environment around the forklift.
By using the surveillance video equipment installed in the warehouse, real-time collection of forklift scene images is used to determine the forklift's early warning range, and the deep learning target detection model is used to detect pedestrians and forklifts, and the early warning range is set to achieve a full range of collision warning.
It improves the accuracy of collision warning between pedestrians and forklifts, reduces equipment installation costs, avoids interference to operators due to false alarms, and enables blind-angle warning around forklifts.
Smart Images

Figure CN118552933A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of warehouse safety, and in particular to a collision warning method and device for a forklift and a pedestrian, an electronic device, and a non-transient computer-readable storage medium. Background Art
[0002] In the industrial field, especially in factories, warehouses and other places, collision accidents between forklifts and pedestrians occur frequently. In the prior art, in order to prevent such accidents, people usually install various sensors or cameras and image processing equipment on forklifts to monitor the positions of forklifts and pedestrians so as to issue alarms in time. However, these traditional methods have some limitations, including high equipment costs, complex deployment and additional maintenance costs.
[0003] For example, these traditional methods usually require the installation of expensive cameras or sensor devices on each forklift, which increases the cost of the system. If there is only one camera on the forklift, the field of view is limited and cannot take into account every angle around the forklift. There is a visual blind spot and it can only warn within a certain range of the forklift's running direction, and cannot achieve full environmental warning around the forklift. In addition, the deployment and maintenance of these systems are relatively complex. Some old-fashioned forklifts have different shapes, and the installation of related equipment needs to be customized according to actual conditions. It cannot be standardized and requires professional personnel to install and debug, which increases additional labor costs. In addition, since the target detection model needs to be deployed on the edge device installed on the forklift, in order to improve the response speed of the target detection model, there are also requirements for the complexity of the target detection model. Summary of the invention
[0004] The present invention aims to propose a forklift and pedestrian collision warning method and collision warning device, electronic equipment and non-transitory computer-readable storage medium to solve the problems of high equipment cost and limited warning range in the prior art when warning forklift and pedestrian collision.
[0005] According to one aspect of the present invention, a collision warning method between a forklift and a pedestrian is proposed, comprising: determining a warning range of the forklift in response to a pedestrian collision warning instruction of the forklift; determining whether the forklift is in motion according to the position of the forklift in continuous frame images; and when the forklift is in motion, using the warning range to warn of a pedestrian collision.
[0006] According to some embodiments, determining the warning range of the forklift includes: determining a detection frame of the forklift; and expanding the detection frame using a preset expansion coefficient to determine the warning range.
[0007] According to some embodiments, determining the detection frame of the forklift includes: determining a detection frame width of the forklift and a detection frame height of the forklift.
[0008] According to some embodiments, the expansion coefficient includes a first expansion coefficient and a second expansion coefficient, and the warning range is determined by the following formula:
[0009] Warning area width = forklift detection frame width + 2*min (forklift detection frame width, forklift detection frame height)*first expansion coefficient,
[0010] Warning area height = forklift detection frame width + 2*min (forklift detection frame width, forklift detection frame height)*second expansion coefficient,
[0011] Among them, min is the function for selecting the minimum value.
[0012] According to some embodiments, determining whether the forklift is in motion based on the position of the forklift in continuous frame images includes: calculating the moving distance of the center point of the forklift based on the position of the forklift in continuous frame images; calculating the product of the detection frame width of the forklift and a preset control coefficient to obtain a product result; judging whether the moving distance is greater than the product result; when the moving distance is greater than the product result, determining that the forklift is in motion.
[0013] According to some embodiments, calculating the moving distance of the center point of the forklift according to the position of the forklift in continuous frame images includes: calculating the moving distance of the center point of the forklift according to the position of the forklift in the current frame and the image frame with a previous preset interval value.
[0014] According to some embodiments, when the forklift is in motion, the warning range is used to issue a warning of a pedestrian collision, including: when the pedestrian's detection frame overlaps with the warning range of the forklift and the pedestrian's detection frame does not completely fall within the warning range, or when the distance between the pedestrian's detection frame and the warning range of the forklift is less than a preset threshold, a pedestrian collision is issued.
[0015] According to one aspect of the present invention, a collision warning device for a forklift and a pedestrian is provided, comprising: a forklift warning range determination unit, for determining a warning range of the forklift in response to a pedestrian collision warning instruction of the forklift; a forklift motion state determination unit, for determining whether the forklift is in motion according to the position of the forklift in continuous frame images; and a warning unit, for using the warning range to issue a warning of a pedestrian collision when the forklift is in motion.
[0016] According to one aspect of the present invention, an electronic device is provided, comprising: a processor; and a memory storing a computer program, wherein when the computer program is executed by the processor, the processor executes the collision warning method as described in any of the previous embodiments.
[0017] According to one aspect of the present invention, a non-transitory computer-readable storage medium is provided, on which computer-readable instructions are stored. When the instructions are executed by a processor, the processor executes the collision warning method as described in any of the previous embodiments.
[0018] According to an embodiment of the present invention, by acquiring a complete image of the area around the forklift and setting a warning range around the forklift, a collision warning around the forklift is implemented, thereby improving the accuracy of the collision warning between pedestrians and forklifts and solving the problems of high installation equipment cost and limited warning range in the prior art.
[0019] In other embodiments, by not generating an alarm for an operator who is already inside the forklift, interference of the forklift operator with a false alarm is avoided.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. By describing the exemplary embodiments in detail with reference to the drawings, the above and other objectives, features and advantages of the present invention will become more apparent.
[0022] Figure 1 A flow chart of a collision warning method between a forklift and a pedestrian according to an exemplary embodiment of the present invention is shown.
[0023] Figure 2 A flow chart of a method for determining whether a forklift is in motion according to an exemplary embodiment of the present invention is shown.
[0024] Figure 3 A schematic diagram of a forklift state according to an exemplary embodiment of the present invention is shown.
[0025] Figure 4 Another schematic diagram of forklift status according to an exemplary embodiment of the present invention is shown.
[0026] Figure 5 Another schematic diagram of forklift status according to an exemplary embodiment of the present invention is shown.
[0027] Figure 6 Another schematic diagram of forklift status according to an exemplary embodiment of the present invention is shown.
[0028] Figure 7 A block diagram of a collision warning device between a forklift and a pedestrian according to an exemplary embodiment of the present invention is shown.
[0029] Figure 8 A schematic diagram of an electronic device according to an exemplary embodiment of the present invention is shown. DETAILED DESCRIPTION
[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that the present invention will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same figures in the drawings represent the same or similar parts, and thus their repeated description will be omitted.
[0031] The described features, structures or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced without one or more of these specific details, or other modes, components, materials, devices or operations may be adopted. In these cases, known structures, methods, devices, implementations, materials or operations will not be shown or described in detail.
[0032] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0033] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0034] The specific embodiments according to the present invention are described in detail below with reference to the accompanying drawings.
[0035] Figure 1 FIG. 4 shows a flow chart of a forklift-pedestrian collision warning method according to an exemplary embodiment of the present invention. Figure 1The collision warning method shown includes steps S101 , S103 and S105 .
[0036] As mentioned above, in the prior art, in order to prevent collisions between forklifts and pedestrians, various sensors or cameras and image processing equipment are usually installed on forklifts to monitor the positions of forklifts and pedestrians so as to issue alarms in time. However, installing sensors or cameras on forklifts not only has the problems of complex system deployment and maintenance and high equipment costs, but also because the coverage of the cameras installed on the forklifts is limited and cannot estimate every angle around the forklifts, there are visual errors, which affects the accuracy of the warning.
[0037] According to an embodiment of the present invention, in order to provide collision warnings for forklifts and pedestrians, the monitoring video equipment installed in the warehouse is used to capture images of the scene described by the forklift in real time without the need for additional hardware investment. Images of the complete scene are obtained, and all angles around the forklift can be estimated without blind spots.
[0038] In addition, in a specific embodiment, the target detection model is deployed on the server side. Compared with the prior art in which the target detection model is deployed on an edge device mounted on a forklift, there is no longer a complexity restriction on the target detection model, and therefore, the detection accuracy is higher.
[0039] like Figure 1 As shown, in step S101, in response to a pedestrian collision warning instruction of a forklift, a warning range of the forklift is determined.
[0040] According to an embodiment of the present invention, in step S101, target detection needs to be performed on a forklift and a pedestrian.
[0041] In a specific embodiment, a deep learning-based target detection model is used to detect forklifts and pedestrians, and the target detection model is deployed on the server side rather than on an edge device installed on the forklift. The target detection model has no requirements on complexity, and available target detection models include but are not limited to yolov7 and / or rtdetr.
[0042] Due to the differences in the scenes of commonly used public data sets, the detection accuracy is not ideal in real warehouses, factories and other special background lighting environments. In order to improve the detection accuracy of the target detection model, according to an embodiment of the present invention, based on the existing public data sets, the existing warehouse monitoring video equipment is used to collect pedestrian data sets and forklift data sets, and the target detection model is trained to improve the detection accuracy of the target detection model for pedestrians and forklifts. At the same time, the time for data collection is saved and the cost of data collection is reduced.
[0043] In a specific embodiment, the threshold for forklift detection in the target detection model is preset to 0.2, and the threshold for pedestrian detection is preset to 0.2. That is, when the detection probability of a forklift is higher than 0.2, it is considered that the forklift is detected; when the detection probability of a pedestrian is higher than 0.2, it is considered that the pedestrian is detected.
[0044] In some embodiments, if the false detection probability during forklift detection or pedestrian detection is high, the threshold of forklift detection or the detection probability of pedestrian may be adjusted to 0.3, 0.4 or 0.5.
[0045] In order to provide an early warning before a collision between a pedestrian and a forklift, according to an embodiment of the present invention, in step S101, first, a detection frame of the forklift is determined; then, the detection frame is expanded using a preset expansion coefficient to determine a warning range of the forklift. That is, a warning range is set around the forklift detection frame according to a preset ratio based on the size of the forklift.
[0046] According to an embodiment of the present invention, determining a detection frame of a forklift includes determining a detection frame width and a detection frame height of the forklift. The expansion system includes a first expansion coefficient and a second expansion coefficient, wherein the first expansion coefficient is used to expand the width of the forklift detection frame, and the second expansion coefficient is used to expand the height of the forklift detection frame.
[0047] In a specific embodiment, the detection frame of the forklift is expanded according to the method shown in formula (1) and formula (2).
[0048] Warning area width = forklift detection frame width + 2*min(forklift detection frame width, forklift detection frame height)*first expansion factor (1)
[0049] Warning area height = forklift detection frame width + 2*min(forklift detection frame width, forklift detection frame height)*second expansion factor (2)
[0050] Among them, min is the function for selecting the minimum value.
[0051] In a specific embodiment, the first expansion coefficient is 0.8 and the second expansion coefficient is 0.5.
[0052] It should be noted that the present invention does not limit the size of the expansion coefficient, and those skilled in the art can set the size of the expansion coefficient according to the size and running speed of the forklift.
[0053] In a specific embodiment, if the forklift is small and runs slowly, the range of the detection frame of the forklift can be set to be smaller. For example, the first expansion coefficient is set to 0.6 and the second expansion coefficient is set to 0.3.
[0054] In other embodiments, if the forklift runs at a faster speed, the range of the forklift detection frame should be enlarged to give pedestrians or operators more reaction time.
[0055] According to the embodiment of the present invention, by setting a warning range around the forklift, compared with the prior art with a visual blind spot, the warning range is larger and the prediction accuracy is higher.
[0056] After the warning range of the forklift is determined in step S101, step S103 is executed to determine the operation status of the forklift.
[0057] In step S103, it is determined whether the forklift is in motion according to the position of the forklift in the continuous frame images.
[0058] According to the embodiment of the present invention, only when the forklift is in motion will it be determined whether there is a possibility of collision between the pedestrian and the forklift.
[0059] In the prior art, the camera for collecting data and the early warning device such as image processing are installed on the forklift. Whether the forklift is in motion is detected by the early warning device. Different from the prior art, in the embodiment of the present invention, whether the forklift is in motion is judged by the position of the forklift in the continuous frame images collected from the warehouse.
[0060] In step S105, when the forklift is in motion, a warning range is used to issue a warning of a pedestrian collision.
[0061] According to an embodiment of the present invention, when the detection frame of the pedestrian overlaps with the warning range of the forklift and the detection frame of the pedestrian does not completely fall within the warning range, or when the distance between the detection frame of the pedestrian and the warning range of the forklift is less than a preset threshold, a pedestrian collision warning is issued.
[0062] For example, when the distance between the pedestrian detection frame and the forklift warning range is greater than a preset distance threshold, no warning prompt is issued to the user.
[0063] For another example, when the distance between the pedestrian detection frame and the forklift warning range is less than or equal to a preset distance threshold, a warning prompt is issued to the user.
[0064] For another example, when the detection frame of a pedestrian intersects with the forklift warning range and the detection frame of the pedestrian does not completely fall within the forklift warning range, a warning prompt is issued to the user.
[0065] In some embodiments, the operator generally enters the forklift before the forklift moves. In order to avoid false alarms to the operator, in a specific embodiment, when the detection frame of the pedestrian is completely within the warning range of the forklift and the forklift is in the detection frame, no warning prompt is issued to the user.
[0066] according to Figure 1 The embodiment shown, by acquiring a complete image of the forklift's surroundings and setting a warning range around the forklift, implements a collision warning around the forklift, thereby improving the accuracy of the pedestrian-forklift collision warning, and solving the problems of high installation equipment cost and limited warning range in the prior art. At the same time, by not generating an alarm for the operator who is already inside the forklift, the interference of false alarms on the forklift operator is avoided.
[0067] According to other embodiments, by deploying the target detection model on the server side, the limitation problem of the complexity of the target detection model in the prior art solutions is solved, and the prediction accuracy of the target detection model is improved.
[0068] Figure 2 A flow chart of a method for determining whether a forklift is in motion according to an exemplary embodiment of the present invention is shown. Figure 2 The method shown includes steps S201 , S203 , S205 and S207 .
[0069] In step S201, the moving distance of the center point of the forklift in the continuous frame images is calculated according to the position of the forklift in the continuous frame images.
[0070] Since the movement range of a forklift is relatively small in actual application scenarios, in order to improve the accuracy of judging the movement state of the forklift, in step S201, the moving distance of the center point of the forklift is calculated according to the position of the forklift in the current frame and the image frame of the previous preset interval value, that is, the current frame of the forklift is compared with the image frame of the forklift n seconds ago.
[0071] In step S203, the product of the detection frame width of the forklift and the preset control coefficient is calculated to obtain a product result.
[0072] In step S205, it is determined whether the moving distance is greater than the product result.
[0073] In step S207, when the moving distance is greater than the product result, it is determined that the forklift is in motion.
[0074] In the embodiment of the present invention, the change of the "forklift center point" is compared with the product of the "current trolley frame width" multiplied by the preset control coefficient, and when the movement distance of the forklift center point is greater than the product, the forklift is considered to be in a moving state. And when the forklift is in a moving state, if there are pedestrians nearby and according to Figure 1 The method shown provides a collision warning when the distance between the pedestrian and the forklift meets the collision condition.
[0075] In a specific embodiment, for a 30-frame / second video stream, the default value of n is 30, and the default value of the control coefficient is 0.1. That is, the current frame of the forklift is compared with the previous 30 frames, that is, 1 second. When the change in the center point of the forklift in the two frames is greater than 0.1*"the width of the current forklift detection frame", it is considered that the forklift is moving. Among them, the value of n and the control coefficient can be adjusted according to the size of the forklift and the speed of movement.
[0076] It should be noted that the present invention does not limit the preset image frame interval value n and the control coefficient. In a specific embodiment, the image frame interval value n and the control coefficient can be set according to the running speed of the forklift. Since the forklift in operation generally runs at a slow speed, these two parameters only need to ensure that the center point of the forklift changes significantly after n seconds but is still within the detection frame area of the original forklift. In this way, even if there are multiple forklifts in the current picture, it is possible to accurately determine whether each forklift is moving, and the center point of each forklift before and after moving n seconds, so as to avoid confusion of the center points of multiple forklifts.
[0077] according to Figure 2 In the embodiment shown, by comparing the change in the position of the front and rear frames of the forklift, it is determined whether the forklift is in a moving state. When the forklift is in a stationary state, even if a pedestrian approaches, the alarm will not be triggered. According to the embodiment of the present invention, combined with the operating characteristics of the forklift, the movement status of multiple forklifts can be accurately determined without tracking the operation of the forklift. The implementation process not only has low computational complexity, but also high accuracy.
[0078] Since forklift operators often do not need warnings, the pedestrian detection model cannot distinguish different types of pedestrians. Since forklift operators usually sit on the forklift before the forklift is started and then start the forklift, the detection frame of the forklift operator is set within the forklift and has at least a large intersection with the detection frame of the forklift, while the warning range of the forklift is the area outside the forklift detection frame. In an embodiment of the present invention, when the forklift is in motion and the warning range of the forklift and the detection frame of the pedestrian are less than a preset distance or partially overlap, a collision warning is issued to the user. According to an embodiment of the present invention, since the detection frame of the pedestrian is already within the detection frame range of the forklift before the forklift is in motion, that is, the pedestrian cannot have an intersection with the forklift before the alarm. Therefore, when the ratio of the intersection and union of the detection frames of the pedestrian and the forklift is greater than a certain threshold, it is considered to be a forklift operator and is excluded from the alarm situation.
[0079] Figure 3 A schematic diagram of a forklift state according to an exemplary embodiment of the present invention is shown, wherein Figure 3 The forklift shown is in a stationary state. According to an embodiment of the present invention, even if a pedestrian is within the warning range of the forklift, no collision alarm is performed.
[0080] Figure 4 Another schematic diagram of a forklift state according to an exemplary embodiment of the present invention is shown. Figure 4 The forklift shown is in motion. According to an embodiment of the present invention, when a pedestrian is within its warning range, a collision warning is issued to the user.
[0081] Figure 5 Another schematic diagram of a forklift state according to an exemplary embodiment of the present invention is shown. Figure 5 The forklift shown is in motion, but the detected pedestrian detection frame is in the forklift detection frame. Therefore, it is determined that the pedestrian is a forklift operator and no collision warning is issued.
[0082] Figure 6 Another schematic diagram of a forklift state according to an exemplary embodiment of the present invention is shown. Figure 6 The embodiment shown includes a plurality of forklifts. According to an embodiment of the present invention, the right forklift is in motion and the left forklift is in a stationary state.
[0083] The above mainly introduces the embodiments of the present invention from the perspective of methods. Those skilled in the art should easily appreciate that, in combination with the operations or steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Those skilled in the art may use different ways to implement the described functions for each specific operation or method, and such implementation should not be considered to exceed the scope of the present invention.
[0084] The following describes the device embodiment of the present invention. For details not described in the device embodiment of the present invention, reference can be made to the method embodiment of the present invention.
[0085] Figure 7 FIG. 4 shows a block diagram of a collision warning device for a forklift and a pedestrian according to an exemplary embodiment of the present invention. Figure 7 The collision warning device shown includes a forklift warning range determination unit 701, a forklift motion state judgment unit 703 and a warning unit 705. The forklift warning range determination unit 701 is used to determine the warning range of the forklift in response to the pedestrian collision warning instruction of the forklift; the forklift motion state judgment unit 703 is used to determine whether the forklift is in motion according to the position of the forklift in the continuous frame image; the warning unit 705 is used to use the warning range to warn of pedestrian collision when the forklift is in motion.
[0086] Figure 8 A schematic diagram of an electronic device according to an exemplary embodiment of the present invention is shown. Figure 8 The electronic device 200 according to this embodiment of the present invention will be described. Figure 8The electronic device 200 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0087] like Figure 8 As shown, the electronic device 200 is in the form of a general computing device. The components of the electronic device 200 may include, but are not limited to: at least one processing unit 210, at least one storage unit 220, a bus 230 connecting different system components (including the storage unit 220 and the processing unit 210), a display unit 240, etc.
[0088] The storage unit stores program codes, which can be executed by the processing unit 210, so that the processing unit 210 executes the methods according to various exemplary embodiments of the present invention described in this specification. For example, the processing unit 210 can execute the following Figure 1 The method shown in .
[0089] The storage unit 220 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 2201 and / or a cache memory unit 2202 , and may further include a read-only memory unit (ROM) 2203 .
[0090] The storage unit 220 may also include a program / utility 2204 having a set (at least one) of program modules 2205, such program modules 2205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0091] Bus 230 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0092] The electronic device 200 may also communicate with one or more external devices 300 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 200, and / or communicate with any device that enables the electronic device 200 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 250. Furthermore, the electronic device 200 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 260. The network adapter 260 may communicate with other modules of the electronic device 200 via the bus 230. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0093] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software or by combining software with necessary hardware. The technical solution according to the implementation method of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, or a network device, etc.) to execute the above method according to the implementation method of the present invention.
[0094] The software product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0095] Computer readable storage media may include data signals propagated in baseband or as part of a carrier wave, wherein readable program codes are carried. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable storage medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program codes contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination thereof.
[0096] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).
[0097] The computer-readable medium carries one or more programs. When the one or more programs are executed by a device, the computer-readable medium implements the aforementioned functions.
[0098] Those skilled in the art will appreciate that the above modules can be distributed in the device according to the description of the embodiment, or can be changed accordingly and only used in one or more devices different from the embodiment. The modules of the above embodiments can be combined into one module, or further divided into multiple sub-modules.
[0099] According to an embodiment of the present invention, a computer program is provided, including a computer program or an instruction. When the computer program or the instruction is executed by a processor, the method described above can be executed.
[0100] The embodiments of the present invention are described in detail above. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, changes or deformations made by those skilled in the art based on the ideas of the present invention, the specific implementation methods and application scope of the present invention, all belong to the scope of protection of the present invention. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A collision warning method for a forklift and a pedestrian, characterized in that: include: In response to a pedestrian collision warning instruction of the forklift, determining a warning range of the forklift; Determining whether the forklift is in motion according to the position of the forklift in the continuous frame images; as well as When the forklift is in motion, the warning range is used to warn of a pedestrian collision.
2. The collision warning method according to claim 1, characterized in that: Determine the warning range of the forklift, including: Determining a detection frame of the forklift; The detection frame is expanded using a preset expansion coefficient to determine the warning range.
3. The collision warning method according to claim 2, characterized in that: Determining the detection frame of the forklift includes: A detection frame width of the forklift and a detection frame height of the forklift are determined.
4. The collision detection method according to claim 3, characterized in that: The expansion coefficient includes a first expansion coefficient and a second expansion coefficient, and the warning range is determined by the following formula: Warning area width = forklift detection frame width + 2*min (forklift detection frame width, forklift detection frame height)*first expansion coefficient, Warning area height = forklift detection frame width + 2*min (forklift detection frame width, forklift detection frame height)*second expansion coefficient, Among them, min is the function for selecting the minimum value.
5. The collision detection method according to claim 1, characterized in that: Determining whether the forklift is in motion according to the position of the forklift in the continuous frame images includes: Calculating the moving distance of the center point of the forklift according to the position of the forklift in the continuous frame images; Calculating the product of the detection frame width of the forklift and a preset control coefficient to obtain a product result; Determine whether the moving distance is greater than the product result; When the moving distance is greater than the product result, it is determined that the forklift is in a moving state.
6. The collision warning method according to claim 5, characterized in that: Calculating the moving distance of the center point of the forklift according to the position of the forklift in the continuous frame images includes: The moving distance of the center point of the forklift is calculated according to the position of the forklift in the current frame and the image frame with a preset interval value before.
7. The collision warning method according to claim 1, characterized in that: When the forklift is in motion, using the warning range to warn of a pedestrian collision includes: When the detection frame of the pedestrian overlaps with the warning range of the forklift and the detection frame of the pedestrian does not completely fall within the warning range, or when the distance between the detection frame of the pedestrian and the warning range of the forklift is less than a preset threshold, a pedestrian collision warning is issued.
8. A collision warning device for a forklift and a pedestrian, characterized in that: include: a forklift warning range determination unit, configured to determine a warning range of the forklift in response to a pedestrian collision warning instruction of the forklift; A forklift motion state judgment unit, used to determine whether the forklift is in motion according to the position of the forklift in the continuous frame images; The early warning unit is used to warn of pedestrian collision using the early warning range when the forklift is in motion.
9. An electronic device, comprising: processor; as well as A memory storing a computer program, which, when executed by the processor, enables the processor to execute the collision warning method according to any one of claims 1 to 8.
10. A non-transitory computer-readable storage medium having computer-readable instructions stored thereon, which, when executed by a processor, causes the processor to execute the collision warning method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Forklift early warning method and device, electronic equipment and computer readable storage medium
CN116863434A
Risk early warning processing method and equipment of shield tunneling machine and storage medium
CN117670852A
Periphery monitoring system, periphery monitoring method, and periphery monitoring device
JP2023000714A
Photo mask
KR1020240007530A
Object detection apparatus, object detection method, and object detection program
US20220254167A1
Cited By
Forklift and pedestrian track prediction and collision early warning method based on multi-camera fusion
CN120431763A
Forklift and pedestrian trajectory prediction and collision warning method based on multi-camera fusion
CN120431763B
