Solution for detecting trapped condition in elevator car
By using imaging devices and image processing technology in the elevator car to detect trapped objects in the elevator car, the problem of being unable to accurately identify trapped objects in the existing technology is solved, and rapid and accurate detection of trapped objects is achieved. Improved the safety and reliability of the elevator system.
Patent Information
- Application Number
- CN202280092448.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-02
- Publication Date
- 2024-10-01
AI Technical Summary
The existing technology is difficult to effectively detect whether there are passengers trapped in the elevator car, especially when the elevator system is inoperable, and cannot accurately identify whether the object is a passenger or a non-human object.
Real-time image data is acquired using an imaging device and compared with previously generated reference images. Objects are detected through frame subtraction and image thresholding, combined with pixel-by-pixel changes and confidence scores to identify and confirm the presence of human objects in the elevator car. Elevator control systems and service centers generate signals that detect an entrapment situation.
It improves the safety and accuracy of the elevator system, can quickly detect the trapped situation in the elevator car, reduces the reliance on manual reporting, and improves the efficiency and reliability of passenger evacuation.
Smart Images

Figure CN118742503A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates generally to the technical field of elevators. In particular, the present invention relates to the detection of a trapped condition of an elevator car. Background Art
[0002] The safety of passengers is one of the most important safety factors in an elevator. For example, if an elevator system becomes inoperable, for example due to a failure of one or more elevator entities of the elevator system, the safety of passengers is of paramount importance. When the elevator system becomes inoperable, passengers may be trapped in the elevator car. Typically, in such a trapped situation, the passengers must manually contact a service provider to notify the service provider of the inoperable condition of the elevator system and evacuate the passengers from the elevator car. Typically, a failure of the elevator system can be detected at a remote monitoring and service center. However, information about possible trapped situations is not available at the remote monitoring and service center.
[0003] There are sensor-based solutions that can be used to detect trapped situations. For example, weight measuring devices can be used to detect objects inside an elevator car. However, it is not possible to identify whether the detected object is a passenger or a non-human object, such as a load.
[0004] Therefore, there is a need to develop further solutions for detecting a entrapment condition within an elevator car in the event that the elevator system becomes inoperable. Summary of the invention
[0005] A simplified overview is presented below to provide a basic understanding of some aspects of various invention embodiments. This overview is not an extensive overview of the present invention. It is neither intended to identify key or important elements of the present invention nor to describe the scope of the present invention. The following overview merely presents some concepts of the present invention in a simplified form as a preface to a more detailed description of exemplary embodiments of the present invention.
[0006] The object of the invention is to propose a method for detecting a trapped situation in an elevator car, an elevator computing unit, a detection system and a computer program. Another object of the invention is to improve the safety of the elevator system by using a method for detecting a trapped situation in an elevator car, an elevator computing unit, a detection system and a computer program.
[0007] The objects of the invention are achieved by a method, an elevator computing unit, a detection system and a computer program as defined by the respective independent claims.
[0008] According to a first aspect, a method for detecting a trapped condition inside an elevator car is provided, wherein the method comprises: receiving an inoperable notification indicating an inoperable condition of the elevator car; in response to receiving the inoperable notification, obtaining real-time image data of the interior of the elevator car from at least one imaging device arranged inside the elevator car; detecting one or more human objects inside the elevator car by performing a detection process based on the obtained real-time image data and at least one previously generated reference image, wherein generating at least one reference image comprises: obtaining random image data of the interior of the elevator car from at least one imaging device, wherein the random image data comprises a plurality of images captured in a plurality of random reference scenes, and processing the obtained random image data to generate at least one reference image; and in response to detecting one or more human objects, generating a signal to an elevator control system and / or a service center indicating that a trapped condition has been detected.
[0009] The detection process may include an object detection phase, including detecting one or more objects within the elevator car, and a human object detection phase, including identifying one or more human objects from the detected one or more objects.
[0010] The object detection stage may include: frame subtraction, which includes a subtraction operation between one real-time image of the obtained real-time image data and the corresponding reference image to generate a difference image representing the difference between at least one real-time image and the corresponding reference image; and image threshold processing, including filtering the generated difference image by using a threshold to divide the pixels of the generated difference image into object pixels and background pixels to detect one or more objects inside the elevator car, wherein the threshold can be defined based on the lighting conditions of the elevator car.
[0011] The human object detection stage may include: eliminating static objects from the detected one or more objects by classifying the detected one or more objects into moving objects and static objects based on pixel wise change in the multiple consecutive images using multiple consecutive real-time images of the obtained real-time image data, eliminating static objects from the detected one or more objects; and determining whether one or more human objects are detected in the elevator car.
[0012] The human object detection stage may further include defining a confidence score for each detected one or more human objects, wherein each human object having a defined confidence score below a certain threshold may be removed from the detected one or more human objects.
[0013] The plurality of reference scenarios may include at least a plurality of empty elevator car scenarios and additionally one or more non-empty elevator car scenarios.
[0014] The processing of the obtained random image data may include performing a median operation on pixel values of a plurality of images of the random image data to generate at least one reference image.
[0015] According to a second aspect, an elevator computing unit for detecting a trapped condition in an elevator car is provided, wherein the elevator computing unit comprises: a processing unit comprising at least one processor; and a memory unit comprising at least one memory, the at least one memory comprising computer program code, wherein the at least one memory and the computer program code are configured to, together with the at least one processor, cause the elevator computing unit to: receive an inoperability notification indicating an inoperability condition of the elevator car; in response to receiving the inoperability notification, obtain real-time image data of an interior of the elevator car from at least one imaging device arranged inside the elevator car; detect one or more human objects in the elevator car by performing a detection process based on the obtained real-time image data and at least one previously generated reference image, wherein in order to generate the at least one reference image, the elevator computing unit is configured to: obtain random image data of the interior of the elevator car from the at least one imaging device, wherein the random image data comprises a plurality of images captured in a plurality of random reference scenes, and process the obtained random image data to generate the at least one reference image; and in response to detecting the one or more human objects, generate a signal to an elevator control system and / or a service center indicating that a trapped condition has been detected.
[0016] The detection process may include an object detection phase, including detecting one or more objects within the elevator car, and a human object detection phase, including identifying one or more human objects from the detected one or more objects.
[0017] The object detection stage may include the elevator computing unit being configured to perform: frame subtraction, which includes a subtraction operation between one of the obtained real-time image data and the corresponding reference image to generate a difference image representing the difference between the at least one real-time image and the corresponding reference image; and image thresholding, which includes filtering the determined difference image by dividing pixels of the generated difference image into object pixels and background pixels using a threshold to detect one or more objects inside the elevator car, wherein the threshold can be defined based on the lighting conditions of the elevator car.
[0018] The human object detection phase may include the elevator computing unit being configured to: eliminate static objects from the detected one or more objects by classifying the detected one or more objects into moving objects and static objects based on pixel-by-pixel changes in the multiple consecutive real-time images obtained by using the multiple consecutive real-time image data, and eliminate static objects from the detected one or more objects; and determine whether one or more human objects are detected in the elevator car.
[0019] The human object detection phase may further include the elevator computing unit being configured to define a confidence score for each detected one or more human objects, wherein each human object having a defined confidence score below a certain threshold may be removed from the detected one or more human objects.
[0020] The plurality of reference scenarios may include at least a plurality of empty elevator car scenarios and additionally one or more non-empty elevator car scenarios.
[0021] The processing of the obtained random image data may include the elevator computing unit being configured to perform a median operation on pixel values of a plurality of images of the random image data to generate at least one reference image.
[0022] According to a third aspect, a detection system for detecting a trapped situation inside an elevator car is provided, wherein the detection system comprises: at least one imaging device arranged inside the elevator car, and an elevator computing unit as described above.
[0023] According to a fourth aspect, a computer program is provided, wherein the computer program comprises instructions, and when the program is executed by a computer, the instructions cause the computer to perform the method as described above.
[0024] Various exemplary and non-limiting embodiments of the invention, both as to constructions and methods of operation, together with additional objects and advantages thereof, will be best understood from the following description of specific exemplary and non-limiting embodiments when read in connection with the accompanying drawings.
[0025] The verbs "comprise" and "include" are used in this document as open limitations, neither excluding nor requiring the presence of unrecited features. The features recited in the dependent claims are mutually freely combinable unless expressly stated otherwise. Furthermore, it should be understood that the use of "a" or "an" throughout this document, i.e. the singular, does not exclude a plurality. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Embodiments of the invention are illustrated by way of example and not limitation in the figures of the accompanying drawings.
[0027] Figure 1 An exemplary embodiment of a detection system for detecting a entrapment situation within an elevator car is schematically illustrated.
[0028] Figure 2 An example of a method for detecting a entrapment situation in an elevator car is schematically shown.
[0029] Figure 3 An example of a method for generating a reference image is schematically shown.
[0030] Figure 4 An example of a detection process for detecting one or more human subjects is schematically illustrated.
[0031] Figure 5 An example of components of an elevator computing unit is schematically shown. DETAILED DESCRIPTION
[0032] Figure 1 An exemplary embodiment of a detection system 100 for detecting a entrapment condition within an elevator car 110 is schematically illustrated. Figure 1 In the example of FIG. 1 , the detection system 100 is implemented in an elevator car 110. The detection system 100 includes at least one imaging device 120a-120n and an elevator computing unit 130. The at least one imaging device 120a-120n is communicatively coupled to the elevator computing unit 130. The communication between the at least one imaging device 120a-120n and the elevator computing unit 130 can be based on one or more known communication technologies, wired or wireless.
[0033] At least one imaging device 120a-120n is arranged inside the elevator car 110. The at least one imaging device 120a-120n can provide image data from the inside of the elevator car 110. The image data provided by the at least one imaging device 120a-120n may include one or more images and / or video images, which include multiple consecutive images, i.e., frames. Preferably, the detection system 100 includes one imaging device 120a-120n. However, more than one imaging device 120a-120n can be used to achieve better coverage of the elevator car 110 with image data, which improves the accuracy and reliability of detecting trapped situations within the elevator car 110 using the detection system 100. Figure 1 In the example of FIG. 1 , three non-limiting example positions of at least one imaging device 120a-120n are shown. The three non-limiting example positions include: a middle position (e.g., imaging device 120a is placed in the middle position), a corner position (e.g., imaging device 120b is placed in a corner position, and a ceiling position (e.g., imaging device 120n is placed in a ceiling position). The middle position can be in the middle of the rear wall of the elevator car 110, such as Figure 1Alternatively, the intermediate position may be in the middle of any other wall of the elevator car 110. The corner position may be at the upper rear corner of the elevator car 110, such as Figure 1 The upper rear corner of the elevator car 110 can be any of the upper rear corners of the elevator car 110. Figure 1 In the example of , imaging device 120n is placed in the left hand side upper rear corner of elevator car 110, but alternatively or additionally, imaging devices 120a-120n may be placed in the right hand side upper corner. Alternatively, the corner placement may be at the upper front corner of elevator car 110. The upper front corner of elevator car 110 may be any of the upper front corners of elevator car 110. Figure 1 The detection system 100 of the example includes an imaging device placed in the middle position, namely the imaging device 120a shown in solid lines. Figure 1 The imaging devices 120b and 120n shown in dashed lines in the example of FIG. 1 show other example positions of an imaging device. In other words, the detection system 100 may alternatively include an imaging device placed at other positions, for example, an imaging device 120b placed at a corner position or an imaging device 120n placed at a ceiling position. Alternatively, the detection system 100 may also include more than one imaging device, for example, at least two imaging devices 120a-120n, each of which is placed in one of the example positions. Figure 1 As shown in the example of , at least one imaging device 120a-120c may preferably be placed near the ceiling of the elevator car 110, i.e. as high as possible. At least one imaging device 120a-120n may be placed so that the image data provided by the at least one imaging device 120a-120n covers the largest area of the elevator car 110 as much as possible. Preferably, at least one imaging device 120a-120n may be placed so that the image data provided by the at least one imaging device 120a-120n completely covers the elevator car 110. At least one imaging device 120a-120n may, for example, include a camera, such as a red-green-blue (RGB) camera or a black and white camera. Alternatively, at least one imaging device 120a-120n may, for example, include a time-of-flight (ToF) sensor or a radar sensor. Preferably, each imaging device 120a-120n may be capable of providing image data with high resolution and / or a wide field of view (FOV) to cover the largest area of the elevator car 110 with image data.
[0034] The elevator computing unit 130 may be arranged to the elevator car 110. The elevator computing unit 130 may be arranged on the roof of the elevator car 110, such as Figure 1. Alternatively, the elevator computing unit 130 may be arranged at any other location in the elevator car 110 (inside the elevator car 110 or outside the elevator car 110), at any on-site location in the elevator system including the elevator car 110, or at any off-site location away from the elevator system 110, for example, the elevator computing unit 130 may be implemented as a remote elevator computing unit, a cloud-based elevator computing unit, or any other off-site computing unit. The elevator computing unit 130 may be communicatively coupled to the elevator control system 150 of the elevator system including the elevator car 110. The communication between the elevator computing unit 130 and the elevator control system 150 may be based on one or more known communication technologies, wired or wireless.
[0035] Next, by referring to Figure 2 An example of a method for detecting a entrapment condition within an elevator car 110 is described. Figure 2 A flow chart of the method is schematically shown. As described above, the detection system 100 preferably includes one imaging device 120a-120n. Therefore, an example of the method is described by using a detection system 100 including one imaging device 120a-120n. However, the detection system 100 may also include a plurality of imaging devices 120a-120n, i.e., more than one imaging device 120a-120n. Therefore, a detection system using a plurality of imaging devices may also be used in the method of detecting a trapped situation in the elevator car 110.
[0036] At the initial stage step 200, the elevator computing unit 130 may be in a standby mode, wherein the elevator computing unit 130 may be awaiting any communication, such as one or more notifications, one or more instructions, and / or one or more commands, from the elevator control system 150. The elevator computing unit 130 may be configured to perform one or more other operations assigned to the elevator computing unit 130 (in addition to operations related to the detection of a distress condition) while in the standby mode. At the initial stage step 200, the imaging devices 120a-120n do not provide any image data. At the initial stage step 200, the elevator car 110 is in an operable state, i.e., the elevator car 110 is able to move between multiple floors along the elevator shaft under the control of the elevator control system 150. In other words, at the initial stage step 200, the elevator control system 150 has not detected any fault that caused the inoperable condition of the elevator car 110.
[0037] At step 210, the elevator computing unit 130 receives an inoperable notification indicating an inoperable condition of the elevator car 110. The inoperable condition of the elevator car 110 may be caused by one or more faults in the elevator system. In the inoperable condition of the elevator car 110, the elevator car 110 may have stopped between landings, resulting in a possible trapped situation. In the trapped situation, passengers in the elevator car 110 may be trapped in the elevator car 110. The elevator computing unit 130 may receive the inoperable notification from the elevator control system 150. Alternatively, the elevator computing unit 130 may receive the inoperable notification from an external unit (e.g., a service center, a cloud server, etc.). The elevator control system 150 and / or the external unit may obtain information about the inoperable condition of the elevator car 110, for example, from one or more sensors arranged to the elevator system. For example, the inoperable notification may be a signal including an indication of the inoperable condition of the elevator car 110. According to an example, the inoperable notification may also include door status information of the elevator car 110. The door status information may be, for example, door open, door closed, door partially closed. The elevator computing unit 130 may use the door status information, for example, for a pre-check of a possible trapped situation. For example, if the elevator computing unit 130 detects that the door of the elevator car 110 is closed or only partially open based on the door status information, the elevator computing unit 130 may proceed to the next step (i.e., step 220). On the other hand, if the elevator computing unit 130 detects that the door of the elevator car 110 is open, the elevator computing unit 130 may not necessarily need to proceed to the next step because the passengers in the elevator car 110 may be able to leave the elevator car 110 by themselves, and therefore service personnel may not be required to evacuate the passengers.
[0038] At step 220, in response to receiving the inoperability notification, the elevator computing system 130 obtains real-time image data of the interior of the elevator car 110 from the imaging devices 120a-120n. In other words, upon receiving the notification from the elevator control system 150, the elevator computing unit 130 begins to obtain real-time image data from the imaging devices 120a-120n, such as triggering a real image data stream. The real-time image data may include at least one real-time image. Preferably, the real-time image data may include a plurality of consecutive real-time images. The real-time image data including a plurality of consecutive real-time images enables the accuracy of the detection process to be improved, such as by enabling the static object elimination step 422 and / or the confidence score definition step 426 in the human object detection phase of the detection process, as will be described later in this application. The term "real-time image data" refers throughout this application to image data available from the imaging devices 120a-120n at that moment. Similarly, the term "real-time image" refers throughout this application to an image available from the imaging device 120 at that moment.
[0039] At step 230, the elevator computing unit 130 performs a detection process based on the obtained real-time image data and the previously generated reference image to detect one or more human objects, such as one or more passengers 140, within the elevator car 110. The previously generated reference image is generated before the detection system 100 can be put into operation to detect a trapped condition within the elevator car 110. In other words, the previously generated reference image needs to be generated before the detection system 100 can be used to detect a trapped condition inside the elevator car 110. The reference image can be generated, for example, during a debugging phase of the detection system 100. After the debugging phase of the detection system 100, the detection system 100 is ready to be used to detect a trapped condition within the elevator car 110. Examples of the generation of reference images will be referenced later in this application. Figure 3 Reference will be made later in this application to Figure 4 An example of the detection process at step 230 is described.
[0040] Detection of one or more human subjects 140 within the elevator car 110 during the detection process at step 230 may indicate that a trapped condition has been detected. In other words, if the elevator computing unit 130 detects one or more human subjects 140 within the elevator car 110 at step 230, the detection of a trapped condition may be terminated as a result of the detection process. When terminating the detection of a trapped condition, the elevator computing unit 130 may also check that the elevator car 110 is still in an inoperable condition. Alternatively, if the elevator computing unit 130 does not detect any human subjects 140 during the detection process at step 230, the method may return to the initial stage, step 200.
[0041] At step 240, in response to detecting one or more human objects 140 during the detection process at step 230, the elevator computing unit 130 generates a signal to the elevator control system 150 and / or a service center (e.g., a remote monitoring and service center) indicating that a trapped condition has been detected. For example, in the case where a signal is generated from the elevator computing unit 130 to the service center indicating that a trapped condition has been detected, the signal may include a service demand to notify the service center of an inoperable condition of the elevator car 110 and to evacuate passengers from the elevator car 110. Alternatively, in the case where a signal is generated from the elevator computing unit 130 to the elevator control system 150 indicating that a trapped condition has been detected, in response to receiving the signal from the elevator computing unit 130 indicating that a trapped condition has been detected, the elevator control system 150 may generate a service demand to the service center to notify the service center of an inoperable condition of the elevator car 110 and to evacuate passengers from the elevator car 110. The service center may then instruct service personnel (e.g., maintenance personnel) to evacuate passengers trapped in the elevator car 110 in response to receiving the service demand.
[0042] Figure 3 An example of the generation of a reference image as a flow chart is schematically shown. At step 310, the elevator computing unit 130 may obtain random image data of the interior of the elevator car 110 from the imaging devices 120a-120n. The random image data includes a plurality of images captured in a plurality of random reference scenes. In other words, there is no specific or predefined point in time, time of day, date or situation when each of the plurality of images of the random image data is captured, and there is no specific or predefined time interval between the images in the plurality of images of the random image data when the random image data is captured. The plurality of reference scenes may include at least a plurality of empty elevator car scenes, i.e., situations where the elevator car 110 does not have a human subject 140. The plurality of reference scenes may also include one or more non-empty elevator car scenes, i.e., situations where the elevator car 110 does not necessarily have a human subject 140. This makes it unnecessary to know or define that the elevator car 110 does not have a human subject 140 when obtaining the random image data for generating the reference data. In other words, the possibility of also using one or more non-empty elevator car scenes when generating the reference image allows some errors to occur when detecting whether the elevator car 110 is empty.
[0043] At step 320, the elevator computing unit 130 may process the obtained random image data to generate a reference image. The processing of the obtained random image data may include, for example, performing a median operation 322 on the pixel values of the plurality of images of the random image data to generate the reference image. In other words, at step 322, the elevator computing unit 130 may calculate the median of the pixel values of the plurality of images of the random image data to generate the reference image. The processing of the obtained random image data at step 320 may also include adjusting 324 the brightness of the obtained random image data and / or the contrast of the obtained random image data before performing the median operation at step 322. For example, the brightness of the image of the random image data may be increased. For example, the contrast may be adjusted according to the brightness level.
[0044] At step 330 , a reference image is generated as a result of processing the random image data at step 320 .
[0045] According to an example, a previously generated reference image may be supplemented during use of the detection system 100. To supplement the reference image, the elevator computing unit 130 may obtain additional random image data of the interior of the elevator car 110 from the imaging devices 120a-120n, and process the obtained additional random image data to generate a supplemented reference image, as discussed above in step 320. The supplemented reference image may then be used as a reference image in the detection process to detect one or more human objects 140 within the elevator car 110. The additional random image data may include a plurality of images captured in one or more random reference scenes. The one or more random reference scenes may include an empty elevator car scene and / or a non-empty elevator car scene. Supplementation of the reference image improves the accuracy of the reference image.
[0046] Figure 4 Schematically disclosed in more detail Figure 2 As described above, at step 230, the elevator computing unit 130 performs a detection process based on the obtained real-time image data and the previously generated reference image to detect one or more human objects 140 within the elevator car 110. The detection process 230 may include an object detection phase at step 410 and a human object detection phase at step 420. The object detection phase 410 includes detecting one or more objects within the elevator car 110. The human object detection phase 420 includes identifying one or more human objects 140 from the one or more objects detected in the object detection phase 410.
[0047] The object detection stage 410 may include, for example, the following steps: frame subtraction 412, image thresholding 414, and object detection 416. The object detection stage 410 may further include an image processing step 418 prior to the frame subtraction 412. The following examples of the steps of the object detection stage 410 are discussed.
[0048] At the frame subtraction step 412, the elevator calculation unit 130 may perform a subtraction operation between one of the obtained real-time image data and the reference image to generate a difference image representing the difference between the real-time image and the reference image. One of the obtained real-time image data may be any image among the multiple images of the real-time image data. According to a non-limiting example, one of the obtained real-time image data may be the first image among the multiple images of the real-time image data. The generated difference image may include the pixel-by-pixel difference between the real-time image and the reference image. The real-time image and the reference image may be converted to grayscale for the subtraction operation. The real-time image and the reference image may be subtracted, for example, by using an absolute operation. In other words, the generated difference image may include the absolute difference between the pixel values of the real-time image and the pixel values of the reference image. The difference image including the absolute difference between the pixel values of the real-time image and the pixel values of the reference image may be defined, for example, according to the following equation:
[0049] Difference image = |P RT (i,j)-P ref (i,j)|,
[0050] Where P RT (i, j) is the pixel value of the real-time image, P ref (i, j) is the pixel value of the reference image, i is the length of the corresponding image matrix, and j is the width of the corresponding image matrix.
[0051] At the image thresholding step 414, the elevator computing unit 130 may filter the generated difference image generated at step 412 by using a threshold value to divide the pixels of the generated difference image into object pixels and background pixels. The object pixel may represent one or more objects. The threshold value may be defined based on the lighting condition of the elevator car 110. Image thresholding highlights the difference between the real-time image and the reference image. Image thresholding makes the difference more prominent by suppressing minor differences and enhancing major differences. Each elevator car may have different lighting conditions compared to the lighting conditions of other elevator cars. Therefore, the same threshold value cannot be used for all elevator cars. Therefore, the elevator computing unit 130 may use an adaptive process for defining the threshold value for each elevator car 110. The adaptive process includes calculating the median of the pixel values of the real-time image and deciding the lighting condition of the elevator car 110. Once the lighting condition of the elevator car 110 is decided, the threshold value may be selected from a predefined set of threshold values. After defining the threshold, the elevator calculation unit 130 may filter the generated difference image by dividing (i.e., classifying) the pixels into object pixels and background pixels using the defined threshold, thereby performing image thresholding. The generated difference image may have pixel values between a minimum pixel value and a maximum pixel value. For example, a typical grayscale image may have pixel values between 0 and 255, where 0 represents absolute black and 255 represents absolute white. Therefore, any pixel value of the difference image that is less than the defined threshold may be assigned as a minimum pixel value, such as 0 in the case of a grayscale image, and any pixel value of the difference image that is higher than the defined reference value may be assigned as a maximum pixel value, such as 255 in the case of a grayscale image. Pixel values assigned as the minimum pixel value may be classified as background pixels, and pixel values assigned as the maximum pixel value may be classified as object pixels. As a result of the image thresholding, a classified difference image is generated. The classified difference image has pixels with the minimum pixel value belonging to background pixels and pixels with the maximum pixel value belonging to object pixels. In other words, pixels with minimum pixel values (e.g., 0 in the case of a grayscale image) in the classified difference image belong to background pixels, and pixels with maximum pixel values (e.g., 255 in the case of a grayscale image) in the difference image belong to object pixels. The classified difference image may be normalized between values of 0 and 1, where 0 represents black and 1 represents white. The classified difference image generated as a result of the image thresholding at step 414 may be a substantially noisy image. Therefore, noise filtering and averaging of the classified difference image may be used to remove noise, for example, by removing small individual object pixels (i.e., objects) and / or merging nearby object pixels into unified object pixels (i.e., unified objects).
[0052] At object detection step 416, the elevator computing unit 130 may detect one or more objects from the classified difference image. White objects (i.e., object pixels) on top of a black background (i.e., background pixels) in the classified difference image correspond to the detected one or more objects. According to an example, the object detection step 416 may also include defining (e.g., calculating) by the elevator computing unit 130 a location of each one or more detected objects, i.e., a location of the object pixels. According to another example, the object detection step 416 may also include creating (e.g., drawing) by the elevator computing unit 130 an outline (e.g., a box) around each one or more detected objects. If no object is detected, the method may return to step 200.
[0053] As discussed above, the object detection stage 410 may further include an image processing step 418 prior to the image thresholding step 412. The image processing step 418 may include image processing of the obtained real-time image data. The image processing of the obtained real-time image data may include adjusting the brightness of the real-time image data and / or the contrast of the real-time image data. For example, the brightness of the real-time image of the real-time image data may be increased. For example, the contrast may be adjusted according to the brightness level. The image processing makes the edges of the one or more objects detected at step 416 clearer, thereby improving the accuracy of detecting the one or more objects.
[0054] The human object detection stage 420 may include, for example, the steps of eliminating static objects 422 and human object decision 424. The human object detection stage 420 may also include defining a confidence score 426 prior to the human object decision 424. The following examples of steps of the human object detection stage 420 are discussed.
[0055] At step 422, the elevator computing unit 130 may eliminate static objects from the one or more objects detected at the object detection stage 410. For example, a person standing at one location will still show at least some motion in the plurality of consecutive images, for example, when their torso moves, and thus static objects may be considered non-human objects, such as loads. The elimination of static objects may be performed, for example, by using the plurality of consecutive real-time images of the acquired real-time image data. In order to eliminate static objects from the one or more objects detected at the object detection stage 410 using the plurality of consecutive real-time images of the acquired real-time image data, the elevator computing unit 130 may perform the steps of the object detection stage 410, i.e., the frame subtraction step 412, the image thresholding step 414, and the object detection step 416, for each of the plurality of consecutive real-time images, and may also perform the image processing step 418. The elevator computing unit 130 may classify the detected one or more objects into moving objects and static objects based on the pixel-by-pixel changes in the plurality of consecutive images. One or more objects indicating pixel-by-pixel changes in the consecutive images may be classified as moving objects. One or more objects indicating no pixel-by-pixel changes in the consecutive images may be classified as static objects. Static objects may then be eliminated from the detected one or more objects. The remaining detected one or more objects may be inferred to be one or more human objects 140. Using multiple consecutive images including black and white pixels (e.g., the classified difference images generated in the image thresholding step 414) in the detection of moving objects at step 422 improves the detection of moving objects, for example, compared to using multiple consecutive RGB color images in the detection of moving objects.
[0056] At step 424, the elevator computing unit 130 may decide whether one or more human objects 140 are detected within the elevator car 110. For example, the elevator computing unit 130 may perform a decision regarding detection of one or more human objects 140 within the elevator car 110 based on the results of a previous step (e.g., step 422 discussed above or optional step 426 discussed later). For example, if one or more human objects 140 are detected within the elevator car 110 as a result of the previous step, the elevator computing unit 130 may decide that one or more human objects 140 are detected within the elevator car 110. The decision regarding detection of one or more human objects 140 within the elevator car 110 may be used to indicate detection of a trapped condition within the elevator car 110, as described above with reference to FIG. Figure 2 According to an example, the human object decision step 424 may include that before finally determining that one or more human objects 140 are detected within the elevator car 110, the elevator computing unit 130 may use an area threshold to eliminate any small living objects, such as pets, from the one or more human objects 140 detected.
[0057] According to an example, the human object detection stage 420 may further include a step 426 of defining (e.g., calculating) a confidence score for each detected human object 140 by the elevator computing unit 130 before the human object decision step 424. The elevator computing unit 130 may remove each detected human object 140 having a defined confidence score below a certain threshold from the detected one or more human objects 140. This reduces possible false positive detections of human objects 140 within the elevator car 110. In the definition of the confidence score, the elevator computing unit 130 may use a plurality of consecutive real-time images of the real-time image data and calculate the occurrence of each human object 140 in the plurality of consecutive real-time images of the real-time image data. In order to define the confidence score using the plurality of consecutive real-time images of the obtained real-time image data, the elevator computing unit 130 may perform the steps of the object detection stage 410, i.e., the frame subtraction step 412, the image thresholding step 414, and the object detection step 416, for each of the plurality of consecutive real-time images, and may also perform the image processing step 418. The elevator calculation unit 130 may also calculate an intersection-over-union (IOU) score for each detected human object. The IOU score indicates how much area of the detected object in a plurality of consecutive real-time images of the real-time image data has overlapped. The higher the IOU score, the higher the probability that the detected human object 140 is actually a human object 140. The confidence score may be calculated, for example, using the following equation:
[0058]
[0059] Where N O is the number of images in which human objects are detected, N Tot is the total number of live images used in the definition, and IOU is the intersection-over-union score.
[0060] The above reference Figure 2-4An example of a method for detecting a trapped situation within an elevator car 110 is described such that the detection system 100 includes one imaging device 120a-120n. However, the above method may also be applied when the detection system 100 includes a plurality of imaging devices 120a-120n. At step 220, the elevator computing unit 130 may obtain corresponding real-time image data of the interior of the elevator car 110 from each imaging device 120a-120n. At step 230, the elevator computing unit 130 may perform a detection process for each imaging device 120a-120n, respectively, to detect one or more human objects. In other words, the elevator computing unit 130 may perform the detection process at step 230 based on the real-time image data obtained from each imaging device 120a-120n and the corresponding previously generated reference image to detect one or more human objects. The elevator computing unit 130 may generate a corresponding reference image based on the random image data obtained from each imaging device 120a-120n, as described above in steps 310-330 describing the generation of a reference image based on the random image data obtained from one imaging device 120a-120n. The detection procedure performed at step 230 for each imaging device 120a-120n may include an object detection phase at step 410 performed for each imaging device 120a-120n and a human object detection phase at step 420 performed for each imaging device 120a-120n, as described above with reference to FIG. Figure 4 described.
[0061] If the results of the detection processes performed for the plurality of imaging devices 120a-120n in step 230 are different from each other, for example, one or more human objects are detected in the detection processes performed for one or more of the plurality of imaging devices 120a-120n, indicating that a trapped situation is detected, and no human object is detected in the detection processes performed for one or more of the plurality of imaging devices 120a-120n, indicating that a trapped situation is not detected, the elevator computing unit 130 may perform a final decision on the trapped situation, for example, based on the majority of the results. In other words, if the results of the majority of the detection processes indicate that a trapped situation is detected, the elevator computing unit 130 may decide that a trapped situation is detected as a final decision, and generate a signal indicating that a trapped situation is detected at step 240. Alternatively, if the results of the majority of the detection processes indicate that a trapped situation is not detected, the elevator computing unit 130 may decide that a trapped situation is not detected as a final decision. The use of the plurality of imaging devices 120a-120n improves the accuracy of detecting a trapped situation within the elevator car 110. For example, possible false positive detections of human subjects 140 within the elevator car 110 may be reduced by using multiple imaging devices 120a-120n, such as in the confidence score definition step 426. Alternatively or additionally, possible false negative detections of human subjects 140 within the elevator car 110 may be reduced by using multiple imaging devices 120a-120n, such as in the static object elimination step 422.
[0062] Figure 5An example of components of an elevator computing unit 130 is schematically shown. The elevator computing unit 130 may include a processing unit 510 including one or more processors, a memory unit 520 including one or more memories, a communication unit 530 including one or more communication devices, and a possible user interface (UI) unit 540. The mentioned elements may be communicatively coupled to each other using, for example, an internal bus. The memory unit 520 may store and maintain parts of a computer program (code) 525, any image data (e.g., obtained real-time image data, obtained random image data, etc.), generated images (e.g., reference images, difference images, etc.), and any other data. The computer program 525 may include instructions that, when executed by the processing unit 510 of the elevator computing unit 130, may cause the processing unit 510 and, therefore, the elevator computing unit 130 to perform desired tasks, e.g., one or more of the above-described method steps. Thus, the processing unit 510 may be arranged to access the memory unit 520 and retrieve and store any information from and to the memory unit 520. For the sake of clarity, a processor herein refers to any unit suitable for processing information and controlling the operation of the elevator computing unit 130 and other tasks. A microcontroller solution with embedded software can also be used to implement the operation. Similarly, the memory unit 520 is not limited to a certain type of memory, but any memory type suitable for storing the described multiple pieces of information can be applied in the context of the present invention. The communication unit 530 provides one or more communication interfaces for communicating with any other unit (e.g., at least one imaging device 120a-120n, the elevator control system 150, the service center, one or more databases) or with any other unit. The user interface unit 540 may include one or more input / output (I / O) devices such as buttons, keyboards, touch screens, microphones, speakers, displays, etc. for receiving user input and output information. The computer program 525 may be a computer program product that can be included in a tangible non-volatile (non-transitory) computer-readable medium that carries the computer program code 525 embodied therein for use with a computer (i.e., the elevator computing unit 130).
[0063] The above-described detection system 100 and method for detecting a entrapment situation within an elevator car 110 implements an automated process for detecting a passenger being trapped within an inoperable elevator car. This can improve the safety of the elevator system, and therefore also improve the safety of the passengers of the elevator car 110. Because the detection of the entrapment situation is performed by the detection system 100, rather than the passenger within the trapped elevator car 110 manually contacting a service provider, information about the entrapment situation within the elevator car 110 can be provided to the service more quickly, which in turn can speed up the evacuation of the passengers within the trapped elevator car 110. The above-described detection system 100 and method also improves the reliability of detecting a entrapment situation within the elevator car 110.
[0064] The specific examples provided in the description given above should not be construed as limiting the applicability and / or interpretation of the appended claims.The lists and groups of examples provided in the description given above are not exhaustive unless expressly stated otherwise.
Claims
1. A method for detecting a trapped condition in an elevator car (110), the method comprising: receiving (210) an inoperability notification indicating an inoperability condition of the elevator car (110); In response to receiving the inoperability notification, obtaining (220) real-time image data of the interior of the elevator car (110) from at least one imaging device (120a-120n) disposed inside the elevator car (110); One or more human subjects (140) within the elevator car (110) are detected (230) by performing a detection process based on the acquired real-time image data and at least one previously generated reference image, wherein generating the at least one reference image comprises: obtaining (310) random image data of the interior of the elevator car (110) from the at least one imaging device (120a-120n), wherein the random image data comprises a plurality of images captured in a plurality of random reference scenes, and processing (320) the obtained random image data to generate the at least one reference image (330); and In response to detecting the one or more human subjects (140), a signal is generated (240) to an elevator control system (150) and / or a service center indicating that the entrapment condition has been detected.
2. The method according to claim 1, wherein: The detection process (230) includes: an object detection phase (410) comprising detecting one or more objects within the elevator car (110), and The human object detection stage (420) includes identifying one or more human objects (140) from the detected one or more objects.
3. The method according to claim 2, wherein: The object detection stage (410) includes: a frame subtraction (412) comprising a subtraction operation between one of the acquired real-time image data and a corresponding reference image to generate a difference image representing a difference between the at least one real-time image and the corresponding reference image; and Image thresholding (414) includes filtering the generated difference image using a threshold value to divide pixels of the generated difference image into object pixels and background pixels to detect the one or more objects within the elevator car (110), wherein the threshold value is defined based on lighting conditions of the elevator car (110).
4. The method according to claim 2 or 3, wherein the human object detection stage (420) comprises: eliminating static objects from the detected one or more objects by classifying the detected one or more objects into moving objects and static objects based on pixel-by-pixel changes in the plurality of consecutive real-time images using the obtained real-time image data (422) to eliminate static objects from the detected one or more objects; as well as A decision (424) is made as to whether one or more human subjects (140) are detected within the elevator car (110).
5. The method of claim 4, wherein the human object detection stage (420) further comprises defining (426) a confidence score for each detected one or more human objects (140), wherein each human object having a defined confidence score below a certain threshold is removed from the detected one or more human objects (140).
6. The method according to any of the preceding claims, wherein the plurality of reference scenarios comprises at least a plurality of empty elevator car scenarios and further one or more non-empty elevator car scenarios.
7. A method according to any one of the preceding claims, wherein: Processing (320) of the obtained random image data includes performing (332) a median operation on pixel values of a plurality of images of the random image data to generate the at least one reference image.
8. An elevator computing unit (130) for detecting a trapped condition in an elevator car (130), the elevator computing unit (130) comprising A processing unit (510), comprising at least one processor; as well as a memory unit (520) comprising at least one memory including computer program code (525); The at least one memory and the computer program code (525) are configured to, together with the at least one processor, cause the elevator computing unit (130) to execute: receiving an inoperability notification indicating an inoperability condition of the elevator car (110); In response to receiving the inoperability notification, obtaining real-time image data of the interior of the elevator car (110) from at least one imaging device (120a-120n) disposed inside the elevator car (110); One or more human objects (140) are detected within the elevator car (110) by performing a detection process based on the acquired real-time image data and at least one previously generated reference image, wherein to generate the at least one reference image, the elevator computing unit (130) is configured to: obtaining random image data of the interior of the elevator car (110) from the at least one imaging device (120a-120n), wherein the random image data comprises a plurality of images captured in a plurality of random reference scenes, and processing the obtained random image data to generate the at least one reference image; and In response to detecting the one or more human subjects (140), a signal is generated to an elevator control system (150) and / or a service center indicating that the entrapment condition has been detected.
9. The elevator computing unit (130) according to claim 8, wherein: The testing procedure includes: an object detection phase, the object detection phase comprising detecting one or more objects within the elevator car (110), and The human object detection phase includes identifying one or more human objects from the detected one or more objects (140).
10. The elevator computing unit (130) according to claim 9, wherein: The object detection phase includes the elevator computing unit (130) being configured to perform: a frame subtraction method including a subtraction operation between one of the acquired real-time image data and a corresponding reference image to produce a difference image representing a difference between the at least one real-time image and the corresponding reference image; as well as Image thresholding includes filtering the determined difference image using a threshold value to divide pixels of the generated difference image into object pixels and background pixels to detect the one or more objects inside the elevator car (110), wherein the threshold value is defined based on lighting conditions of the elevator car.
11. The elevator computing unit (130) according to claim 9 or 10, wherein the human object detection stage comprises the elevator computing unit (130) being configured to: eliminating static objects from the detected one or more objects by classifying the detected one or more objects into moving objects and static objects based on pixel-by-pixel changes in the plurality of consecutive real-time images of the obtained real-time image data, eliminating static objects from the detected one or more objects; and A determination is made as to whether one or more human subjects (140) are detected within the elevator car (110).
12. The elevator computing unit (130) of claim 11, wherein the human object detection phase further comprises the elevator computing unit being configured to define a confidence score for each detected one or more human objects (140), wherein each human object having a defined confidence score below a certain threshold is removed from the detected one or more human objects (140).
13. The elevator computing unit (130) according to any one of claims 8 to 12, wherein: The plurality of reference scenarios include at least a plurality of empty elevator car scenarios and additionally one or more non-empty elevator car scenarios.
14. The elevator computing unit (130) according to any one of claims 8 to 13, wherein: The processing of the obtained random image data includes the elevator computing unit (130) being configured to perform a median operation on pixel values of the plurality of images of the random image data to generate the at least one reference image.
15. A detection system (100) for detecting a trapped condition in an elevator car (110), the detection system (100) comprising: at least one imaging device (120a-120n), the at least one imaging device being arranged inside the elevator car (110), and An elevator computing unit (130) according to any one of claims 8 to 14.
16. A computer program (525) comprising instructions which, when executed by a computer, cause the computer to perform the method according to any one of claims 1 to 7.
