Elevator occupant detection system and exposure control method
The elevator user detection system addresses the issue of varying brightness by dynamically adjusting exposure settings based on environmental conditions, ensuring accurate user detection in elevator cars and landing areas.
Patent Information
- Application Number
- JP2022200390
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-12-15
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2042-12-15
AI Technical Summary
Elevator user detection systems face challenges in accurately detecting users due to varying brightness levels in elevator cars and landing areas caused by different lighting environments, leading to overexposure or crushed black images, which affect detection accuracy.
An elevator user detection system with a photometric window setting, brightness measurement, and exposure control mechanism that adjusts the target brightness value based on the environment and door status to optimize image capture.
The system ensures accurate user detection by adapting exposure settings to match the specific lighting conditions of the elevator car and landing area, preventing overexposure or underexposure and enhancing detection accuracy.
Smart Images

Figure 0007566858000001 
Figure 0007566858000002 
Figure 0007566858000003
Abstract
Description
[Technical field]
[0001] SUMMARY OF THE DISCLOSURE The present invention relates to an elevator occupancy detection system and exposure control method. [Background technology]
[0002] Usually, when an elevator car arrives at a landing and opens its doors, it closes the doors after a certain time has passed and departs. At that time, elevator users do not know when the doors of the car will close, so when they get into the car from the landing, they may bump into the doors as they are closing. To avoid such collisions with the doors when boarding, there is a system that uses images captured by a camera to detect users getting into the car and reflects the detection results in door opening and closing control. In addition, if a user is in the car near the door, there is a possibility that the user may be pulled into the door pocket when the door opens. To prevent such accidents when the door closes, images captured by a camera may be used. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 7009537 Summary of the Invention [Problem to be solved by the invention]
[0004] The brightness of elevator cars and landings varies depending on the design and lighting environment. In particular, landings are easily affected by external light at each floor, so the brightness often differs for each floor. However, in normal camera exposure control, the car is always photographed with the same target brightness value whether it is in a dark environment or a bright environment. The same is true for landings, which are photographed with the same target brightness value whether it is in a dark environment or a bright environment. For this reason, if the target brightness value is set to a value suitable for a dark environment, whiteout may occur in a bright environment. Conversely, if the target brightness value is set to a value suitable for a bright environment, blackout may occur in a dark environment.
[0005] For example, assume that the inside of the car is bright and the landing is a dark environment. In this case, if the target brightness value is set to a value suitable for a bright environment, the image will be captured with reduced brightness. This will result in an inappropriate image of the landing, affecting the detection accuracy at the landing. On the other hand, if the target brightness value is set to a value suitable for a dark environment, the image will be captured with reduced darkness, resulting in an inappropriate image of the inside of the car, affecting the detection accuracy inside the car. Furthermore, if the target brightness value is set to the brightness between the inside of the car and the landing, the image will be moderate, affecting the detection accuracy both inside the car and at the landing.
[0006] The problem that the present invention aims to solve is to provide an elevator user detection system and exposure control method that can appropriately set target brightness values to be used for exposure control according to the respective environments inside the car and at the landing, and can correctly detect users inside the car and users at the landing. [Means for solving the problem]
[0007] An elevator user detection system according to one embodiment includes a photometry window setting means, a measurement means, a target value determination means, and an exposure control means. The photometry window setting means sets a photometry window in the car or at a landing on a captured image obtained from the camera according to an open / closed state of a car door. The measurement means measures the brightness of an image in the photometry window as an index value. The target value determination means determines a target value of brightness based on the index value obtained by the measurement means. The exposure control means controls the exposure of the camera so that the brightness of the image converges to the target value determined by the target value determination means. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a diagram showing a configuration of an elevator user detection system according to an embodiment. [Diagram 2] FIG. 2 is a diagram showing the configuration of the area around the entrance in the car in the embodiment. [Diagram 3] FIG. 3 is a diagram showing the relationship between an image captured by a camera and a detection area of a hall in the embodiment. [Figure 4] FIG. 4 is a diagram showing the relationship between an image captured by a camera and a detection area inside a car in the embodiment. [Diagram 5] FIG. 5 is a flowchart showing a user detection process of the image processing device in the embodiment. [Figure 6] FIG. 6 is a diagram for explaining a coordinate system in real space in this embodiment. [Figure 7] FIG. 7 is a diagram showing a state in which a photographed image is divided into blocks in the embodiment. [Figure 8] FIG. 8 is a diagram showing an example of an image captured under normal exposure control. [Figure 9] FIG. 9 is a diagram showing an example of an image captured under normal exposure control. [Figure 10] FIG. 10 is a block diagram showing the functional configuration of the image processing device in the embodiment. [Figure 11]FIG. 11 is a diagram showing an example of a captured image before exposure control in the embodiment. [Figure 12] FIG. 12 is a diagram showing an example of a captured image before exposure control in the same embodiment. [Figure 13] FIG. 13 is a diagram showing an example of a captured image after exposure control in the same embodiment. [Figure 14] FIG. 14 is a diagram showing an example of a captured image after exposure control in the same embodiment. [Figure 15] FIG. 15 is a diagram showing the transition from the start to the end of exposure control in this embodiment. [Figure 16] FIG. 16 is a flowchart showing the operation of the exposure control process of the image processing device in the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] Hereinafter, an embodiment will be described with reference to the drawings. In addition, the disclosure is merely an example, and the invention is not limited to the contents described in the following embodiments. Modifications that a person skilled in the art can easily conceive are naturally included in the scope of the disclosure. In order to make the explanation clearer, the size, shape, etc. of each part may be changed from the actual embodiment and shown diagrammatically. In multiple drawings, corresponding elements may be given the same reference numerals, and detailed explanations may be omitted.
[0010] Fig. 1 is a diagram showing the configuration of an elevator user detection system according to an embodiment. Note that, although a single car will be described as an example here, the same configuration applies to a system having multiple cars.
[0011] The camera 12 is installed above the entrance of the car 11. Specifically, the camera 12 is installed in a fascia 11a covering the upper part of the entrance of the car 11 with the lens portion tilted at a predetermined angle directly downward or toward the landing 15 side or toward the inside of the car 11.
[0012] The camera 12 is, for example, a small surveillance camera such as an in-vehicle camera, has a wide-angle lens or a fisheye lens, and can continuously capture images at several frames per second (for example, 30 frames / second). The camera 12 is activated, for example, when the car 11 arrives at the landing 15 on each floor, and captures images including the interior of the car 11 and the landing 15 near the car door 13. The camera 12 may be constantly in operation when the car 11 is in operation.
[0013] The shooting range at this time is adjusted to L1+L2 (L1≫L2). L1 is the shooting range on the hall side, and has a predetermined distance from the car door 13 toward the hall 15. L2 is the shooting range on the car side, and has a predetermined distance from the car door 13 toward the rear surface of the car. Note that L1 and L2 are ranges in the depth direction, and the range in the width direction (direction perpendicular to the depth direction) is at least larger than the horizontal width of the car 11.
[0014] At the landing 15 on each floor, a landing door 14 is installed at the arrival entrance of the car 11 so as to be able to be opened and closed freely. The landing door 14 engages with the car door 13 when the car 11 arrives and opens and closes. The power source (door motor) is on the car 11 side, and the landing door 14 simply opens and closes following the car door 13. In the following explanation, it is assumed that when the car door 13 is open, the landing door 14 is also open, and when the car door 13 is closed, the landing door 14 is also closed.
[0015] Each image (video) continuously captured by the camera 12 is analyzed in real time by the image processing device 20. Note that, for convenience, the image processing device 20 is shown removed from the car 11 in Fig. 1, but in reality, the image processing device 20 is housed in the headboard 11a together with the camera 12.
[0016] The image processing device 20 includes a storage unit 21, a control unit 22, and a communication unit 23. Note that some or all of the functions of the image processing device 20 may be provided in the elevator control device 30. The storage unit 21 is formed of a memory device such as a RAM. The storage unit 21 sequentially stores images captured by the camera 12, and has a buffer area for temporarily storing data necessary for processing by the control unit 22. Note that the storage unit 21 may store images that have been subjected to preprocessing such as distortion correction, enlargement / reduction, and partial cropping as preprocessing of the captured images. The storage unit 21 also includes a target value storage unit 21a, which will be described later.
[0017] The control unit 22 is composed of, for example, a microprocessor. The control unit 22 is provided with a detection area setting unit 22a and a detection processing unit 22b as processing units related to the user detection function. These may be realized by software, by hardware such as an integrated circuit (IC), or by a combination of software and hardware.
[0018] The detection area setting unit 22a sets at least one or more detection areas for detecting users on the captured image obtained by the camera 12. In this embodiment, a detection area E1 for detecting users at the hall 15 and a detection area E2 for detecting users near an entrance / exit in the car 11 are set. In detail, the detection area setting unit 22a sets a detection area E1 including the sills 18, 47 and having a predetermined distance L3 toward the hall 15 on the floor surface 16 of the hall 15 (see FIG. 3). In addition, the detection area setting unit 22a sets a strip-shaped detection area E2 along the car sill 18 near the entrance / exit on the floor surface 19 in the car 11 (see FIG. 4).
[0019] The detection processing unit 22b detects a user or object present at the landing 15 using images within the detection area E1 from when the door starts to close until it is fully closed, and detects a user or object present near the car door 13 (entrance / exit) in the car 11 using images within the detection area E2 from when the door starts to open until it is fully opened. Note that "object" includes, for example, the user's clothes and luggage, as well as moving objects such as wheelchairs. In the following description, when it is said that "a user is detected," it is assumed that "object" is also included.
[0020] The control unit 22 also includes a photometry window setting unit 22c, a brightness measurement unit 22d, a target value determination unit 22e, a target value setting unit 22f, and an exposure control unit 22g as exposure control functions for controlling the exposure of the camera 12. Some of these functions may be provided in the camera 12. These functions will be described in detail later with reference to FIG. 10. The communication unit 23 is used for communication with external devices including, for example, an elevator control device 30. This communication unit 23 may be provided independently of the image processing device 20.
[0021] The elevator control device 30 is composed of a computer equipped with a CPU, a ROM, a RAM, etc. The elevator control device 30 performs operation control of the car 11, etc. The elevator control device 30 also includes a door opening / closing control unit 31.
[0022] The door opening / closing control unit 31 controls the opening / closing of the car door 13 when the car 11 arrives at the landing 15. In detail, the door opening / closing control unit 31 opens the car door 13 when the car 11 arrives at the landing 15, and closes the door after a predetermined time has elapsed. However, if the detection processing unit 22b detects a user at the landing 15 during the door closing operation of the car door 13 (from the start of door closing to full closing), the door opening / closing control unit 31 prohibits the door closing operation of the car door 13 and reopens the car door 13 in the fully open direction to maintain the door open state. On the other hand, if the detection processing unit 22b detects a user near the door in the car 11 during the door opening operation of the car door 13 (from the start of door opening to full opening), the door opening / closing control unit 31 prohibits the door opening operation of the car door 13 and reopens the car door 13 in the fully closed direction to maintain the door closed state.
[0023] FIG. 2 is a diagram showing the configuration of the area around the entrance / exit inside the car 11. As shown in FIG. A car door 13 is provided at the entrance of the car 11 so as to be able to be opened and closed freely. In the example of Fig. 2, a two-door double-leaf car door 13 is shown, and two door panels 13a, 13b constituting the car door 13 open and close in opposite directions along the width direction (horizontal direction). Note that the "width" is the same as the entrance of the car 11.
[0024] Front pillars 41a, 41b are provided on both sides of the entrance of the car 11, and together with the apron 11a, they surround the entrance of the car 11. The "front pillar" is also called an entrance pillar or an entrance frame, and a door pocket for storing the car door 13 is generally provided on the back side. In the example of Fig. 2, when the car door 13 is opened, one door panel 13a is stored in a door pocket 42a provided on the back side of the front pillar 41a, and the other door panel 13b is stored in a door pocket 42b provided on the back side of the front pillar 41b.
[0025] A display 43, an operation panel 45 on which destination floor buttons 44 and the like are arranged, and a speaker 46 are mounted on one or both of the front pillars 41a, 41b. In the example of Fig. 2, the speaker 46 is mounted on the front pillar 41a, and the display 43 and operation panel 45 are mounted on the front pillar 41b. Here, a camera 12 having a wide-angle lens is mounted in the center of the fascia board 11a above the entrance of the car 11.
[0026] 3 is a diagram showing the relationship between the image captured by camera 12 and detection area E1 of hall 15. The upper side is hall 15, and the lower side is the interior of car 11. In the figure, 16 indicates the floor surface of hall 15, and 19 indicates the floor surface of car 11. E1 represents the detection area.
[0027] The car door 13 has two door panels 13a, 13b that move in opposite directions to each other on the car sill 47. The landing door 14 also has two door panels 14a, 14b that move in opposite directions to each other on the landing sill 18. The door panels 14a, 14b of the landing door 14 move in the door opening / closing direction together with the door panels 13a, 13b of the car door 13.
[0028] The camera 12 is installed above the entrance of the car 11. Therefore, when the door of the car 11 opens at the landing 15, a predetermined range (L1) on the landing side and a predetermined range (L2) inside the car are photographed as shown in Fig. 1. Of these, a detection area E1 for detecting a user getting on the car 11 is set in the predetermined range (L1) on the landing side.
[0029] In real space, the detection area E1 has a distance of L3 from the center of the entrance (frontage) toward the landing (L3≦landing side shooting range L1). The width W1 of the detection area E1 when fully open is set to a distance equal to or greater than the width W0 of the entrance (frontage). As shown by diagonal lines in FIG. 3, the detection area E1 is set to include the sills 18, 47 and exclude the blind spots of the jambs 17a, 17b. The size of the detection area E1 in the horizontal direction (X-axis direction) may be configured to change in accordance with the opening and closing operation of the car door 13. The size of the detection area E1 in the vertical direction (Y-axis direction) may also be configured to change in accordance with the opening and closing operation of the car door 13.
[0030] 4 is a diagram showing the relationship between the image captured by the camera 12 and the detection area E2 inside the car 11. The upper side is the hall 15, and the lower side is the inside of the car 11. In the figure, 16 indicates the floor surface of the hall 15, and 19 indicates the floor surface of the car 11. E2 represents the detection area.
[0031] The detection area E2 is adjacent to the car sill 47 provided on the floor surface 19 of the car 11. The detection area E2 is an area for detecting a user on a captured image, and is used to prevent an accident in which a hand or the like of a user near the car door 13 is pulled into the door pockets 42a, 42b when the door is opened.
[0032] The detection area E2 has a predetermined width L4 in a direction perpendicular to the entrance (Y-axis direction), and is set in a strip shape along the longitudinal direction (X-axis direction) of the car sill 47. The width L4 is approximately the same as the width in the Y-axis direction of the inner side surface 41a-1 of the front pillar 41a and the inner side surface 41b-1 of the front pillar 41b. The car door 13 (door panels 13a, 13b) moves above the car sill 47, so the area is outside the area setting. In other words, the detection area E2 is set adjacent to one side edge in the longitudinal direction of the car sill 47, except above the car sill 47. This makes it possible to set a detection area E2 that is not affected by the opening and closing operation of the car door 13.
[0033] 4 shows a state in which the door of the car 11 is open, it is preferable to set the detection area E2 on an image captured with the door closed. This is because the background on the side of the hall 15 is not captured in the captured image, and the detection area E2 can be set based only on the structure inside the car 11.
[0034] FIG. 5 is a flowchart showing the user detection process of the image processing device 20. First, as an initial setting, a detection area setting process is executed by the detection area setting unit 22a of the control unit 22 provided in the image processing device 20 (step S10). This detection area setting process is executed as follows, for example, when the camera 12 is installed or when the installation position of the camera 12 is adjusted.
[0035] That is, the detection area setting unit 22a sets a detection area E1 having a distance L3 from the entrance / exit toward the landing 15 when the car 11 is fully open. As shown in Fig. 3, the detection area E1 is set to include the sills 18, 47 and to exclude the blind spots of the jambs 17a, 17b. Here, when the car 11 is fully open, the size of the detection area E1 in the horizontal direction (X-axis direction) is W1, and the distance is equal to or greater than the horizontal width W0 of the entrance / exit (frontage).
[0036] Furthermore, when the car 11 is in a fully closed state, the detection area setting unit 22a sets a band-shaped detection area E2 along the longitudinal direction (X-axis direction) of the car sill 47 near the entrance / exit of the car 11. As shown in Fig. 4, the detection area E2 is set adjacent to one side of the car sill 47 in the longitudinal direction, except for above the car sill 47.
[0037] Here, when the car 11 arrives at the landing 15 of an arbitrary floor (Yes in step S11), the elevator control device 30 starts opening the car door 13 (step S12). At this time, the camera 12 installed above the entrance of the car 11 captures a predetermined range (L1) on the landing side and a predetermined range (L2) inside the car at a predetermined frame rate (e.g., 30 frames / second). The image processing device 20 acquires images captured by the camera 12 in chronological order, and while sequentially storing these images in the storage unit 21 (step S13), executes the following user detection process in real time (step S14). Note that preprocessing of the captured images may include distortion correction, enlargement / reduction, and cutting out a part of the image.
[0038] The user detection process is executed by a detection processing unit 22b of the control unit 22 provided in the image processing device 20. The detection processing unit 22b extracts images within the detection area E2 from a plurality of captured images obtained in time series by the camera 12, and detects the presence or absence of a user or object near the entrance / exit based on these images.
[0039] Specifically, as shown in Fig. 6, the camera 12 captures an image in which the direction horizontal to the car door 13 provided at the entrance / exit of the car 11 is the X-axis, the direction from the center of the car door 13 to the landing 15 (the direction perpendicular to the car door 13) is the Y-axis, and the height direction of the car 11 is the Z-axis. In each image captured by this camera 12, parts of the detection area E2 are compared on a block-by-block basis to detect parts where a brightness change occurs.
[0040] Figure 7 shows an example of a captured image divided into a matrix of predetermined block units. The original image divided into a grid of Wblock sides is called a "block." In the example of Figure 7, the length and width of the blocks are the same, but the length and width may be different. The blocks may be of uniform size across the entire image, or may be of non-uniform size, for example by making the length (Y-axis direction) shorter toward the top of the image.
[0041] The detection processing unit 22b reads out each image stored in the storage unit 21 one by one in chronological order, and calculates the average luminance value of these images for each block. At this time, the average luminance value for each block calculated when the first image is input is stored in a first buffer area (not shown) in the storage unit 21 as an initial value.
[0042] When the second or subsequent image is obtained, the detection processing unit 22b compares the average luminance value of each block of the current image with the average luminance value of each block of the previous image stored in the first buffer area. As a result, if there is a block in the current image that has a luminance difference equal to or greater than a preset threshold, the detection processing unit 22b determines that the block is a block with motion. When it has determined whether or not there is motion with respect to the current image, the detection processing unit 22b stores the average luminance value of each block of the image in the first buffer area for comparison with the next image. Thereafter, the detection processing unit 22b repeats the process of determining whether or not there is motion while comparing the luminance values of each image block by block in chronological order.
[0043] During the door opening operation, the detection processing unit 22b checks whether or not there is a moving block in the image within the detection area E2 set in the car 11. As a result, if there is a moving block in the image within the detection area E2, the detection processing unit 22b determines that a user or an object is present in the detection area E2.
[0044] Note that, although brightness changes have been used as an example of a method for detecting users here, it is also possible to store an image captured when the elevator car 11 is empty as a reference image, and compare this reference image with an image captured during the door opening operation to detect the presence or absence of a user or object within the detection area E2.
[0045] When the presence of a user or object is detected within the detection area E2 during the door-opening operation of the car doors 13 (from the start of door-opening to the full door-opening operation) (Yes in step S15), a user detection signal is output from the image processing device 20 to the elevator control device 30. Upon receiving this user detection signal, the door opening / closing control unit 31 of the elevator control device 30 temporarily suspends or recloses the door-opening operation of the car doors 13 (step S16). At this time, an announcement may be made to alert users who are within the detection area E2, i.e., users who are near the entrance / exit.
[0046] Furthermore, when a certain time has elapsed after the car doors 13 are fully opened, the elevator control device 30 starts closing the car doors 13 (step S17). During the door closing operation, the detection processing unit 22b detects the presence or absence of a user or object (such as a wheelchair) at the landing 15, using the images captured by the camera 12 (step S18). In detail, the detection processing unit 22b compares the brightness values of each image obtained in chronological order from the camera 12 on a block-by-block basis, and determines that a user or object is present in the detection area E1 if a block with movement is present in the image within the detection area E1.
[0047] When the presence of a user or object is detected within the detection area E1 during the door closing operation (from the start of door closing to the full door closing) (Yes in step S19), a user detection signal is output from the image processing device 20 to the elevator control device 30. Upon receiving this user detection signal, the door opening / closing control unit 31 of the elevator control device 30 prohibits the door closing operation of the car doors 13 and maintains the door open state (step S20).
[0048] In detail, when the car door 13 is fully open, the door opening / closing control unit 31 starts counting the door open time, and closes the door when a predetermined time T (for example, one minute) has been counted. If a user is detected during this time and a user detection signal is sent, the door opening / closing control unit 31 stops the counting operation and clears the count value. As a result, the car door 13 is maintained in an open state for the above-mentioned time T.
[0049] If a new user is detected during this time, the count value is cleared again, and the car door 13 is maintained in an open state for the above-mentioned time T. However, if multiple users arrive during the above-mentioned time T, the car door 13 will continue to be unable to close, so it is preferable to set an allowable time Tx (e.g., 3 minutes) and forcibly close the car door 13 when this allowable time Tx has elapsed.
[0050] When the counting operation for the above-mentioned time T is completed, the door opening / closing control unit 31 closes the car door 13 and causes the car 11 to depart toward the destination floor (step S20).
[0051] (Exposure Control) In normal exposure control, the target brightness value is fixed. Therefore, for example, if the target brightness value is set to a value suitable for a dark environment, there is a possibility that whiteout will occur in a bright environment. Conversely, if the target brightness value is set to a value suitable for a bright environment, there is a possibility that blackout will occur in a dark environment.
[0052] Figures 8 and 9 show examples of images captured with normal exposure control. The upper side is the landing 15, and the lower side is the inside of the car 11. In the figures, 16 indicates the floor surface of the landing 15, and 19 indicates the floor surface of the car 11. P1 indicates a user heading from the landing 15 to the car 11, and P2 indicates a user riding in the car 11.
[0053] Now, assume that the inside of the car 11 is in a bright environment and the hall 15 is in a dark environment. If the target value of brightness used for exposure control is set to a value suitable for the dark environment of the hall 15, the exposure control is performed in a direction that makes the whole image brighter when photographing. For this reason, as shown in FIG. 8, the image inside the car 11 is photographed brighter than necessary, and the user P2 inside the car 11 may not be detected correctly due to whiteout. On the other hand, if the target value of brightness is set to a value suitable for the bright environment inside the car 11, the exposure control is performed in a direction that makes the whole image darker when photographing. For this reason, as shown in FIG. 9, the hall 15 is photographed darker than necessary, and the user P1 inside the hall 15 may not be detected correctly due to blackout.
[0054] Therefore, in this embodiment, the target value of brightness used in exposure control is set to an appropriate value according to the shooting environment, thereby improving the accuracy of detecting a user using a captured image. A specific configuration will be described below.
[0055] Fig. 10 is a block diagram showing the functional configuration of the image processing device 20. Note that the example of Fig. 10 shows a configuration in which the camera 12 has a part of the exposure control function (a photometry window setting unit 22c, a brightness measurement unit 22d, and an exposure control unit 22g).
[0056] (1) Detection area setting unit 22a and detection processing unit 22b The detection area setting unit 22a sets detection areas E1 and E2 for detecting a user on the image captured by the camera 12 (see Figs. 3 and 4). The detection processing unit 22b detects the presence or absence of a user or object using the image in the detection area E2 during the door opening operation and the image in the detection area E1 during the door closing operation.
[0057] (2) Photometry window setting section 22c The photometry window setting unit 22c sets a photometry window in the car 11 or at the landing 15 according to the open / closed state of the car door 13. The "photometry window" indicates the range in the captured image where brightness is measured, and is set to a part or the whole of the landing 15 on the captured image when the car door 13 is fully open, and is set to a part or the whole of the car 11 on the captured image when the car door 13 is fully closed. Note that the photometry window may be set according to the detection areas E1 and E2 described above.
[0058] The photometry window setting unit 22c may be provided either inside or outside the camera 12. When using the photometry window setting unit 22c in the camera 12, the image processing device 20 obtains information about the photometry window (position, size, weight, etc.) from the camera 12 via the communication unit 23 and provides the information to the brightness measurement unit 22d.
[0059] (3) Brightness measuring unit 22d The brightness measurement unit 22d measures the brightness of the image in the photometry window as an index value. More specifically, the brightness measurement unit 22d obtains an average luminance value of the image in the photometry window and acquires it as an index value. When obtaining the average luminance value, the photometry window may be divided into blocks of any size, and the luminance value may be weighted for each block, for example, by increasing the weighting of the luminance value of a portion that is easily affected by external light, and the average luminance value may be obtained.
[0060] The brightness measuring unit 22d may be provided either inside or outside the camera 12. When the brightness measuring unit 22d in the camera 12 is used, the image processing device 20 acquires information indicating the brightness of the image in the photometry window from the camera 12 via the communication unit 23, and provides the information to the target value determination unit 22e.
[0061] (4) Target value determination unit 22e The target value determination unit 22e determines a target value of brightness to be used for exposure control based on the brightness index value measured by the brightness measurement unit 22d. The target value determination method includes (a) a method of selecting from a plurality of target values prepared in advance, and (b) a method of using a formula for calculating the target value of brightness.
[0062] (a) Method of selecting from multiple target values The target value storage unit 21a stores a plurality of target values including a target value set for a bright environment and a target value set for a dark environment.
[0063] Bright and dark environments The target value determination unit 22e compares an index value indicating the brightness of the image in the measurement window with a preset threshold value. If the brightness index value is equal to or greater than the threshold value, that is, if the image was taken in a bright environment, the target value determination unit 22e selects a target value set for a bright environment from the target value storage unit 21a. On the other hand, if the brightness index value is lower than the threshold value, that is, if the image was taken in a dark environment, the target value determination unit 22e selects a target value set for a dark environment from the target value storage unit 21a. The threshold value may be different or the same depending on whether the photometry window is set to the car 11 or the hall 15.
[0064] In addition, a configuration may be adopted in which multiple target values are prepared for bright environments and multiple target values are prepared for dark environments, and a target value corresponding to the brightness index value is selected in stages from among these target values by comparing it with multiple threshold values.
[0065] Door status The brightness of the landing 15 and inside the car 11 changes depending on the door state (full door open, door closing operation, full door closed, door opening operation). Taking such door states into consideration, the target value storage unit 21a stores a plurality of target values set for bright and dark environments. Information on the door state is obtained from the elevator control device 30.
[0066] When the index value indicating the brightness of the image in the measurement window is equal to or greater than the threshold (in the case of a bright environment), the target value determination unit 22e selectively switches the target value according to the door state among the multiple target values set for the bright environment.When the index value is lower than the threshold (in the case of a dark environment), the target value determination unit 22e selectively switches the target value according to the door state among the multiple target values set for the dark environment.
[0067] Floor Information The floor color and wall color of the landing 15 may differ for each floor. The target value storage unit 21a stores a plurality of target values set for bright and dark environments, taking into consideration floor information including such floor color and wall color. The floor information is obtained from the elevator control device 30.
[0068] When the index value indicating the brightness of the image in the measurement window is equal to or greater than the threshold (in the case of a bright environment), if the elevator 11 has landed on the first floor, for example, the target value determination unit 22e selects a target value corresponding to the color of the floor surface, the color of the walls, etc. of the first floor from among the multiple target values set for the bright environment. When this index value is lower than the threshold (in the case of a dark environment), the target value determination unit 22e selects a target value corresponding to the color of the floor surface, the color of the walls, etc. of the first floor from among the multiple target values set for the dark environment.
[0069] ·time The brightness of the hall 15 also changes because the sunlight and lighting are different in the morning, afternoon, and night. In addition, for example, if the car 11 has a glass window for viewing, the brightness of the car 11 also changes depending on the time of day. The target value storage unit 21a stores a plurality of target values set for bright and dark environments under such time conditions. Time information is obtained from the elevator control device 30.
[0070] When the index value indicating the brightness of the image in the measurement window is equal to or greater than the threshold (in the case of a bright environment), for example, if it is morning, the target value determination unit 22e selects a target value corresponding to morning from among the multiple target values set for a bright environment.When the index value is lower than the threshold (in the case of a dark environment), the target value determination unit 22e selects a target value corresponding to morning from among the multiple target values set for a dark environment.
[0071] ·weather For example, the intensity of sunlight varies between sunny days, cloudy days, and rainy days, and therefore the brightness of the platform 15 also varies. In addition, for example, if the elevator car 11 has a glass window for viewing, the brightness of the elevator car 11 also varies depending on the weather. Taking into consideration the influence of sunlight due to such weather, the target value storage unit 21a stores a plurality of target values set for bright environments and dark environments.
[0072] Weather information is obtained from the elevator control device 30. When the index value indicating the brightness of the image in the measurement window is equal to or greater than a threshold (when it is bright), for example, if it is a sunny day, the target value determination unit 22e selects a target value corresponding to a sunny day from among multiple target values set for a bright environment. When the index value is lower than the threshold (when it is a dark environment), the target value determination unit 22e selects a target value corresponding to a sunny day from among multiple target values set for a dark environment.
[0073] The target value may be selected based on any one of the above-mentioned door state, floor information, time, and weather, or may be selected based on a combination of a plurality of them.
[0074] (b) Method using formula The target value of brightness is expressed by the following linear function: y = ax + b … (1) y is the target brightness value, and x is the brightness (average luminance value) of the image in the measurement window. a is a coefficient for converting the brightness of the image obtained from the camera 12 into a register value required for image processing. b is an offset value, which takes a positive or negative value depending on the brightness of the image. For example, when the brightness of the image in the measurement window is equal to or higher than the threshold (i.e., when the image is taken in a bright environment), the offset value b takes a negative value. When the brightness of the image in the measurement window is lower than the threshold (i.e., when the image is taken in a dark environment), the offset value b takes a positive value.
[0075] Specific examples are shown in FIG. 11 to FIG. 11 and 12 show images captured before exposure control, and 13 and 14 show images captured after exposure control. In the figures, PW1 indicates a measurement window set on the floor surface 16 of the landing 15 when all doors are open, and PW2 indicates a measurement window set on the floor surface 19 inside the car 11 when all doors are closed. The numbers next to the measurement windows indicate the brightness of the image, taking values from "0" to "100", for example, with smaller numbers indicating a darker state and larger numbers indicating a brighter state. Note that the numbers themselves are given for convenience and differ from the actual values.
[0076] For example, assume that the threshold value is set to "50" and the offset value b is set to "20." For ease of explanation, the coefficient a is set to "1." As shown in Fig. 11, when the brightness of the image in the measurement window PW1 is measured with the door open, x = "90", which is equal to or greater than the threshold value "50". In this case, a negative offset value b is applied, and the target brightness value y = "70" is calculated by the above formula (1). By controlling the exposure using this target value y, it is possible to prevent the image of the hall 15 from becoming too dark (black crush).
[0077] Also, as shown in Fig. 12, when the brightness of the image in the measurement window PW2 is measured while the door is closed, x = "20" which is lower than the threshold value "50". In this case, a positive offset value b is applied, and the target brightness value y = "40" is calculated by the above formula (1). By performing exposure control using this target value y, it is possible to prevent the image inside the car 11 from becoming too bright (whiteout).
[0078] Although one offset value b is used as an example here, it is also possible to prepare offset values b for multiple threshold values and selectively use these offset values b according to the brightness of the image in the measurement window to find the target brightness value y.
[0079] (5) Target value setting unit 22f and exposure control unit 22g The target value setting unit 22f sets the brightness target value determined by the target value determination unit 22e in the camera 12. The exposure control unit 22g changes the brightness target value during operation and turns automatic exposure ON / OFF. The "automatic exposure" here refers to exposure control (exposure control of the present invention) using a brightness target value that is appropriately set according to the shooting environment. When automatic exposure is ON, the exposure control unit 22g performs exposure control based on a target value corresponding to the brightness of the image in the measurement window. In detail, the exposure control unit 22g adjusts the exposure time or gain of the camera 12 so that the brightness of the captured image converges to the target value.
[0080] "Exposure time" refers to the time during which the image sensor in the camera 12 is exposed through the lens, and corresponds to the opening time of the shutter when shooting. The longer the exposure time, the brighter the image obtained. "Gain" is a coefficient for increasing or decreasing the output value of the camera 12. Increasing the gain value also increases the output value of the camera 12, resulting in a brighter image. Both the exposure time and the gain may be adjusted, or either one may be adjusted. However, increasing the gain also amplifies the noise contained in the image, so it is preferable to adjust the exposure time in consideration of image quality. Also, if the exposure time is too long, moving subjects will appear blurred, so it is preferable to limit the exposure time to a predetermined value or less.
[0081] The exposure control unit 22g may be provided either inside or outside the camera 12. When the exposure control unit 22g is provided inside the camera 12, that is, when the camera 12 has an automatic exposure function, a target value of brightness is directly set in the camera 12, and automatic exposure is set to ON / OFF. When the exposure control unit 22g is external (provided in the image processing device 20), parameter values related to exposure control such as exposure time / gain corresponding to the target value of brightness are set in the camera 12.
[0082] Here, a door opening / closing control signal outputted as a door control signal from the elevator control device 30 is used as a trigger for setting the ON / OFF of the automatic exposure and the target value of the brightness. In addition to this, for example, a signal outputted when the car 11 reaches each floor, a signal by manual operation, or a time schedule based on a calendar or clock (such as a time when outside light is likely to enter) may be used. Any one of these may be used, or a combination of two or more may be used.
[0083] When the door opening / closing control signal is used as a trigger, automatic exposure is executed at the timing of full door opening and full door closing. In this case, automatic exposure may not be executed if the door reopens during the door closing operation. This is because there is no significant change in the shooting environment when the door reopens, and there is no need to remeasure the brightness of the image. In addition, if automatic exposure is executed every time the door reopens, it takes time for the brightness of the image to stabilize, which may cause a delay in the user detection process. The same applies when the door reopens during the door opening operation, and there is no significant change in the shooting environment, so automatic exposure may not be executed.
[0084] (6) Communications Department 23 The communication unit 23 is used when receiving brightness target values to be stored in the target value memory unit 21a, formulas and thresholds for selecting the target values, etc. from an external device, and when transmitting user detection results to an external device.
[0085] Next, the exposure control function will be described with reference to Fig. 15 and Fig. 16. Fig. 15 is a diagram showing the progress of exposure control from start to end, and Fig. 16 is a flowchart showing the operation of the exposure control process of the image processing device 20. Note that the following description will be given on the assumption that the control unit 22 of the image processing device 20 is provided with each function related to the exposure control function. The process of the flowchart shown in Fig. 16 is executed by the control unit 22, which is a computer.
[0086] When the control unit 22 receives the door opening / closing control signal outputted when all the doors are opened or closed from the elevator control device 30 as an exposure control start signal (Yes in step S21), it executes the following process.
[0087] That is, first, the control unit 22 switches the photometry window to the landing 15 or the inside of the car 11 in accordance with the opening and closing of the car door 13 (step S22). In detail, as shown in Figs. 11 and 12, the control unit 22 sets the measurement window PW1 in a part of the landing 15 on the captured image when the doors are all open, and sets the measurement window PW1 in a part of the inside of the car 11 on the captured image when the doors are all closed. The measurement window PW1 may be set on the entire floor surface of the landing 15, or may be set according to the detection area E1 shown in Fig. 3. Similarly, the measurement window PW2 may be set on the entire floor surface in the car 11, or may be set according to the detection area E2 shown in Fig. 4.
[0088] In the following, it is assumed that the measurement window PW1 is set at the landing 15 when all the doors are open. When measuring the brightness of the image in the photometry window PW1, the control unit 22 sets a gain or exposure time for brightness measurement (step S23). This is because the exposure value of the camera 12 holds the state from the previous shooting, and it is necessary to clear that state and adjust the exposure value for brightness measurement. Note that this setting operation is separate from the automatic exposure executed in step S31, which will be described later.
[0089] Here, the control unit 22 starts a first timer for brightness measurement (step S24). The control unit 22 measures the brightness of the image in the photometry window PW1 until the first timer counts a predetermined time T1 (about two frames) (steps S25-S26). To explain using the example of FIG. 15, when the time when the gain or exposure time for brightness measurement is set in step S23 is t0, the period from t0 to t1 is the brightness measurement period, which corresponds to the time T1 counted by the first timer.
[0090] The photometry is continued during the time T1 because it takes at least about two frames until a stable image is obtained depending on the gain or exposure time for brightness measurement set in step S23. The first timer for brightness measurement is provided in the image processing device 20 together with a second timer for automatic exposure, which will be described later.
[0091] When the counting of the time T1 ends (Yes in step S26), the control unit 22 acquires the brightness of the image measured in step S25 as an index value (step S27). More specifically, the control unit 22 obtains the average luminance value of the image in the photometry window PW1 and sets this as the brightness index value. The control unit 22 determines a target value to be used for exposure control based on this brightness index value and sets it in the camera 12 (step S28). As described above, the method of determining the target value includes a method of selecting from a large number of target values in advance and a method of using a formula for calculating the brightness target value.
[0092] Here, the control unit 22 switches the automatic exposure to ON (step S29). The control unit 22 starts a second timer for automatic exposure (step S30), and performs automatic exposure using a target value of brightness until a predetermined time T2 is counted by the second timer (steps S31-S32). In the example of FIG. 15, when the time from t0 to the brightness measurement period (time T1) is t1, the period from t1 to t2 is the automatic exposure period, which corresponds to the time T2 counted by the second timer. During the period from t1 to t2, the exposure time or gain is controlled so that the brightness of the image captured by the camera 12 converges to the target value of brightness set in the above step S28.
[0093] The reason why the automatic exposure continues during the time T2 is that, as in the case of brightness measurement, it takes time for the image to stabilize. In this case, if the target value is close to the brightness index value, the convergence time of the automatic exposure can be short (about 2 frames), but if the target value is far from the brightness index value, the convergence time of the automatic exposure will be long accordingly. Therefore, it is preferable to set the time T2 longer than the time T1 (T2>T1).
[0094] When the count of the time T2 ends (Yes in step S32), the control unit 22 turns off the automatic exposure and prepares for the next automatic exposure (step S33). For example, if the automatic exposure is performed according to the brightness of the hall 15 when all the doors are open, the automatic exposure is next performed according to the brightness inside the car 11 when all the doors are closed.
[0095] If the doors are all closed, a measurement window PW2 is set in the car 11, and the average luminance value of the image in the measurement window PW2 is calculated as a brightness index value in the same manner as above, and a target value to be used for exposure control is determined based on this brightness index value. This controls the exposure time or gain so that the brightness of the image captured by the camera 12 converges to the target value.
[0096] Thus, according to this embodiment, the photometry window is switched to the hall 15 or the inside of the car 11 in accordance with the opening and closing of the door, and a target value suitable for the brightness of the image in this photometry window is set. By performing exposure control using this target value, for example, when the hall 15 is in a bright environment, it is possible to prevent the image of the hall 15 from becoming too dark, and it is possible to correctly detect a user who is in the detection area E1 of the hall 15. Also, when the environment inside the car 11 is dark, it is possible to prevent the image inside the car 11 from becoming too bright, and it is possible to correctly detect a user who is in the detection area E2 inside the car 11.
[0097] According to at least one of the embodiments described above, it is possible to provide an elevator user detection system that can appropriately set the target brightness value used for exposure control according to the respective environments inside the car and at the landing, and can correctly detect users inside the car and users at the landing.
[0098] Although several embodiments of the present invention have been described, these embodiments are presented as examples and are not intended to limit the scope of the invention. These novel embodiments can be implemented in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. These embodiments and their modifications are included in the scope and spirit of the invention, and are included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0099] 11...car, 11a...front panel, 12...camera, 13...car door, 13a, 13b...door panel, 14...landing door, 14a, 14b...door panel, 15...landing, 17a, 17b...jam, 18...landing sill, 47...car sill, 20...image processing device, 21...memory unit, 22...control unit, 22a...detection area setting unit, 22b...detection processing unit, 22c...photometric window setting unit, 22d...brightness measurement unit, 22e...target value determination unit, 22f...target value setting unit, 22g...exposure control unit, 30...elevator control device, 31...door opening / closing control unit, E1, E2...detection area, PW1, PW2...measurement window.
Claims
1. An elevator user detection system that detects users in a car and users at a landing near an entrance / exit of the car using images from a camera installed in the car, a photometry window setting means for setting a photometry window in the car or at the landing on the photographed image obtained from the camera according to an open / closed state of a door of the car; a measuring means for measuring the brightness of an image within the photometry window as an index value; a target value determination means for determining a target value of brightness based on the index value obtained by the measurement means; an exposure control means for controlling the exposure of the camera so that the brightness of the image converges to the target value determined by the target value determination means; An elevator user detection system comprising:
2. The photometry window setting means 2. The elevator user detection system according to claim 1, wherein the photometry window is set over a part or the entirety of the landing when the door is fully open, and the photometry window is set over a part or the entirety of the car when the door is fully closed.
3. A storage means is provided for storing a plurality of target values set for a bright environment and a plurality of target values set for a dark environment, The target value determination means 2. The elevator user detection system according to claim 1, further comprising: a step of comparing the index value with a preset brightness threshold value; and selecting one of a plurality of target values set for the bright environment or a plurality of target values set for the dark environment according to the comparison result.
4. The target value determination means 4. The elevator user detection system of claim 3, wherein when determining the target brightness value, one of a plurality of target values set for the dark environment or one of a plurality of target values set for the bright environment is selected taking into consideration one of the open / closed state of the car door, color information of the landing at the floor where the car is located in the building in which the car is installed, the time, and the weather in the area in which the car is installed, or a combination of a plurality of the open / closed state of the car door, the color information, the time, and the weather.
5. The target value determination means The method is characterized in that the formula (1) is used to calculate the target value from the index value, y=ax+b...(1) The y indicates the target value, The x represents the index value, The above a indicates a coefficient, 2. The elevator occupant detection system according to claim 1, wherein said b indicates an offset value.
6. The elevator user detection system according to claim 1, further comprising a detection processing means for detecting users in the elevator car and users near the entrance / exit of the elevator car using an image of the camera whose exposure has been controlled at the target value, and for reflecting the detection results in the opening / closing control of the door.
7. An exposure control method for use in a system that detects a user in a car and a user at a platform near an entrance / exit of the car using an image from a camera installed in the car, comprising: At a timing when the doors of the elevator are all opened or all closed, a photometry window is set in the elevator or the hall on the photographed image obtained from the camera; After setting the photometry window, a brightness of an image within the photometry window is measured as an index value during a first period; determining a target value of brightness based on the index value, and then controlling exposure of the camera so that the brightness of the image converges to the target value during a second period; 23. An exposure control method comprising:
Citation Information
Patent Citations
Imaging apparatus
JP2009071772A
Elevator system
JP2017124906A
Elevator system
JP2017124907A
Elevator system
JP2017124908A
Elevator system
JP2017124936A
