Vehicle control method and device, electronic equipment and storage medium
Recognizing head posture and movements through vehicle video image analysis solves the problems of line of sight occupation and environmental noise interference in the existing technology, achieves high-accuracy, low-distraction vehicle control, and supports natural interaction and multi-task operations.
Patent Information
- Application Number
- CN202411036123.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-08-30
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing vehicle control technology, physical buttons and touch interaction methods affect the driver's line of sight, and voice interaction has low recognition accuracy in noisy environments, making it difficult to achieve natural, intuitive and convenient multi-task operations.
By analyzing the vehicle video image, the deflection amplitude of the target person's head posture is identified, and the head movement is identified based on the preset threshold to achieve control of the vehicle. The method includes determining the pitch, yaw, and roll angle changes of the head posture, combined with a time threshold, and filtering actions to ensure accurate recognition and control.
It improves the recognition accuracy of vehicle control, reduces driver distraction and fatigue, is suitable for noisy environments, provides a natural, intuitive and convenient interactive experience, and supports multi-task operations.
Smart Images

Figure CN118567489A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle control method, device, electronic device and storage medium. Background Art
[0002] With the development of automotive electronic technology, vehicles are becoming more and more intelligent. In the existing technology, the main control methods for vehicles are physical button control, touch interactive control, voice interactive control, etc. Physical button control and touch interactive control require eyes to look at the console, which affects the driver's normal driving and is difficult for other passengers to touch. The voice interactive control method is easily disturbed by noise during driving, resulting in reduced recognition accuracy. Summary of the invention
[0003] In view of this, the purpose of the present application is to provide a vehicle control method, device, electronic device and storage medium to overcome the problems in the prior art.
[0004] In a first aspect, an embodiment of the present application provides a vehicle control method, the method comprising: Analyze the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; identifying a target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; Based on the target head movement of the target person, the target vehicle is controlled.
[0005] In some technical solutions of the present application, the above-mentioned analysis of the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture includes: Analyzing the vehicle video image in the target vehicle to determine the target face contained in each frame of the vehicle video image; By comparing the target face positions contained in each group of images, the position extreme value of the target person's head posture in the group of images is determined; wherein each group of images is determined according to the acquisition order and the preset number; According to the position extreme value of the head posture of the target person in each group of images, the deflection amplitude of the head posture of the target person is determined.
[0006] In some technical solutions of the present application, the above-mentioned analysis of the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture includes: Analyze the vehicle video image in the target vehicle to determine the pitch angle change range, yaw angle change range, and roll angle change range of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: According to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold, multiple target head movements of the target person are identified.
[0007] In some technical solutions of the present application, the target head motion includes nodding motion, horizontal head shaking motion and other head shaking motion; The step of identifying a plurality of target head movements of the target person according to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold comprises: identifying a nodding action of the target person according to the pitch angle change amplitude and a first pitch amplitude threshold; identifying a horizontal shaking motion of the target person according to the yaw angle change amplitude and a first yaw amplitude threshold; Other shaking movements of the target person are identified according to the rolling angle change amplitude and the first rolling amplitude threshold.
[0008] In some technical solutions of the present application, the above method further includes: Analyze the vehicle video image in the target vehicle to determine the deflection time of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: The target head movement of the target person is identified according to the deflection amplitude and a preset first amplitude threshold, the deflection time and a preset time threshold.
[0009] In some technical solutions of the present application, the above-mentioned analysis of the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture includes: Analyze the vehicle video image in the target vehicle and identify the head postures of multiple candidates; Determining the target person from the candidates according to the head posture of the candidates; The deflection amplitude of the head posture of the target person is determined according to the position extreme value of the head posture of the target person.
[0010] In some technical solutions of the present application, the target person is determined from the candidates according to the head posture of the candidates: According to the head posture of the candidate persons, the first candidate person who makes a control start action is taken as the target person.
[0011] In some technical solutions of the present application, if there are multiple first candidates, the method further includes: The target person is determined from the first persons to be selected according to the area proportions of the first persons to be selected in the image and the shooting angles.
[0012] In some technical solutions of the present application, the above method further includes: After the target person ends the control action, a second candidate person who starts the control action is detected; Taking the second candidate as a new target person; The controlling the target vehicle based on the target head movement of the target person includes: Based on the new target head movement of the new target person, the target vehicle is controlled.
[0013] In some technical solutions of the present application, the above-mentioned identifying the target head movement of the target person according to the deflection amplitude and the preset first amplitude threshold includes: identifying the initial head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; The filtered target head movement is obtained by performing movement filtering on the initial head movement of the target person.
[0014] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the driving scene of the target vehicle by analyzing the monitoring video image outside the target vehicle; According to the driving scene of the target vehicle, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0015] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0016] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold and a second time threshold, the initial head motion is subjected to motion filtering to obtain the filtered target head motion.
[0017] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the inferred head movement by analyzing the historical control data of the target vehicle; According to the inferred head movement, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0018] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the control instructions of other control methods, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0019] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the set driving preference, the initial head movement of the target person is subjected to movement filtering to obtain the filtered target head movement.
[0020] In some technical solutions of the present application, the above-mentioned filtering the initial head movement of the target person to obtain the filtered target head movement includes: Performing action filtering on the initial head action by using multiple filtering methods to obtain multiple filtering results; The target head movement is obtained according to the multiple filtering results.
[0021] In a second aspect, an embodiment of the present application provides a vehicle control device, the device comprising: A determination module is used to analyze the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; an identification module, used to identify the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; A control module is used to control the target vehicle based on the target head movement of the target person.
[0022] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned vehicle control method when executing the computer program.
[0023] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above-mentioned vehicle control method are executed.
[0024] The technical solution provided by the embodiments of the present application may have the following beneficial effects: The method of the present application includes analyzing a vehicle video image in a target vehicle to determine the deflection amplitude of the target person's head posture; identifying the target head movement of the target person based on the deflection amplitude and a preset first amplitude threshold; and controlling the target vehicle based on the target head movement of the target person.
[0025] The method of the application controls the vehicle through video recognition, improves recognition accuracy and simplifies the operation process.
[0026] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 A schematic flow chart of a vehicle control method provided in an embodiment of the present application is shown; Figure 2 A schematic diagram of identifying head movements provided by an embodiment of the present application is shown; Figure 3 A schematic diagram of a vehicle control device provided in an embodiment of the present application is shown; Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0029] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0030] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0031] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0032] The existing in-vehicle human-computer interaction methods can be mainly divided into the following categories: Physical buttons: Physical buttons are a traditional way of in-vehicle human-computer interaction. Users can use buttons to complete corresponding operations, such as starting the vehicle, adjusting the air conditioner, etc. Physical buttons have the characteristics of high reliability and easy operation, but they also have the limitations of single function and difficulty in expansion.
[0033] Touch interaction: Touch interaction is one of the most common human-computer interaction methods, which is mainly realized by the touch screen in the car. Users can complete the corresponding operation by touching the buttons or icons on the screen. Touch interaction is intuitive and easy to use, but it also has certain limitations. For example, using the touch screen while driving may affect driving safety.
[0034] Voice interaction: Voice interaction is a safer and more convenient way of human-computer interaction. Users can control the vehicle through voice commands, such as adjusting the volume, navigating, playing music, etc. The advantage of voice interaction is that it can free the hands and reduce the operating burden of the driver. However, voice interaction also has some problems, such as poor recognition rate and susceptibility to environmental noise.
[0035] The vehicle control method based on head motion recognition provided by the present application can significantly improve a series of shortcomings of the prior art, including but not limited to the following aspects: Natural and intuitive interaction experience: Head movements are a natural and intuitive part of daily human communication. Compared with touch screen or voice interaction, head movement recognition through cameras can be closer to people's natural way of interaction. Drivers and passengers can express their wishes by simply nodding or shaking their heads without special touch operations or voice commands, making the interaction more natural and intuitive.
[0036] Reduce driver distraction and fatigue: Compared with touch screens, head motion recognition can reduce driver distraction. Touch screens require drivers to take their eyes off the road, while head motion recognition can be done without affecting the driver's gaze forward, thereby reducing traffic risks caused by distraction and reducing driver fatigue caused by long-term driving.
[0037] Suitable for noisy environments: Voice interaction may be disturbed in a noisy in-car environment, resulting in misrecognition or difficulty in executing commands. Recognizing head movements through cameras can provide a more reliable interaction method in noisy environments without being disturbed by background noise, thereby improving the stability and reliability of interaction.
[0038] Convenience of multi-tasking: Recognition of head movements enables drivers to multi-task more conveniently, such as adjusting music, navigation or in-car settings, without having to stop the vehicle or focus on touch screen operations, improving the convenience of interaction.
[0039] The following is described by way of examples. Figure 1 A schematic flow chart of a vehicle control method provided in an embodiment of the present application is shown, wherein the method includes steps S101-S103; specifically: S101, analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; S102, identifying a target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; S103: Control the target vehicle based on the target head movement of the target person.
[0040] Some embodiments of the present application are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0041] In the first embodiment, the present application uses the vehicle video image to identify the head movement of the target person, and then controls the target vehicle based on the target head movement. The vehicle video image here is obtained by capturing the interior of the target vehicle, and mainly captures the heads of the people inside the vehicle. The specific method is to set a video image acquisition device in the vehicle, such as a driving recorder, a camera, etc. The image acquisition device performs real-time image acquisition facing the seats in the vehicle, and immediately performs face recognition on the current frame image after capturing the current frame image. Determine whether the frame image contains a human face. If the frame image does not contain a human face, the frame image is not used to control the vehicle. If the frame image contains a human face, continue to detect the face to determine whether the face has performed the preset target head movement.
[0042] The face recognition process here uses a preset deep learning model. The current frame image is input into the deep learning model, and the output is whether the frame image contains a face. If a face is contained, the position of the detection frame where the face is located will also be output. The position of the detection frame is specifically identified by the coordinates, width, and height of a certain point. That is, after the face is recognized, the position and size of the face will also be output.
[0043] Since the embodiment of the present application adopts an image acquisition device, the image obtained by shooting is a two-dimensional image. In order to detect whether there is a target head movement in the frame image, it is necessary to convert the two-dimensional image into a head posture in three-dimensional space, and the head posture refers to the direction of a person's head relative to the camera. The embodiment of the present application uses a deep learning method, and the two-dimensional image containing a face and the position and size of the face are input into a deep learning model, and the output is the head posture. After identifying the head posture of the target person, the deflection amplitude of the head posture of the target person is determined according to the head posture of each frame image in the vehicle video.
[0044] After determining the deflection amplitude of the target person's head posture, it is also necessary to identify whether the target person has performed the target head movement. The embodiment of the present application sets a first amplitude threshold value, and determines whether the target person has performed the target head movement by comparing the deflection amplitude with the first amplitude threshold value. The first amplitude threshold value here can be set by the user, or obtained by analyzing the acquired historical video images. The specific comparison process is that when the deflection amplitude is greater than or equal to the first amplitude threshold value, it is considered that the target person has performed the target head movement; when the deflection amplitude is less than the first amplitude threshold value, it is considered that the target person has not performed the target head movement. For example, by analyzing the historical video images, the maximum amplitude of the target person's driving action is a1, and the first amplitude threshold value can be set here to a2 (a2 is greater than or equal to a1). By setting the first amplitude threshold value greater than or equal to the normal driving action amplitude, the control action can be distinguished from the driving action.
[0045] After the target head movement of the target person is identified, the target vehicle is controlled based on the target head movement. Specifically, the control relationship can be pre-set, that is, what head movement corresponds to what control action. For example, the first head movement corresponds to turning on the radio, and the second head movement corresponds to turning off the radio. When the target person performs the first head movement, the target vehicle is controlled to turn on the radio; when the target person performs the second head movement, the target vehicle is controlled to turn off the radio.
[0046] This application realizes real-time and accurate target person behavior recognition: the head movements of the target person are captured in real time by the in-vehicle camera, and the proposed algorithm is used to accurately recognize the movements, thereby achieving instant response to the target person's head movements.
[0047] Low misidentification rate: By analyzing the deflection of head movements and combining the filtering strategy of the first amplitude threshold, the probability of normal driving movements being misidentified as target head movements can be effectively reduced, thereby improving the accuracy and reliability of the system.
[0048] Personalized settings and optimization: The system can be personalized and optimized according to the habits and preferences of different target personnel, improving the applicability and user experience of the system, and enhancing the target personnel's acceptance and comfort of the system.
[0049] In the second embodiment, when analyzing the vehicle video image in the target vehicle and determining the deflection amplitude of the target person's head posture, it is necessary to first analyze the vehicle video image to determine whether each frame of the image contains the target face. The face recognition process here uses a preset deep learning model, and each frame of the image obtained is input into the deep learning model to output whether the frame contains a face. When a face is contained, the position of the detection frame where the face is located will also be output. The position of the detection frame is specifically identified by the coordinates, width, and height of a certain point. That is, after the face is recognized, the position and size of the face will also be output.
[0050] After obtaining the position of the target face in each frame of the image, in order to determine the deflection amplitude of the target person's head posture, the embodiment of the present application needs to first determine the position extreme value of the target face position. When determining the position extreme value of the target face position, it is necessary to compare the target face position in each frame of the image. When comparing, considering that the present application is a process of shooting an embodiment, the embodiment of the present application adopts a sliding window method for comparison. The window here is a grouping, and each group of images is determined according to the acquisition order and the preset number. According to the preset window size, the position extreme value in the window is determined. When a new image is acquired, the window is slid to determine the position extreme value in the next window. Compare the position extreme values in the two windows to obtain the position extreme values in the two windows. And so on to obtain the position extreme value in the vehicle video image.
[0051] After obtaining the position extreme value in the vehicle video image, the deflection amplitude of the target person's head posture can be obtained by converting the two-dimensional image into the head posture in three-dimensional space. According to the deflection amplitude and a preset first amplitude threshold, the target head movement of the target person is identified; based on the target head movement of the target person, the target vehicle is controlled.
[0052] In the third embodiment, when analyzing the vehicle video image in the target vehicle and determining the deflection amplitude of the target person's head posture, it is necessary to convert the two-dimensional image captured by the image acquisition device into a three-dimensional head posture. That is, a three-dimensional posture deflection angle parameter is obtained. The deflection angle parameter is the Euler rotation angle including the pitch angle, the yaw angle and the roll angle. According to the position extreme value in the two-dimensional image, the pitch angle change amplitude, the yaw angle change amplitude and the roll angle change amplitude of the head posture can be obtained. When determining the target action of the target person, the pitch angle change amplitude, the yaw angle change amplitude and the roll angle change amplitude are compared with the corresponding first amplitude threshold to identify multiple target head actions of the target person.
[0053] The specific identification process is as follows Figure 2 As shown, S201, identifying the nodding action of the target person according to the pitch angle change amplitude and the first pitch amplitude threshold; S202, identifying a horizontal shaking motion of the target person according to the yaw angle change amplitude and a first yaw amplitude threshold; S203: Identify other head shaking movements of the target person according to the rolling angle change amplitude and the first rolling amplitude threshold.
[0054] During the specific implementation, the head posture of the target person can be placed in a preset coordinate system for processing. In this coordinate system, the horizontal axis is the X-axis, the vertical axis is the Y-axis, and the longitudinal axis is the Z-axis. When the face position is in the positive direction of the axis (including the X-axis, the Y-axis, and the Z-axis), it is represented by a positive number, and when it is in the negative direction of the axis (including the X-axis, the Y-axis, and the Z-axis), it is represented by a negative number, and it is directional. Assuming that the vehicle video image in the target vehicle is analyzed, the extreme values of the face position on the X-axis are -3 (from the negative direction to the positive direction), +5 (from the negative direction to the positive direction), and -3 (from the positive direction to the negative direction), respectively, then the head posture of the target face is obtained from left to right and back to the left. Since the position threshold in this application is directional, the obtained head posture is also directional. Therefore, when setting the amplitude threshold, it is necessary to set amplitude thresholds in different directions. In other words, the amplitude threshold in this application is just a data. When making a specific comparison, the data should be preceded by "+" and "-" (positive and negative identifiers) respectively.
[0055] After the target head movement of the target person is identified, the target vehicle is controlled based on the target head movement of the target person.
[0056] In a fourth embodiment, when determining the target head movement of the target person, in order to improve the accuracy of the movement, the embodiment of the present application also determines the deflection time of the target person's head posture when analyzing the vehicle video image. The specific deflection time can be determined according to the acquisition time of the vehicle video image. The process of determining the target head movement is to determine it according to the deflection amplitude and the preset first amplitude threshold, the deflection time and the preset time threshold.
[0057] That is to say, when determining the target head movement, the embodiments of the present application require that each head posture not only make a movement that meets the preset amplitude, but also the time for making the movement must meet the preset duration (the duration is determined according to the preset time threshold). If the amplitude of a certain movement exceeds the first amplitude threshold, but the time does not meet the preset duration, the embodiments of the present application do not regard it as a target head movement, that is, not as a control action. If the amplitude of a certain movement does not exceed the first amplitude threshold, but the time meets the preset duration, the embodiments of the present application do not regard it as a target head movement, that is, not as a control action. If the amplitude of a certain movement exceeds the first amplitude threshold, but the time meets the preset duration, the embodiments of the present application regard it as a target head movement, that is, as a control action.
[0058] After the target head movement of the target person is identified, the target vehicle is controlled based on the target head movement of the target person.
[0059] In the specific implementation, nodding recognition: the driver's head moves up and down around the horizontal axis (X axis), the pitch angle variation range is greater than the nodding angle threshold, and the duration is within the nodding time threshold interval. Horizontal shaking head recognition: the driver's head swings left and right around the vertical axis (Y axis), the yaw angle variation range is greater than the shaking angle threshold, and the duration is within the shaking time threshold interval. Other (Indian) shaking head recognition: the driver's head rotates left and right around the longitudinal axis (Z axis), the roll angle variation range is greater than the Indian shaking head threshold, and the duration is within the Indian shaking head time threshold interval.
[0060] In a fifth embodiment, in addition to the driver, the target vehicle also includes one or more passengers. The control of the target vehicle includes driving control and other controls. The driving control is the control that affects driving, such as vehicle light control, and the other controls are controls other than driving control, such as radio control. For different types of controls, the persons who can perform the control are different. For driving control, only the driver can control it. For other controls, in addition to the driver, passengers can also control it. For different types of controls, the embodiments of the present application set multiple shooting angles. The specific shooting angle can be determined by the number of people in the car, or set manually.
[0061] When analyzing the vehicle video image in the target vehicle, the embodiment of the present application may identify the faces of multiple candidates. In this case, it is necessary to determine the target person who can actually control the vehicle. That is, the embodiment of the present application needs to determine the target person from the multiple candidates.
[0062] The target person identification process may be to identify the head posture of each candidate, and the first candidate who makes the start control action is taken as the target person. For example, the start control action here is other head shaking actions of a preset amplitude. Among the five people in the car, if one person makes an action, that person is taken as the target person, and the target vehicle is controlled. If two or more people make the action at the same time, if these people are taken as target persons at the same time, there may be a situation of control confusion. Therefore, the embodiment of the present application needs to be screened again.
[0063] The screening basis this time is the area ratio and shooting angle of each of the first candidates in the image. That is to say, when there are multiple candidates who make the start control action at the same time, the embodiment of the present application will use the candidate with the largest area ratio and the best shooting angle in each frame image as the target control person. Because the candidate with the largest area ratio and the best shooting angle is closer to the image acquisition device, the embodiment of the present application regards this candidate as the target person who controls the target vehicle.
[0064] The sixth embodiment, for the fifth embodiment, there are multiple people in the vehicle. In order to improve the fluency of vehicle control, for other controls, there can be multiple target persons, that is, multiple people in the vehicle can take turns to be controlled by other controls. The specific control process is that the current target person ends the current control, and then the new target person takes control. The way the current target person ends the control is that the current target person makes an end control action. After detecting that the current target control person has made an end control action, other controls are in an unmanned control state. At this time, the vehicle personnel are detected again. If a new target person makes a start control action, the new target person controls other controls. The new target person here can be the previous target person or other people in the car.
[0065] The seventh embodiment, in order to ensure the accuracy of controlling the vehicle and eliminate the interference of non-control actions, the embodiment of the present application, after identifying the initial head movement of the target person according to the deflection amplitude and the preset first amplitude threshold, needs to filter the initial head movement of the target person to obtain the filtered target head movement.
[0066] When filtering the initial head movement, the embodiment of the present application sets a variety of filtering methods, which can be used alone or in combination. For example, the filtering methods here include filtering methods based on driving scenes, filtering methods based on a preset second amplitude threshold, filtering methods based on a preset second amplitude threshold and a second time threshold, filtering methods based on inferred head movements, filtering methods based on control instructions of other control methods, filtering methods based on set driving preferences, etc. The combined use methods include: combining a driving scene filtering method with a preset second amplitude threshold filtering method; combining a driving scene filtering method, a preset second amplitude threshold and second time threshold filtering method, and a filtering method based on inferred head movement filtering method; combining a preset second amplitude threshold and second time threshold filtering method, a filtering method based on inferred head movement filtering method, a control instruction filtering method based on other control methods, and a filtering method based on set driving preferences; combining a driving scene filtering method, a preset second amplitude threshold filtering method, a pre-set head movement filtering method, a control instruction filtering method based on other control methods, and a filtering method based on set driving preferences; combining a driving scene filtering method, a preset second amplitude threshold filtering method, a pre-set head movement filtering method, a control instruction filtering method based on other control methods, and a filtering method based on set driving preferences.
[0067] For the filtering method based on driving scenes: The embodiment of the present application obtains the monitoring video image outside the target vehicle, and then analyzes the monitoring video image to determine the current driving scene of the target vehicle. For example, driving scene, parking scene, etc. Corresponding scene actions and action amplitude thresholds are set in each driving scene. The initial head action is filtered according to the scene action and action amplitude threshold in each scene, and non-control actions are filtered out to obtain the filtered target head action.
[0068] For the filtering method based on the preset second amplitude threshold value and the second time threshold value, the embodiment of the present application can manually determine the second amplitude threshold value and the second time threshold value according to factors such as personal habits, etc. Non-control actions within the second amplitude threshold value and the second time threshold value are filtered out to obtain the filtered target head action.
[0069] Regarding the filtering method based on the inferred head movement, the embodiment of the present application determines the inferred head movement by analyzing the historical control data of the target vehicle. The historical control data here can be obtained by the method of the present application, or can be obtained by other control methods in the prior art. By analyzing these historical control data, the control method of the target person in the time period can be determined. According to the correlation between the preset control method and the head posture, the inferred head movement of the target person can be determined. If the initial head movement contains the inferred head movement, the movement is used as the control action to control the target vehicle.
[0070] For the control instruction filtering method based on other control methods, after obtaining the initial head movement, if the user knows that it is caused by an accidental touch, the user can input the control instruction of the other control method to filter out the initial head movement. The other control methods here can be input through the control method in the present application, or can be input through other methods. For example, the user can filter out the initial head movement by making the initial head movement again in the opposite direction to indicate the filtering control instruction.
[0071] For the set driving preference filtering method, the user pre-sets the driving preferences (including multiple head movements or different head movements in different scenarios) and uses these pre-set head movements to filter the initial head movements.
[0072] Figure 3 A schematic diagram of the structure of a vehicle control device provided in an embodiment of the present application is shown, the device comprising: A determination module is used to analyze the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; an identification module, used to identify the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; A control module is used to control the target vehicle based on the target head movement of the target person.
[0073] The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyzing the vehicle video image in the target vehicle to determine the target face contained in each frame of the vehicle video image; By comparing the target face positions contained in each group of images, the position extreme value of the target person's head posture in the group of images is determined; wherein each group of images is determined according to the acquisition order and the preset number; According to the position extreme value of the head posture of the target person in each group of images, the deflection amplitude of the head posture of the target person is determined.
[0074] The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyze the vehicle video image in the target vehicle to determine the pitch angle change range, yaw angle change range, and roll angle change range of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: According to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold, multiple target head movements of the target person are identified.
[0075] The target head movements include nodding movements, horizontal head shaking movements and other head shaking movements; The step of identifying a plurality of target head movements of the target person according to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold comprises: identifying a nodding action of the target person according to the pitch angle change amplitude and a first pitch amplitude threshold; identifying a horizontal shaking motion of the target person according to the yaw angle change amplitude and a first yaw amplitude threshold; Other shaking movements of the target person are identified according to the rolling angle change amplitude and the first rolling amplitude threshold.
[0076] The device is also used to: analyze the vehicle video image in the target vehicle to determine the deflection time of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: The target head movement of the target person is identified according to the deflection amplitude and a preset first amplitude threshold, the deflection time and a preset time threshold.
[0077] The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyze the vehicle video image in the target vehicle and identify the head postures of multiple candidates; Determining the target person from the candidates according to the head posture of the candidates; The deflection amplitude of the head posture of the target person is determined according to the position extreme value of the head posture of the target person.
[0078] Determining the target person from the candidates according to the head posture of the candidates: According to the head posture of the candidate persons, the first candidate person who makes a control start action is taken as the target person.
[0079] If there are multiple first persons to be selected, the target person is determined from the first persons to be selected according to the area proportions and shooting angles of the respective first persons to be selected in the image.
[0080] After the target person ends the control action, a second candidate person who starts the control action is detected; Taking the second candidate as a new target person; The controlling the target vehicle based on the target head movement of the target person includes: Based on the new target head movement of the new target person, the target vehicle is controlled.
[0081] The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: identifying the initial head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; The filtered target head movement is obtained by performing movement filtering on the initial head movement of the target person.
[0082] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the driving scene of the target vehicle by analyzing the monitoring video image outside the target vehicle; According to the driving scene of the target vehicle, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0083] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0084] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold and a second time threshold, the initial head motion is subjected to motion filtering to obtain the filtered target head motion.
[0085] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the inferred head movement by analyzing the historical control data of the target vehicle; According to the inferred head movement, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0086] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the control instructions of other control methods, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
[0087] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the set driving preference, the initial head movement of the target person is subjected to movement filtering to obtain the filtered target head movement.
[0088] The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Performing action filtering on the initial head action by using multiple filtering methods to obtain multiple filtering results; The target head movement is obtained according to the multiple filtering results.
[0089] like Figure 4 As shown, an embodiment of the present application provides an electronic device for executing the vehicle control method in the present application, the device includes a memory, a processor, a bus, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the vehicle control method when executing the computer program.
[0090] Specifically, the above-mentioned memory and processor may be general-purpose memory and processor, which are not specifically limited here. When the processor runs the computer program stored in the memory, the above-mentioned vehicle control method can be executed.
[0091] Corresponding to the vehicle control method in the present application, an embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned vehicle control method are executed.
[0092] Specifically, the storage medium can be a general storage medium, such as a mobile disk, a hard disk, etc. When the computer program on the storage medium is run, the above-mentioned vehicle control method can be executed.
[0093] In the embodiments provided in the present application, it should be understood that the disclosed systems and methods can be implemented in other ways. The system embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of systems or units, which can be electrical, mechanical or other forms.
[0094] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0095] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0096] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, and other media that can store program codes.
[0097] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0098] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solutions of the present application, rather than to limit them. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the above-mentioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-mentioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims
1. A method for controlling a vehicle, It is characterized in that The method comprises: Analyze the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; identifying a target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; Based on the target head movement of the target person, the target vehicle is controlled.
2. The method according to claim 1, It is characterized in that The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyzing the vehicle video image in the target vehicle to determine the target face contained in each frame of the vehicle video image; By comparing the target face positions contained in each group of images, the position extreme value of the target person's head posture in the group of images is determined; wherein each group of images is determined according to the acquisition order and the preset number; According to the position extreme value of the head posture of the target person in each group of images, the deflection amplitude of the head posture of the target person is determined.
3. The method according to claim 1, It is characterized in that The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyze the vehicle video image in the target vehicle to determine the pitch angle change range, yaw angle change range, and roll angle change range of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: According to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold, multiple target head movements of the target person are identified.
4. The method according to claim 3, It is characterized in that The target head movements include nodding movements, horizontal head shaking movements and other head shaking movements; The step of identifying a plurality of target head movements of the target person according to the pitch angle change amplitude, the yaw angle change amplitude, the roll angle change amplitude and the corresponding first amplitude threshold comprises: identifying a nodding action of the target person according to the pitch angle change amplitude and a first pitch amplitude threshold; identifying a horizontal shaking motion of the target person according to the yaw angle change amplitude and a first yaw amplitude threshold; Other shaking movements of the target person are identified according to the rolling angle change amplitude and the first rolling amplitude threshold.
5. The method according to claim 1, It is characterized in that The method further comprises: Analyze the vehicle video image in the target vehicle to determine the deflection time of the target person's head posture; The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: The target head movement of the target person is identified according to the deflection amplitude and a preset first amplitude threshold, the deflection time and a preset time threshold.
6. The method according to claim 1, It is characterized in that The analyzing the vehicle video image in the target vehicle to determine the deflection amplitude of the head posture of the target person includes: Analyze the vehicle video image in the target vehicle and identify the head postures of multiple candidates; Determining the target person from the candidates according to the head posture of the candidates; The deflection amplitude of the head posture of the target person is determined according to the position extreme value of the head posture of the target person.
7. The method according to claim 6, It is characterized in that Determining the target person from the candidates according to the head posture of the candidates: According to the head posture of the candidate persons, the first candidate person who makes a control start action is taken as the target person.
8. The method according to claim 7, It is characterized in that If there are multiple first candidates, the method further includes: The target person is determined from the first persons to be selected according to the area proportions of the first persons to be selected in the image and the shooting angles.
9. The method according to claim 7, It is characterized in that The method further comprises: After the target person ends the control action, a second candidate person who starts the control action is detected; Taking the second candidate as a new target person; The controlling the target vehicle based on the target head movement of the target person includes: Based on the new target head movement of the new target person, the target vehicle is controlled.
10. The method according to claim 1, It is characterized in that The step of identifying the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold comprises: identifying the initial head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; The filtered target head movement is obtained by performing movement filtering on the initial head movement of the target person.
11. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the driving scene of the target vehicle by analyzing the monitoring video image outside the target vehicle; According to the driving scene of the target vehicle, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
12. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
13. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Based on a preset second amplitude threshold and a second time threshold, the initial head motion is subjected to motion filtering to obtain the filtered target head motion.
14. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Determining the inferred head movement by analyzing the historical control data of the target vehicle; According to the inferred head movement, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
15. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the control instructions of other control methods, the initial head movement is subjected to movement filtering to obtain the filtered target head movement.
16. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: According to the set driving preference, the initial head movement of the target person is subjected to movement filtering to obtain the filtered target head movement.
17. The method according to claim 10, It is characterized in that The step of filtering the initial head movement of the target person to obtain the filtered target head movement includes: Performing action filtering on the initial head action by using multiple filtering methods to obtain multiple filtering results; The target head movement is obtained according to the multiple filtering results.
18. A vehicle control device, It is characterized in that The device comprises: A determination module is used to analyze the vehicle video image in the target vehicle to determine the deflection amplitude of the target person's head posture; an identification module, used to identify the target head movement of the target person according to the deflection amplitude and a preset first amplitude threshold; A control module is used to control the target vehicle based on the target head movement of the target person.
19. An electronic device, It is characterized in that include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the steps of the vehicle control method as described in any one of claims 1 to 17 are performed.
20. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, executes the steps of the vehicle control method as claimed in any one of claims 1 to 17.
Citation Information
Patent Citations
Interaction method and vehicle-mounted interaction device
CN110554766A
Method for determining head action of driver, storage medium and electronic device
CN113239861A
Head posture analysis method, system and equipment based on face key point detection
CN114882574A
Face action recognition method and device, electronic equipment and storage medium
CN117115854A
Auxiliary driving method and system, electronic equipment and storage medium
CN117734705A
Cited By
Interaction control method and device, vehicle, storage medium and product
CN122488948A
Vehicle control method and apparatus, electronic device and storage medium
WO2026025653A1
