Deep learning-based personnel retrograde running detection method in electronic escalator running process

Through a method based on deep learning, combined with damping and filtering algorithms, retrograde detection of people on escalators is performed, which solves the problems of high detection accuracy and false alarm rate in the existing technology, and achieves accurate and safe monitoring of the elevator operation process.

CN118609154APending Publication Date: 2024-09-06SIMMIR VISION TECH (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410406486.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The existing escalator safety detection methods have low detection accuracy, are greatly affected by the environment, have high false alarm rates and high maintenance costs, and cannot conduct comprehensive safety detection of the elevator operation process.

Method used

Using a method based on deep learning, the target recognition network model is used to process images of people on escalators, combining damping, filtering and matching algorithms to obtain the movement direction of people, using anchor-free reasoning structures, Kalman filtering, and the Hungarian algorithm. The retrograde sample range is determined based on the elevator running direction, and the determination results are verified through facial features.

Benefits of technology

It achieves accurate identification of human behavior during the operation of the escalator, reduces the false alarm rate, improves detection accuracy and anti-environmental interference capabilities, and meets the needs for comprehensive safety detection of the elevator operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609154A
    Figure CN118609154A
Patent Text Reader

Abstract

The invention discloses a deep learning-based personnel retrograde driving detection method in an electronic escalator operation process, which comprises the following steps of: inputting a collected personnel image on an electronic escalator into a target identification network model to obtain continuous multi-frame personnel position information; damping, filtering and matching are carried out on continuous multi-frame personnel position information, and personnel tracking information of continuous multi-frame images is obtained; and in combination with the personnel tracking information of the continuous multi-frame image and the identified running direction of the electronic escalator, a retrograde moving sample range is obtained, and the movement direction of the personnel is judged based on the retrograde moving sample range. According to the method, the deep learning technology is utilized, the image data in the operation process of the electronic escalator is learned, an algorithm and a system framework capable of accurately recognizing personnel behaviors in the operation process of the escalator are constructed, and therefore comprehensive detection of the personnel retrograde walking problem in the operation process of the escalator is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of image processing, and in particular to a method for detecting people walking in the opposite direction during the operation of an electronic escalator based on deep learning. Background Art

[0002] Nowadays, electronic escalator equipment in public places is becoming more and more popular, bringing great convenience to people's lives. At the same time, the problem of personnel safety during the operation of electronic escalators has become increasingly prominent. In many electronic escalator accidents, accidents caused by passengers walking and standing improperly account for a large proportion. Therefore, how to effectively detect the safety specifications of personnel movements during the operation of the elevator has become a problem that needs to be solved urgently.

[0003] Existing elevator safety detection methods mainly focus on hardware sensors and monitoring equipment, such as infrared sensors and induction boards. Although physical detection can achieve the purpose of identifying the operating status of the elevator and the behavior of passengers to a certain extent, it often has problems such as low detection accuracy, large changes due to environmental influences, high false alarm rate and high maintenance costs. In addition, it can only detect some sections and cannot perform comprehensive safety detection on the operation process of the elevator. Therefore, there is an urgent need for a solution that can comprehensively and accurately detect personnel safety issues during the operation of the elevator. Summary of the invention

[0004] According to the first embodiment of the present invention, a method for detecting a person walking in the opposite direction during the operation of an escalator based on deep learning is provided, comprising the following steps: Input the collected images of people on the escalator into the target recognition network model to obtain the position information of people in multiple consecutive frames; Implement damping, filtering and matching on the personnel position information of multiple consecutive frames to obtain the personnel tracking information of multiple consecutive frames of images; The personnel tracking information of continuous multi-frame images is combined with the identified running direction of the escalator to obtain the retrograde sample range, and the movement direction of the personnel is determined based on the retrograde sample range.

[0005] Furthermore, the target recognition network model includes a feature extraction structure, a feature regression structure, and an anchor-free frame reasoning structure.

[0006] Furthermore, a target frame damping system is introduced to damp the personnel position information of multiple consecutive frames.

[0007] Furthermore, filtering and matching are performed on multiple consecutive frames of personnel position information, wherein Kalman filtering is used for filtering and Hungarian algorithm is used for matching.

[0008] Furthermore, the personnel tracking information of continuous multi-frame images and the identified escalator running direction are combined to obtain the retrograde sample range: a one-dimensional linear function is used to fit the movement speed of the detected person in the picture to obtain the escalator running speed formula; the retrograde sample range is divided into retrograde and non-retrograde according to the escalator speed formula.

[0009] Furthermore, the method also includes the following steps: identifying facial features of a person, combining the facial features of the person with the direction of movement of the person, and when the two are consistent, the determination result is correct.

[0010] According to a second embodiment of the present invention, a device for detecting a person walking backwards during the operation of an electronic escalator based on deep learning is provided, comprising: The target recognition module is used to input the collected images of people on the escalator into the target recognition network model to obtain the position information of people in multiple consecutive frames; Implementing a processing module, for implementing damping, filtering, and matching on multiple consecutive frames of personnel position information, to obtain personnel tracking information of multiple consecutive frames of images; The preliminary detection module is used to combine the personnel tracking information of continuous multi-frame images with the identified escalator running direction to obtain the retrograde sample range, and determine the movement direction of the personnel based on the retrograde sample range.

[0011] Furthermore, it also includes: a dual detection module, which is used to identify the facial features of a person, and combine the facial features of the person with the direction of movement of the person. When the two are consistent, the judgment result is correct.

[0012] According to a third embodiment of the present invention, a device is provided, including: a memory, a processor, and a computer program. The computer program is stored in the memory, and the processor runs the computer program to execute the method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning according to the first embodiment.

[0013] According to a fourth embodiment of the present invention, a readable medium having a non-volatile program code executable by a processor is provided, and the program code enables the processor to execute the method for detecting reverse movement of personnel during the operation of an escalator based on deep learning according to the first embodiment.

[0014] According to the deep learning-based method for detecting people walking backwards during the operation of an escalator in an embodiment of the present invention, deep learning technology is used to learn the image data of the escalator operation process, and an algorithm and system framework that can accurately identify the behavior of people during the operation of the elevator and the system framework are constructed, thereby realizing comprehensive detection of the problem of people walking backwards during the operation of the elevator.

[0015] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 The present invention is a flowchart of a method for detecting personnel walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention.

[0017] Figure 2 The present invention is a framework diagram of a method for detecting personnel walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention.

[0018] Figure 3 This is an architecture diagram of a target recognition network model of a method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention.

[0019] Figure 4 This is a diagram showing the jitter of the target frame in the picture after the damping system is introduced into the method for detecting reverse movement of people in the operation process of an escalator based on deep learning according to an embodiment of the present invention.

[0020] Figure 5 This is a structural framework topology diagram of a tracking algorithm for a method for detecting personnel traveling in the reverse direction during the operation of an electronic escalator based on deep learning according to an embodiment of the present invention.

[0021] Figure 6 The figure is a schematic diagram of the fitted retrograde interval of the method for detecting retrograde movement of personnel during the operation of an electronic escalator based on deep learning according to an embodiment of the present invention.

[0022] Figure 7 This is a diagram of the algorithm architecture of a face detection model of a method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention.

[0023] Figure 8 The present invention is a flowchart of a method for detecting personnel walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention.

[0024] Fig. 9 This is a structural diagram of a device for detecting personnel walking in the reverse direction during the operation of an electronic escalator based on deep learning according to an embodiment of the present invention.

[0025] Fig.10 The figure is a structural diagram of a device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0026] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings to further illustrate the present invention.

[0027] First, combine Figures 1 to 8A method for detecting people walking in the reverse direction during the operation of an escalator based on deep learning according to an embodiment of the present invention is described, which is used to detect people walking in the reverse direction during the movement of an escalator, and has a wide range of application scenarios.

[0028] like Figures 1 to 8 As shown, the method for detecting people walking in the reverse direction during the operation of an escalator based on deep learning in an embodiment of the present invention comprises the following steps: like Figure 1~2 As shown in FIG. 8 , in S1 , the collected images of people on the escalator are input into the target recognition network model to obtain multiple frames of continuous personnel position information.

[0029] Specifically, Figure 3 As shown, in this embodiment, the target detection network model used in the present invention is an Anchor-Free (also known as an anchor-free) detection model, which has the characteristics of being lighter in reasoning and faster in reasoning speed, and is easier to dock in edge deployment and scenarios with upstream and downstream tasks. The Anchor-Free model, as its name suggests, is a target detection network model that does not require a pre-detection anchor frame for positioning, but instead uses a more flexible way to determine positive and negative samples. For example, the FCOS model treats each position as a prediction starting point, and as long as the position falls into a certain GT frame, it is trained as a positive sample. At the same time, in order to ensure that the center of the regression frame is close to the GT, FCOS also adds another centrality branch, so that the network model can achieve or even exceed the accuracy of the two-stage anchor-based model in terms of performance, and has a faster speed. This makes the edges of one-stage and two-stage more blurred. The Anchor-Free anchor-free reasoning target recognition network model architecture adopted by the present invention is mainly composed of three parts: a feature extraction structure, a feature regression structure, and a final anchor-free reasoning structure. Each layer in the feature extraction structure and the corresponding layer in the feature regression structure will perform feature fusion to obtain an overall network structure with greater connectivity. The input obtained by anchor-free frame reasoning is the feature map obtained by convolution of each layer in the feature regression structure, which corresponds to three layers in the present invention, namely small, medium and large target regression frames.

[0030] like Figure 1~2 As shown in FIG. 8 , in S2 , the personnel position information of multiple consecutive frames is damped, filtered, and matched to obtain the personnel tracking information of multiple consecutive frames of images.

[0031] Furthermore, in this embodiment, a target frame damping system is introduced to damp the personnel position information of multiple consecutive frames. This target frame damping system can reduce the jump of the obtained target frame between the upper and lower consecutive frames, so as to obtain a better continuous target frame effect. In practice, if the pedestrians in the elevator perform actions that are easy to change the size of the target frame, such as squatting or bending, the result after the damping system will enhance the continuity and also make the data entering the target tracking module later more resistant to interference. Figure 3 As shown in the curve in , adding a target frame damping system can greatly alleviate the jitter of the target frame in the picture. The horizontal axis is Frames, and the later it is, the more stable it is. In the present invention, because it involves the tracking of the ID by the subsequent tracking algorithm, we set the damping coefficient to be fixed every 30 frames. In this case, we can control the jitter range of the target frame to a very small range, and even if re-id occurs, the target frame cannot be jittered too much.

[0032] dvdt = -c(t) * v - k * x - (x / m) - (1 / (m * dt)) * (x – 30) The differential equation formula of the damping system is shown above, where c is the damping coefficient that decreases with time. We set an initial value for c, which gradually decreases within a certain period of time; v is the speed. In the present invention, the speed is defined as the percentage of the moving distance in the target frame between every two adjacent frames; k and m are the spring coefficient and mass in a general damping system. In the present invention, they are pre-set fixed hyperparameters, with the initial value set by the engineer predicting the oscillation amplitude in the project; dt is the time length, that is, the duration of each frame.

[0033] Further, if Figure 5 As shown, filtering and matching are implemented for multiple consecutive frames of personnel position information, wherein the filtering adopts Kalman filtering and the matching adopts Hungarian algorithm. In this embodiment, Kalman filtering is an algorithm that uses the linear system state equation to optimally estimate the system state by observing the input and output data of the entire system. Because the observed data often includes noise and interference in the system, the optimal estimation can be regarded as a filtering process. By using the calculation method of Kalman filtering, after obtaining the target detection continuous frame results, the present invention can estimate the state of the dynamic system from a series of noisy data when the measurement variance is known, and the data collected on site can be updated and processed in real time, so that more robust data can be sent to subsequent calculations.

[0034] The Hungarian matching algorithm is an algorithm for finding the maximum matching in a bipartite graph, which is relatively common in the field of graph theory. The basic idea of ​​the algorithm is to model the problem as a parity check matrix, and perform elimination of the determinant on this matrix. After iteration, a linear equation system is finally obtained, and the only solution of this equation system is the maximum matching number required. Using this algorithm, in the present invention, the optimal solution can be obtained for the bipartite graph problem of one-to-one matching between the filtered target frame and the tracking ID, so that the tracking trajectory of the target frame under each ID can be obtained in continuous frames.

[0035] In general tracking algorithms, the target ID is usually obtained by associating the detection box with a score higher than a threshold. In this invention, we find that the information contained in the target box with low confidence is also desirable because it often represents the similarity of the target box of the background detection part. Figure 5 As shown in Figure 1, if the remaining low-resolution frames are also matched twice, background information can be obtained to effectively optimize the re-id problem caused by occlusion during the tracking process.

[0036] like Figure 1~2 As shown in FIG. 8 , in S3 , the personnel tracking information of the continuous multi-frame images is combined with the identified running direction of the escalator to obtain the retrograde sample range, and the movement direction of the personnel is determined based on the retrograde sample range.

[0037] Further, in this embodiment, if Figure 5 As shown, by combining the personnel tracking information of continuous multi-frame images with the identified escalator running direction, the retrograde sample range is obtained as follows: a one-dimensional linear function is used to fit the movement speed of the detected person in the picture to obtain the escalator running speed formula; the retrograde sample range is divided into retrograde and non-retrograde according to the escalator speed formula.

[0038] Furthermore, the method for detecting people walking in the opposite direction during the operation of an electronic escalator based on deep learning also includes the following steps: identifying facial features of the person, combining the facial features of the person with the direction of movement of the person, and when the two are consistent, the judgment result is correct.

[0039] In this embodiment, the face detection algorithm model is independent of the target detection network. In order to ensure its lightweight characteristics, it is not coupled to a larger network model, but a simple convolutional neural network model is constructed to implement it independently. After testing, the network model can achieve a sub-millisecond response speed on the RTX3090 GPU hardware under small input conditions (128x128), and can process 1200 frames in parallel per second, meeting the response requirements in crowded scenes.

[0040] The network model architecture is as follows Figure 7As shown. The feature extraction capability of the convolutional network model can effectively capture the features of the image, and then reuse some of the features in the two smaller layers in the process of deconvolution to obtain the feature map, so as to obtain more accurate prediction results. Finally, unlike other feature map extraction algorithm models, the present invention directly uses the smaller feature map for linear regression to obtain the prediction result, so that the speed and accuracy of the entire model reach a higher level. In addition, because only the face part needs to be detected, we further reduce the detection head to the binomial regression category, so that the time consumption of the post-processing process is also reduced.

[0041] Above, refer to Figures 1 to 8 This paper describes a method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning according to an embodiment of the present invention. In the present invention, 2D computer vision technology target recognition and multi-target tracking technology are used to monitor people walking in the opposite direction during the operation of the escalator, and a damping system is used to further reduce the possibility of false alarms. Finally, a sub-millisecond face detection network is added during the actual implementation of the project for further multiple detections. Compared with traditional physical solutions, the recognition accuracy and anti-environmental interference capabilities are greatly improved, and compared with conventional computer vision technology solutions, the false alarm rate is greatly optimized. It is of great significance to improve the safety management level of escalators in public places. The above combined with Figures 1 to 8 A method for detecting a person walking backwards in an escalator operation process based on deep learning according to an embodiment of the present invention is described. Further, the present invention can also be applied to a device for detecting a person walking backwards in an escalator operation process based on deep learning.

[0042] like Fig. 9 As shown, according to the second embodiment of the present invention, a device for detecting the reverse movement of people in the operation process of an escalator based on deep learning is provided, comprising: a target recognition module 100, an implementation processing module 200 and a preliminary detection module 300. The target recognition module 100 is used to input the collected images of people on the escalator into the target recognition network model to obtain the position information of people in multiple consecutive frames; the implementation processing module 200 is used to implement damping, filtering and matching on the position information of people in multiple consecutive frames to obtain the tracking information of people in multiple consecutive frames of images; the preliminary detection module 300 is used to combine the tracking information of people in multiple consecutive frames of images with the identified running direction of the escalator to obtain the reverse movement sample range, and determine the movement direction of the people based on the reverse movement sample range.

[0043] Furthermore, the device for detecting people moving in the opposite direction during the operation of an electronic escalator based on deep learning also includes: a dual detection module 400, which is used to identify facial features of people, and combine the facial features of people with the direction of movement of people. When the two are consistent, the judgment result is correct.

[0044] The above combined with Fig. 9A device for detecting a person walking backwards in an escalator operation process based on deep learning according to an embodiment of the present invention is described. Furthermore, the present invention can also be applied to a device.

[0045] like Fig.10 As shown, according to embodiment three of the present invention, a device is provided, including: a memory 1, a processor 2 and a computer program 3, the computer program 3 is stored in the memory 1, and the processor 2 runs the computer program 3 to execute the method for detecting people walking in the reverse direction during the operation process of an electronic escalator based on deep learning according to embodiment one.

[0046] According to a fourth embodiment of the present invention, a readable medium having a non-volatile program code executable by a processor is provided, and the program code enables the processor to execute the method for detecting reverse movement of personnel during the operation of an escalator based on deep learning according to the first embodiment.

[0047] Specifically, in the fourth embodiment of the present invention, a readable medium having a non-volatile program code executable by a processor is provided, and the program code enables the processor to run the above-mentioned method for detecting personnel in the reverse direction of the electronic escalator operation process based on deep learning. Among them, the readable storage medium can be a computer storage medium or a communication medium. The communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The computer storage medium can be any available medium that can be accessed by a general or special-purpose computer. For example, a readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in a dedicated integrated circuit. In addition, the dedicated integrated circuit can be located in a device. Of course, the processor and the readable storage medium can also exist in a communication device as discrete components. The readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a tape, a floppy disk, and an optical data storage device, etc. The present invention also provides a program product, which includes an execution instruction, and the execution instruction is stored in a readable storage medium. At least one processor of the device can read the execution instruction from the readable storage medium, and at least one processor executes the execution instruction so that the device implements the personnel reverse detection method based on deep learning in the operation process of the electronic escalator provided by the above-mentioned various embodiments. In the embodiment of the above-mentioned device, it should be understood that the processor can be a central processing unit (English: Central Processing Unit, referred to as: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as: ASIC), etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the present invention can be directly embodied as being executed by a hardware processor, or executed by a combination of hardware and software modules in the processor.

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

[0049] Although the content of the present invention has been described in detail through the above preferred embodiments, it should be appreciated that the above description should not be considered as a limitation of the present invention. After reading the above content, it will be apparent to those skilled in the art that various modifications and substitutions of the present invention will occur. Therefore, the protection scope of the present invention should be limited by the appended claims.

Claims

1. A method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning, characterized in that: The following steps are included: Input the collected images of people on the escalator into the target recognition network model to obtain the position information of people in multiple consecutive frames; Implement damping, filtering and matching on the personnel position information of multiple consecutive frames to obtain the personnel tracking information of multiple consecutive frames of images; The personnel tracking information of continuous multi-frame images is combined with the identified running direction of the escalator to obtain the retrograde sample range, and the movement direction of the personnel is determined based on the retrograde sample range.

2. The method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as claimed in claim 1, characterized in that: The target recognition network model includes a feature extraction structure, a feature regression structure, and an anchor-free frame reasoning structure.

3. The method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as claimed in claim 1, characterized in that: The target frame damping system is introduced to damp the personnel position information of multiple consecutive frames.

4. The method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as claimed in claim 1 or 3, characterized in that: Filtering and matching are performed on multiple consecutive frames of personnel location information, wherein Kalman filtering is used for filtering and Hungarian algorithm is used for matching.

5. The method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as claimed in claim 1, characterized in that: The method of combining the personnel tracking information of continuous multiple-frame images with the identified escalator running direction to obtain the retrograde sample range is specifically as follows: using a one-dimensional linear function to fit the movement speed of the detected person in the picture to obtain the escalator running speed formula; dividing the retrograde sample range into retrograde and non-retrograde according to the escalator speed formula.

6. The method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as claimed in claim 1, characterized in that: The method also includes the following steps: identifying facial features of a person, combining the facial features of the person with the direction of movement of the person, and when the two are consistent, the determination result is correct.

7. A device for detecting people walking in reverse during the operation of an electronic escalator based on deep learning, characterized in that: Include: The target recognition module is used to input the collected images of people on the escalator into the target recognition network model to obtain the position information of people in multiple consecutive frames; Implementing a processing module, for implementing damping, filtering, and matching on multiple consecutive frames of personnel position information, to obtain personnel tracking information of multiple consecutive frames of images; The preliminary detection module is used to combine the personnel tracking information of continuous multi-frame images with the identified escalator running direction to obtain the retrograde sample range, and determine the movement direction of the personnel based on the retrograde sample range.

8. The device for detecting personnel walking backwards in the operation process of an electronic escalator based on deep learning as claimed in claim 7, characterized in that: It also includes: a dual detection module, which is used to identify the facial features of a person, and combine the facial features of the person with the direction of movement of the person. When the two are consistent, the judgment result is correct.

9. A device, characterized in that: include: A memory, a processor and a computer program, wherein the computer program is stored in the memory, and the processor runs the computer program to execute the method for detecting people walking in the opposite direction during the operation of an escalator based on deep learning as described in any one of claims 1 to 6.

10. A readable medium having a non-volatile program code executable by a processor, characterized in that: The program code enables the processor to execute the method for detecting people walking in the opposite direction during the operation of an electronic escalator based on deep learning as described in any one of claims 1 to 6.