Vehicle control method and device, vehicle and electronic equipment
Through in-vehicle image and voice recognition technology, the dangerous status of the driver in the vehicle is determined and emergency strategies are initiated, which solves potential safety hazards in the case of sudden illness of the driver in the vehicle and achieves rapid response and safe handling.
Patent Information
- Application Number
- CN202310254486.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-09
- Publication Date
- 2024-09-10
AI Technical Summary
When a driver in a vehicle suddenly becomes ill, there are potential safety risks, and it is difficult for existing technology to effectively help reduce this risk.
By obtaining the images and voices of the detected targets in the vehicle to be detected, behavioral recognition and semantic recognition are performed to determine whether there are dangerous behaviors, and emergency operations are initiated based on the risk coefficient and emergency strategies, such as warning, deceleration, and calling for rescue.
It effectively assists in reducing vehicle safety hazards, improves judgment accuracy through multi-modal analysis, and enables rapid response and processing of driver's dangerous status.
Smart Images

Figure CN118629017A
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle control method, a vehicle control device, a vehicle, and an electronic device. Background Art
[0002] As vehicles enter thousands of households, people's demand for vehicles is increasing. However, this also brings some safety hazards, especially when the driver in the car has a sudden illness. Nowadays, artificial intelligence technology has been widely used in vehicles. How to use artificial intelligence technology to assist and reduce vehicle safety hazards has become an urgent problem to be solved. Summary of the invention
[0003] The present disclosure provides a vehicle control method, device, vehicle and electronic equipment, the main purpose of which is to assist and reduce vehicle safety hazards through artificial intelligence technology.
[0004] According to a first aspect of the present disclosure, a vehicle control method is provided, comprising:
[0005] Acquire an image to be detected of a detection target in the vehicle, and identify the behavior in the image to be detected to obtain a behavior recognition result;
[0006] Collecting the speech to be detected in the vehicle, and performing semantic recognition on the speech to be detected to obtain a semantic recognition result;
[0007] Judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result;
[0008] If it is determined that there is a danger, the control starts the emergency strategy so that corresponding operations are performed according to the emergency strategy.
[0009] Optionally, the acquiring of the to-be-detected image of the detection target in the vehicle, and identifying the behavior in the to-be-detected image to obtain the behavior recognition result includes:
[0010] The preset image processing function is called to respectively recognize the facial features and hand gestures in the image to be detected, and obtain recognition results of the facial features and hand gestures.
[0011] Optionally, the collecting the speech to be detected in the vehicle and performing semantic recognition on the speech to be detected to obtain a semantic recognition result includes:
[0012] A preset speech recognition function is called to perform semantic recognition on the speech to be detected to obtain the semantic recognition result.
[0013] Optionally, judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result includes:
[0014] Determining whether the detection target has dangerous behavior according to the recognition results of the facial features and hand gestures;
[0015] If it is determined that the detection target has dangerous behavior, determining a first risk factor according to the credibility of the dangerous behavior;
[0016] Determining whether the speech to be detected contains a preset dangerous word according to the result of the semantic recognition;
[0017] If it is determined that the preset dangerous word exists in the speech to be detected, determining a second risk coefficient according to the credibility of the preset dangerous word;
[0018] A total risk factor is obtained according to a product result of the first risk factor and a first weight, and a product result of the second risk factor and a second weight, and whether the detection target is dangerous is determined according to the total risk factor.
[0019] Optionally, determining whether the detection target is dangerous according to the total risk factor includes:
[0020] Comparing the total risk factor with a preset risk threshold;
[0021] If the total risk factor is greater than or equal to the preset risk threshold, it is determined that the detection target is dangerous;
[0022] If the total risk factor is less than the preset risk threshold, it is determined that the detection target is not dangerous.
[0023] Optionally, the controlling and initiating emergency strategy includes:
[0024] Calculating the difference between the total risk factor and the preset risk threshold, wherein the difference is positively correlated with the risk level;
[0025] Based on the mapping relationship between the difference and the danger level, a target danger level is obtained;
[0026] According to the mapping relationship between the target danger level and the emergency strategy, the target emergency strategy corresponding to the target danger level is initiated.
[0027] Optionally, the controlling and starting the emergency strategy further includes:
[0028] Obtaining a current speed value of the vehicle, and determining a current state of the vehicle according to the current speed value;
[0029] If the current state is a static state, controlling to start a first emergency strategy corresponding to the static state;
[0030] If the current state is a driving state, control is performed to start a second emergency strategy corresponding to the driving state.
[0031] According to a second aspect of the present disclosure, there is provided a control device for a vehicle, comprising:
[0032] The first recognition unit is used to obtain a to-be-detected image of a detection target in the vehicle, and recognize a behavior in the to-be-detected image to obtain a behavior recognition result;
[0033] A second recognition unit is used to collect the speech to be detected in the vehicle, and perform semantic recognition on the speech to be detected to obtain a semantic recognition result;
[0034] A judgment unit, used for judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result;
[0035] The starting unit is used to control the starting of the emergency strategy when it is determined that there is a danger, so as to perform corresponding operations according to the emergency strategy.
[0036] Optionally, the first identification unit includes:
[0037] The recognition module is used to call a preset image processing function to recognize the facial features and hand gestures in the image to be detected, and obtain recognition results of the facial features and hand gestures.
[0038] Optionally, the second identification unit includes:
[0039] The recognition module is used to call a preset speech recognition function to perform semantic recognition on the speech to be detected to obtain the semantic recognition result.
[0040] Optionally, the judging unit includes:
[0041] A first judgment module is used to judge whether the detection target has dangerous behavior according to the recognition results of the facial features and hand gestures;
[0042] A determination module, configured to determine a first risk coefficient according to the credibility of the dangerous behavior when it is determined that the detection target has a dangerous behavior;
[0043] A second judgment module is used to judge whether the speech to be detected has a preset dangerous word according to the result of the semantic recognition;
[0044] The determination module is further configured to determine a second risk coefficient according to the credibility of the preset dangerous word when it is determined that the preset dangerous word exists in the speech to be detected;
[0045] A calculation module is used to obtain a total risk factor based on a product result of the first risk factor and a first weight and a product result of the second risk factor and a second weight, and to determine whether the detection target is dangerous based on the total risk factor.
[0046] Optionally, the computing module includes:
[0047] A comparison submodule, used for comparing the total risk factor with a preset risk threshold;
[0048] A determination submodule, configured to determine that a danger exists when the total danger coefficient is greater than or equal to the preset danger threshold;
[0049] The determination submodule is further configured to determine that no danger exists when the total risk coefficient is less than the preset risk threshold.
[0050] Optionally, the starting unit includes:
[0051] A calculation module, used for calculating the difference between the total risk factor and the preset risk threshold, wherein the difference is positively correlated with the risk level;
[0052] A first acquisition module, configured to obtain a target danger level based on a mapping relationship between the difference and the danger level;
[0053] The first starting module is used to start the target emergency strategy corresponding to the target danger level according to the mapping relationship between the target danger level and the emergency strategy.
[0054] Optionally, the starting unit further includes:
[0055] A second acquisition module is used to acquire a current speed value of the vehicle and determine a current state of the vehicle according to the current speed value;
[0056] A second starting module, used for controlling the starting of a first emergency strategy corresponding to the static state when the current state is a static state;
[0057] The second starting module is further used to control the start of a second emergency strategy corresponding to the driving state when the current state is the driving state.
[0058] According to a third aspect of the present disclosure, a vehicle is provided, wherein the vehicle includes the vehicle control device as described in the second aspect of the present disclosure.
[0059] According to a fourth aspect of the present disclosure, there is provided an electronic device, including:
[0060] at least one processor; and
[0061] a memory communicatively connected to the at least one processor; wherein,
[0062] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in the first aspect.
[0063] According to a fifth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute the method described in the first aspect.
[0064] According to a sixth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method described in the first aspect is implemented.
[0065] The vehicle control method, device, vehicle and electronic equipment provided by the present disclosure obtain an image to be detected of a detection target in the vehicle, and identify the behavior in the image to be detected to obtain a behavior recognition result. At the same time, the voice to be detected in the vehicle is collected, and semantic recognition is performed on the voice to be detected. After the semantic recognition result is obtained, it is judged whether the detection target is dangerous based on the behavior recognition result and the semantic recognition result. When it is determined that there is a danger, the emergency strategy is controlled to be started, and corresponding operations are performed according to the emergency strategy, thereby assisting and reducing vehicle safety hazards.
[0066] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.
[0068] Figure 1 A schematic flow chart of a vehicle control method provided by an embodiment of the present disclosure;
[0069] Figure 2 A schematic diagram of the structure of a vehicle control device provided by an embodiment of the present disclosure;
[0070] Figure 3 A schematic diagram of the structure of another vehicle control device provided by an embodiment of the present disclosure;
[0071] Figure 4 A schematic block diagram of an exemplary electronic device 400 provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0072] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.
[0073] The following describes a vehicle control method, a device, a vehicle, and an electronic device according to embodiments of the present disclosure with reference to the accompanying drawings.
[0074] Figure 1 A schematic flow chart of a vehicle control method provided in an embodiment of the present disclosure.
[0075] like Figure 1 As shown, the method is applied in a vehicle, and the method comprises the following steps:
[0076] Step 101 , obtaining an image to be detected of a detection target in a vehicle, and identifying a behavior in the image to be detected to obtain a behavior recognition result.
[0077] Among them, the in-vehicle detection targets described in the embodiments of the present disclosure include but are not limited to the driver and passengers in the vehicle. The subsequent embodiments are described using the detection target as the driver in the vehicle as an example, but it should be clear that this description method is not intended to limit the detection target skills to the driver in the vehicle.
[0078] After obtaining the image to be detected of the detection target through an image acquisition device (such as an in-vehicle camera or a camera connected to the vehicle), when performing behavior recognition on the behavior of the driver in the vehicle in the image to be detected, the driver's actions in the vehicle can be divided into two categories: safe behavior and dangerous behavior, among which dangerous behavior refers to the actions of the driver in the vehicle that are obviously not normal driving or riding, while safe behavior refers to the normal driving or riding actions of the driver in the vehicle.
[0079] It should be noted here that when the vehicle is powered on, the image acquisition device in the vehicle is started, and the video of the detection target in the vehicle is collected and the action behavior of the driver in the vehicle is identified.
[0080] Step 102 , collecting the speech to be detected in the vehicle, and performing semantic recognition on the speech to be detected to obtain a semantic recognition result.
[0081] Among them, the embodiments of the present disclosure may adopt but are not limited to the microphone array or distributed microphone installed in the vehicle to collect the voice of the driver in the vehicle. Before that, from the machine level, a vocabulary that may have safety hazards will be preset in advance. When performing voice recognition, the words with safety hazards are identified based on the preset vocabulary. When the semantics of the words in the preset vocabulary are identified, it can be considered that the driver in the car is in a dangerous state. Specifically, the embodiments of the present application do not limit the content of the preset vocabulary.
[0082] It should be noted here that when the vehicle is powered on, the voice collection device in the car starts to collect and recognize the voice in the car.
[0083] Step 103: judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result.
[0084] Step 104: If it is determined that there is a danger, the emergency strategy is controlled to be initiated so as to perform corresponding operations according to the emergency strategy.
[0085] Among them, the emergency strategy described in the embodiment of the present disclosure may adopt but is not limited to: sounding an alarm in the car, activating hazard lights, slowing down and stopping, calling for help and other operations.
[0086] To clearly illustrate the implementation process of this embodiment, when it is determined that the driver in the vehicle is in danger, the vehicle will automatically execute an emergency strategy, which includes but is not limited to any one or more of the following combinations: activating the hazard indicator light, slowing down, stopping, alarming, and calling for rescue.
[0087] The vehicle control method provided by the present disclosure obtains an image to be detected of a detection target in the vehicle, identifies the behavior in the image to be detected, obtains a behavior recognition result, and simultaneously collects the voice to be detected in the vehicle, and performs semantic recognition on the voice to be detected. After obtaining the semantic recognition result, it is determined whether the detection target is dangerous based on the behavior recognition result and the semantic recognition result. When it is determined that there is a danger, the emergency strategy is controlled to be initiated, and corresponding operations are performed according to the emergency strategy, thereby assisting and reducing vehicle safety hazards.
[0088] As a refinement of the embodiment of the present disclosure, in step 101, the image to be detected of the in-vehicle detection target is obtained, and the behavior in the image to be detected is identified to obtain the behavior recognition result, which can be implemented in the following ways but not limited to: Way 1: Calling a preset image processing function to identify the facial features and hand gestures in the image to be detected, and obtain the recognition results of the facial features and hand gestures. Way 2: Calling a preset image processing model to identify the facial features and hand gestures in the image to be detected, and obtain the recognition results of the facial features and hand gestures.
[0089] Among them, the preset image processing function and the preset image processing model can refer to any implementation method in the relevant technology, and the specific embodiments of the present application will not be described in detail here. It should be noted that when the driver in the car is in danger, the facial features and hand postures of the driver in the car will change significantly, for example: the driver in the car's face will show fear, hideousness, pain, and hands covering the chest, etc. Therefore, the facial features and hand postures in the image to be detected can be identified respectively to obtain the recognition results of the facial features and hand postures to determine whether the driver in the car has dangerous behavior.
[0090] In order to clearly illustrate the implementation process of this embodiment, the disclosed embodiment provides a scenario-based description. If the in-car camera captures the image to be detected and it is determined through identification that the driver in the car has expressions such as pain on his face, and / or covers parts of his body with his hands, etc., it can be determined that the driver in the car has dangerous behavior.
[0091] As a refinement of the embodiment of the present disclosure, in step 102, the speech to be detected in the vehicle is collected, and semantic recognition is performed on the speech to be detected to obtain a semantic recognition result, which can be implemented in the following ways but not limited to: Way 1: Calling a preset speech recognition function to perform semantic recognition on the speech to be detected; judging whether the speech to be detected contains preset dangerous words based on the result of the semantic recognition. Way 2: Calling a preset speech recognition model to perform semantic recognition on the speech to be detected; judging whether the speech to be detected contains preset dangerous words based on the result of the semantic recognition.
[0092] Among them, the preset speech recognition function and the preset speech recognition model include speech content corresponding to words with safety hazards, so as to facilitate corresponding speech recognition. At the same time, in most cases, when the driver in the car is in an emergency situation, there will be some stress reactions, such as shouting, shouting words such as "danger", so it is possible to determine whether the driver in the car has said the words with safety hazards by identifying whether the speech to be detected in the car contains speech content corresponding to the words with safety hazards.
[0093] In order to clearly illustrate the implementation process of this embodiment, the disclosed embodiment provides a scenario-based description. If the microphone array or distributed microphone in the car collects the words "it hurts" and "help" said by the driver in the car, it can be determined that the driver in the car has said words that pose a safety hazard.
[0094] As a refinement of the embodiment of the present disclosure, when judging whether the detection target is dangerous based on the behavior recognition results and the semantic recognition results in step 103, it can be implemented in but not limited to the following ways: judging whether the detection target has dangerous behavior based on the recognition results of the facial features and hand gestures; if it is determined that the detection target has dangerous behavior, determining a first risk coefficient based on the credibility of the dangerous behavior; judging whether the voice to be detected contains preset dangerous words based on the results of the semantic recognition; if it is determined that the preset dangerous words exist in the voice to be detected, determining a second risk coefficient based on the credibility of the preset dangerous words; obtaining a total risk coefficient based on the product result of the first risk coefficient and the first weight and the product result of the second risk coefficient and the second weight, and determining whether the detection target is dangerous based on the total risk coefficient.
[0095] Among them, the first risk coefficient is a value obtained by calculating the credibility of the dangerous behavior, and the second risk coefficient is another value obtained by calculating the credibility of the preset dangerous words. At the same time, since the embodiment of the present disclosure needs to perform multimodal analysis based on behavior and voice, in order to make the results of the embodiment of the present disclosure more accurate, a total risk coefficient is also calculated based on the first risk coefficient and the second risk coefficient.
[0096] For better understanding, the embodiment of the present disclosure provides an example illustration, in which a risk coefficient K1 is determined by calculating the credibility of the dangerous behavior. In the embodiment of the present application, the credibility of the dangerous behavior is positively correlated with the risk coefficient K1, that is, the higher the credibility of the dangerous behavior, the larger the risk coefficient K1, and the lower the credibility of the dangerous behavior, the smaller the risk coefficient K1. Specifically, the embodiment of the present application does not limit the credibility of the dangerous behavior and the size of the risk coefficient K1.
[0097] A risk factor K2 is obtained by calculating the credibility of the vocabulary of safety hazards. In the embodiment of the present application, the credibility of the vocabulary of safety hazards is positively correlated with the risk factor K2, that is, the higher the credibility of the vocabulary of safety hazards, the larger the risk factor K2, and the lower the credibility of the vocabulary of safety hazards, the smaller the risk factor K2. Specifically, the embodiment of the present application does not limit the credibility of the vocabulary of safety hazards and the size of the risk factor K2.
[0098] At the same time, the embodiment of the present disclosure may adopt but is not limited to the following method: a total risk factor K is calculated using Formula 1.
[0099] K=a1*K1+a2*K2 Formula 1
[0100] Among them, a1 is the first weight, a2 is the second weight, that is, a1 and a2 respectively represent the proportion of behavior recognition results and semantic recognition results in risk judgment, K1 is the first risk coefficient, and K2 is the second risk coefficient.
[0101] As a further refinement of the above embodiment, when determining whether the detection target is dangerous based on the total risk coefficient, it can be achieved by but not limited to the following methods: comparing the total risk coefficient with a preset risk threshold; if the total risk coefficient is greater than or equal to the preset risk threshold, determining that the detection target is dangerous; if the total risk coefficient is less than the preset risk threshold, determining that the detection target is not dangerous.
[0102] Among them, the preset danger threshold is a pre-set danger coefficient value. When the total danger coefficient is greater than or equal to the danger coefficient value, it is determined that the driver in the vehicle is in danger. When the total danger coefficient is less than the danger coefficient value, it is determined that the driver in the vehicle is not in danger.
[0103] In an implementable manner of the embodiment of the present disclosure, it can be implemented in the following manner but not limited to: calculating the difference between the total risk coefficient and the preset risk threshold, the difference is positively correlated with the risk level; obtaining the target risk level based on the mapping relationship between the difference and the risk level; and starting the target emergency strategy corresponding to the target risk level according to the mapping relationship between the target risk level and the emergency strategy. .
[0104] Specifically, but not limited to, a difference threshold can be set, and the danger level is divided into mild danger and severe danger according to the difference between the total danger coefficient and the preset danger threshold. When the difference is less than the difference threshold, it is confirmed that the driver in the vehicle is in a mild danger state. At this time, the emergency operation of the vehicle is to sound the alarm in the vehicle, turn on the hazard indicator light, slow down and stop driving, etc. When the difference is greater than the difference threshold, it is confirmed that the driver in the vehicle is in a severe danger state. At this time, the emergency operation of the vehicle is to add alarms and call for rescue on the basis of the emergency operation of the vehicle when the driver in the vehicle is in a mild danger state.
[0105] In actual applications, the state of a vehicle can be divided into a driving state and a stationary state, and the emergency strategies to be implemented by the vehicle in different states are different. The emergency strategy in the driving state may be different from the emergency strategy in the stationary state. In an implementable method of the embodiment of the present disclosure, it can be implemented in but not limited to the following manner: obtaining the current speed value of the vehicle, and judging the current state of the vehicle according to the current speed value; if the current state is a stationary state, controlling the start of the first emergency strategy corresponding to the stationary state; if the current state is a driving state, controlling the start of the second emergency strategy corresponding to the driving state.
[0106] When the speed value of the vehicle is zero, it is confirmed that the current state of the vehicle is a stationary state, and when the speed value of the vehicle is not zero, it is confirmed that the current state of the vehicle is a driving state.
[0107] When the vehicle is stationary, the corresponding first emergency strategy operations include sounding the alarm in the car, turning on the hazard lights, calling the police and calling for rescue, etc. When the vehicle is in motion, the corresponding second emergency strategy operations include accelerating or decelerating, stopping, pulling over, etc. on the basis of the operations of the first emergency strategy.
[0108] Corresponding to the above vehicle control method, the present invention also provides a vehicle control device. Since the device embodiment of the present invention corresponds to the above method embodiment, details not disclosed in the device embodiment can be referred to the above method embodiment, and will not be repeated in the present invention.
[0109] Figure 2 A schematic diagram of the structure of a vehicle control device provided by an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, including:
[0110] The first recognition unit 21 is used to obtain a to-be-detected image of a detection target in the vehicle, and recognize a behavior in the to-be-detected image to obtain a behavior recognition result;
[0111] The second recognition unit 22 is used to collect the speech to be detected in the vehicle, and perform semantic recognition on the speech to be detected to obtain a semantic recognition result;
[0112] A judgment unit 23, used to judge whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result;
[0113] The starting unit 24 is used to control the starting of the emergency strategy when it is determined that there is a danger, so as to perform corresponding operations according to the emergency strategy.
[0114] The control device of the vehicle provided by the present disclosure obtains an image to be detected of a detection target in the vehicle, identifies the behavior in the image to be detected, obtains a behavior recognition result, and simultaneously collects the voice to be detected in the vehicle, and performs semantic recognition on the voice to be detected. After obtaining the semantic recognition result, it is determined whether the detection target is dangerous based on the behavior recognition result and the semantic recognition result. When it is determined that there is a danger, the emergency strategy is controlled to be initiated, and corresponding operations are performed according to the emergency strategy, thereby assisting and reducing vehicle safety hazards.
[0115] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the first identification unit 21 includes:
[0116] The recognition module 211 is used to call a preset image processing function to recognize the facial features and hand gestures in the image to be detected, and obtain recognition results of the facial features and hand gestures.
[0117] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the second identification unit 22 includes:
[0118] The recognition module 221 is used to call a preset speech recognition function to perform semantic recognition on the speech to be detected to obtain the semantic recognition result.
[0119] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the judging unit 23 includes:
[0120] A first judgment module 231 is used to judge whether the detection target has dangerous behavior according to the recognition results of the facial features and hand gestures;
[0121] A determination module 232, configured to determine a first risk factor according to the credibility of the dangerous behavior when it is determined that the detection target has a dangerous behavior;
[0122] A second judgment module 233 is used to judge whether the speech to be detected has a preset dangerous word according to the result of the semantic recognition;
[0123] The determination module 232 is further configured to determine a second risk coefficient according to the credibility of the preset dangerous word when it is determined that the preset dangerous word exists in the speech to be detected;
[0124] The calculation module 234 is used to obtain a total risk factor based on the product of the first risk factor and the first weight and the product of the second risk factor and the second weight, and determine whether the detection target is dangerous based on the total risk factor.
[0125] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the calculation module 234 includes:
[0126] A comparison submodule 2341 is used to compare the total risk factor with a preset risk threshold;
[0127] A determination submodule 2342 is used to determine that there is a danger when the total danger coefficient is greater than or equal to the preset danger threshold;
[0128] The determination submodule 2342 is further configured to determine that there is no danger when the total risk factor is less than the preset risk threshold.
[0129] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the starting unit 24 includes:
[0130] A calculation module 241 is used to calculate the difference between the total risk coefficient and the preset risk threshold, wherein the difference is positively correlated with the risk level;
[0131] A first acquisition module 242, configured to obtain a target danger level based on a mapping relationship between the difference and the danger level;
[0132] The first starting module 243 is used to start the target emergency strategy corresponding to the target danger level according to the mapping relationship between the target danger level and the emergency strategy.
[0133] Furthermore, in a possible implementation of the embodiment of the present disclosure, as Figure 3 As shown, the starting unit 24 further includes:
[0134] The second acquisition module 244 is used to acquire the current speed value of the vehicle and determine the current state of the vehicle according to the current speed value;
[0135] The second starting module 245 is used for controlling the starting of a first emergency strategy corresponding to the static state when the current state is a static state;
[0136] The second starting module 245 is further configured to control starting of a second emergency strategy corresponding to the driving state when the current state is the driving state.
[0137] In an embodiment of the present disclosure, a vehicle is also provided, wherein the vehicle is equipped with a vehicle control device.
[0138] It should be noted that the above explanation of the method embodiment is also applicable to the device of this embodiment, and the principle is the same, which is not limited in this embodiment.
[0139] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
[0140] Figure 4 A schematic block diagram of an example electronic device 400 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.
[0141] like Figure 4 As shown, the device 400 includes a computing unit 401, which can perform various appropriate actions and processes according to a computer program stored in a ROM (Read-Only Memory) 402 or a computer program loaded from a storage unit 408 to a RAM (Random Access Memory) 403. In the RAM 403, various programs and data required for the operation of the device 400 can also be stored. The computing unit 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An I / O (Input / Output) interface 405 is also connected to the bus 404.
[0142] A number of components in the device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the device 400 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0143] The computing unit 401 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 401 include, but are not limited to, a CPU (Central Processing Unit), a GPU (Graphic Processing Units), various dedicated AI (Artificial Intelligence) computing chips, various computing units running machine learning model algorithms, a DSP (Digital Signal Processor), and any appropriate processor, controller, microcontroller, etc. The computing unit 401 performs the various methods and processes described above, such as a control method for a vehicle. For example, in some embodiments, the control method for a vehicle may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 408. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded into the RAM 403 and executed by the computing unit 401, one or more steps of the method described above may be performed. Alternatively, in other embodiments, the computing unit 401 may be configured to execute the aforementioned vehicle control method in any other appropriate manner (eg, by means of firmware).
[0144] Various embodiments of the systems and techniques described above herein may be implemented in digital electronic circuit systems, integrated circuit systems, FPGAs (Field Programmable Gate Arrays), ASICs (Application-Specific Integrated Circuits), ASSPs (Application Specific Standard Products), SOCs (System On Chips), CPLDs (Complex Programmable Logic Devices), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include: being implemented in one or more computer programs that may be executed and / or interpreted on a programmable system including at least one programmable processor that may be a dedicated or general-purpose programmable processor that may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0145] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0146] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. More specific examples of machine-readable storage media may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a RAM, a ROM, an EPROM (Electrically Programmable Read-Only-Memory) or a flash memory, an optical fiber, a CD-ROM (Compact Dis sc Read-Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0147] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (Cathode-Ray Tube) or LCD (Liquid Crystal Display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0148] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: LAN (Local Area Network), WAN (Wide Area Network), the Internet, and blockchain networks.
[0149] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.
[0150] It should be noted that artificial intelligence is a discipline that studies how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, planning, etc.), and includes both hardware-level and software-level technologies. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, as well as machine learning / deep learning, big data processing technology, knowledge graph technology, and other major directions.
[0151] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0152] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A vehicle control method, characterized in that: include: Acquire an image to be detected of a detection target in the vehicle, and identify the behavior in the image to be detected to obtain a behavior recognition result; Collecting the speech to be detected in the vehicle, and performing semantic recognition on the speech to be detected to obtain a semantic recognition result; Judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result; If it is determined that there is a danger, the control starts the emergency strategy so that corresponding operations are performed according to the emergency strategy.
2. The method according to claim 1, characterized in that The step of acquiring an image to be detected of a detection target in the vehicle and identifying a behavior in the image to be detected to obtain a behavior recognition result includes: The preset image processing function is called to respectively recognize the facial features and hand gestures in the image to be detected, and obtain recognition results of the facial features and hand gestures.
3. The method according to claim 2, characterized in that The collecting of the to-be-detected speech in the vehicle and performing semantic recognition on the to-be-detected speech to obtain a semantic recognition result includes: A preset speech recognition function is called to perform semantic recognition on the speech to be detected to obtain the semantic recognition result.
4. The method according to claim 3, characterized in that The determining, based on the behavior recognition result and the semantic recognition result, whether the detection target is dangerous includes: Determining whether the detection target has dangerous behavior according to the recognition results of the facial features and hand gestures; If it is determined that the detection target has dangerous behavior, determining a first risk factor according to the credibility of the dangerous behavior; Determining whether the speech to be detected contains a preset dangerous word according to the result of the semantic recognition; If it is determined that the preset dangerous word exists in the speech to be detected, determining a second risk coefficient according to the credibility of the preset dangerous word; A total risk factor is obtained according to a product result of the first risk factor and a first weight, and a product result of the second risk factor and a second weight, and whether the detection target is dangerous is determined according to the total risk factor.
5. The method according to claim 4, characterized in that Determining whether the detection target is dangerous according to the total risk factor includes: Comparing the total risk factor with a preset risk threshold; If the total risk factor is greater than or equal to the preset risk threshold, it is determined that the detection target is dangerous; If the total risk factor is less than the preset risk threshold, it is determined that the detection target is not dangerous.
6. The method according to claim 5, characterized in that The control start-up emergency strategy includes: Calculating the difference between the total risk factor and the preset risk threshold, wherein the difference is positively correlated with the risk level; Based on the mapping relationship between the difference and the danger level, a target danger level is obtained; According to the mapping relationship between the target danger level and the emergency strategy, the target emergency strategy corresponding to the target danger level is initiated.
7. The method according to claim 1, characterized in that The control initiates the emergency strategy, including: Obtaining a current speed value of the vehicle, and determining a current state of the vehicle according to the current speed value; If the current state is a static state, controlling to start a first emergency strategy corresponding to the static state; If the current state is a driving state, control is performed to start a second emergency strategy corresponding to the driving state.
8. A vehicle control device, characterized in that: include: The first recognition unit is used to obtain a to-be-detected image of a detection target in the vehicle, and recognize a behavior in the to-be-detected image to obtain a behavior recognition result; A second recognition unit is used to collect the speech to be detected in the vehicle, and perform semantic recognition on the speech to be detected to obtain a semantic recognition result; A judgment unit, used for judging whether the detection target is dangerous according to the behavior recognition result and the semantic recognition result; The starting unit is used to control the starting of the emergency strategy when it is determined that there is a danger, so as to perform corresponding operations according to the emergency strategy.
9. A vehicle, characterized in that: The vehicle comprises the vehicle control device according to claim 8 .
10. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Monitoring method and device of state of driver, and terminal equipment
CN110001652A
Vehicle control method and device, vehicle and storage medium
CN111746635A
Bus danger coefficient evaluation method, algorithm box and system
CN113331841A
Driver coma processing method and device and readable storage medium
CN113561982A
Vehicle-mounted personnel dangerous event grade determination method, system, equipment and medium
CN115424246A
