Facial recognition-based driving style switching method, vehicle and related device
Through facial recognition technology, the passenger's facial expressions are recognized and evaluated, and the vehicle's driving style is automatically switched, which solves the problem of poor passenger ride experience in the existing technology, and realizes intelligent driving assistance functions.
Patent Information
- Application Number
- CN202510111217.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-09
AI Technical Summary
In the prior art, whether it is an autonomous vehicle or a traditional non-autonomous vehicle, it cannot meet the needs of passengers in terms of passenger riding experience, and cannot achieve intelligent switching of driving style.
The driving style switching method based on facial recognition is adopted, and the facial expressions of passengers in the car are recognized, sliced and scored to determine whether to switch the current driving style. The method includes a facial expression recognition device, a slice processing model, a facial expression scoring mechanism and a driving style switching judgment module.
Real-time recognition of passengers' emotional changes, automatic switching of driving styles, improve passengers' riding experience and satisfaction, and enhance the intelligence level of the driving system.
Smart Images

Figure CN119953379A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of vehicle driving technology, and in particular relates to a driving style switching method based on facial recognition, a vehicle and related devices. Background Art
[0002] With the continuous development of technology, vehicle control and riding experience have become the technical focus of current automobile companies to enhance the competitiveness of brand vehicles; in the process of classifying vehicle types, according to the current track of technological development, vehicles can be divided into two categories, one is autonomous driving vehicles, and the other is traditional non-autonomous driving vehicles.
[0003] However, whether it is an autonomous driving vehicle or a non-autonomous driving vehicle, the riding experience of the vehicle depends on the control of the vehicle. In terms of the control of autonomous driving vehicles, the driving style of the vehicle is basically realized through the vehicle computer system, but the current vehicle computer system mainly tends to expand the vehicle's navigation and entertainment equipment. As for the vehicle's driving style and switching the vehicle's driving style by judging the passenger's facial expressions, there is still a technical gap at this stage and it cannot meet the passenger's riding experience; similarly, for non-autonomous autonomous driving vehicles, the passenger's riding experience depends more on the driver's mood rather than the passenger's own needs. In this way, whether it is an autonomous driving vehicle or a traditional non-autonomous driving vehicle, it cannot meet the passenger's needs and improve the passenger's riding experience. Summary of the invention
[0004] The purpose of the present invention is to provide a driving style switching method, vehicle and related devices based on facial recognition, so as to solve the technical defects in the prior art that both autonomous driving vehicles and traditional non-autonomous driving vehicles cannot meet the needs of passengers in terms of passenger riding experience and improve the passenger riding experience.
[0005] In order to achieve the above object, the present invention adopts the following technical solutions: In a first aspect, a driving style switching method based on facial recognition is provided, comprising: Recognize the facial expressions of passengers in the car; According to preset requirements, the identified facial expressions are sliced and the facial expression with the longest time proportion in the slice is taken as the processing result; Constructing a facial expression scoring mechanism to calculate the scoring value of the processing result; A driving style switching value is preset, the scoring value is compared with the switching value, and the comparison result is used to determine whether to switch the current driving style.
[0006] Furthermore, the recognition of facial expressions of passengers in the vehicle specifically includes: Based on the data set, train the facial expression recognition algorithm; A certain number of facial expression recognition devices are arranged inside the vehicle, and the facial expression recognition algorithm is built into the facial expression recognition devices; When passengers board the vehicle, the facial expression recognition device recognizes the number of passengers in the vehicle and the facial expressions of all passengers in the vehicle.
[0007] Furthermore, the facial expression recognition device is a camera, a visual sensor, an infrared sensor or a biosensor.
[0008] Furthermore, before the facial expressions of all the passengers are recognized, the facial expression recognition device is arranged at a position in the vehicle opposite to the seats.
[0009] Furthermore, the preset requirements specifically include: Recognize the facial expressions of all passengers in the vehicle within five minutes of driving; Among the facial expressions, the facial expressions of the passenger when not observing the driving performance of the vehicle, such as lowering the head, talking, watching electronic devices, etc., are eliminated, and the facial expressions after elimination are used as a benchmark for constructing a facial expression scoring mechanism.
[0010] Further, the identified facial expression is sliced and the facial expression with the longest time proportion in the slice is taken as the processing result, which specifically includes: The facial expressions are sliced into five-second units, and the facial expression with the longest duration in the segment is taken as the processing result; The processing result is matched with the facial expression recognition result of the passengers in the car.
[0011] Furthermore, the facial expression scoring mechanism is constructed to calculate the scoring value of the processing result, specifically including: Set different score values for the facial expressions of passengers in the car according to different recognition results; Calculate the total score of all valid clip processing results for a passenger in the car and divide it by the total number of clips to get the average score of the passenger's expression within five minutes; The average scores of all passengers in the car are calculated, and the sum of the average scores is divided by the number of passengers in the car to obtain a total score, and the total score is used as the score value of the processing result.
[0012] Furthermore, it also includes: If it is determined to switch the current driving style, the facial expression of the passenger in the vehicle is recognized again after the current driving style is switched, and the score value is compared with the switching value through the constructed facial expression scoring mechanism.
[0013] Furthermore, it also includes: At the end of the passenger's trip, the passenger is asked to rate the vehicle's driving style, and based on the rating, the facial expression recognition algorithm and the vehicle's driving style switching method are iterated.
[0014] In a second aspect, a vehicle is provided, including a vehicle body, wherein the vehicle body adopts the driving style switching method based on facial recognition as described above to switch the vehicle driving style.
[0015] In a third aspect, a driving style switching system based on facial recognition is provided, comprising: A recognition module for recognizing facial expressions of passengers in the car; a processing model for slicing the recognized facial expressions; Building modules for constructing facial expression scoring mechanisms; Calculation module, used for scoring the technical processing results; Preset module, used to preset driving style switching values; A comparison module, used to compare the rating value with the switch value; The judgment module is used to judge whether to switch the current driving style.
[0016] In a fourth aspect, a mobile terminal is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the driving style switching method based on facial recognition as described above are implemented.
[0017] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the driving style switching method based on facial recognition as described above are implemented.
[0018] In a sixth aspect, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to perform operations corresponding to the driving style switching method based on facial recognition as described above.
[0019] Compared with the prior art, the present invention has the following beneficial effects: 1. By real-time recognition of the facial expressions of passengers in the car, the emotional changes of passengers can be captured, so that the driving style of the vehicle can be automatically switched in time, thereby improving the riding experience of passengers and improving passenger satisfaction; at the same time, this method combines facial recognition technology with driving style switching to realize intelligent driving assistance functions, which not only improves the degree of driving automation, but also enhances the intelligence level of the driving system.
[0020] 2. The facial expression recognition device can accurately identify the facial expressions of passengers in the car, thereby judging the emotional state of the passengers in the car and switching the driving style in time to improve the passengers' riding experience.
[0021] 3. By selecting different types of recognition devices, the facial expressions of passengers can be accurately identified in a specific recognition environment, thereby improving the precision and accuracy of facial expression recognition.
[0022] 4. When the facial expression recognition device is located directly opposite the seat, it can capture the passenger's facial features at the best viewing angle, thereby improving the accuracy of facial expression recognition.
[0023] 5. Complete recognition of all passengers’ facial expressions within five minutes of driving, ensuring that a large amount of valid facial expression data can be obtained in a short period of time, providing a solid foundation for subsequent analysis and processing; at the same time, by eliminating expressions of passengers that are not observing the driving performance of the vehicle, such as lowering their heads, talking, and watching electronic devices, it is possible to focus on facial expressions directly related to driving safety and passenger emotions, thereby improving the accuracy and relevance of the data.
[0024] 6. Facial expressions change dynamically. Through slicing processing, we can capture the changing characteristics of facial expressions in a short period of time. Taking the facial expression with the longest time as the processing result helps to reduce misjudgments caused by short-term changes in facial expressions and improve the accuracy of data processing.
[0025] 7. By setting facial expressions to different score values, a quantitative evaluation of facial expressions is achieved, making the evaluation results more objective and accurate, and reducing the errors caused by subjective judgment. The average score of the passenger's expression within five minutes and the total score of all passengers in the car are calculated, taking into account the time factor and individual differences of passengers, making the evaluation results more comprehensive and reliable.
[0026] 8. After the driving style is switched, the passenger's facial expression is immediately recognized, which can quickly capture the passenger's immediate reaction to the new driving style. This instant feedback helps to make timely adjustments to better meet the needs and expectations of the passengers.
[0027] 9. Passenger ratings provide direct feedback on the acceptance of driving style. Using this feedback data, the facial expression recognition algorithm can be iteratively optimized to enable it to more accurately identify the emotional state of passengers, thereby adjusting the driving style more precisely. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention 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 creative work.
[0029] Figure 1 A flow chart of a driving style switching method based on facial recognition provided by the present invention; Figure 2 A schematic diagram of a first installation viewing angle of a facial expression recognition device in the driving style switching method based on facial recognition provided by the present invention; Figure 3 A schematic diagram of a second installation viewing angle of a facial expression recognition device in the driving style switching method based on facial recognition provided by the present invention; Figure 4 This is a schematic diagram of the driving style switching system based on facial recognition provided by the present invention.
[0030] Among them: 1. Inside the car; 2. Facial expression recognition device; 3. Passengers. DETAILED DESCRIPTION
[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0032] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0033] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0034] In the description of the embodiments of the present invention, it should be noted that if the terms "upper", "lower", "horizontal", "inner", etc. indicate an orientation or positional relationship based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of the invention is usually placed when in use, it is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.
[0035] In addition, if the term "horizontal" appears, it does not mean that the component is required to be absolutely horizontal, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", which does not mean that the structure must be completely horizontal, but can be slightly tilted.
[0036] In the description of the embodiments of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal connection of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0037] With the continuous development of technology, vehicle control and riding experience have become the technical focus of current automobile companies to enhance the competitiveness of brand vehicles; in the process of classifying vehicle types, according to the current track of technological development, vehicles can be divided into two categories, one is autonomous driving vehicles, and the other is traditional non-autonomous driving vehicles.
[0038] However, whether it is an autonomous driving vehicle or a non-autonomous driving vehicle, the riding experience of the vehicle depends on the control of the vehicle. In terms of the control of autonomous driving vehicles, the driving style of the vehicle is basically realized through the vehicle computer system, but the current vehicle computer system mainly tends to expand the vehicle's navigation and entertainment equipment. As for the vehicle's driving style and switching the vehicle's driving style by judging the passenger's facial expressions, there is still a technical gap at this stage and it cannot meet the passenger's riding experience; similarly, for non-autonomous autonomous driving vehicles, the passenger's riding experience depends more on the driver's mood rather than the passenger's own needs. In this way, whether it is an autonomous driving vehicle or a traditional non-autonomous driving vehicle, it cannot meet the passenger's needs and improve the passenger's riding experience.
[0039] In order to solve the above technical defects, the inventor provides a driving style switching method based on facial recognition, a vehicle and related devices.
[0040] The present invention is further described in detail below in conjunction with the accompanying drawings: In a first aspect, an embodiment of the present invention provides a driving style switching method based on facial recognition, such as Figure 1 As shown, including: S101, recognize the facial expressions of passengers in the car; illustratively, before recognizing the facial expressions of all passengers in the car, a facial expression recognition device 2 is set in a position in the car 1 opposite to the seat. When passengers 3 board the vehicle, the facial expression recognition device 2 can recognize the number of passengers 3 in the car 1 and the facial expressions of all passengers 3 in the car 1. The recognized facial expressions include neutral, happy, sad, surprised, afraid, disgusted, angry and contemptuous. Figure 2 and Figure 3 As shown, in one embodiment, the number of facial expression recognition devices 2 is three, one of which is located on a hollow platform in the vehicle 1, and the other two are installed on the back of the front seat and perpendicular to the axis of the seat. The recognition ends of the three facial expression recognition devices 2 face the seat and can recognize the facial expression of the passenger 3 on the seat. Since the sitting posture of the passenger 3 is variable, the face of the passenger 3 cannot always face the recognition end of the expression recognition device 2. Therefore, in another embodiment, the number of facial recognition devices 2 is multiple (not shown in the figure); wherein one seat matches three facial expression recognition devices 2, specifically, a facial expression recognition device 2 is installed on the center console facing the co-pilot seat, and a facial expression recognition device 2 is installed on the opposite sides of the co-pilot seat, that is, at the height of the two sides of the passenger 3's head. In this way, whether the face of the passenger 3 is facing the facial expression recognition device 2 on the center console, or turned left or right, the facial expression recognition device 2 facing one side of the seat can collect and recognize the facial expression of the passenger 3. Similarly, each of the two seats in the back row of the vehicle 1 is also equipped with three facial expression recognition devices, of which two facial expression recognition devices 2 are installed on the backs of the two front seats; the other two facial expression recognition devices 2 are installed on the edges of the left and right window frames in the back row of the vehicle 1; and the last two facial expression recognition devices 2 are installed between the two back seats, with one recognition end facing left and the other recognition end facing right. Regardless of whether the heads of the passengers 3 in the two back seats are facing the front seats or turning left or right, facial expression information can be collected and recognized. It is worth noting that the facial expression recognition devices 2 installed on the edges of the left and right window frames are located in the vehicle 1, not installed on the windows, and will not be affected by the lifting of the windows.
[0041] In specific applications, the facial expression recognition device 2 can be a camera, a visual sensor, an infrared sensor or a biosensor. Among them, when a camera is selected as the facial expression recognition device 2, head tracking timing can be used to collect and recognize the facial expression information of the passenger 3 in real time; when a visual sensor is used as the facial expression recognition device 2, the visual sensor can capture and analyze the subtle expression changes of the face, so as to more accurately recognize the emotional state of the person; when an infrared sensor is used as the facial expression recognition device 2, the unique characteristics of the human body can be monitored by emitting and receiving infrared rays in dim light or at night; when a biosensor is used as the facial expression recognition device 2, the user's expression can be detected through slight movements of the face and eyes, and facial dynamics can be captured in real time without a camera, and can be recognized even when wearing a mask.
[0042] After the facial expression recognition device 2 is installed, a facial expression recognition algorithm is trained based on a data set, wherein the data set is an open source data set, such as an AffectNet data set, and the facial expression recognition algorithm may be an algorithm based on a SVM.
[0043] S102. According to preset requirements, the identified facial expressions are sliced and the facial expression with the longest time proportion in the slice is taken as the processing result; illustratively, the preset requirement is to identify the facial expressions of all passengers 3 in the vehicle 1 within five minutes of vehicle driving, and eliminate the facial expressions of the identified passengers 3, such as lowering the head, talking, and watching electronic devices when not observing the vehicle driving performance, and use the facial expressions after elimination as a benchmark for constructing a facial expression scoring mechanism, and the facial expressions after elimination are one of the identified facial expressions.
[0044] When someone is boarding the vehicle, the facial expression recognition device 2 can identify the number of passengers 3 within the required time, and record the expressions of all passengers 3 within a period of time within the required time interval, and finally filter out effective time segments of 210s and 180s respectively; then, the identified facial expression time segments are sliced in units of five seconds, and the facial expression with the longest time share in the segment is taken as the processing result, and finally the processing result is matched with the facial expression recognition result of passenger 3 in the car, that is, the processing result belongs to one of the identified facial expressions, and the processing result is one of neutral, happy, sad, surprised, afraid, disgusted, angry or contemptuous expressions.
[0045] S103, constructing a facial expression scoring mechanism, and calculating a scoring value of the processing result; illustratively, setting different scoring values for the facial expressions of the passenger 3 identified in step S01 according to different recognition results; specifically, assigning certain scores to neutral, happy, sad, surprised, afraid, disgusted, angry and contemptuous expressions, respectively, and the scores can be divided into 10 points, 8 points, 7 points, 5 points, 4 points, 3 points, 2 points and 1 point according to the order of expressions; then, calculating the total score of all valid segment processing results of a passenger 3 in the car, and dividing it by the total number of segments to obtain the average score of the passenger's expression within five minutes, for example, the total length of the valid segments is 210s, the total score is 189 points, and then divided by the total number of segments 42, that is, the average score of the passenger 3's expression within five minutes is 4.5 points.
[0046] Next, the average scores of all passengers 3 in the vehicle 1 are calculated, and the average scores are summed and divided by the number of passengers 3 in the vehicle 1 to obtain a total score, which is used as the score value of the processing result. For example, if there are two passengers 3 in the vehicle 1, the average scores of each passenger 3 are 4.5 and 5.8 points, and after summing, they are divided by the number of passengers 2, that is, divided by 2, and the final score of all passengers 3 in the vehicle is 5.15.
[0047] S104, preset a driving style switching value, compare the score value with the switching value, and use the comparison result to determine whether to switch the current driving style; illustratively, since there is no corresponding facial expression corresponding to 6 points in the assigned expression score, 6 points are preset as the driving style switching value, and the final score of 5.15 points in step S103 is combined for judgment; since 5.15 points is less than 6 points, it can be determined that all passengers 3 in the vehicle 1 are dissatisfied with the current driving style of the vehicle, and the vehicle needs to switch the current driving style. Specifically, in terms of vehicle driving style, the vehicle's driving style includes three types: conservative, normal and aggressive. When all passengers 3 in the vehicle are dissatisfied with the current driving style of the vehicle, the vehicle needs to switch the current driving style to normal.
[0048] When it is determined that the current driving style of the vehicle needs to be switched, after the driving style of the vehicle is switched, the facial expression of the passenger 3 in the vehicle 1 is recognized again, and the above steps S101~S104 are repeated; if it is determined that the current driving style of the vehicle does not need to be switched, steps S101~S104 are repeated every fifteen minutes.
[0049] Finally, at the end of the trip of passenger 3, passenger 3 is asked to rate the driving style of the vehicle. Based on the rating, the switching method of the facial expression recognition algorithm and the driving style of the vehicle is iterated to achieve self-optimization of the switching method.
[0050] To sum up, by real-time recognition of the facial expressions of passenger 3 in the car, the emotional changes of passenger 3 can be captured, so that the driving style of the vehicle can be automatically switched in time, thereby achieving the purpose of improving the riding experience of passenger 3 and improving the satisfaction of passenger 3; at the same time, the method combines facial recognition technology with driving style switching to realize intelligent driving assistance functions, which not only improves the degree of driving automation, but also enhances the intelligence level of the driving system.
[0051] On the second aspect, this embodiment provides a vehicle including a vehicle body, which is an autonomous driving vehicle or a non-autonomous driving vehicle, and the vehicle body adopts the driving style switching method based on facial recognition as described above to switch the vehicle's driving style; wherein the autonomous driving vehicle can be an unmanned taxi or unmanned bus in an operating mode, or it can be a private car in a non-operating mode.
[0052] In a third aspect, this embodiment provides a driving style switching system based on facial recognition, such as Figure 4 As shown, including: A recognition module for recognizing facial expressions of passengers in the car; a processing model for slicing the recognized facial expressions; Building modules for constructing facial expression scoring mechanisms; Calculation module, used for scoring the technical processing results; Preset module, used to preset driving style switching values; A comparison module, used to compare the rating value with the switch value; The judgment module is used to judge whether to switch the current driving style.
[0053] This system uses facial recognition technology in biometric technology and analyzes the facial expression information of passenger 3 to determine whether to switch the driving style of the vehicle, thereby improving the riding experience of passenger 3 without adding additional operations to passenger 3; and, by setting up a scoring link for driving style by passenger 3, the system iteratively optimizes the internal algorithm according to the scoring results, thereby achieving self-optimization of the entire system.
[0054] In a fourth aspect, a mobile terminal is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the driving style switching method based on facial recognition as described above are implemented.
[0055] In a fifth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the driving style switching method based on facial recognition as described above are implemented.
[0056] In a sixth aspect, a computer program product is provided, comprising computer instructions, wherein the computer instructions instruct a computing device to perform operations corresponding to the driving style switching method based on facial recognition as described above.
[0057] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit its protection scope. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the field should understand that after reading the present invention, those skilled in the art can still make various changes, modifications or equivalent substitutions to the specific implementation methods of the invention, but these changes, modifications or equivalent substitutions are all within the protection scope of the pending claims of the invention.
Claims
1. A driving style switching method based on facial recognition, characterized in that: include: Recognize the facial expressions of passengers in the car; According to preset requirements, the identified facial expressions are sliced and the facial expression with the longest time proportion in the slice is taken as the processing result; Constructing a facial expression scoring mechanism to calculate the scoring value of the processing result; A driving style switching value is preset, the scoring value is compared with the switching value, and the comparison result is used to determine whether to switch the current driving style.
2. The driving style switching method based on facial recognition according to claim 1, characterized in that: The recognition of facial expressions of passengers in the vehicle specifically includes: Based on the data set, train the facial expression recognition algorithm; A certain number of facial expression recognition devices are arranged inside the vehicle, and the facial expression recognition algorithm is built into the facial expression recognition devices; When passengers board the vehicle, the facial expression recognition device recognizes the number of passengers in the vehicle and the facial expressions of all passengers in the vehicle.
3. The driving style switching method based on facial recognition according to claim 2, characterized in that: The facial expression recognition device is a camera, a visual sensor, an infrared sensor or a biosensor.
4. The driving style switching method based on facial recognition according to claim 2, characterized in that: Before recognizing the facial expressions of all passengers, the facial expression recognition device is arranged at a position in the vehicle opposite to the seats.
5. The driving style switching method based on facial recognition according to claim 1, characterized in that: The preset requirements specifically include: Recognize the facial expressions of all passengers in the vehicle within five minutes of driving; Among the facial expressions, the facial expressions of the passenger when not observing the driving performance of the vehicle, such as lowering the head, talking, watching electronic devices, etc., are eliminated, and the facial expressions after elimination are used as a benchmark for constructing a facial expression scoring mechanism.
6. The driving style switching method based on facial recognition according to claim 1, characterized in that: The identified facial expression is sliced and the facial expression with the longest time in the slice is taken as the processing result, specifically including: The facial expressions are sliced into five-second units, and the facial expression with the longest duration in the segment is taken as the processing result; The processing result is matched with the facial expression recognition result of the passengers in the car.
7. The driving style switching method based on facial recognition according to claim 1, characterized in that: The step of constructing a facial expression scoring mechanism and calculating a scoring value of the processing result specifically includes: Set different score values for the facial expressions of passengers in the car according to different recognition results; Calculate the total score of all valid clip processing results for a passenger in the car and divide it by the total number of clips to get the average score of the passenger's expression within five minutes; The average scores of all passengers in the car are calculated, and the sum of the average scores is divided by the number of passengers in the car to obtain a total score, and the total score is used as the score value of the processing result.
8. The driving style switching method based on facial recognition according to claim 1, characterized in that: Also includes: If it is determined to switch the current driving style, the facial expression of the passenger in the vehicle is recognized again after the current driving style is switched, and the score value is compared with the switching value through the constructed facial expression scoring mechanism.
9. The driving style switching method based on facial recognition according to claim 1, characterized in that: Also includes: At the end of the passenger's trip, the passenger is asked to rate the vehicle's driving style, and based on the rating, the facial expression recognition algorithm and the vehicle's driving style switching method are iterated.
10. A vehicle, comprising a vehicle body, characterized in that: The vehicle body adopts the driving style switching method based on facial recognition as described in any one of claims 1-9 to switch the vehicle driving style.
11. A driving style switching system based on facial recognition, characterized in that: include: A recognition module for recognizing facial expressions of passengers in the car; a processing model for slicing the recognized facial expressions; Building modules for constructing facial expression scoring mechanisms; Calculation module, used for scoring the technical processing results; Preset module, used to preset driving style switching values; A comparison module, used to compare the rating value with the switch value; The judgment module is used to judge whether to switch the current driving style.
12. A mobile terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the driving style switching method based on facial recognition as described in any one of claims 1 to 9 are implemented.
13. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the driving style switching method based on facial recognition as claimed in any one of claims 1 to 9 are implemented.
14. A computer program product comprising computer instructions, characterized in that The computer instructions instruct the computing device to perform operations corresponding to the driving style switching method based on facial recognition as described in any one of claims 1-9.
Citation Information
Cited By
Adjusting method and device for vehicle energy recovery, electronic equipment and storage medium
CN121340931A
Driving style switching method based on facial recognition and apparatus
WO2026157355A1