WO2024014182A1 - Vehicular gesture detection device and vehicular gesture detection method - Google Patents

Vehicular gesture detection device and vehicular gesture detection method Download PDF

Info

Publication number
WO2024014182A1
WO2024014182A1 PCT/JP2023/020909 JP2023020909W WO2024014182A1 WO 2024014182 A1 WO2024014182 A1 WO 2024014182A1 JP 2023020909 W JP2023020909 W JP 2023020909W WO 2024014182 A1 WO2024014182 A1 WO 2024014182A1
Authority
WO
WIPO (PCT)
Prior art keywords
gesture
user
determination
vehicle
body part
Prior art date
Application number
PCT/JP2023/020909
Other languages
French (fr)
Japanese (ja)
Inventor
拓也 田村
慶一 梁井
Original Assignee
株式会社アイシン
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 株式会社アイシン filed Critical 株式会社アイシン
Publication of WO2024014182A1 publication Critical patent/WO2024014182A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/01Fittings or systems for preventing or indicating unauthorised use or theft of vehicles operating on vehicle systems or fittings, e.g. on doors, seats or windscreens
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05BLOCKS; ACCESSORIES THEREFOR; HANDCUFFS
    • E05B49/00Electric permutation locks; Circuits therefor ; Mechanical aspects of electronic locks; Mechanical keys therefor
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05FDEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION; CHECKS FOR WINGS; WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05F15/00Power-operated mechanisms for wings
    • E05F15/70Power-operated mechanisms for wings with automatic actuation
    • E05F15/73Power-operated mechanisms for wings with automatic actuation responsive to movement or presence of persons or objects

Definitions

  • the present disclosure relates to a vehicle gesture detection device and a vehicle gesture detection method.
  • Patent Document 1 describes a vehicle body provided with an opening, a vehicle gate that opens and closes the opening, a gate actuator that drives the vehicle gate, a camera that photographs the surroundings of the vehicle, and a vehicle that controls the gate actuator.
  • a vehicle is described that includes a gesture detection device. When the vehicle gesture detection device determines that the user has performed a predetermined gesture based on the image taken by the camera, the vehicle gate is opened by the gate actuator.
  • the above-mentioned vehicle gesture detection device still has room for improvement in terms of accurately detecting user gestures.
  • a gesture detection device for a vehicle.
  • the vehicle gesture detection device is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the area around the door opening, and operates the door.
  • Detect user gestures The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction.
  • the vehicular gesture detection device performs a gesture determination process of determining whether the user has performed the gesture based on a change in the position of the body part in a plurality of images taken by the camera at different times.
  • a determination unit is provided to perform the determination. In the gesture determination process, the determination unit is configured to perform, when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction, It is determined that the user has performed the gesture.
  • a gesture detection method for a vehicle is provided.
  • the gesture detection method for a vehicle is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the vicinity of the door opening, and operates the door.
  • Detect user gestures The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction.
  • the gesture detection method for a vehicle includes a determination step of determining whether the user has performed the gesture based on a change in the position of the body part in a plurality of images taken by the camera.
  • the determination step includes determining whether the user makes the gesture when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction. This includes determining that the same has been implemented.
  • FIG. 1 is a schematic diagram of a vehicle.
  • FIG. 2 is an example of an image taken by the camera.
  • FIG. 3 is an example of the quantized movement direction of the user's foot.
  • FIG. 4 is a graph showing how the foot moves when different users perform kick gestures.
  • FIG. 5 is an example of a gesture pattern.
  • FIG. 6 is a flowchart illustrating the flow of processing performed by the gesture detection device to detect a user's kick gesture.
  • FIG. 7 is a table showing changes in the displacement vector of the foot position when the user performs a large kick gesture.
  • FIG. 8 is a table showing changes in the displacement vector of the foot position when the user performs a small kick gesture.
  • gesture detection device and gesture detection method a vehicle gesture detection method
  • the vehicle 10 includes a vehicle body 20, a front door 30, a sliding door 40, a door driving section 50, a camera 60, a wireless communication device 70, a door control device 80, and a gesture detection device. 90. Further, a portable device 100 is tied to the vehicle 10.
  • the vehicle body 20 has a front opening 21 that is opened and closed by a front door 30, and a rear opening 22 that is opened and closed by a sliding door 40.
  • the front opening 21 and the rear opening 22 are parts that the user passes through when going back and forth between the inside and outside of the vehicle 10.
  • the front opening 21 and the rear opening 22 are partitioned by the B pillar of the vehicle body 20.
  • the front opening 21 and the rear opening 22 may be integrated as one opening.
  • the rear opening 22 corresponds to a "door opening".
  • the front door 30 includes a door main body 31, a door knob 32 provided near the rear end of the door main body 31, and a side mirror 33 provided near the front end of the door main body 31.
  • the front door 30 is displaced between a fully closed position where the front opening 21 is fully closed and a fully open position where the front opening 21 is fully opened by swinging around an axis extending in the vertical direction with respect to the vehicle body 20. .
  • the sliding door 40 includes a door body 41 and a door knob 42 provided near the front end of the door body 41.
  • the sliding door 40 is displaced between a fully closed position where the rear opening 22 is fully closed and a fully open position where the rear opening 22 is fully opened by sliding in the longitudinal direction with respect to the vehicle body 20.
  • the opening direction of the sliding door 40 is backward, and the closing direction of the sliding door 40 is forward.
  • the sliding door 40 is opened and closed by a door drive unit 50 between a fully closed position and a fully open position.
  • the sliding door 40 can also be called a rear door in that it is located at the rear of the front door 30.
  • the camera 60 is installed on the side mirror 33 so as to face downward and rearward. As shown in FIG. 1, the photographing area AP of the camera 60 includes the area around the rear opening 22.
  • the camera 60 outputs the captured image to the gesture detection device 90 frame by frame.
  • the camera 60 may be, for example, a surroundings monitoring device for automatic driving or a camera that captures an original image for synthesizing a bird's-eye view of the surroundings of the vehicle.
  • the frame rate of the camera 60 may be about 30 fps, for example.
  • the portable device 100 includes a switch that is operated to open, close, or stop the sliding door 40.
  • the portable device 100 may be a so-called electronic key, a smartphone, or another communication terminal.
  • the wireless communication device 70 determines whether or not the portable device 100 is associated with the vehicle 10 by performing wireless communication with the portable device 100 located around the vehicle 10 . In this respect, the wireless communication device 70 can determine whether or not a user with the portable device 100 exists within the communication area AC set around the vehicle 10.
  • Communication area AC is a larger area than photographing area AP.
  • the wireless communication device 70 When the switch for operating the sliding door 40 is operated in the portable device 100, the wireless communication device 70 outputs any one of an open operation command signal, a close operation command signal, and a stop command signal, depending on the operated switch. is output to the door control device 80.
  • the opening operation command signal is a command signal for opening the sliding door 40.
  • the closing operation command signal is a command signal for closing the sliding door 40.
  • the stop command signal is a command signal for stopping the sliding door 40 during opening/closing operation.
  • the wireless communication device 70 outputs a signal indicating this to the gesture detection device 90.
  • the door control device 80 includes, for example, a processing circuit including a CPU and a memory.
  • Door control device 80 controls door drive unit 50 according to a program stored in memory.
  • the door control device 80 controls the door drive unit 50 based on the contents of the input command signal. Specifically, the door control device 80 operates the sliding door 40 to open when the opening operation command signal is input.
  • the door control device 80 closes the sliding door 40 when the closing operation command signal is input.
  • the door control device 80 stops the sliding door 40 in operation when a stop command signal is input.
  • the gesture detection device 90 includes, for example, a processing circuit including a CPU and a memory.
  • the gesture detection device 90 detects a gesture that causes a user's body part to reciprocate, and outputs a command signal to the door control device 80, according to a program stored in a memory.
  • the gesture in this embodiment is a kick gesture in which the user's foot Ft approaches the vehicle body 20 and then moves the user's foot Ft away from the vehicle body 20.
  • the direction in which the user's foot Ft approaches the vehicle body 20 corresponds to a "first direction”
  • the direction in which the user's foot Ft moves away from the vehicle body 20 corresponds to a "second direction.”
  • the gesture detection device 90 includes a storage section 91 and a determination section 92.
  • the storage unit 91 stores a learned model that has been subjected to machine learning using teacher data in which images photographed in advance are associated with the user's foot position Pf.
  • the learned model is a model that inputs an image captured by the camera 60 and outputs the user's foot position Pf within the image.
  • the learned model is created, for example, when designing the vehicle 10 and written into the storage unit 91 when the gesture detection device 90 is manufactured.
  • the foot position Pf means the position of the user's foot Ft, more specifically, the position of the user's toe.
  • the method for generating a trained model includes a preparation step of preparing teacher data, and a learning step of performing machine learning based on the teacher data.
  • the preparation process includes an acquisition process of acquiring images taken with the user standing in the photography area AP under various conditions, and a specification process of specifying the user's foot position Pf in the plurality of images acquired in the acquisition process. and, including.
  • the acquisition step is performed using, for example, the actual vehicle 10.
  • the acquisition step it is preferable to acquire many images taken by changing the conditions related to the user and the conditions related to the environment around the vehicle 10. This makes it possible to obtain a trained model that is adaptable to various situations, in other words, a highly versatile trained model.
  • the user's foot position Pf is designated with respect to the acquired image. To specify the position, for example, coordinates using pixels in an image may be used.
  • a model is generated by machine learning using multiple teaching data as learning data.
  • Various machine learning methods can be selected, and an example is a convolutional neural network (CNN).
  • the learned model outputs the foot position Pf of a person in the image when a photographed image is input.
  • the trained model does not output the foot position Pf when an image that does not include the person's foot Ft is input. Note that even if the trained model can output the foot position Pf, the outputted foot position Pf may not be the position of the user's toe depending on the accuracy of the trained model. However, in the following description, it is assumed that the output foot position Pf is the tip of the user's foot.
  • the determination unit 92 acquires the foot position Pf within the image by inputting the image captured by the camera 60 into the learned model. Then, the determination unit 92 performs a start determination process of determining whether the user is present in the vicinity of the vehicle 10, and determines whether the user has performed a kick gesture, based on the acquired foot position Pf. Gesture determination processing is performed.
  • the determining unit 92 determines whether the user's foot Ft exists within the determination area AG set in the image captured by the camera 60.
  • the determination unit 92 performs gesture determination processing when the user's foot position Pf exists within the determination area AG.
  • the determination unit 92 does not perform the gesture determination process when the user's foot position Pf cannot be acquired or when the user's foot position Pf does not exist within the determination area AG.
  • the determination area AG is set within the photographing area AP of the camera 60.
  • the determination area AG includes a first determination area AG1 that is close to the camera 60 and a second determination area AG2 that is far from the camera 60.
  • the first determination area AG1 can also be said to be an area close to the vehicle 10
  • the second determination area AG2 can also be said to be an area distant from the vehicle 10.
  • the determination unit 92 calculates a displacement vector Vd of the user's foot Ft between the plurality of images based on the plurality of images taken at different times. Specifically, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N-th image to the foot position Pf in the N+1-th image.
  • the Nth image is the Nth image taken by the camera 60
  • the N+1st image is the N+1st image taken by the camera 60, and the frame after the Nth image. This is an image of
  • the determination unit 92 matches the feature amount of the area including the foot position Pf in the Nth image with respect to the N+1th image, thereby determining the N+1 corresponding to the foot position Pf in the Nth image.
  • the foot position Pf in the th image is obtained.
  • the determination unit 92 may obtain the foot position Pf in the N+1-th image by inputting the N+1-th image to the trained model. Then, the determination unit 92 calculates the displacement vector Vd of the foot position Pf based on the foot position Pf in both images. Subsequently, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N+1-th image to the foot position Pf in the N+2-th image. Furthermore, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N+2-th image to the foot position Pf in the N+3-th image.
  • the determination unit 92 calculates the displacement vector Vd of the foot position Pf every time a new image is taken.
  • the determination unit 92 may calculate the displacement vector Vd of the foot position Pf for each frame, or may calculate the displacement vector Vd of the foot position Pf for each plurality of frames.
  • the direction of the displacement vector Vd of the foot position Pf indicates the direction of movement of the user's foot Ft.
  • the magnitude of the displacement vector Vd of the foot position Pf indicates the amount of displacement of the foot Ft between one frame, that is, the speed of the user's foot Ft.
  • the determination unit 92 determines that a kick gesture has been performed when the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern corresponding to the kick gesture.
  • the direction of the displacement vector Vd of the foot position Pf is quantized into eight directions. In other embodiments, the direction of the displacement vector Vd of the foot position Pf may be quantized in 4 directions, 16 directions, or any other number of directions.
  • the X direction is the horizontal direction of the image taken by the camera 60
  • the Y direction is the vertical direction of the image taken by the camera 60.
  • the gesture pattern defines the order in which the direction of the displacement vector Vd of the foot position Pf changes.
  • the determination unit 92 alternately calculates the displacement vector Vd of the foot position Pf and matches the displacement vector Vd with the gesture pattern. In other embodiments, the determination unit 92 may perform the calculation of the displacement vector Vd of the foot position Pf and the verification of the gesture pattern at the same time. Then, when the direction of the displacement vector Vd of the user's foot position Pf changes according to the gesture pattern, that is, when it is determined that the user has performed a kick gesture, the determination unit 92 issues an opening operation command to the door control device 80. Output a signal.
  • the determination unit 92 determines whether the user has performed a kick gesture if the direction of the displacement vector Vd of the foot position Pf when the user performs the kick gesture changes according to a preset gesture pattern. It is determined that the Here, if different users perform the kick gesture, there may be differences in the manner in which the kick gesture is performed. Furthermore, even if the same user performs the kick gesture, there may be differences in the manner in which the kick gesture is performed. Therefore, the determination unit 92 needs to accurately determine whether the user has performed a kick gesture, regardless of the manner in which the user performs the kick gesture.
  • the horizontal axis indicates the coordinates of the foot position Pf in the X direction within the image
  • the vertical axis indicates the coordinates of the foot position Pf in the Y direction within the image.
  • Three types of markers indicate three users. Furthermore, two markers connected by a line segment indicate the foot position Pf in the N-th image and the foot position Pf in the N+1-th image. Therefore, when two markers are connected in the order in which the images are taken, the above-mentioned displacement vector Vd is obtained.
  • the user's foot position Pf continues to move toward the upper right, and then continues to move toward the lower left.
  • the direction of the displacement vector Vd of the user's foot position Pf is quantized as shown in FIG.
  • the state of movement in the "3" direction continues.
  • the direction of movement of the foot position Pf of the three users tends to change in the same way before and after the position where the direction of movement of the user's foot position Pf is reversed (hereinafter also referred to as the "return position"). It has become.
  • the turn-back position the user's feet Ft tend to move in the same direction, and after reaching the turn-back position, the user's feet Ft tend to move in the same direction.
  • the determination unit 92 determines that when the foot position Pf as the detection target position continues to move in the "7" direction and then continues to move in the "3" direction, the user It is determined that a kick gesture has been performed. Therefore, in this embodiment, the gesture pattern set in advance is as shown in FIG. 5. As a result, if the direction of the displacement vector Vd of the foot position Pf changes to the "7" direction four times and then the direction of the displacement vector Vd of the foot position Pf changes to the "3" direction three times, the user performs a kick gesture. It is determined that this has been carried out.
  • the gesture pattern preferably corresponds to the period before and after the turning position when the user performs the kick gesture. Therefore, even if the user performs a kick gesture with a small movement, it is preferable that the gesture pattern be matched with a part of the kick gesture. Therefore, it is preferable that the gesture pattern is determined based on the results of recording kick gestures of a plurality of users in advance.
  • the duration of movement of the foot position Pf in the "7" direction (hereinafter referred to as “first determination time”) required by the gesture pattern is the duration of movement of the foot position Pf in the "3" direction (hereinafter referred to as “first determination time”). 2 judgment time.) Specifically, it is necessary to check the displacement vector Vd in the direction “7” four times, whereas the displacement vector Vd in the direction "3" only needs to be checked three times. It is shorter than the time. In this respect, the determination unit 92 determines that after the state in which the foot position Pf moves in the "7" direction continues for the first determination time, the state in which the foot position Pf moves in the "3” direction continues for less than the first determination time. If it continues for the second determination period, it is determined that the user has performed the kick gesture.
  • the direction of the user's foot position Pf changes according to the gesture pattern described above.
  • the determination unit 92 not determine that the user has performed a kick gesture.
  • the time the user's foot position Pf stays at the same position increases when the moving direction of the user's foot position Pf changes.
  • the time during which the user's foot position Pf remains at the same position is less likely to increase.
  • the determination unit 92 cancels the gesture determination process. Specifically, the determination unit 92 stops the gesture determination process when the state in which the magnitude of the displacement vector Vd is less than the lower limit determination value Vlth continues for a predetermined stop determination time. In other words, the determination unit 92 determines that the user is not performing a kick gesture. In other words, in the present embodiment, the determination unit 92 continues the gesture determination process if the time during which the magnitude of the displacement vector Vd continues to be less than the lower limit determination value Vlth is less than the predetermined stop determination time. .
  • the determination unit 92 allows the foot Ft to stop for a short time when the user performs the kick gesture.
  • the lower limit determination value Vlth is a speed determination value for determining whether the user's foot position Pf is stopped.
  • the determination unit 92 also stops the gesture determination process when the magnitude of the displacement vector Vd of the foot position Pf is greater than or equal to the upper limit determination value Vuth. In other words, the determination unit 92 determines that the user is not performing a kick gesture.
  • the upper limit determination value Vuth is a speed determination value for determining whether the user's foot position Pf is moving at a very high speed.
  • the displacement vector Vd is calculated based on the user's foot position Pf in the image taken by the camera 60. Therefore, even if the user performs the kick gesture in the same way, there will be a difference in the magnitude of the displacement vector Vd when comparing the cases where the user performs the kick gesture at a position near and far from the camera 60. . Therefore, the determination unit 92 corrects the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. Specifically, when the user's foot position Pf is within the first determination area AG1 close to the camera 60, the determination unit 92 does not correct the upper limit determination value Vuth and the lower limit determination value Vlth.
  • the determination unit 92 corrects the upper limit determination value Vuth and the lower limit determination value Vlth to be smaller than the default values. do.
  • the amount of correction is preferably set according to the number of pixels and focal length of the camera 60.
  • This process is a process that is executed in a predetermined control cycle when the user carrying the portable device 100 enters the communication area AC and the sliding door 40 is located in the fully closed position.
  • the gesture detection device 90 acquires an image taken by the camera 60 (S11). Subsequently, the gesture detection device 90 acquires the foot position Pf by inputting the image captured by the camera 60 into the learned model stored in the storage unit 91 (S12). After that, the gesture detection device 90 determines whether the foot position Pf in the image exists within the determination area AG (S13). If the foot position Pf does not exist within the determination area AG (S13: NO), the gesture detection device 90 ends this process. Even when the foot position Pf cannot be acquired in step S12, the gesture detection device 90 ends this process.
  • the gesture detection device 90 acquires a new image captured by the camera 60 (S14).
  • the image acquired in step S14 is an image taken after the previously acquired image. Subsequently, the gesture detection device 90 acquires the foot position Pf in the new image (S15).
  • the gesture detection device 90 calculates the displacement vector Vd of the foot position Pf at the image capturing interval of the camera 60 (S16).
  • the displacement vector Vd of the foot position Pf is a vector directed from the previously specified foot position Pf to the currently specified foot position Pf.
  • the gesture detection device 90 determines whether the magnitude of the displacement vector Vd of the foot position Pf is greater than or equal to the upper limit determination value Vuth (S17).
  • the upper limit judgment value Vuth is a value set depending on which area of the first judgment area AG1 or the second judgment area AG2 the foot position Pf acquired in the most recent step S15 is located. There is.
  • the gesture detection device 90 ends this process.
  • the gesture detection device 90 determines whether the magnitude of the displacement vector Vd of the foot position Pf is less than the lower limit determination value Vlth. (S18).
  • the lower limit judgment value Vlth is a value set depending on which area of the first judgment area AG1 or the second judgment area AG2 the foot position Pf acquired in the most recent step S15 is located. It becomes.
  • the gesture detection device 90 sets the stop counter Cnt by "1".
  • the stop counter Cnt is a variable for counting the number of times the magnitude of the displacement vector Vd becomes less than the lower limit determination value Vlth.
  • the stop counter Cnt is initialized to "0" at the timing of starting this process and at step S22, which will be described later.
  • the gesture detection device 90 determines whether the stop counter Cnt is equal to or greater than the stop determination number Cntth (S20). When the stop counter Cnt is equal to or greater than the stop determination number Cntth (S20: YES), for example, when the user stops or the user stops performing the kick gesture, the gesture detection device 90 ends this process. On the other hand, if the stop counter Cnt is less than the stop determination number Cntth (S20: NO), the gesture detection device 90 moves the process to step S14.
  • the number of stoppage determinations Cntth is set to a small number, if the state in which the foot position Pf does not move continues for a short period of time, an affirmative determination is made in the process of step S20.
  • the stop determination count Cntth is a number corresponding to the stop determination time described above.
  • step S18 if the magnitude of the displacement vector Vd is greater than or equal to the lower limit determination value Vlth (S18: NO), the gesture detection device 90 determines whether the direction of the displacement vector Vd matches the gesture pattern (S21). For example, when matching up to the "N+2"th gesture pattern has been completed, it is determined whether the direction of the displacement vector Vd matches the "7" direction corresponding to the "N+3"th gesture pattern. Ru.
  • the gesture detection device 90 initializes the stop counter Cnt to "0" (S22). Subsequently, the gesture detection device 90 determines whether all gesture pattern matching is completed (S23). If the gesture pattern matching is not completed, the gesture detection device 90 moves the process to step S14. On the other hand, if the gesture pattern matching is completed (S23: YES), the gesture detection device 90 outputs an opening operation command signal to the door control device 80 (S24). That is, the sliding door 40 is operated to open.
  • steps S14 to S23 correspond to a "judgment step”.
  • FIG. 7 shows a change in the direction of the displacement vector Vd of the foot position Pf when the user performs a kick gesture with a large movement.
  • the direction of the displacement vector Vd of the user's foot position Pf becomes the "7" direction from the first timing. The condition continues for a relatively long period of time. Thereafter, when the user's foot Ft reaches the turning position at a timing between the 10th and 11th, the direction of the displacement vector Vd of the user's foot position Pf becomes the "3" direction.
  • the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern shown in FIG.
  • the directions of the displacement vectors Vd of the fourteenth and subsequent foot positions Pf are not used for determining whether to perform a kick gesture. That is, the opening operation of the sliding door 40 is started while the user is performing the kick gesture.
  • FIG. 8 shows a change in the direction of the displacement vector Vd of the foot position Pf when the user performs a kick gesture with a small movement.
  • the direction of the displacement vector Vd of the user's foot position Pf becomes the "7" direction from the first timing. The condition continues for a relatively short period of time. Thereafter, when the user's foot Ft reaches the turning position between the seventh and eighth timings, the direction of the displacement vector Vd of the user's foot position Pf becomes the "3" direction.
  • the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern shown in FIG.
  • the directions of the displacement vectors Vd of the 11th and subsequent foot positions Pf are not used for determining whether to perform a kick gesture. That is, the opening operation of the sliding door 40 is started while the user is performing the kick gesture.
  • the gesture detection device 90 can determine whether or not the user has performed a kick gesture, regardless of the magnitude of the movement of the foot Ft when the user performs the kick gesture. In other words, the gesture detection device 90 can accurately detect the user's kick gesture.
  • the gesture detection device 90 can determine whether or not the user performed the kick gesture at an earlier timing than in the comparative example in which the number of verifications is opposite to that of the present embodiment. Specifically, when the user performs the kick gesture, the gesture detection device 90 can determine that the user has performed the kick gesture immediately after the user's foot Ft begins to move away from the vehicle 10.
  • the gesture detection device 90 cancels the gesture determination process if the user's foot Ft continues to be stopped during the gesture determination process. Therefore, the gesture detection device 90 can cancel the gesture determination process when the user cancels the kick gesture or when the user stops on the side of the vehicle 10. Therefore, the gesture detection device 90 can improve the accuracy of determining the user's kick gesture.
  • the gesture detection device 90 sets the upper limit determination value Vuth and the lower limit determination value Vlth to different values depending on the distance from the camera 60 to the foot Ft. Therefore, the gesture detection device 90 can improve the accuracy of determining the user's kick gesture regardless of the position of the foot Ft in the image.
  • the stop determination process using the stop counter Cnt may be performed only when the moving direction of the user's foot position Pf is reversed. Specifically, the stop determination process using the stop counter Cnt is performed from the time when the direction of the N+4th displacement vector Vd is completed until the time when the direction of the N+5th displacement vector Vd is completed in the gesture pattern shown in FIG. It may be implemented only in certain cases.
  • the stop determination number Cntth may be set to a different value depending on whether the moving direction of the user's foot position Pf is reversed or not.
  • the gesture detection device 90 does not need to perform the stoppage determination process using the stop counter Cnt. Specifically, in the flowchart shown in FIG. 6, the processes of steps S18 to S20 may be omitted.
  • the kicking gesture may be a kicking gesture of opening and closing the tip of the foot centering on the heel of the foot Ft.
  • the gesture performed by the user does not have to be a kick gesture as long as it is a gesture in which the user moves a body part back and forth.
  • the gesture may be a gesture of raising and lowering a hand, or a gesture of changing the direction of the face.
  • the gesture pattern can be changed as appropriate.
  • the number of movements in the "7" direction may be the same as the number of movements in the "3" direction, or may be less than the number of movements in the "3" direction.
  • the camera 60 does not have to be installed on the side mirror 33.
  • the camera 60 may be installed at the upper end of the rear opening 22 or may be installed at the sliding door 40.
  • the gesture detection device 90 may output a closing operation command signal for closing the sliding door 40 to the door control device 80 based on the user's kick gesture.
  • the gesture detection device 90 may output one of the opening operation command signal and the closing operation command signal to the door control device 80 depending on the position of the sliding door 40 when the user performs the kick gesture.
  • the determination unit 92 may calculate the distance from the camera 60 to the user's foot position Pf. In this case, the determination unit 92 may correct the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. In this case, the amount of correction is preferably proportional to the distance from the camera 60 to the user's foot position Pf.
  • the determination unit 92 does not need to correct the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. In this case, the determination unit 92 may correct the magnitude of the displacement vector Vd according to the distance from the camera 60 to the user's foot position Pf.
  • the vehicle 10 may include a front door drive unit that drives the front door 30.
  • the gesture detection device 90 may detect a kick gesture for opening the front door 30, similar to the case for opening the sliding door 40.
  • the vehicle 10 may include a back door that opens and closes an opening opening to the rear of the vehicle body 20, a back door drive unit that drives the back door, and a back camera that photographs the rear of the vehicle 10.
  • the gesture detection device 90 may detect a kick gesture for opening the back door, based on an image taken by the back camera, as in the case of opening the sliding door 40.
  • the door control device 80 and the gesture detection device 90 are not limited to processing circuits that include a CPU and a ROM and execute software processing.
  • the door control device 80 and the gesture detection device 90 may include a dedicated hardware circuit that executes at least a portion of the various processes executed in each of the above embodiments.
  • An example of the dedicated hardware circuit is an ASIC.
  • ASIC is an abbreviation for "Application Specific Integrated Circuit.” That is, the door control device 80 and the gesture detection device 90 may have any of the following configurations (a) to (c).
  • a processing circuit that includes a processing device that executes all of the above processing according to a program, and a program storage device such as a ROM that stores the program.
  • a processing circuit comprising a processing device and a program storage device that execute part of the above processing according to a program, and a dedicated hardware circuit that executes the remaining processing.
  • a processing circuit that includes a dedicated hardware circuit that performs all of the above processing.
  • the vehicle gesture detection device (90) of this embodiment includes a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20), and a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20). ), and detects a user's gesture for operating the door (40).
  • the gesture is an action in which the user moves the body part (Ft) in a first direction and then moves it in a second direction opposite to the first direction.
  • the vehicle gesture detection device (90) determines whether the user performed the gesture based on a change in the position of the body part (Ft) in a plurality of images taken by the camera (60) at different times.
  • a determination unit (92) is provided that performs gesture determination processing to determine whether the gesture is a gesture or not. In the gesture determination process, the determination unit (92) determines whether the position of the body part (Ft) moves in the second direction after the position of the body part (Ft) continues to move in the first direction. If the moving state continues, it is determined that the user has performed the gesture.
  • the vehicular gesture detection device can determine whether the user has performed the gesture, regardless of the magnitude of the movement of the body part when the user performs the gesture. In other words, the vehicular gesture detection device can detect the user's gestures with high accuracy.
  • the determination unit (92) determines whether the body part (Ft) moves in the first direction after the body part (Ft) continues to move in the first direction for a first determination time. It is preferable to determine that the user has performed the gesture when a state in which the position of Ft) moves in the second direction continues for a second determination time. It is preferable that the second determination time is shorter than the first determination time.
  • the vehicle gesture detection device configured as described above makes the second determination time shorter than the first determination time. Therefore, the vehicular gesture detection device determines whether the user has performed the gesture or not after the relatively short second determination time has elapsed after the moving direction of the user's body part switches to the second direction. can.
  • the determination unit (92) calculates a displacement vector indicating the amount and direction of movement of the body part (Ft) within the two images taken at different timings.
  • the determination unit (92) determines whether the direction of the displacement vector continues to be in the second direction after the direction of the displacement vector continues to be in the first direction. , it is preferable to determine that the user has performed the gesture. It is preferable that the determination unit (92) cancels the gesture determination process if the magnitude of the displacement vector continues to be less than a lower limit determination value (Vlth) during the gesture determination process.
  • Vlth lower limit determination value
  • the vehicle gesture detection device detects the following: Gesture determination processing can be canceled. Therefore, the vehicular gesture detection device can improve the accuracy of determining the user's gesture.
  • the determination unit (92) determines that when the distance from the camera (60) to the body part (Ft) is long, the distance from the camera (60) to the body part (Ft) is long. It is preferable to make the lower limit judgment value (Vlth) smaller than when it is short. For example, if the distance from the camera (60) to the body part (Ft) is the first distance, then the second distance from the camera (60) to the body part (Ft) is shorter than the first distance. The lower limit determination value (Vlth) can be made smaller than when it is a distance.
  • the vehicle gesture detection device changes the magnitude of the lower limit determination value depending on the distance from the camera to the body part. Therefore, the vehicle gesture detection device can improve the accuracy of determining the user's gesture regardless of the position of the body part in the image.
  • the vehicle gesture detection method of the present embodiment includes a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20), and a door drive unit (50) that opens and closes a door opening (22) of a vehicle body (20), and a periphery of the door opening (22).
  • the present invention is applied to a vehicle (10) equipped with a camera (60) for photographing the door (40), and detects a user's gesture for operating the door (40).
  • the gesture is an action in which the user moves the body part (Ft) in a first direction and then moves it in a second direction opposite to the first direction.
  • the vehicle gesture detection method includes a determination step of determining whether the user has performed the gesture based on a change in the position of the body part (Ft) in a plurality of images taken by the camera (60). Equipped with In the determination step, when the position of the body part (Ft) continues to move in the second direction after the position of the body part (Ft) continues to move in the first direction, The method includes determining that the user has performed the gesture.
  • the vehicular gesture detection method can obtain the same effects as the above-mentioned vehicular gesture detection device.

Abstract

A gesture detection device (90) comprises a determination unit (92) which determines whether or not a user has performed a gesture for operating a vehicle door (40), on the basis of positional change of a body part of the user in each of a plurality of images photographed by a camera (60) at different times. The determination unit (92) determines that the user has performed the gesture if a state, in which the position of the body part is moving in a first direction, has continued, and then a state, in which the position of the body part is moving in a second direction opposite to the first direction, has continued.

Description

車両用ジェスチャ検出装置及び車両用ジェスチャ検出方法Vehicle gesture detection device and vehicle gesture detection method
 本開示は、車両用ジェスチャ検出装置及び車両用ジェスチャ検出方法に関する。 The present disclosure relates to a vehicle gesture detection device and a vehicle gesture detection method.
 特許文献1には、開口部が設けられる車体と、開口部を開閉する車両用ゲートと、車両用ゲートを駆動するゲートアクチュエータと、車両の周辺を撮影するカメラと、ゲートアクチュエータを制御する車両用ジェスチャ検出装置と、を備える車両が記載されている。車両用ジェスチャ検出装置は、カメラが撮影した画像に基づいて、ユーザが予め定められたジェスチャを実施したと判断したときに、ゲートアクチュエータにより車両用ゲートを開作動させる。 Patent Document 1 describes a vehicle body provided with an opening, a vehicle gate that opens and closes the opening, a gate actuator that drives the vehicle gate, a camera that photographs the surroundings of the vehicle, and a vehicle that controls the gate actuator. A vehicle is described that includes a gesture detection device. When the vehicle gesture detection device determines that the user has performed a predetermined gesture based on the image taken by the camera, the vehicle gate is opened by the gate actuator.
特開2016-196798号公報Japanese Patent Application Publication No. 2016-196798
 上記のような車両用ジェスチャ検出装置は、ユーザのジェスチャを精度良く検出する点において、改善の余地が残されていた。 The above-mentioned vehicle gesture detection device still has room for improvement in terms of accurately detecting user gestures.
 本開示の一態様において、車両用ジェスチャ検出装置が提供される。前記車両用ジェスチャ検出装置は、車体のドア開口部を開閉するドアを開閉作動させるドア駆動部と、前記ドア開口部の周辺を撮影するカメラと、を備える車両に適用され、前記ドアを作動させるためのユーザのジェスチャを検出する。前記ジェスチャは、前記ユーザが身体部位を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作である。前記車両用ジェスチャ検出装置は、前記カメラが撮影した撮影時期の異なる複数の画像内における前記身体部位の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定するジェスチャ判定処理を実施する判定部を備える。前記判定部は、前記ジェスチャ判定処理において、前記身体部位の位置が前記第1方向に移動する状態が継続した後、前記身体部位の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定する。 In one aspect of the present disclosure, a gesture detection device for a vehicle is provided. The vehicle gesture detection device is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the area around the door opening, and operates the door. Detect user gestures. The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction. The vehicular gesture detection device performs a gesture determination process of determining whether the user has performed the gesture based on a change in the position of the body part in a plurality of images taken by the camera at different times. A determination unit is provided to perform the determination. In the gesture determination process, the determination unit is configured to perform, when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction, It is determined that the user has performed the gesture.
 本開示の別の態様において、車両用ジェスチャ検出方法が提供される。前記車両用ジェスチャ検出方法は、車体のドア開口部を開閉するドアを開閉作動させるドア駆動部と、前記ドア開口部の周辺を撮影するカメラと、を備える車両に適用され、前記ドアを作動させるためのユーザのジェスチャを検出する。前記ジェスチャは、前記ユーザが身体部位を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作である。前記車両用ジェスチャ検出方法は、前記カメラが撮影した複数の画像内における前記身体部位の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定する判定工程を備える。前記判定工程は、前記身体部位の位置が前記第1方向に移動する状態が継続した後、前記身体部位の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定することを含む。 In another aspect of the present disclosure, a gesture detection method for a vehicle is provided. The gesture detection method for a vehicle is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the vicinity of the door opening, and operates the door. Detect user gestures. The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction. The gesture detection method for a vehicle includes a determination step of determining whether the user has performed the gesture based on a change in the position of the body part in a plurality of images taken by the camera. The determination step includes determining whether the user makes the gesture when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction. This includes determining that the same has been implemented.
図1は、車両の模式図である。FIG. 1 is a schematic diagram of a vehicle. 図2は、カメラが撮影する画像の一例である。FIG. 2 is an example of an image taken by the camera. 図3は、量子化したユーザの足部の移動方向の一例である。FIG. 3 is an example of the quantized movement direction of the user's foot. 図4は、異なるユーザがキックジェスチャを実施するときの足部の移動態様を示すグラフである。FIG. 4 is a graph showing how the foot moves when different users perform kick gestures. 図5は、ジェスチャパターンの一例である。FIG. 5 is an example of a gesture pattern. 図6は、ユーザのキックジェスチャを検出するために、ジェスチャ検出装置が実施する処理の流れを説明するフローチャートである。FIG. 6 is a flowchart illustrating the flow of processing performed by the gesture detection device to detect a user's kick gesture. 図7は、ユーザが大きくキックジェスチャを実施するときの足位置の変位ベクトルの変化を示す表である。FIG. 7 is a table showing changes in the displacement vector of the foot position when the user performs a large kick gesture. 図8は、ユーザが小さくキックジェスチャを実施するときの足位置の変位ベクトルの変化を示す表である。FIG. 8 is a table showing changes in the displacement vector of the foot position when the user performs a small kick gesture.
 以下、車両用ジェスチャ検出装置及び車両用ジェスチャ検出方法(以下、「ジェスチャ検出装置及びジェスチャ検出方法」という。)の一実施形態について図面を参照しつつ説明する。 Hereinafter, one embodiment of a vehicle gesture detection device and a vehicle gesture detection method (hereinafter referred to as "gesture detection device and gesture detection method") will be described with reference to the drawings.
 <本実施形態の構成>
 図1に示すように、車両10は、車体20と、フロントドア30と、スライドドア40と、ドア駆動部50と、カメラ60と、無線通信装置70と、ドア制御装置80と、ジェスチャ検出装置90と、を備える。また、車両10には、携帯機100が紐付けられている。
<Configuration of this embodiment>
As shown in FIG. 1, the vehicle 10 includes a vehicle body 20, a front door 30, a sliding door 40, a door driving section 50, a camera 60, a wireless communication device 70, a door control device 80, and a gesture detection device. 90. Further, a portable device 100 is tied to the vehicle 10.
 <車体20>
 車体20は、フロントドア30に開閉されるフロント開口部21と、スライドドア40に開閉されるリア開口部22と、を有する。フロント開口部21及びリア開口部22は、ユーザが車両10の内外を行き来する際に通過する部位である。本実施形態では、フロント開口部21及びリア開口部22は、車体20のBピラーによって区画されている。車体20がBピラーを備えない他の実施形態において、フロント開口部21及びリア開口部22は一つの開口部として一体化していてもよい。リア開口部22は「ドア開口部」に相当している。
<Vehicle body 20>
The vehicle body 20 has a front opening 21 that is opened and closed by a front door 30, and a rear opening 22 that is opened and closed by a sliding door 40. The front opening 21 and the rear opening 22 are parts that the user passes through when going back and forth between the inside and outside of the vehicle 10. In this embodiment, the front opening 21 and the rear opening 22 are partitioned by the B pillar of the vehicle body 20. In other embodiments in which the vehicle body 20 does not include a B-pillar, the front opening 21 and the rear opening 22 may be integrated as one opening. The rear opening 22 corresponds to a "door opening".
 <フロントドア30>
 フロントドア30は、ドア本体31と、ドア本体31の後端寄りの位置に設けられるドアノブ32と、ドア本体31の前端寄りの位置に設けられるサイドミラー33と、を有する。フロントドア30は、車体20に対して、上下方向に延びる軸線回りに揺動することで、フロント開口部21を全閉する全閉位置及びフロント開口部21を全開する全開位置の間を変位する。
<Front door 30>
The front door 30 includes a door main body 31, a door knob 32 provided near the rear end of the door main body 31, and a side mirror 33 provided near the front end of the door main body 31. The front door 30 is displaced between a fully closed position where the front opening 21 is fully closed and a fully open position where the front opening 21 is fully opened by swinging around an axis extending in the vertical direction with respect to the vehicle body 20. .
 <スライドドア40及びドア駆動部50>
 スライドドア40は、ドア本体41と、ドア本体41の前端寄りの位置に設けられるドアノブ42と、を有する。スライドドア40は、車体20に対して、前後方向にスライドすることで、リア開口部22を全閉する全閉位置及びリア開口部22を全開する全開位置の間を変位する。スライドドア40の開方向は後方であり、スライドドア40の閉方向は前方である。スライドドア40は、ドア駆動部50により、全閉位置及び全開位置の間で開閉作動される。スライドドア40は、フロントドア30よりも後方に位置する点で、リアドアということもできる。
<Sliding door 40 and door drive unit 50>
The sliding door 40 includes a door body 41 and a door knob 42 provided near the front end of the door body 41. The sliding door 40 is displaced between a fully closed position where the rear opening 22 is fully closed and a fully open position where the rear opening 22 is fully opened by sliding in the longitudinal direction with respect to the vehicle body 20. The opening direction of the sliding door 40 is backward, and the closing direction of the sliding door 40 is forward. The sliding door 40 is opened and closed by a door drive unit 50 between a fully closed position and a fully open position. The sliding door 40 can also be called a rear door in that it is located at the rear of the front door 30.
 <カメラ60>
 カメラ60は、下方且つ後方を向くようにサイドミラー33に設置されている。図1に示すように、カメラ60の撮影エリアAPは、リア開口部22の周辺の領域を含む。カメラ60は、撮影した画像をフレーム毎にジェスチャ検出装置90に出力する。カメラ60は、例えば、自動運転のための周辺監視装置及び車両周辺の俯瞰映像を合成するための原画像を撮影するカメラを流用することもできる。カメラ60のフレームレートは、一例として30fps程度であればよい。
<Camera 60>
The camera 60 is installed on the side mirror 33 so as to face downward and rearward. As shown in FIG. 1, the photographing area AP of the camera 60 includes the area around the rear opening 22. The camera 60 outputs the captured image to the gesture detection device 90 frame by frame. The camera 60 may be, for example, a surroundings monitoring device for automatic driving or a camera that captures an original image for synthesizing a bird's-eye view of the surroundings of the vehicle. The frame rate of the camera 60 may be about 30 fps, for example.
 <無線通信装置70及び携帯機100>
 携帯機100は、スライドドア40を開閉作動させたり停止させたりする際に操作されるスイッチを有する。携帯機100は、いわゆる電子キーでもよいし、スマートフォンでもよいし、他の通信端末でもよい。無線通信装置70は、車両10の周辺に位置する携帯機100と相互に無線通信を行うことにより、当該携帯機100が車両10と対応付いた携帯機100であるか否かを判定する。この点で、無線通信装置70は、車両10の周辺に設定される通信エリアAC内に携帯機100を所持したユーザが存在しているか否かを判定できる。通信エリアACは、撮影エリアAPよりも大きなエリアである。
<Wireless communication device 70 and portable device 100>
The portable device 100 includes a switch that is operated to open, close, or stop the sliding door 40. The portable device 100 may be a so-called electronic key, a smartphone, or another communication terminal. The wireless communication device 70 determines whether or not the portable device 100 is associated with the vehicle 10 by performing wireless communication with the portable device 100 located around the vehicle 10 . In this respect, the wireless communication device 70 can determine whether or not a user with the portable device 100 exists within the communication area AC set around the vehicle 10. Communication area AC is a larger area than photographing area AP.
 携帯機100において、スライドドア40を作動させるためのスイッチが操作された場合、無線通信装置70は、操作されたスイッチに応じて、開作動指令信号、閉作動指令信号及び停止指令信号の何れかをドア制御装置80に出力する。開作動指令信号は、スライドドア40を開作動させるための指令信号である。閉作動指令信号は、スライドドア40を閉作動させるための指令信号である。停止指令信号は、開閉作動中のスライドドア40を停止させるための指令信号である。また、無線通信装置70は、通信エリアAC内に携帯機100が存在している場合、その旨を示す信号をジェスチャ検出装置90に出力する。 When the switch for operating the sliding door 40 is operated in the portable device 100, the wireless communication device 70 outputs any one of an open operation command signal, a close operation command signal, and a stop command signal, depending on the operated switch. is output to the door control device 80. The opening operation command signal is a command signal for opening the sliding door 40. The closing operation command signal is a command signal for closing the sliding door 40. The stop command signal is a command signal for stopping the sliding door 40 during opening/closing operation. Further, when the portable device 100 is present within the communication area AC, the wireless communication device 70 outputs a signal indicating this to the gesture detection device 90.
 <ドア制御装置80>
 ドア制御装置80は、例えば、CPU及びメモリを含む処理回路等から構成されている。ドア制御装置80は、メモリに記憶されたプログラムに従って、ドア駆動部50を制御する。ドア制御装置80は、入力される指令信号の内容に基づいて、ドア駆動部50を制御する。詳しくは、ドア制御装置80は、開作動指令信号が入力される場合、スライドドア40を開作動させる。ドア制御装置80は、閉作動指令信号が入力される場合、スライドドア40を閉作動させる。ドア制御装置80は、停止指令信号が入力される場合、作動中のスライドドア40を停止させる。
<Door control device 80>
The door control device 80 includes, for example, a processing circuit including a CPU and a memory. Door control device 80 controls door drive unit 50 according to a program stored in memory. The door control device 80 controls the door drive unit 50 based on the contents of the input command signal. Specifically, the door control device 80 operates the sliding door 40 to open when the opening operation command signal is input. The door control device 80 closes the sliding door 40 when the closing operation command signal is input. The door control device 80 stops the sliding door 40 in operation when a stop command signal is input.
 <ジェスチャ検出装置90>
 ジェスチャ検出装置90は、例えば、CPU及びメモリを含む処理回路等から構成されている。ジェスチャ検出装置90は、メモリに記憶されたプログラムに従って、ユーザの身体部位を往復動させるジェスチャを検出したり、ドア制御装置80に指令信号を出力したりする。
<Gesture detection device 90>
The gesture detection device 90 includes, for example, a processing circuit including a CPU and a memory. The gesture detection device 90 detects a gesture that causes a user's body part to reciprocate, and outputs a command signal to the door control device 80, according to a program stored in a memory.
 図2に太線矢印で示すように、本実施形態におけるジェスチャは、車体20にユーザの足部Ftを接近させた後に車体20からユーザの足部Ftを遠ざけるキックジェスチャである。本実施形態において、ユーザの足部Ftが車体20に接近する方向は「第1方向」に相当し、ユーザの足部Ftが車体20から離れる方向が「第2方向」に相当する。ユーザの足部Ftが車体20に接近する場合とユーザの足部Ftが車体20から離れる場合とにおいて、ユーザの足部Ftは、略同じ軌跡上を移動する。図1に示すように、ジェスチャ検出装置90は、記憶部91と、判定部92と、を備える。 As shown by the bold line arrow in FIG. 2, the gesture in this embodiment is a kick gesture in which the user's foot Ft approaches the vehicle body 20 and then moves the user's foot Ft away from the vehicle body 20. In this embodiment, the direction in which the user's foot Ft approaches the vehicle body 20 corresponds to a "first direction," and the direction in which the user's foot Ft moves away from the vehicle body 20 corresponds to a "second direction." When the user's foot Ft approaches the vehicle body 20 and when the user's foot Ft leaves the vehicle body 20, the user's foot Ft moves on substantially the same trajectory. As shown in FIG. 1, the gesture detection device 90 includes a storage section 91 and a determination section 92.
 <記憶部91>
 記憶部91は、事前に撮影された画像とユーザの足位置Pfとを対応付けた教師データを用いて機械学習した学習済みモデルを記憶する。つまり、学習済みモデルは、カメラ60が撮影した画像を入力とし、当該画像内におけるユーザの足位置Pfを出力するモデルである。学習済みモデルは、例えば、車両10の設計時に作成され、ジェスチャ検出装置90の製造時に記憶部91に書き込まれる。本実施形態において、足位置Pfは、ユーザの足部Ftの位置、詳しくは、ユーザの足先の位置を意味している。
<Storage section 91>
The storage unit 91 stores a learned model that has been subjected to machine learning using teacher data in which images photographed in advance are associated with the user's foot position Pf. In other words, the learned model is a model that inputs an image captured by the camera 60 and outputs the user's foot position Pf within the image. The learned model is created, for example, when designing the vehicle 10 and written into the storage unit 91 when the gesture detection device 90 is manufactured. In this embodiment, the foot position Pf means the position of the user's foot Ft, more specifically, the position of the user's toe.
 以下、学習済みモデルの生成方法について説明する。
 学習済みモデルの生成方法は、教師データを準備する準備工程と、教師データに基づき機械学習を行う学習工程と、を有する。準備工程は、様々な条件下でユーザを撮影エリアAPに立たせた状態で撮影した画像を取得する取得工程と、取得工程で取得される複数の画像内のユーザの足位置Pfを指定する指定工程と、を含む。
The method for generating a trained model will be described below.
The method for generating a trained model includes a preparation step of preparing teacher data, and a learning step of performing machine learning based on the teacher data. The preparation process includes an acquisition process of acquiring images taken with the user standing in the photography area AP under various conditions, and a specification process of specifying the user's foot position Pf in the plurality of images acquired in the acquisition process. and, including.
 取得工程は、例えば、実際の車両10を用いて実施される。取得工程は、ユーザに関する条件及び車両10の周囲の環境に関する条件を変更することで撮影される多くの画像を取得することが好ましい。これにより、様々な状況に適応可能な学習済みモデル、言い換えれば、汎用性の高い学習済みモデルを得ることが可能となる。指定工程は、取得した画像に対して、ユーザの足位置Pfを指定する。位置の指定には、例えば、画像におけるピクセルを用いた座標を使用すればよい。 The acquisition step is performed using, for example, the actual vehicle 10. In the acquisition step, it is preferable to acquire many images taken by changing the conditions related to the user and the conditions related to the environment around the vehicle 10. This makes it possible to obtain a trained model that is adaptable to various situations, in other words, a highly versatile trained model. In the designation step, the user's foot position Pf is designated with respect to the acquired image. To specify the position, for example, coordinates using pixels in an image may be used.
 学習工程は、複数の教師データを学習データとした機械学習によりモデルを生成する。機械学習の手法は、色々な手法を選択できるが、例えば、畳み込みニューラルネットワーク(CNN:Convolutional Neural Network)である。学習済みモデルは、撮影された画像が入力されることで、画像内に写る人物の足位置Pfを出力する。一方、学習済みモデルは、人物の足部Ftが写っていない画像が入力される場合には、足位置Pfを出力しない。なお、学習済みモデルが足位置Pfを出力できる場合であっても、学習済みモデルの精度によっては、出力された足位置Pfがユーザの足先の位置でない場合もあり得る。ただし、以降の説明では、出力された足位置Pfは、ユーザの足先であるとする。 In the learning process, a model is generated by machine learning using multiple teaching data as learning data. Various machine learning methods can be selected, and an example is a convolutional neural network (CNN). The learned model outputs the foot position Pf of a person in the image when a photographed image is input. On the other hand, the trained model does not output the foot position Pf when an image that does not include the person's foot Ft is input. Note that even if the trained model can output the foot position Pf, the outputted foot position Pf may not be the position of the user's toe depending on the accuracy of the trained model. However, in the following description, it is assumed that the output foot position Pf is the tip of the user's foot.
 <判定部92>
 判定部92は、カメラ60が撮影した画像を学習済みモデルに入力することにより、画像内における足位置Pfを取得する。そして、判定部92は、取得した足位置Pfに基づいて、ユーザが車両10の近辺に存在しているか否かを判定する開始判定処理と、ユーザがキックジェスチャを実施したか否かを判定するジェスチャ判定処理と、を実施する。
<Determination unit 92>
The determination unit 92 acquires the foot position Pf within the image by inputting the image captured by the camera 60 into the learned model. Then, the determination unit 92 performs a start determination process of determining whether the user is present in the vicinity of the vehicle 10, and determines whether the user has performed a kick gesture, based on the acquired foot position Pf. Gesture determination processing is performed.
 判定部92は、開始判定処理において、カメラ60が撮影した画像内に設定される判定エリアAG内にユーザの足部Ftが存在しているか否かを判定する。判定部92は、判定エリアAG内にユーザの足位置Pfが存在している場合、ジェスチャ判定処理を実施する。一方、判定部92は、ユーザの足位置Pfを取得できない場合又は判定エリアAG内にユーザの足位置Pfが存在していない場合、ジェスチャ判定処理を実施しない。なお、判定エリアAGは、カメラ60の撮影エリアAP内に設定される。図1に示すように、判定エリアAGは、カメラ60からの距離が近い第1判定エリアAG1と、カメラ60からの距離が遠い第2判定エリアAG2と、を含む。第1判定エリアAG1は、車両10から近いエリアということもでき、第2判定エリアAG2は、車両10から離れたエリアということもできる。 In the start determination process, the determining unit 92 determines whether the user's foot Ft exists within the determination area AG set in the image captured by the camera 60. The determination unit 92 performs gesture determination processing when the user's foot position Pf exists within the determination area AG. On the other hand, the determination unit 92 does not perform the gesture determination process when the user's foot position Pf cannot be acquired or when the user's foot position Pf does not exist within the determination area AG. Note that the determination area AG is set within the photographing area AP of the camera 60. As shown in FIG. 1, the determination area AG includes a first determination area AG1 that is close to the camera 60 and a second determination area AG2 that is far from the camera 60. The first determination area AG1 can also be said to be an area close to the vehicle 10, and the second determination area AG2 can also be said to be an area distant from the vehicle 10.
 判定部92は、ジェスチャ判定処理において、撮影時期の異なる複数の画像に基づいて、複数の画像間におけるユーザの足部Ftの変位ベクトルVdを演算する。詳しくは、判定部92は、N番目の画像内の足位置PfからN+1番目の画像内の足位置Pfに向かう変位ベクトルVdを演算する。ここで、N番目の画像とは、カメラ60がN番目に撮影した画像であり、N+1番目の画像とは、カメラ60がN+1番目に撮影した画像であって、N番目の画像の後のフレームの画像である。 In the gesture determination process, the determination unit 92 calculates a displacement vector Vd of the user's foot Ft between the plurality of images based on the plurality of images taken at different times. Specifically, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N-th image to the foot position Pf in the N+1-th image. Here, the Nth image is the Nth image taken by the camera 60, and the N+1st image is the N+1st image taken by the camera 60, and the frame after the Nth image. This is an image of
 判定部92は、例えば、N+1番目の画像に対して、N番目の画像内の足位置Pfを含むエリアの特徴量のマッチングを行うことで、N番目の画像内の足位置Pfに対応するN+1番目の画像内の足位置Pfを取得する。判定部92は、N+1番目の画像を学習済みモデルに入力することにより、N+1番目の画像内の足位置Pfを取得してもよい。そして、判定部92は、両画像における足位置Pfに基づいて、足位置Pfの変位ベクトルVdを演算する。続いて、判定部92は、N+1番目の画像内の足位置PfからN+2番目の画像内の足位置Pfに向かう変位ベクトルVdを演算する。さらに、判定部92は、N+2番目の画像内の足位置PfからN+3番目の画像内の足位置Pfに向かう変位ベクトルVdを演算する。 For example, the determination unit 92 matches the feature amount of the area including the foot position Pf in the Nth image with respect to the N+1th image, thereby determining the N+1 corresponding to the foot position Pf in the Nth image. The foot position Pf in the th image is obtained. The determination unit 92 may obtain the foot position Pf in the N+1-th image by inputting the N+1-th image to the trained model. Then, the determination unit 92 calculates the displacement vector Vd of the foot position Pf based on the foot position Pf in both images. Subsequently, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N+1-th image to the foot position Pf in the N+2-th image. Furthermore, the determination unit 92 calculates a displacement vector Vd from the foot position Pf in the N+2-th image to the foot position Pf in the N+3-th image.
 こうして、判定部92は、新たな画像が撮影される度に、足位置Pfの変位ベクトルVdを演算する。判定部92は、1フレーム毎に足位置Pfの変位ベクトルVdを演算してもよいし、複数フレーム毎に足位置Pfの変位ベクトルVdを演算してもよい。足位置Pfの変位ベクトルVdの方向は、ユーザの足部Ftの移動方向を示している。また、足位置Pfの変位ベクトルVdの大きさは、1フレーム間における足部Ftの変位量、すなわち、ユーザの足部Ftの速度を示している。 In this way, the determination unit 92 calculates the displacement vector Vd of the foot position Pf every time a new image is taken. The determination unit 92 may calculate the displacement vector Vd of the foot position Pf for each frame, or may calculate the displacement vector Vd of the foot position Pf for each plurality of frames. The direction of the displacement vector Vd of the foot position Pf indicates the direction of movement of the user's foot Ft. Further, the magnitude of the displacement vector Vd of the foot position Pf indicates the amount of displacement of the foot Ft between one frame, that is, the speed of the user's foot Ft.
 判定部92は、足位置Pfの変位ベクトルVdの方向が、キックジェスチャに応じたジェスチャパターン通りに変化した場合に、キックジェスチャが実施されたと判定する。図3に示すように、本実施形態において、足位置Pfの変位ベクトルVdの方向は、8方向に量子化される。他の実施形態において、足位置Pfの変位ベクトルVdの方向は、4方向に量子化してもよいし、16方向に量子化してもよいし、その他の数の方向に量子化してもよい。ここで、図2及び図3に示すように、X方向とはカメラ60が撮影した画像の横方向であり、Y方向とはカメラ60が撮影した画像の縦方向である。ジェスチャパターンは、足位置Pfの変位ベクトルVdの方向が変化する順序を定めたものである。 The determination unit 92 determines that a kick gesture has been performed when the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern corresponding to the kick gesture. As shown in FIG. 3, in this embodiment, the direction of the displacement vector Vd of the foot position Pf is quantized into eight directions. In other embodiments, the direction of the displacement vector Vd of the foot position Pf may be quantized in 4 directions, 16 directions, or any other number of directions. Here, as shown in FIGS. 2 and 3, the X direction is the horizontal direction of the image taken by the camera 60, and the Y direction is the vertical direction of the image taken by the camera 60. The gesture pattern defines the order in which the direction of the displacement vector Vd of the foot position Pf changes.
 そして、本実施形態において、判定部92は、足位置Pfの変位ベクトルVdの演算と、当該変位ベクトルVd及びジェスチャパターンの照合と、を交互に実施する。他の実施形態において、判定部92は、足位置Pfの変位ベクトルVdの演算とジェスチャパターンの照合とをまとめて実施してもよい。そして、判定部92は、ジェスチャパターン通りにユーザの足位置Pfの変位ベクトルVdの方向が変化した場合、すなわち、ユーザがキックジェスチャを実施したと判定できた場合、ドア制御装置80に開作動指令信号を出力する。 In the present embodiment, the determination unit 92 alternately calculates the displacement vector Vd of the foot position Pf and matches the displacement vector Vd with the gesture pattern. In other embodiments, the determination unit 92 may perform the calculation of the displacement vector Vd of the foot position Pf and the verification of the gesture pattern at the same time. Then, when the direction of the displacement vector Vd of the user's foot position Pf changes according to the gesture pattern, that is, when it is determined that the user has performed a kick gesture, the determination unit 92 issues an opening operation command to the door control device 80. Output a signal.
 上述したように、判定部92は、ユーザがキックジェスチャを実施したときの足位置Pfの変位ベクトルVdの方向が、事前に設定されたジェスチャパターン通りに変化した場合に、ユーザがキックジェスチャを実施したと判定する。ここで、キックジェスチャを実施するユーザが異なる場合には、キックジェスチャの実施態様に差異が生じる場合がある。また、キックジェスチャを実施するユーザが同じであっても、キックジェスチャの実施態様に差異が生じる場合がある。このため、判定部92は、ユーザのキックジェスチャの実施態様に関わらず、ユーザがキックジェスチャを実施したか否かを精度良く判定する必要がある。 As described above, the determination unit 92 determines whether the user has performed a kick gesture if the direction of the displacement vector Vd of the foot position Pf when the user performs the kick gesture changes according to a preset gesture pattern. It is determined that the Here, if different users perform the kick gesture, there may be differences in the manner in which the kick gesture is performed. Furthermore, even if the same user performs the kick gesture, there may be differences in the manner in which the kick gesture is performed. Therefore, the determination unit 92 needs to accurately determine whether the user has performed a kick gesture, regardless of the manner in which the user performs the kick gesture.
 次に、図4を参照して、3人の異なるユーザがキックジェスチャを実施するときの足位置Pfの変化の一例について説明する。図4に示すグラフにおいて、横軸は画像内のX方向における足位置Pfの座標を示し、縦軸は画像内のY方向における足位置Pfの座標を示している。3種類のマーカは、3人のユーザを示している。また、線分で結ばれた2つのマーカは、N番目の画像内の足位置PfとN+1番目の画像内の足位置Pfとを示している。このため、画像の撮影順に2つのマーカを結ぶと、上述した変位ベクトルVdとなる。 Next, with reference to FIG. 4, an example of a change in foot position Pf when three different users perform a kick gesture will be described. In the graph shown in FIG. 4, the horizontal axis indicates the coordinates of the foot position Pf in the X direction within the image, and the vertical axis indicates the coordinates of the foot position Pf in the Y direction within the image. Three types of markers indicate three users. Furthermore, two markers connected by a line segment indicate the foot position Pf in the N-th image and the foot position Pf in the N+1-th image. Therefore, when two markers are connected in the order in which the images are taken, the above-mentioned displacement vector Vd is obtained.
 図4に示すように、3人のユーザの間で、キックジェスチャを実施するときの足部Ftの振り幅に差が生じている。詳しくは、3人のユーザの間で、キックジェスチャを実施するときの足部FtのX方向における総移動量及びY方向における総移動量に差が生じている。また、3人のユーザの間で、キックジェスチャを実施するときの足部Ftの移動速度に差が生じている。つまり、3人のユーザの間で、キックジェスチャを開始してから終了するまでに要する時間に差が生じている。このため、キックジェスチャを実施するときの足部Ftの移動量が大きいユーザに合わせてジェスチャパターンを設定すると、キックジェスチャを実施するときの足部Ftの移動量が小さいユーザにとって適切なジェスチャパターンとならなくなる。 As shown in FIG. 4, there is a difference in the swing width of the foot Ft when performing the kick gesture among the three users. Specifically, there is a difference between the three users in the total amount of movement of the foot Ft in the X direction and the total amount of movement in the Y direction when performing the kick gesture. Furthermore, there is a difference in the movement speed of the foot Ft when performing the kick gesture among the three users. In other words, there is a difference in the time required from the start to the end of the kick gesture between the three users. Therefore, if a gesture pattern is set for a user whose foot Ft moves a large amount when performing a kick gesture, the gesture pattern will be suitable for a user whose foot Ft moves a small amount when performing a kick gesture. It will stop happening.
 その一方で、何れのユーザがキックジェスチャを実施する場合にも、ユーザの足位置Pfは右上方向に移動する状態が継続した後、左下方向に移動する状態が継続する。ユーザの足位置Pfの変位ベクトルVdの方向を図3に示すように量子化した状態では、ユーザの足位置Pfは「7」方向に移動する状態が継続した後に、「7」方向の逆方向である「3」方向に移動する状態が継続する。特に、ユーザの足位置Pfの移動方向が反転する位置(以下、「折り返し位置」ともいう。)の前後において、3人のユーザの間で、足位置Pfの移動方向が同じように変化しやすくなっている。言い換えれば、折り返し位置の到達前において、ユーザの足部Ftが移動する方向は同じ方向になりやすく、折り返し位置の到達後において、ユーザの足部Ftが移動する方向は同じ方向になりやすい。 On the other hand, no matter which user performs the kick gesture, the user's foot position Pf continues to move toward the upper right, and then continues to move toward the lower left. When the direction of the displacement vector Vd of the user's foot position Pf is quantized as shown in FIG. The state of movement in the "3" direction continues. In particular, the direction of movement of the foot position Pf of the three users tends to change in the same way before and after the position where the direction of movement of the user's foot position Pf is reversed (hereinafter also referred to as the "return position"). It has become. In other words, before reaching the turn-back position, the user's feet Ft tend to move in the same direction, and after reaching the turn-back position, the user's feet Ft tend to move in the same direction.
 そこで、判定部92は、検出対象の位置としての足位置Pfが「7」方向に移動する状態が継続した後、足位置Pfが「3」方向に移動する状態が継続した場合に、ユーザがキックジェスチャを実施したと判定する。したがって、本実施形態において、事前に設定されるジェスチャパターンは、図5に示すようになる。その結果、足位置Pfの変位ベクトルVdの方向が4回「7」方向になった後に、足位置Pfの変位ベクトルVdの方向が3回「3」方向になった場合に、ユーザがキックジェスチャを実施したと判定される。 Therefore, the determination unit 92 determines that when the foot position Pf as the detection target position continues to move in the "7" direction and then continues to move in the "3" direction, the user It is determined that a kick gesture has been performed. Therefore, in this embodiment, the gesture pattern set in advance is as shown in FIG. 5. As a result, if the direction of the displacement vector Vd of the foot position Pf changes to the "7" direction four times and then the direction of the displacement vector Vd of the foot position Pf changes to the "3" direction three times, the user performs a kick gesture. It is determined that this has been carried out.
 上述したように、ジェスチャパターンは、ユーザがキックジェスチャを実施するときの折り返し位置の前後の期間に対応していることが好ましい。このため、ユーザが小さな動きでキックジェスチャを実施する場合であっても、当該キックジェスチャの一部と照合されるジェスチャパターンであることが好ましい。したがって、ジェスチャパターンは、事前に複数のユーザのキックジェスチャを記録した結果に基づき決定されることが好ましい。 As described above, the gesture pattern preferably corresponds to the period before and after the turning position when the user performs the kick gesture. Therefore, even if the user performs a kick gesture with a small movement, it is preferable that the gesture pattern be matched with a part of the kick gesture. Therefore, it is preferable that the gesture pattern is determined based on the results of recording kick gestures of a plurality of users in advance.
 また、ジェスチャパターンが要求する足位置Pfの「7」方向に対する移動継続時間(以下、「第1判定時間」という。)は、足位置Pfの「3」方向に対する移動継続時間(以下、「第2判定時間」という。)と異なっている。詳しくは、「7」方向に対する変位ベクトルVdの照合が4回必要であるのに対して、「3」方向に対する変位ベクトルVdの照合が3回で良い点で、第2判定時間が第1判定時間よりも短くなっている。こうした点で、判定部92は、足位置Pfが「7」方向に移動する状態が第1判定時間にわたって継続した後、足位置Pfが「3」方向に移動する状態が第1判定時間未満の第2判定時間にわたって継続した場合に、ユーザがキックジェスチャを実施したと判定する。 Furthermore, the duration of movement of the foot position Pf in the "7" direction (hereinafter referred to as "first determination time") required by the gesture pattern is the duration of movement of the foot position Pf in the "3" direction (hereinafter referred to as "first determination time"). 2 judgment time.) Specifically, it is necessary to check the displacement vector Vd in the direction "7" four times, whereas the displacement vector Vd in the direction "3" only needs to be checked three times. It is shorter than the time. In this respect, the determination unit 92 determines that after the state in which the foot position Pf moves in the "7" direction continues for the first determination time, the state in which the foot position Pf moves in the "3" direction continues for less than the first determination time. If it continues for the second determination period, it is determined that the user has performed the kick gesture.
 また、ユーザが車両10の側方で立ち位置を変化させたり、車両10に向かって接近するユーザが移動方向を変えたりする場合、ユーザの足位置Pfの向きが上述したジェスチャパターン通りに変化する場合がある。このような場合、判定部92は、ユーザがキックジェスチャを実施したと判定しないことが好ましい。ここで、ユーザが立ち位置を変化させたり、移動方向を変えたりする場合には、ユーザの足位置Pfの移動方向が変化する際に、ユーザの足位置Pfが同じ位置に留まる時間が長くなりやすい。これに対し、ユーザがキックジェスチャを実施する場合には、ユーザの足位置Pfの移動方向が変化する際に、ユーザの足位置Pfが同じ位置に留まる時間が長くなりにくい。 Furthermore, when the user changes his or her standing position on the side of the vehicle 10, or when the user approaches the vehicle 10 and changes the direction of movement, the direction of the user's foot position Pf changes according to the gesture pattern described above. There are cases. In such a case, it is preferable that the determination unit 92 not determine that the user has performed a kick gesture. Here, when the user changes the standing position or the moving direction, the time the user's foot position Pf stays at the same position increases when the moving direction of the user's foot position Pf changes. Cheap. On the other hand, when the user performs a kick gesture, when the moving direction of the user's foot position Pf changes, the time during which the user's foot position Pf remains at the same position is less likely to increase.
 そこで、判定部92は、ジェスチャ判定処理において、ユーザの足位置Pfが同じ位置に留まる場合には、ジェスチャ判定処理を中止する。詳しくは、判定部92は、変位ベクトルVdの大きさが下限判定値Vlth未満である状態が所定の停止判定時間にわたって継続する場合には、ジェスチャ判定処理を中止する。つまり、判定部92は、ユーザがキックジェスチャを実施していないと判定する。言い換えれば、本実施形態において、判定部92は、変位ベクトルVdの大きさが下限判定値Vlth未満である状態が継続する時間が、所定の停止判定時間未満であれば、ジェスチャ判定処理を継続する。この点で、判定部92は、ユーザがキックジェスチャを実施する際に、足部Ftが僅かな時間だけ停止することを許容しているといえる。ここで、下限判定値Vlthは、ユーザの足位置Pfが停止しているか否かを判定するための速度の判定値である。 Therefore, in the gesture determination process, if the user's foot position Pf remains at the same position, the determination unit 92 cancels the gesture determination process. Specifically, the determination unit 92 stops the gesture determination process when the state in which the magnitude of the displacement vector Vd is less than the lower limit determination value Vlth continues for a predetermined stop determination time. In other words, the determination unit 92 determines that the user is not performing a kick gesture. In other words, in the present embodiment, the determination unit 92 continues the gesture determination process if the time during which the magnitude of the displacement vector Vd continues to be less than the lower limit determination value Vlth is less than the predetermined stop determination time. . In this respect, it can be said that the determination unit 92 allows the foot Ft to stop for a short time when the user performs the kick gesture. Here, the lower limit determination value Vlth is a speed determination value for determining whether the user's foot position Pf is stopped.
 また、足位置Pfの変位ベクトルVdの大きさが極端に大きい場合には、ユーザがキックジェスチャを実施していない可能性が高い。このため、判定部92は、足位置Pfの変位ベクトルVdの大きさが上限判定値Vuth以上である場合にも、ジェスチャ判定処理を中止する。つまり、判定部92は、ユーザがキックジェスチャを実施していないと判定する。ここで、上限判定値Vuthは、ユーザの足位置Pfが非常に高速で移動しているか否かを判定するための速度の判定値である。 Further, if the magnitude of the displacement vector Vd of the foot position Pf is extremely large, there is a high possibility that the user has not performed a kick gesture. Therefore, the determination unit 92 also stops the gesture determination process when the magnitude of the displacement vector Vd of the foot position Pf is greater than or equal to the upper limit determination value Vuth. In other words, the determination unit 92 determines that the user is not performing a kick gesture. Here, the upper limit determination value Vuth is a speed determination value for determining whether the user's foot position Pf is moving at a very high speed.
 本実施形態では、カメラ60が撮影した画像内のユーザの足位置Pfに基づいて、変位ベクトルVdが演算される。このため、ユーザが同じようにキックジェスチャを実施する場合であっても、ユーザがカメラ60から近い位置及び遠い位置でキックジェスチャを実施する場合を比較すると、変位ベクトルVdの大きさに差が生じる。そこで、判定部92は、カメラ60からユーザの足位置Pfまでの距離に応じて、上限判定値Vuth及び下限判定値Vlthを補正する。詳しくは、判定部92は、ユーザの足位置Pfがカメラ60から近い第1判定エリアAG1内に存在している場合、上限判定値Vuth及び下限判定値Vlthを補正しない。つまり、上限判定値Vuth及び下限判定値Vlthのデフォルトの値が採用される。一方、判定部92は、ユーザの足位置Pfがカメラ60から遠い第2判定エリアAG2内に存在している場合、上限判定値Vuth及び下限判定値Vlthをデフォルトの値よりも小さくなるように補正する。補正量は、カメラ60の画素数及び焦点距離などに応じて設定されることが好ましい。 In this embodiment, the displacement vector Vd is calculated based on the user's foot position Pf in the image taken by the camera 60. Therefore, even if the user performs the kick gesture in the same way, there will be a difference in the magnitude of the displacement vector Vd when comparing the cases where the user performs the kick gesture at a position near and far from the camera 60. . Therefore, the determination unit 92 corrects the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. Specifically, when the user's foot position Pf is within the first determination area AG1 close to the camera 60, the determination unit 92 does not correct the upper limit determination value Vuth and the lower limit determination value Vlth. That is, the default values of the upper limit determination value Vuth and the lower limit determination value Vlth are adopted. On the other hand, if the user's foot position Pf is within the second determination area AG2 far from the camera 60, the determination unit 92 corrects the upper limit determination value Vuth and the lower limit determination value Vlth to be smaller than the default values. do. The amount of correction is preferably set according to the number of pixels and focal length of the camera 60.
 <ジェスチャ検出方法>
 以下、ジェスチャ検出装置90が実施する処理の流れ、つまり、ジェスチャ検出方法について説明する。本処理は、携帯機100を所持するユーザが通信エリアAC内に進入し、かつ、スライドドア40が全閉位置に位置する場合に、所定の制御サイクルで実施される処理である。
<Gesture detection method>
The flow of processing performed by the gesture detection device 90, that is, the gesture detection method will be described below. This process is a process that is executed in a predetermined control cycle when the user carrying the portable device 100 enters the communication area AC and the sliding door 40 is located in the fully closed position.
 図6に示すように、ジェスチャ検出装置90は、カメラ60が撮影した画像を取得する(S11)。続いて、ジェスチャ検出装置90は、カメラ60が撮影した画像を記憶部91に記憶される学習済みモデルに入力することにより、足位置Pfを取得する(S12)。その後、ジェスチャ検出装置90は、画像内における足位置Pfが判定エリアAG内に存在しているか否かを判定する(S13)。足位置Pfが判定エリアAG内に存在していない場合(S13:NO)、ジェスチャ検出装置90は、本処理を終了する。ステップS12において足位置Pfを取得できない場合にも、ジェスチャ検出装置90は、本処理を終了する。 As shown in FIG. 6, the gesture detection device 90 acquires an image taken by the camera 60 (S11). Subsequently, the gesture detection device 90 acquires the foot position Pf by inputting the image captured by the camera 60 into the learned model stored in the storage unit 91 (S12). After that, the gesture detection device 90 determines whether the foot position Pf in the image exists within the determination area AG (S13). If the foot position Pf does not exist within the determination area AG (S13: NO), the gesture detection device 90 ends this process. Even when the foot position Pf cannot be acquired in step S12, the gesture detection device 90 ends this process.
 一方、足位置Pfが判定エリアAG内に存在している場合(S13:YES)、ジェスチャ検出装置90は、カメラ60が撮影した新たな画像を取得する(S14)。ステップS14で取得する画像は、先に取得した画像よりも後に撮影された画像である。続いて、ジェスチャ検出装置90は、新たな画像内における足位置Pfを取得する(S15)。 On the other hand, if the foot position Pf exists within the determination area AG (S13: YES), the gesture detection device 90 acquires a new image captured by the camera 60 (S14). The image acquired in step S14 is an image taken after the previously acquired image. Subsequently, the gesture detection device 90 acquires the foot position Pf in the new image (S15).
 そして、ジェスチャ検出装置90は、カメラ60の画像の撮影間隔における足位置Pfの変位ベクトルVdを演算する(S16)。足位置Pfの変位ベクトルVdは、前回特定した足位置Pfから今回特定した足位置Pfに向かうベクトルである。 Then, the gesture detection device 90 calculates the displacement vector Vd of the foot position Pf at the image capturing interval of the camera 60 (S16). The displacement vector Vd of the foot position Pf is a vector directed from the previously specified foot position Pf to the currently specified foot position Pf.
 続いて、ジェスチャ検出装置90は、足位置Pfの変位ベクトルVdの大きさが上限判定値Vuth以上か否かを判定する(S17)。ここで、上限判定値Vuthは、直近のステップS15で取得した足位置Pfが第1判定エリアAG1及び第2判定エリアAG2の何れのエリアに位置しているかに応じて設定された値となっている。変位ベクトルVdの大きさが上限判定値Vuth以上の場合(S17:YES)、言い換えれば、変位ベクトルVdの大きさがキックジェスチャを実施するときのユーザが足先の移動速度から乖離している場合、ジェスチャ検出装置90は、本処理を終了する。 Subsequently, the gesture detection device 90 determines whether the magnitude of the displacement vector Vd of the foot position Pf is greater than or equal to the upper limit determination value Vuth (S17). Here, the upper limit judgment value Vuth is a value set depending on which area of the first judgment area AG1 or the second judgment area AG2 the foot position Pf acquired in the most recent step S15 is located. There is. When the magnitude of the displacement vector Vd is greater than or equal to the upper limit determination value Vuth (S17: YES), in other words, when the magnitude of the displacement vector Vd deviates from the movement speed of the user's foot when performing the kick gesture. , the gesture detection device 90 ends this process.
 一方、変位ベクトルVdの大きさが上限判定値Vuth未満の場合(S17:NO)、ジェスチャ検出装置90は、足位置Pfの変位ベクトルVdの大きさが下限判定値Vlth未満か否かを判定する(S18)。ステップS17と同様に、下限判定値Vlthは、直近のステップS15で取得した足位置Pfが第1判定エリアAG1及び第2判定エリアAG2の何れのエリアに位置しているかに応じて設定された値となっている。変位ベクトルVdの大きさが下限判定値Vlth未満の場合(S18:YES)、言い換えれば、足位置Pfの位置が略変化していない場合、ジェスチャ検出装置90は、停止カウンタCntを「1」だけ加算する(S19)。停止カウンタCntは、変位ベクトルVdの大きさが下限判定値Vlth未満となる回数をカウントするための変数である。停止カウンタCntは、本処理を開始するタイミングと後述するステップS22とにおいて、「0」に初期化される。 On the other hand, if the magnitude of the displacement vector Vd is less than the upper limit determination value Vuth (S17: NO), the gesture detection device 90 determines whether the magnitude of the displacement vector Vd of the foot position Pf is less than the lower limit determination value Vlth. (S18). Similarly to step S17, the lower limit judgment value Vlth is a value set depending on which area of the first judgment area AG1 or the second judgment area AG2 the foot position Pf acquired in the most recent step S15 is located. It becomes. When the magnitude of the displacement vector Vd is less than the lower limit determination value Vlth (S18: YES), in other words, when the position of the foot position Pf has not substantially changed, the gesture detection device 90 sets the stop counter Cnt by "1". Add (S19). The stop counter Cnt is a variable for counting the number of times the magnitude of the displacement vector Vd becomes less than the lower limit determination value Vlth. The stop counter Cnt is initialized to "0" at the timing of starting this process and at step S22, which will be described later.
 ジェスチャ検出装置90は、停止カウンタCntが停止判定回数Cntth以上となったか否かを判定する(S20)。停止カウンタCntが停止判定回数Cntth以上の場合(S20:YES)、例えば、ユーザが立ち止まったり、ユーザがキックジェスチャの実施を中止したりする場合、ジェスチャ検出装置90は、本処理を終了する。一方、停止カウンタCntが停止判定回数Cntth未満の場合(S20:NO)、ジェスチャ検出装置90は、ステップS14に処理を移行する。ここで、停止判定回数Cntthを少ない回数とすると、足位置Pfが動かない状態が僅かな時間にわたって継続するようであれば、ステップS20の処理が肯定判定される。これに対し、停止判定回数Cntthを多い回数とすると、足位置Pfが動かない状態が長時間にわたって継続しないと、ステップS20の処理が肯定判定されない。停止判定回数Cntthは、上述した停止判定時間に相当する回数である。 The gesture detection device 90 determines whether the stop counter Cnt is equal to or greater than the stop determination number Cntth (S20). When the stop counter Cnt is equal to or greater than the stop determination number Cntth (S20: YES), for example, when the user stops or the user stops performing the kick gesture, the gesture detection device 90 ends this process. On the other hand, if the stop counter Cnt is less than the stop determination number Cntth (S20: NO), the gesture detection device 90 moves the process to step S14. Here, if the number of stoppage determinations Cntth is set to a small number, if the state in which the foot position Pf does not move continues for a short period of time, an affirmative determination is made in the process of step S20. On the other hand, if the number of stop determinations Cntth is set to a large number, an affirmative determination will not be made in the process of step S20 unless the foot position Pf remains stationary for a long period of time. The stop determination count Cntth is a number corresponding to the stop determination time described above.
 ステップS18において、変位ベクトルVdの大きさが下限判定値Vlth以上の場合(S18:NO)、ジェスチャ検出装置90は、変位ベクトルVdの方向がジェスチャパターンに合致しているか判定する(S21)。例えば、ジェスチャパターンの「N+2」番目までの照合が完了している場合には、変位ベクトルVdの方向がジェスチャパターンの「N+3」番目に対応する「7」方向と合致しているか否か判定される。 In step S18, if the magnitude of the displacement vector Vd is greater than or equal to the lower limit determination value Vlth (S18: NO), the gesture detection device 90 determines whether the direction of the displacement vector Vd matches the gesture pattern (S21). For example, when matching up to the "N+2"th gesture pattern has been completed, it is determined whether the direction of the displacement vector Vd matches the "7" direction corresponding to the "N+3"th gesture pattern. Ru.
 そして、ジェスチャ検出装置90は、停止カウンタCntを「0」に初期化する(S22)。続いて、ジェスチャ検出装置90は、ジェスチャパターンの照合が全て完了したか否かを判定する(S23)。ジェスチャパターンの照合が完了していない場合、ジェスチャ検出装置90は、ステップS14に処理を移行する。一方、ジェスチャパターンの照合が完了している場合(S23:YES)、ジェスチャ検出装置90は、ドア制御装置80に対して開作動指令信号を出力する(S24)。つまり、スライドドア40が開作動される。 Then, the gesture detection device 90 initializes the stop counter Cnt to "0" (S22). Subsequently, the gesture detection device 90 determines whether all gesture pattern matching is completed (S23). If the gesture pattern matching is not completed, the gesture detection device 90 moves the process to step S14. On the other hand, if the gesture pattern matching is completed (S23: YES), the gesture detection device 90 outputs an opening operation command signal to the door control device 80 (S24). That is, the sliding door 40 is operated to open.
 なお、図6に示すフローチャートにおいて、ステップS14~S23が「判定工程」に相当する。
 <本実施形態の作用>
 以下、異なる態様のキックジェスチャが実施されたときのキックジェスチャの検出態様について説明する。
Note that in the flowchart shown in FIG. 6, steps S14 to S23 correspond to a "judgment step".
<Action of this embodiment>
Hereinafter, the manner in which kick gestures are detected when different aspects of kick gestures are performed will be described.
 図7は、ユーザが大きな動きでキックジェスチャを実施するときの足位置Pfの変位ベクトルVdの方向の変化を示している。図7に示すように、ユーザが足部Ftの振り幅が大きいキックジェスチャを実施する場合には、1番目のタイミングから、ユーザの足位置Pfの変位ベクトルVdの方向が「7」方向となる状態が比較的長期間にわたって継続される。その後、10番目と11番目の間のタイミングにおいて、ユーザの足部Ftが折り返し位置に到達すると、ユーザの足位置Pfの変位ベクトルVdの方向が「3」方向となる。図7に示す場合には、7番目のタイミングから13番目のタイミングまでの期間において、図5に示すジェスチャパターン通りに足位置Pfの変位ベクトルVdの方向が変化する。このため、13番目のタイミングにおいて、キックジェスチャが実施されたと判定される。したがって、14番目以降の足位置Pfの変位ベクトルVdの方向は、キックジェスチャの実施判定には使用されない。つまり、ユーザがキックジェスチャを実施している最中であるが、スライドドア40の開作動が開始される。 FIG. 7 shows a change in the direction of the displacement vector Vd of the foot position Pf when the user performs a kick gesture with a large movement. As shown in FIG. 7, when the user performs a kick gesture with a large swing width of the foot Ft, the direction of the displacement vector Vd of the user's foot position Pf becomes the "7" direction from the first timing. The condition continues for a relatively long period of time. Thereafter, when the user's foot Ft reaches the turning position at a timing between the 10th and 11th, the direction of the displacement vector Vd of the user's foot position Pf becomes the "3" direction. In the case shown in FIG. 7, the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern shown in FIG. 5 during the period from the seventh timing to the thirteenth timing. Therefore, it is determined that the kick gesture has been performed at the 13th timing. Therefore, the directions of the displacement vectors Vd of the fourteenth and subsequent foot positions Pf are not used for determining whether to perform a kick gesture. That is, the opening operation of the sliding door 40 is started while the user is performing the kick gesture.
 図8は、ユーザが小さな動きでキックジェスチャを実施するときの足位置Pfの変位ベクトルVdの方向の変化を示している。図8に示すように、ユーザが足部Ftの振り幅が小さいキックジェスチャを実施する場合には、1番目のタイミングから、ユーザの足位置Pfの変位ベクトルVdの方向が「7」方向となる状態が比較的短期間にわたって継続される。その後、7番目と8番目の間のタイミングにおいて、ユーザの足部Ftが折り返し位置に到達すると、ユーザの足位置Pfの変位ベクトルVdの方向が「3」方向となる。ここで、図8に示す場合には、4番目のタイミングから10番目のタイミングまでの期間において、図5に示すジェスチャパターン通りに足位置Pfの変位ベクトルVdの方向が変化する。このため、10番目のタイミングにおいて、キックジェスチャが実施されたと判定される。したがって、11番目以降の足位置Pfの変位ベクトルVdの方向は、キックジェスチャの実施判定には使用されない。つまり、ユーザがキックジェスチャを実施している最中であるが、スライドドア40の開作動が開始される。 FIG. 8 shows a change in the direction of the displacement vector Vd of the foot position Pf when the user performs a kick gesture with a small movement. As shown in FIG. 8, when the user performs a kick gesture with a small swing width of the foot Ft, the direction of the displacement vector Vd of the user's foot position Pf becomes the "7" direction from the first timing. The condition continues for a relatively short period of time. Thereafter, when the user's foot Ft reaches the turning position between the seventh and eighth timings, the direction of the displacement vector Vd of the user's foot position Pf becomes the "3" direction. Here, in the case shown in FIG. 8, the direction of the displacement vector Vd of the foot position Pf changes according to the gesture pattern shown in FIG. 5 during the period from the fourth timing to the tenth timing. Therefore, it is determined that the kick gesture has been performed at the 10th timing. Therefore, the directions of the displacement vectors Vd of the 11th and subsequent foot positions Pf are not used for determining whether to perform a kick gesture. That is, the opening operation of the sliding door 40 is started while the user is performing the kick gesture.
 <本実施形態の効果>
 (1)ユーザが小さな動き又は大きな動きでキックジェスチャを実施するかに関わらず、ユーザがキックジェスチャを実施する場合には、ユーザの足部Ftが車両10に接近する方向に移動する状態が続いた後に、車両10から離れる方向に移動する状態が続く。この点で、ジェスチャ検出装置90は、ユーザがキックジェスチャを実施するときの足部Ftの動きの大きさに関わらず、ユーザがキックジェスチャを実施したか否かを判定できる。つまり、ジェスチャ検出装置90は、ユーザのキックジェスチャを精度良く検出できる。
<Effects of this embodiment>
(1) Regardless of whether the user performs the kick gesture with a small movement or a large movement, when the user performs the kick gesture, the user's foot Ft continues to move in the direction approaching the vehicle 10. After that, a state of moving away from the vehicle 10 continues. In this respect, the gesture detection device 90 can determine whether or not the user has performed a kick gesture, regardless of the magnitude of the movement of the foot Ft when the user performs the kick gesture. In other words, the gesture detection device 90 can accurately detect the user's kick gesture.
 (2)図5に示すジェスチャパターンにおいて、変位ベクトルVdの方向の「7」方向における照合回数が4回であるのに対し、変位ベクトルVdの方向の「3」方向における照合回数が3回となっている。このため、ジェスチャ検出装置90は、照合回数が本実施形態と逆である比較例に対して、より早いタイミングでユーザのキックジェスチャを実施したか否かを判定できる。詳しくは、ジェスチャ検出装置90は、ユーザがキックジェスチャを実施する際に、ユーザの足部Ftが車両10から離れる方向に移動し始めた直後に、ユーザがキックジェスチャを実施したと判定できる。 (2) In the gesture pattern shown in FIG. 5, the number of matches in the "7" direction of the displacement vector Vd is 4 times, while the number of matches in the "3" direction of the displacement vector Vd is 3 times. It has become. Therefore, the gesture detection device 90 can determine whether or not the user performed the kick gesture at an earlier timing than in the comparative example in which the number of verifications is opposite to that of the present embodiment. Specifically, when the user performs the kick gesture, the gesture detection device 90 can determine that the user has performed the kick gesture immediately after the user's foot Ft begins to move away from the vehicle 10.
 (3)ジェスチャ検出装置90は、ジェスチャ判定処理の実施中に、ユーザの足部Ftが停止する状態が継続する場合には、ジェスチャ判定処理を中止する。このため、ジェスチャ検出装置90は、ユーザがキックジェスチャを中止したり、ユーザが車両10の側方で立ち止まったりする場合には、ジェスチャ判定処理を中止できる。よって、ジェスチャ検出装置90は、ユーザのキックジェスチャの判定精度を高めることができる。 (3) The gesture detection device 90 cancels the gesture determination process if the user's foot Ft continues to be stopped during the gesture determination process. Therefore, the gesture detection device 90 can cancel the gesture determination process when the user cancels the kick gesture or when the user stops on the side of the vehicle 10. Therefore, the gesture detection device 90 can improve the accuracy of determining the user's kick gesture.
 (4)カメラ60から足部Ftまでの距離が長い場合には、カメラ60から足部Ftまでの距離が短い場合よりも、変位ベクトルVdの大きさが小さくなりやすい。この点、ジェスチャ検出装置90は、カメラ60から足部Ftまでの距離に応じて、上限判定値Vuth及び下限判定値Vlthを異なる値とする。よって、ジェスチャ検出装置90は、画像内における足部Ftの位置に関わらず、ユーザのキックジェスチャの判定精度を高めることができる。 (4) When the distance from camera 60 to foot Ft is long, the magnitude of displacement vector Vd tends to be smaller than when the distance from camera 60 to foot Ft is short. In this regard, the gesture detection device 90 sets the upper limit determination value Vuth and the lower limit determination value Vlth to different values depending on the distance from the camera 60 to the foot Ft. Therefore, the gesture detection device 90 can improve the accuracy of determining the user's kick gesture regardless of the position of the foot Ft in the image.
 <変更例>
 ・停止カウンタCntを用いた停止判定処理は、ユーザの足位置Pfの移動方向が反転するときに限って実施してもよい。詳しくは、停止カウンタCntを用いた停止判定処理は、図5に示すジェスチャパターンにおいて、N+4番目の変位ベクトルVdの方向の照合が終わってからN+5番目の変位ベクトルVdの方向の照合が終わるまでの場合に限って実施してもよい。
<Example of change>
- The stop determination process using the stop counter Cnt may be performed only when the moving direction of the user's foot position Pf is reversed. Specifically, the stop determination process using the stop counter Cnt is performed from the time when the direction of the N+4th displacement vector Vd is completed until the time when the direction of the N+5th displacement vector Vd is completed in the gesture pattern shown in FIG. It may be implemented only in certain cases.
 ・また、停止カウンタCntを用いた停止判定処理において、ユーザの足位置Pfの移動方向が反転する場合とそうでない場合とで、停止判定回数Cntthを異なる値としてもよい。 -Also, in the stop determination process using the stop counter Cnt, the stop determination number Cntth may be set to a different value depending on whether the moving direction of the user's foot position Pf is reversed or not.
 ・また、ジェスチャ検出装置90は、停止カウンタCntを用いた停止判定処理を実施しなくてもよい。詳しくは、図6に示すフローチャートにおいて、ステップS18~S20の処理を省略してもよい。 -Also, the gesture detection device 90 does not need to perform the stoppage determination process using the stop counter Cnt. Specifically, in the flowchart shown in FIG. 6, the processes of steps S18 to S20 may be omitted.
 ・キックジェスチャは、足部Ftの踵を中心として足先を開いて閉じるキックジェスチャであってもよい。
 ・ユーザが実施するジェスチャは、ユーザが身体部位を往復動作させるジェスチャであれば、キックジェスチャでなくてもよい。例えば、ジェスチャは、手を上げ下げするジェスチャであってもよいし、顔の向きを変更するジェスチャであってもよい。
- The kicking gesture may be a kicking gesture of opening and closing the tip of the foot centering on the heel of the foot Ft.
- The gesture performed by the user does not have to be a kick gesture as long as it is a gesture in which the user moves a body part back and forth. For example, the gesture may be a gesture of raising and lowering a hand, or a gesture of changing the direction of the face.
 ・ジェスチャパターンは、適宜に変更することが可能である。例えば、ジェスチャパターンにおいて、「7」方向への移動数は、「3」方向への移動数と同数であってもよいし、「3」方向への移動数よりも少なくてもよい。 ・The gesture pattern can be changed as appropriate. For example, in the gesture pattern, the number of movements in the "7" direction may be the same as the number of movements in the "3" direction, or may be less than the number of movements in the "3" direction.
 ・カメラ60は、サイドミラー33に設置しなくてもよい。例えば、カメラ60は、リア開口部22の上端に設置してもよいし、スライドドア40に設置してもよい。
 ・ジェスチャ検出装置90は、ユーザのキックジェスチャに基づき、スライドドア40を閉作動させるための閉作動指令信号をドア制御装置80に出力してもよい。また、ジェスチャ検出装置90は、ユーザがキックジェスチャを実施するときのスライドドア40の位置に応じて、開作動指令信号及び閉作動指令信号の一方をドア制御装置80に出力してもよい。
- The camera 60 does not have to be installed on the side mirror 33. For example, the camera 60 may be installed at the upper end of the rear opening 22 or may be installed at the sliding door 40.
- The gesture detection device 90 may output a closing operation command signal for closing the sliding door 40 to the door control device 80 based on the user's kick gesture. Furthermore, the gesture detection device 90 may output one of the opening operation command signal and the closing operation command signal to the door control device 80 depending on the position of the sliding door 40 when the user performs the kick gesture.
 ・判定部92は、カメラ60からユーザの足位置Pfまでの距離を演算してもよい。この場合、判定部92は、カメラ60からユーザの足位置Pfまでの距離に応じて、上限判定値Vuth及び下限判定値Vlthを補正してもよい。この場合、補正量は、カメラ60からユーザの足位置Pfまでの距離に対して比例する補正量とすることが好ましい。 - The determination unit 92 may calculate the distance from the camera 60 to the user's foot position Pf. In this case, the determination unit 92 may correct the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. In this case, the amount of correction is preferably proportional to the distance from the camera 60 to the user's foot position Pf.
 ・判定部92は、カメラ60からユーザの足位置Pfまでの距離に応じて、上限判定値Vuth及び下限判定値Vlthを補正しなくてもよい。この場合、判定部92は、カメラ60からユーザの足位置Pfまでの距離に応じて、変位ベクトルVdの大きさを補正してもよい。 - The determination unit 92 does not need to correct the upper limit determination value Vuth and the lower limit determination value Vlth according to the distance from the camera 60 to the user's foot position Pf. In this case, the determination unit 92 may correct the magnitude of the displacement vector Vd according to the distance from the camera 60 to the user's foot position Pf.
 ・車両10は、フロントドア30を駆動するフロントドア駆動部を備えてもよい。この場合、ジェスチャ検出装置90は、スライドドア40を開作動させる場合と同様に、フロントドア30を開作動させるためのキックジェスチャを検出してもよい。 - The vehicle 10 may include a front door drive unit that drives the front door 30. In this case, the gesture detection device 90 may detect a kick gesture for opening the front door 30, similar to the case for opening the sliding door 40.
 ・車両10は、車体20の後方に開口する開口部を開閉するバックドアと、バックドアを駆動するバックドア駆動部と、車両10の後方を撮影するバックカメラと、を備えてもよい。この場合、ジェスチャ検出装置90は、スライドドア40を開作動させる場合と同様に、バックカメラが撮影する画像に基づき、バックドアを開作動させるためのキックジェスチャを検出してもよい。 - The vehicle 10 may include a back door that opens and closes an opening opening to the rear of the vehicle body 20, a back door drive unit that drives the back door, and a back camera that photographs the rear of the vehicle 10. In this case, the gesture detection device 90 may detect a kick gesture for opening the back door, based on an image taken by the back camera, as in the case of opening the sliding door 40.
 ・ドア制御装置80及びジェスチャ検出装置90は、CPUとROMとを備えて、ソフトウェア処理を実行する処理回路に限らない。例えば、ドア制御装置80及びジェスチャ検出装置90は、上記各実施形態において実行される各種処理の少なくとも一部を実行する専用のハードウェア回路を備えてもよい。専用のハードウェア回路としては、例えば、ASICを挙げることができる。ASICとは、「Application Specific Integrated Circuit」の略記である。すなわち、ドア制御装置80及びジェスチャ検出装置90は、以下の(a)~(c)のいずれかの構成であればよい。 - The door control device 80 and the gesture detection device 90 are not limited to processing circuits that include a CPU and a ROM and execute software processing. For example, the door control device 80 and the gesture detection device 90 may include a dedicated hardware circuit that executes at least a portion of the various processes executed in each of the above embodiments. An example of the dedicated hardware circuit is an ASIC. ASIC is an abbreviation for "Application Specific Integrated Circuit." That is, the door control device 80 and the gesture detection device 90 may have any of the following configurations (a) to (c).
 (a)上記処理の全てを、プログラムに従って実行する処理装置と、プログラムを記憶するROMなどのプログラム格納装置とを備えている処理回路。
 (b)上記処理の一部をプログラムに従って実行する処理装置及びプログラム格納装置と、残りの処理を実行する専用のハードウェア回路とを備えている処理回路。
(a) A processing circuit that includes a processing device that executes all of the above processing according to a program, and a program storage device such as a ROM that stores the program.
(b) A processing circuit comprising a processing device and a program storage device that execute part of the above processing according to a program, and a dedicated hardware circuit that executes the remaining processing.
 (c)上記処理の全てを実行する専用のハードウェア回路を備えている処理回路。
 ここで、処理装置及びプログラム格納装置を備えたソフトウェア実行装置、及び、専用のハードウェア回路は複数であってもよい。
(c) A processing circuit that includes a dedicated hardware circuit that performs all of the above processing.
Here, there may be a plurality of software execution devices including a processing device and a program storage device, and a plurality of dedicated hardware circuits.
 [本実施形態のまとめ]
 本実施形態は以下の構成を少なくとも備える。
 本実施形態の車両用ジェスチャ検出装置(90)は、車体(20)のドア開口部(22)を開閉するドア(40)を開閉作動させるドア駆動部(50)と、前記ドア開口部(22)の周辺を撮影するカメラ(60)と、を備える車両(10)に適用され、前記ドア(40)を作動させるためのユーザのジェスチャを検出する。前記ジェスチャは、前記ユーザが身体部位(Ft)を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作である。前記車両用ジェスチャ検出装置(90)は、前記カメラ(60)が撮影した撮影時期の異なる複数の画像内における前記身体部位(Ft)の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定するジェスチャ判定処理を実施する判定部(92)を備える。前記判定部(92)は、前記ジェスチャ判定処理において、前記身体部位(Ft)の位置が前記第1方向に移動する状態が継続した後、前記身体部位(Ft)の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定する。
[Summary of this embodiment]
This embodiment includes at least the following configurations.
The vehicle gesture detection device (90) of this embodiment includes a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20), and a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20). ), and detects a user's gesture for operating the door (40). The gesture is an action in which the user moves the body part (Ft) in a first direction and then moves it in a second direction opposite to the first direction. The vehicle gesture detection device (90) determines whether the user performed the gesture based on a change in the position of the body part (Ft) in a plurality of images taken by the camera (60) at different times. A determination unit (92) is provided that performs gesture determination processing to determine whether the gesture is a gesture or not. In the gesture determination process, the determination unit (92) determines whether the position of the body part (Ft) moves in the second direction after the position of the body part (Ft) continues to move in the first direction. If the moving state continues, it is determined that the user has performed the gesture.
 ユーザが小さな動きでジェスチャを実施するか、ユーザが大きな動きでジェスチャを実施するかに関わらず、ユーザがジェスチャを実施する場合には、ユーザの身体部位が第1方向に移動する状態が続いた後に第2方向に移動する状態が続く。このため、車両用ジェスチャ検出装置は、ユーザがジェスチャを実施するときの身体部位の動きの大きさに関わらず、ユーザがジェスチャを実施したか否かを判定できる。つまり、車両用ジェスチャ検出装置は、ユーザのジェスチャを精度良く検出できる。 Regardless of whether the user performs the gesture with small movements or the user performs the gesture with large movements, when the user performs the gesture, the user's body part continues to move in the first direction. After that, a state of movement in the second direction continues. Therefore, the vehicular gesture detection device can determine whether the user has performed the gesture, regardless of the magnitude of the movement of the body part when the user performs the gesture. In other words, the vehicular gesture detection device can detect the user's gestures with high accuracy.
 本実施形態において、前記判定部(92)は、前記ジェスチャ判定処理において、前記身体部位(Ft)の位置が前記第1方向に移動する状態が第1判定時間にわたって継続した後、前記身体部位(Ft)の位置が前記第2方向に移動する状態が第2判定時間にわたって継続した場合に、前記ユーザが前記ジェスチャを実施したと判定することが好ましい。前記第2判定時間は、前記第1判定時間よりも短いことが好ましい。 In the present embodiment, in the gesture determination process, the determination unit (92) determines whether the body part (Ft) moves in the first direction after the body part (Ft) continues to move in the first direction for a first determination time. It is preferable to determine that the user has performed the gesture when a state in which the position of Ft) moves in the second direction continues for a second determination time. It is preferable that the second determination time is shorter than the first determination time.
 例えば、第2判定時間を第1判定時間よりも長くする比較例を考える。この比較例は、ユーザの身体部位の移動方向が第2方向に切り替わってから、比較的長い第2判定時間が経過しないと、ユーザがジェスチャを実施したか否かを判定できない。これに対して、上記構成の車両用ジェスチャ検出装置は、第2判定時間を第1判定時間よりも短くする。このため、車両用ジェスチャ検出装置は、ユーザの身体部位の移動方向が第2方向に切り替わってから、比較的短い第2判定時間が経過した時点で、ユーザがジェスチャを実施したか否かを判定できる。 For example, consider a comparative example in which the second determination time is longer than the first determination time. In this comparative example, it cannot be determined whether the user has performed a gesture until the relatively long second determination time has elapsed after the moving direction of the user's body part is switched to the second direction. On the other hand, the vehicle gesture detection device configured as described above makes the second determination time shorter than the first determination time. Therefore, the vehicular gesture detection device determines whether the user has performed the gesture or not after the relatively short second determination time has elapsed after the moving direction of the user's body part switches to the second direction. can.
 本実施形態において、前記判定部(92)は、異なるタイミングで撮影された2枚の前記画像内における前記身体部位(Ft)の移動量及び移動方向を示す変位ベクトルを演算することが好ましい。前記判定部(92)は、前記ジェスチャ判定処理において、前記変位ベクトルの方向が前記第1方向となる状態が継続した後、前記変位ベクトルの方向が前記第2方向となる状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定することが好ましい。前記判定部(92)は、前記ジェスチャ判定処理の実施中に、前記変位ベクトルの大きさが下限判定値(Vlth)未満となる状態が継続する場合、前記ジェスチャ判定処理を中止することが好ましい。 In the present embodiment, it is preferable that the determination unit (92) calculates a displacement vector indicating the amount and direction of movement of the body part (Ft) within the two images taken at different timings. In the gesture determination process, the determination unit (92) determines whether the direction of the displacement vector continues to be in the second direction after the direction of the displacement vector continues to be in the first direction. , it is preferable to determine that the user has performed the gesture. It is preferable that the determination unit (92) cancels the gesture determination process if the magnitude of the displacement vector continues to be less than a lower limit determination value (Vlth) during the gesture determination process.
 車両用ジェスチャ検出装置は、ジェスチャ判定処理の実施中に、ユーザがジェスチャを中止した場合及びユーザがジェスチャではない動作を実施した場合など、ユーザが身体部位を動かさない状態を継続する場合には、ジェスチャ判定処理を中止できる。このため、車両用ジェスチャ検出装置は、ユーザのジェスチャの判定精度を高めることができる。 During gesture determination processing, when the user continues not to move a body part, such as when the user cancels a gesture or when the user performs an action that is not a gesture, the vehicle gesture detection device detects the following: Gesture determination processing can be canceled. Therefore, the vehicular gesture detection device can improve the accuracy of determining the user's gesture.
 本実施形態において、前記判定部(92)は、前記カメラ(60)から前記身体部位(Ft)までの距離が長い場合には、前記カメラ(60)から前記身体部位(Ft)までの距離が短い場合よりも、前記下限判定値(Vlth)を小さくすることが好ましい。例えば、カメラ(60)から身体部位(Ft)までの距離が第1の距離である場合には、カメラ(60)から身体部位(Ft)までの距離が第1の距離よりも短い第2の距離である場合よりも、下限判定値(Vlth)が小さくされ得る。 In this embodiment, the determination unit (92) determines that when the distance from the camera (60) to the body part (Ft) is long, the distance from the camera (60) to the body part (Ft) is long. It is preferable to make the lower limit judgment value (Vlth) smaller than when it is short. For example, if the distance from the camera (60) to the body part (Ft) is the first distance, then the second distance from the camera (60) to the body part (Ft) is shorter than the first distance. The lower limit determination value (Vlth) can be made smaller than when it is a distance.
 カメラから身体部位までの距離が長い場合には、カメラから身体部位までの距離が短い場合よりも、変位ベクトルの大きさが小さくなりやすい。この点、車両用ジェスチャ検出装置は、カメラから身体部位までの距離に応じて下限判定値の大きさを変化させる。よって、車両用ジェスチャ検出装置は、画像内における身体部位の位置に関わらず、ユーザのジェスチャの判定精度を高めることができる。 When the distance from the camera to the body part is long, the magnitude of the displacement vector tends to be smaller than when the distance from the camera to the body part is short. In this regard, the vehicle gesture detection device changes the magnitude of the lower limit determination value depending on the distance from the camera to the body part. Therefore, the vehicle gesture detection device can improve the accuracy of determining the user's gesture regardless of the position of the body part in the image.
 本実施形態の車両用ジェスチャ検出方法は、車体(20)のドア開口部(22)を開閉するドア(40)を開閉作動させるドア駆動部(50)と、前記ドア開口部(22)の周辺を撮影するカメラ(60)と、を備える車両(10)に適用され、前記ドア(40)を作動させるためのユーザのジェスチャを検出する。前記ジェスチャは、前記ユーザが身体部位(Ft)を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作である。前記車両用ジェスチャ検出方法は、前記カメラ(60)が撮影した複数の画像内における前記身体部位(Ft)の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定する判定工程を備える。前記判定工程は、前記身体部位(Ft)の位置が前記第1方向に移動する状態が継続した後、前記身体部位(Ft)の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定することを含む。 The vehicle gesture detection method of the present embodiment includes a door drive unit (50) that opens and closes a door (40) that opens and closes a door opening (22) of a vehicle body (20), and a door drive unit (50) that opens and closes a door opening (22) of a vehicle body (20), and a periphery of the door opening (22). The present invention is applied to a vehicle (10) equipped with a camera (60) for photographing the door (40), and detects a user's gesture for operating the door (40). The gesture is an action in which the user moves the body part (Ft) in a first direction and then moves it in a second direction opposite to the first direction. The vehicle gesture detection method includes a determination step of determining whether the user has performed the gesture based on a change in the position of the body part (Ft) in a plurality of images taken by the camera (60). Equipped with In the determination step, when the position of the body part (Ft) continues to move in the second direction after the position of the body part (Ft) continues to move in the first direction, The method includes determining that the user has performed the gesture.
 車両用ジェスチャ検出方法は、上述した車両用ジェスチャ検出装置と同等の作用効果を得ることができる。 The vehicular gesture detection method can obtain the same effects as the above-mentioned vehicular gesture detection device.
 10…車両、20…車体、40…スライドドア(ドアの一例)、50…ドア駆動部、60…カメラ、70…無線通信装置、80…ドア制御装置、90…ジェスチャ検出装置、91…記憶部、92…判定部、AG(AG1,AG2)…判定エリア、Cnt…停止カウンタ、Cntth…停止判定回数、Ft…足部(身体部位の一例)、Pf…足位置、Vd…変位ベクトル、Vlth…下限判定値、Vuth…上限判定値。 DESCRIPTION OF SYMBOLS 10...Vehicle, 20...Vehicle body, 40...Sliding door (an example of a door), 50...Door drive unit, 60...Camera, 70...Wireless communication device, 80...Door control device, 90...Gesture detection device, 91...Storage unit , 92... Judgment unit, AG (AG1, AG2)... Judgment area, Cnt... Stop counter, Cntth... Number of stop judgments, Ft... Foot (an example of body part), Pf... Foot position, Vd... Displacement vector, Vlth... Lower limit judgment value, Vuth...upper limit judgment value.

Claims (5)

  1.  車体のドア開口部を開閉するドアを開閉作動させるドア駆動部と、前記ドア開口部の周辺を撮影するカメラと、を備える車両に適用され、前記ドアを作動させるためのユーザのジェスチャを検出する車両用ジェスチャ検出装置であって、
     前記ジェスチャは、前記ユーザが身体部位を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作であって、
     前記カメラが撮影した撮影時期の異なる複数の画像内における前記身体部位の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定するジェスチャ判定処理を実施する判定部を備え、
     前記判定部は、前記ジェスチャ判定処理において、前記身体部位の位置が前記第1方向に移動する状態が継続した後、前記身体部位の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定する
     車両用ジェスチャ検出装置。
    The present invention is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the area around the door opening, and detects a user's gesture for operating the door. A gesture detection device for a vehicle, the device comprising:
    The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction,
    comprising a determination unit that performs gesture determination processing to determine whether the user has performed the gesture based on changes in the position of the body part in a plurality of images taken by the camera at different times;
    In the gesture determination process, the determining unit is configured to perform, when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction, A gesture detection device for a vehicle that determines that the user has performed the gesture.
  2.  前記判定部は、前記ジェスチャ判定処理において、前記身体部位の位置が前記第1方向に移動する状態が第1判定時間にわたって継続した後、前記身体部位の位置が前記第2方向に移動する状態が第2判定時間にわたって継続した場合に、前記ユーザが前記ジェスチャを実施したと判定し、
     前記第2判定時間は、前記第1判定時間よりも短い
     請求項1に記載の車両用ジェスチャ検出装置。
    In the gesture determination process, the determination unit determines that after a state in which the position of the body part moves in the first direction continues for a first determination time, a state in which the position of the body part moves in the second direction continues. It is determined that the user has performed the gesture if the gesture continues for a second determination period,
    The vehicle gesture detection device according to claim 1, wherein the second determination time is shorter than the first determination time.
  3.  前記判定部は、
     異なるタイミングで撮影された2枚の前記画像内における前記身体部位の移動量及び移動方向を示す変位ベクトルを演算し、
     前記ジェスチャ判定処理において、前記変位ベクトルの方向が前記第1方向となる状態が継続した後、前記変位ベクトルの方向が前記第2方向となる状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定し、
     前記ジェスチャ判定処理の実施中に、前記変位ベクトルの大きさが下限判定値未満となる状態が継続する場合、前記ジェスチャ判定処理を中止する
     請求項1又は請求項2に記載の車両用ジェスチャ検出装置。
    The determination unit includes:
    calculating a displacement vector indicating the amount and direction of movement of the body part in the two images taken at different timings;
    In the gesture determination process, the user performs the gesture when the direction of the displacement vector continues to be in the second direction after the direction of the displacement vector continues to be in the second direction. It is determined that
    The gesture detection device for a vehicle according to claim 1 or 2, wherein the gesture determination process is stopped if the magnitude of the displacement vector continues to be less than a lower limit determination value while the gesture determination process is being performed. .
  4.  前記判定部は、前記カメラから前記身体部位までの距離が長い場合には、前記カメラから前記身体部位までの距離が短い場合よりも、前記下限判定値を小さくする
     請求項3に記載の車両用ジェスチャ検出装置。
    4 . The vehicle according to claim 3 , wherein the determination unit makes the lower limit determination value smaller when the distance from the camera to the body part is long than when the distance from the camera to the body part is short. Gesture detection device.
  5.  車体のドア開口部を開閉するドアを開閉作動させるドア駆動部と、前記ドア開口部の周辺を撮影するカメラと、を備える車両に適用され、前記ドアを作動させるためのユーザのジェスチャを検出する車両用ジェスチャ検出方法であって、
     前記ジェスチャは、前記ユーザが身体部位を第1方向に移動させた後に前記第1方向の逆方向となる第2方向に移動させる動作であって、
     前記カメラが撮影した複数の画像内における前記身体部位の位置の変化に基づき、前記ユーザが前記ジェスチャを実施したか否かを判定する判定工程を備え、
     前記判定工程は、前記身体部位の位置が前記第1方向に移動する状態が継続した後、前記身体部位の位置が前記第2方向に移動する状態が継続した場合に、前記ユーザが前記ジェスチャを実施したと判定することを含む
     車両用ジェスチャ検出方法。
    The present invention is applied to a vehicle that includes a door drive unit that opens and closes a door opening of a vehicle body, and a camera that photographs the area around the door opening, and detects a user's gesture for operating the door. A gesture detection method for a vehicle, the method comprising:
    The gesture is an action in which the user moves a body part in a first direction and then moves it in a second direction opposite to the first direction,
    a determination step of determining whether the user has performed the gesture based on a change in the position of the body part in a plurality of images taken by the camera;
    The determination step includes determining whether the user makes the gesture when the position of the body part continues to move in the second direction after the position of the body part continues to move in the first direction. A vehicle gesture detection method including determining that a gesture has been performed.
PCT/JP2023/020909 2022-07-13 2023-06-06 Vehicular gesture detection device and vehicular gesture detection method WO2024014182A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022112564 2022-07-13
JP2022-112564 2022-07-13

Publications (1)

Publication Number Publication Date
WO2024014182A1 true WO2024014182A1 (en) 2024-01-18

Family

ID=89536550

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/020909 WO2024014182A1 (en) 2022-07-13 2023-06-06 Vehicular gesture detection device and vehicular gesture detection method

Country Status (1)

Country Link
WO (1) WO2024014182A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013037467A (en) * 2011-08-05 2013-02-21 Toshiba Corp Command issuing apparatus, command issuing method, and program
JP2015510197A (en) * 2012-02-13 2015-04-02 クアルコム,インコーポレイテッド Engagement-dependent gesture recognition
US20160096509A1 (en) * 2014-10-02 2016-04-07 Volkswagen Aktiengesellschaft Vehicle access system
JP2020513491A (en) * 2016-12-13 2020-05-14 ブローゼ ファールツォイクタイレ エスエー ウント コンパニ コマンディートゲゼルシャフト バンベルクBrose Fahrzeugteile Se & Co.Kg,Bamberg Method for driving and controlling a motorized closure element assembly
JP2021084566A (en) * 2019-11-29 2021-06-03 トヨタ車体株式会社 vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013037467A (en) * 2011-08-05 2013-02-21 Toshiba Corp Command issuing apparatus, command issuing method, and program
JP2015510197A (en) * 2012-02-13 2015-04-02 クアルコム,インコーポレイテッド Engagement-dependent gesture recognition
US20160096509A1 (en) * 2014-10-02 2016-04-07 Volkswagen Aktiengesellschaft Vehicle access system
JP2020513491A (en) * 2016-12-13 2020-05-14 ブローゼ ファールツォイクタイレ エスエー ウント コンパニ コマンディートゲゼルシャフト バンベルクBrose Fahrzeugteile Se & Co.Kg,Bamberg Method for driving and controlling a motorized closure element assembly
JP2021084566A (en) * 2019-11-29 2021-06-03 トヨタ車体株式会社 vehicle

Similar Documents

Publication Publication Date Title
US7653458B2 (en) Robot device, movement method of robot device, and program
CN106966277B (en) The seating detection system of elevator
JP4561914B2 (en) Operation input device, operation input method, program
KR20150076627A (en) System and method for learning driving information in vehicle
JP5997699B2 (en) Method and apparatus for detecting gesture input
JP2007186916A (en) Window image area detection device and power window device
JP6412054B2 (en) Injection molding machine
CN107585666B (en) Elevator system and car door control method
WO2024014182A1 (en) Vehicular gesture detection device and vehicular gesture detection method
CN110294391A (en) User&#39;s detection system
JP4198676B2 (en) Robot device, robot device movement tracking method, and program
JP2019098932A (en) Control apparatus and program
US8310547B2 (en) Device for recognizing motion and method of recognizing motion using the same
KR101500412B1 (en) Gesture recognize apparatus for vehicle
JP2024050203A (en) Gesture detection device and gesture detection method
US20220412149A1 (en) Vehicle operation detection device and vehicle operation detection method
KR102324690B1 (en) Table tennis robot system applying deep learning
KR101374316B1 (en) Apparatus for recognizing gesture by using see-through display and Method thereof
JP2023170577A (en) Gesture detection device for vehicle and gesture detection method for vehicle
JP2023092133A (en) Operation detection device for vehicle and operation detection method for vehicle
JP2007156771A (en) Image detection tracing device, image detection tracing method and image detection tracing program
US11753859B2 (en) Vehicle operation detection device and vehicle operation detection method
KR102550980B1 (en) Apparatus for preventing fruit tree disease correspond with driving speed of a speed sprayer and thereof method
JP2021156154A (en) Vehicle operation detection device and vehicle operation detection method
JP2023166124A (en) Door opening/closing device and door opening/closing method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23839358

Country of ref document: EP

Kind code of ref document: A1