CN113561908B - Control method and device of vehicle-mounted face recognition equipment - Google Patents

Control method and device of vehicle-mounted face recognition equipment Download PDF

Info

Publication number
CN113561908B
CN113561908B CN202110850305.1A CN202110850305A CN113561908B CN 113561908 B CN113561908 B CN 113561908B CN 202110850305 A CN202110850305 A CN 202110850305A CN 113561908 B CN113561908 B CN 113561908B
Authority
CN
China
Prior art keywords
vehicle
face recognition
angle
face
mounted face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110850305.1A
Other languages
Chinese (zh)
Other versions
CN113561908A (en
Inventor
王创良
胡宏喜
傅春宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chery New Energy Automobile Co Ltd
Original Assignee
Chery New Energy Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chery New Energy Automobile Co Ltd filed Critical Chery New Energy Automobile Co Ltd
Priority to CN202110850305.1A priority Critical patent/CN113561908B/en
Publication of CN113561908A publication Critical patent/CN113561908A/en
Application granted granted Critical
Publication of CN113561908B publication Critical patent/CN113561908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R11/00Arrangements for holding or mounting articles, not otherwise provided for
    • B60R11/04Mounting of cameras operative during drive; Arrangement of controls thereof relative to the vehicle
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R11/00Arrangements for holding or mounting articles, not otherwise provided for
    • B60R2011/0042Arrangements for holding or mounting articles, not otherwise provided for characterised by mounting means
    • B60R2011/008Adjustable or movable supports
    • B60R2011/0092Adjustable or movable supports with motorization
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Mechanical Engineering (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)

Abstract

The application discloses a control method and device of vehicle-mounted face recognition equipment, wherein the method comprises the following steps: acquiring an initial face image acquired by vehicle-mounted face recognition equipment, and recognizing the current face position of a driver according to the initial face image; matching the optimal acquisition angle of the vehicle-mounted face recognition camera according to the current face position; and controlling the vehicle-mounted face recognition camera to rotate to an optimal acquisition angle so as to acquire an optimal face image. Therefore, the problems that the angle of a camera used by a face recognition system in the related technology is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like are solved.

Description

Control method and device of vehicle-mounted face recognition equipment
Technical Field
The application relates to the technical field of intelligent control of automobiles, in particular to a control method and device of vehicle-mounted face recognition equipment.
Background
When the driving state of the driver is poor, such as fatigue driving, answering a call and the like, the driving safety is threatened, and traffic accidents are caused.
In the related art, a face recognition system is arranged in a vehicle to detect the driving state of a driver in the driving process, and when the driver is detected to have actions with hidden danger on driving safety, such as eye closing, yawning and the like, the driver is reminded, and driving safety is guaranteed. However, the camera angle used by the face recognition system in the related art is fixed, so that the face position of the user cannot be accurately recognized, the recognition accuracy is reduced, and the recognition reliability is affected.
Content of the application
The application provides a control method and device of vehicle-mounted face recognition equipment, which are used for solving the problems that the angle of a camera used by a face recognition system in the related art is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like.
An embodiment of a first aspect of the present application provides a control method of a vehicle-mounted face recognition device, including the following steps: acquiring an initial face image acquired by vehicle-mounted face recognition equipment, and recognizing the current face position of a driver according to the initial face image; matching the optimal acquisition angle of the vehicle-mounted face recognition camera according to the current face position; and controlling the vehicle-mounted face recognition camera to rotate to the optimal acquisition angle so as to acquire the optimal face image.
Optionally, in an embodiment of the present application, the controlling the on-vehicle face recognition camera to rotate to the optimal acquisition angle includes: detecting whether the optimal acquisition angle is larger than a maximum acquisition angle; when the angle is detected to be larger than the maximum acquisition angle, calculating the difference between the optimal acquisition angle and the current acquisition angle, and driving an angle execution assembly of the vehicle-mounted face recognition camera to execute a rotation action according to the difference.
Optionally, in an embodiment of the present application, the controlling the on-vehicle face recognition camera to rotate to the optimal acquisition angle further includes: and locking the angle execution assembly of the vehicle-mounted face recognition camera when the detection angle is smaller than or equal to the maximum acquisition angle.
Optionally, in one embodiment of the present application, before acquiring the initial face image acquired by the vehicle-mounted face recognition device, the method further includes: detecting an ignition switch signal of a vehicle; and when the ignition switch signal is detected, controlling the vehicle-mounted face recognition equipment to enter an angle adjustment mode.
Optionally, in an embodiment of the present application, after acquiring the initial face image acquired by the vehicle-mounted face recognition device, the method further includes: judging whether the face information of the driver exists in the initial face image; and if the face information does not exist, adjusting the vehicle-mounted face recognition equipment to acquire the initial face image from a plurality of preset acquisition angles until the face information exists in the face image.
An embodiment of a second aspect of the present application provides a control device for a vehicle-mounted face recognition device, including: the acquisition module is used for acquiring an initial face image acquired by the vehicle-mounted face recognition equipment and recognizing the current face position of the driver according to the initial face image; the matching module is used for matching the optimal acquisition angle of the vehicle-mounted face recognition camera according to the current face position; and the control module is used for controlling the vehicle-mounted face recognition camera to rotate to the optimal acquisition angle so as to acquire the optimal face image.
Optionally, in an embodiment of the present application, the control module is further configured to detect whether the optimal acquisition angle is greater than a maximum acquisition angle; when the angle is detected to be larger than the maximum acquisition angle, calculating the difference between the optimal acquisition angle and the current acquisition angle, and driving an angle execution assembly of the vehicle-mounted face recognition camera to execute a rotation action according to the difference.
Optionally, in an embodiment of the present application, the control module is further configured to lock the angle execution component of the vehicle-mounted face recognition camera when the maximum acquisition angle is detected to be less than or equal to the maximum acquisition angle.
An embodiment of a third aspect of the present application provides a vehicle, including: the control method of the vehicle-mounted face recognition device according to the above embodiment includes a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the control method of the vehicle-mounted face recognition device according to the above embodiment.
An embodiment of a fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the program is executed by a processor for implementing the control method of the in-vehicle face recognition device according to the above embodiment.
The optimal acquisition angle of the vehicle-mounted face recognition camera is matched according to the current face position of the driver, the vehicle-mounted face recognition camera is controlled to rotate to the optimal acquisition angle, the purpose of accurately adjusting the acquisition angle according to the face positions of different driving postures is achieved, the face acquisition angle is optimally matched with the current face position of the driver, the optimal detection effect is achieved, and the accuracy and reliability of face recognition are improved. Therefore, the technical problems that the angle of a camera used by a face recognition system in the related art is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like are solved.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a flowchart of a control method of a vehicle-mounted face recognition device according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a control system provided according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a control circuit according to an embodiment of the present application;
fig. 4 is a schematic diagram of control logic of a control method of a vehicle-mounted face recognition device according to an embodiment of the present application;
fig. 5 is an exemplary diagram of a control device of the vehicle-mounted face recognition apparatus according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present application.
Reference numerals illustrate:
100-acquisition module, 200-matching module, 300-control module, 601-memory, 602-processor and 603-communication interface.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present application and are not to be construed as limiting the present application.
Control methods and devices of the vehicle-mounted face recognition device according to the embodiments of the present application are described below with reference to the accompanying drawings. Aiming at the problems that driving safety is threatened and traffic accidents are caused when a driver is in a poor driving state, such as fatigue driving, answering a call and the like, which are mentioned in the background center, the application provides a control method of vehicle-mounted face recognition equipment. Therefore, the technical problems that in the related technology, the angle of a camera used by a face recognition system is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like are solved.
Specifically, fig. 1 is a flowchart of a control method of a vehicle-mounted face recognition device according to an embodiment of the present application.
As shown in fig. 1, the control method of the vehicle-mounted face recognition device includes the following steps:
in step S101, an initial face image acquired by the vehicle-mounted face recognition device is acquired, and a current face position of the driver is recognized according to the initial face image.
After the driver gets on the vehicle and adjusts the seat and starts the vehicle, the initial face image is acquired through the vehicle-mounted face recognition device, and the current face position of the driver is recognized according to the initial face image. The vehicle-mounted face recognition device can be a camera or the like which is arranged in the existing vehicle or in front of a driver, and after initial face images are collected, the initial face images can be detected by using a deep learning technology such as a face detection model and the like to determine the current face position of the driver.
As a possible implementation manner, the positions of eyes, nose and mouth may be detected by the object detection model, so as to determine the current face position of the driver in the initial face image. The target detection model may be obtained by training the deep neural network through training data, and the training data may be obtained from network data, which is not specifically limited.
Optionally, in one embodiment of the present application, before acquiring the initial face image acquired by the vehicle-mounted face recognition device, the method further includes: detecting an ignition switch signal of a vehicle; and when the ignition switch signal is detected, controlling the vehicle-mounted face recognition equipment to enter an angle adjustment mode.
Before the initial face image of the driver is collected, whether the vehicle is started or not is detected first, and after the vehicle is started, the face image of the driver is collected. As a possible implementation manner, the embodiment of the application detects an ignition switch signal of a vehicle, and when detecting the ignition switch signal of the vehicle, controls the vehicle-mounted face recognition device to enter an angle adjustment mode, and collects a face image of a driver.
Alternatively, the embodiment of the present application may further determine whether the vehicle is started by other manners, such as detecting whether the vehicle-mounted display screen is on, etc., and those skilled in the art may set the determination according to the actual situation, which is not limited specifically.
Optionally, in one embodiment of the present application, after acquiring the initial face image acquired by the vehicle-mounted face recognition device, the method further includes: judging whether the face information of the driver exists in the initial face image; and if the face information does not exist, adjusting the vehicle-mounted face recognition equipment to acquire initial face images from a plurality of preset acquisition angles until the face information exists in the face images.
When the initial face image has the face information of the driver, the current face position of the driver is identified according to the initial face image, and if the face information of the driver does not exist in the initial face image acquired by the vehicle-mounted face recognition equipment, the current face position of the driver cannot be determined. At this time, the embodiment of the application can adjust the angle of the vehicle-mounted face recognition device, and acquire initial face images from a plurality of angles until face information exists in the face images. The angle of adjustment of the vehicle-mounted face recognition device can be preset, for example, the vehicle-mounted face recognition device can be collected once every 2 degrees of up-down adjustment or left-right adjustment, and the vehicle-mounted face recognition device is not particularly limited.
In step S102, the optimal acquisition angle of the vehicle-mounted face recognition camera is matched according to the current face position.
In order to achieve the best effect of collecting the current state of the driver, the best collection angle of the vehicle-mounted face recognition camera can be determined according to the current face position of the driver, so that the best detection effect is achieved, and the accuracy of subsequently analyzing the state of the driver is improved. In the embodiment of the application, a relation correspondence table of the face position and the optimal acquisition angle can be pre-established, and the optimal acquisition angle is directly determined according to the recognized current face position. Or the optimal angle determining model is established in advance by a machine learning method, the model is trained by training data, the input of the trained model is the current face position, and the output is the optimal acquisition angle.
In step S103, the vehicle-mounted face recognition camera is controlled to rotate to the optimal acquisition angle to acquire the optimal face image.
After the optimal acquisition angle corresponding to the current face position of the driver is matched, the vehicle-mounted face recognition camera is adjusted according to the optimal angle, for example, the vehicle-mounted face recognition camera is rotated to the optimal angle, so that the vehicle-mounted face recognition camera is rotated to the optimal acquisition position. Therefore, the intelligent driving system can adapt to crowds with different heights and different driving habits, the face position of the driver is always at the optimal angle position required by the face recognition system, the driving state of the driver is more accurately and effectively detected, and the safety is improved.
Optionally, in an embodiment of the present application, controlling the vehicle-mounted face recognition camera to rotate to the optimal acquisition angle includes: detecting whether the optimal acquisition angle is larger than the maximum acquisition angle; when the angle is detected to be larger than the maximum acquisition angle, calculating the difference between the optimal acquisition angle and the current acquisition angle, and driving the angle execution assembly of the vehicle-mounted face recognition camera to execute the rotation action according to the difference.
It can be understood that the camera can collect an image with a certain angle range when in a certain position, and judge whether the optimal collection angle corresponding to the current face position of the driver is in the collection angle range of the current position of the vehicle-mounted face recognition camera, if the optimal collection angle is larger than the maximum collection angle, that is, the current position of the vehicle-mounted face recognition camera can not collect the image with the optimal collection angle, the collection angle of the vehicle-mounted face recognition camera is adjusted so as to collect the face image of the driver through the optimal collection angle. As a possible implementation manner, when the optimal acquisition angle is greater than the maximum acquisition angle, the embodiment of the application drives the angle execution component of the vehicle-mounted face recognition camera to execute the rotation action through the difference value between the optimal acquisition angle and the current acquisition angle.
Optionally, in an embodiment of the present application, controlling the vehicle-mounted face recognition camera to rotate to the optimal acquisition angle further includes: and when the detection angle is smaller than or equal to the maximum acquisition angle, locking the angle execution assembly of the vehicle-mounted face recognition camera.
On the basis of the above embodiment, if the optimal acquisition angle is smaller than or equal to the maximum acquisition angle, that is, the acquisition range of the current position of the vehicle-mounted face recognition camera can acquire the current face position of the driver with the optimal angle, at this time, the embodiment of the application can not adjust the angle of the vehicle-mounted face recognition camera and lock the angle execution assembly of the vehicle-mounted face recognition camera so as to fix the acquisition angle of the vehicle-mounted face recognition camera.
In order to implement the control method of the vehicle-mounted face recognition device of the above embodiment, the present application is described by way of a specific embodiment.
As shown in fig. 2 and 3, the control system of the embodiment of the present application includes a vehicle-mounted face recognition camera, a judging unit and an executing unit. The vehicle-mounted face recognition camera is used for collecting the current face position of the driver and outputting a face position signal. The judging unit can be a face recognition controller and is used for calculating and processing a face position signal, converting the face position signal into an angle signal, comparing the angle signal with a set angle of a face recognition system, judging whether angle adjustment is needed or not, and sending an adjustment signal. The execution unit can be an angle executor and is used for receiving the adjusting signal of the judging unit and rotating the vehicle-mounted face recognition camera so as to achieve the best detection effect. As shown in fig. 3, the control of the embodiment of the present application further includes an ignition switch, that is, a whole vehicle start switch, which can ensure that the system starts to operate only when the driver is about to drive, when the ignition switch is turned off, that is, the whole vehicle is not started, the whole system does not operate, and when the ignition switch is turned on, the system starts to operate.
The power source shown in fig. 3 may be a 12V power source, which may be from a vehicle battery, for powering the control circuitry. The system fully utilizes the existing resources, can be upgraded on the basis of the existing face recognition system, and is controlled by a serial control system, so that the cost is reduced.
As a specific implementation manner, the embodiment of the application firstly detects face information and processes the information to send out a face position signal, judges whether a control system needs to be turned on according to the face position signal, if the detected face position angle exceeds the set angle of the face recognition system, the relay is turned on, the face recognition controller sends out a signal, the angle executor rotates the camera to ensure that the face position angle is within the set angle so as to achieve the best detection effect, and if the face position angle is within the set angle range, the control unit sends out an instruction to turn off the relay, and the whole system does not work.
In the actual execution process, the face recognition camera detects to work all the time, if the automobile is powered off, the ignition switch is not closed, the automobile is in a locking state, the whole circuit is not communicated, and the control system is not operated; if the automobile is in an electrified state, the ignition switch is closed, the circuit is switched on to start working, and the system detects a human face position signal to control the whole system.
As shown in fig. 4, a specific control method of the vehicle-mounted face recognition device includes the following steps:
s201, it is determined whether the vehicle is started, if the vehicle is not started, S201 is executed, and if the vehicle is started, S203 is executed.
In the starting state of the vehicle, the system works and collects the face information of the driver.
S202, the system does not work, and the vehicle-mounted face recognition camera is fixed.
When the vehicle is not started, the acquisition angle of the vehicle-mounted face recognition camera is not required to be adjusted.
S203, the vehicle-mounted face recognition camera works.
S204, detecting the face position angle.
After the vehicle is started, the current face position of the driver is acquired through the vehicle-mounted face recognition camera, and the optimal acquisition angle corresponding to the current face position is recognized. The specific collecting and identifying method may be the method described in the above embodiment, and will not be described in detail.
S205, judging whether the face position angle exceeds the maximum acquisition angle set by the vehicle-mounted face recognition camera, if not, executing S206, and if so, executing S207.
The vehicle-mounted face recognition camera has a certain acquisition range, when the face position angle exceeds the set value of the vehicle-mounted face recognition camera, the current vehicle-mounted face recognition camera cannot acquire the optimal image of the driver, the acquisition angle of the vehicle-mounted face recognition camera needs to be adjusted, S207 is executed, if the acquisition angle of the vehicle-mounted face recognition camera does not exceed the acquisition angle of the vehicle-mounted face recognition camera, the acquisition angle of the vehicle-mounted face recognition camera does not need to be adjusted, and S206 is executed.
S206, the system does not work, and the vehicle-mounted face recognition camera is fixed.
S207, the angle actuator works.
S208, rotating the vehicle-mounted face recognition camera to meet the angle requirement.
According to the embodiment of the application, the collection angle of the vehicle-mounted face recognition camera is adjusted through the angle actuator, the adjustment signal is obtained according to the detected collection angle and the current collection angle of the vehicle-mounted face recognition camera, the vehicle-mounted face recognition camera is adjusted to the optimal position according to the adjustment signal, and the requirement of the collection angle is met.
Referring to fig. 3 and fig. 4, the face recognition camera detects the face position, the signal is converted into a digital-to-analog conversion to a judging unit, the judging unit processes the signal and sends out the signal according to judging logic, the angle executor is controlled to work or not work, if the face position angle exceeds the set angle of the face recognition system, the judging unit sends out the signal, and the angle executor rotates the face recognition camera, so that the face position meets the camera angle requirement, and the optimal detection effect is achieved; if the face position angle is lower than the set value, the judging unit sends out a signal, the angle actuator does not work, and the face recognition camera position is unchanged. When the automobile is powered off, namely the ignition switch is not in a START state, namely the ignition switch does not receive a signal, the whole circuit is not connected, and the system does not work; the ignition switch receives a signal when in the START state.
According to the control method of the vehicle-mounted face recognition device, the optimal acquisition angle of the vehicle-mounted face recognition camera is matched according to the current face position of the driver, the vehicle-mounted face recognition camera is controlled to rotate to the optimal acquisition angle, the purpose of accurately adjusting the acquisition angle according to the face positions of different driving postures is achieved, the face acquisition angle is optimally matched with the current face position of the driver, the optimal detection effect is achieved, and the accuracy and reliability of face recognition are improved. Therefore, the technical problems that the angle of a camera used by a face recognition system in the related art is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like are solved.
Next, a control device of the vehicle-mounted face recognition device according to the embodiment of the present application will be described with reference to the accompanying drawings.
Fig. 5 is a block schematic diagram of a control device of the vehicle-mounted face recognition device according to the embodiment of the present application.
As shown in fig. 5, the control device 10 of the in-vehicle face recognition apparatus includes: an acquisition module 100, a matching module 200 and a control module 300.
The acquiring module 100 is configured to acquire an initial face image acquired by the vehicle-mounted face recognition device, and identify a current face position of the driver according to the initial face image. The matching module 200 is configured to match an optimal acquisition angle of the vehicle-mounted face recognition camera according to the current face position. The control module 300 is used for controlling the vehicle-mounted face recognition camera to rotate to an optimal acquisition angle so as to acquire an optimal face image.
Optionally, in an embodiment of the present application, the control module is further configured to detect whether the optimal acquisition angle is greater than the maximum acquisition angle; when the angle is detected to be larger than the maximum acquisition angle, calculating the difference between the optimal acquisition angle and the current acquisition angle, and driving the angle execution assembly of the vehicle-mounted face recognition camera to execute the rotation action according to the difference.
Optionally, in an embodiment of the present application, the control module is further configured to lock the angle execution component of the on-vehicle face recognition camera when the detected maximum acquisition angle is less than or equal to the maximum acquisition angle.
Optionally, in an embodiment of the present application, the control device 10 of the vehicle-mounted face recognition device further includes: the detection module is used for detecting ignition switch signals of the vehicle before the initial face image acquired by the vehicle-mounted face recognition equipment is acquired; and when the ignition switch signal is detected, controlling the vehicle-mounted face recognition equipment to enter an angle adjustment mode.
Optionally, in an embodiment of the present application, the control device of the vehicle-mounted face recognition device further includes: the adjusting module is used for judging whether the face information of the driver exists in the initial face image after the initial face image acquired by the vehicle-mounted face recognition device is acquired; and if the face information does not exist, adjusting the vehicle-mounted face recognition equipment to acquire initial face images from a plurality of preset acquisition angles until the face information exists in the face images.
It should be noted that the foregoing explanation of the embodiment of the control method of the vehicle-mounted face recognition device is also applicable to the control device of the vehicle-mounted face recognition device of the embodiment, and will not be repeated herein.
According to the control device of the vehicle-mounted face recognition device, the optimal acquisition angle of the vehicle-mounted face recognition camera is matched according to the current face position of the driver, the vehicle-mounted face recognition camera is controlled to rotate to the optimal acquisition angle, the purpose of accurately adjusting the acquisition angle according to the face positions of different driving postures is achieved, the face acquisition angle is optimally matched with the current face position of the driver, the optimal detection effect is achieved, and the accuracy and reliability of face recognition are improved. Therefore, the technical problems that the angle of a camera used by a face recognition system in the related art is fixed, the face position of a user cannot be accurately recognized, the recognition accuracy is reduced, the recognition reliability is affected and the like are solved.
Fig. 6 is a schematic structural diagram of a vehicle according to an embodiment of the present application. The vehicle may include:
a memory 601, a processor 602, and a computer program stored on the memory 601 and executable on the processor 602.
The processor 602 implements the control method of the in-vehicle face recognition device provided in the above embodiment when executing the program.
Further, the vehicle further includes:
a communication interface 603 for communication between the memory 601 and the processor 602.
A memory 601 for storing a computer program executable on the processor 602.
The memory 601 may comprise a high-speed RAM memory or may further comprise a non-volatile memory (non-volatile memory), such as at least one disk memory.
If the memory 601, the processor 602, and the communication interface 603 are implemented independently, the communication interface 603, the memory 601, and the processor 602 may be connected to each other through a bus and perform communication with each other. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (Peripheral Component, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 601, the processor 602, and the communication interface 603 are integrated on a chip, the memory 601, the processor 602, and the communication interface 603 may perform communication with each other through internal interfaces.
The processor 602 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or one or more integrated circuits configured to implement embodiments of the present application.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor implements the control method of the in-vehicle face recognition device as above.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or N embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "N" is at least two, such as two, three, etc., unless explicitly defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more N executable instructions for implementing specific logical functions or steps of the process, and further implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the N steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.

Claims (4)

1. The control method of the vehicle-mounted face recognition device is characterized by comprising the following steps of:
acquiring an initial face image acquired by vehicle-mounted face recognition equipment, and recognizing the current face position of a driver according to the initial face image;
matching the optimal acquisition angle of the vehicle-mounted face recognition device according to the current face position; and
controlling the vehicle-mounted face recognition equipment to rotate to the optimal acquisition angle so as to acquire an optimal face image;
the controlling the on-vehicle face recognition device to rotate to the optimal acquisition angle includes:
detecting whether the optimal acquisition angle is larger than a maximum acquisition angle;
when the angle is detected to be larger than the maximum acquisition angle, calculating a difference value between the optimal acquisition angle and the current acquisition angle, and driving an angle execution assembly of the vehicle-mounted face recognition device to execute a rotation action according to the difference value;
the controlling the vehicle-mounted face recognition device to rotate to the optimal acquisition angle further comprises:
when the detection is smaller than or equal to the maximum acquisition angle, locking an angle execution component of the vehicle-mounted face recognition device;
before the initial face image acquired by the vehicle-mounted face recognition device is acquired, the method further comprises the following steps:
detecting an ignition switch signal of a vehicle;
when the ignition switch signal is detected, controlling the vehicle-mounted face recognition equipment to enter an angle adjustment mode;
after the initial face image acquired by the vehicle-mounted face recognition device is acquired, the method further comprises the following steps:
judging whether the face information of the driver exists in the initial face image;
and if the face information does not exist, adjusting the vehicle-mounted face recognition equipment to acquire the initial face image from a plurality of preset acquisition angles until the face information exists in the face image.
2. A control device of a vehicle-mounted face recognition device, characterized by comprising:
the acquisition module is used for acquiring an initial face image acquired by the vehicle-mounted face recognition equipment and recognizing the current face position of the driver according to the initial face image;
the matching module is used for matching the optimal acquisition angle of the vehicle-mounted face recognition device according to the current face position; and
the control module is used for controlling the vehicle-mounted face recognition equipment to rotate to the optimal acquisition angle so as to acquire an optimal face image;
the control module is further used for detecting whether the optimal acquisition angle is larger than a maximum acquisition angle; when the angle is detected to be larger than the maximum acquisition angle, calculating a difference value between the optimal acquisition angle and the current acquisition angle, and driving an angle execution assembly of the vehicle-mounted face recognition device to execute a rotation action according to the difference value;
the control module is further used for locking the angle execution component of the vehicle-mounted face recognition device when the detection is smaller than or equal to the maximum acquisition angle;
the control device of the vehicle-mounted face recognition device further comprises: the detection module is used for detecting an ignition switch signal of the vehicle; when the ignition switch signal is detected, controlling the vehicle-mounted face recognition equipment to enter an angle adjustment mode;
the control device of the vehicle-mounted face recognition device further comprises: the adjusting module is used for judging whether the face information of the driver exists in the initial face image after the initial face image acquired by the vehicle-mounted face recognition device is acquired; and if the face information does not exist, adjusting the vehicle-mounted face recognition equipment to acquire the initial face image from a plurality of preset acquisition angles until the face information exists in the face image.
3. A vehicle, characterized by comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor executing the program to implement the control method of the in-vehicle face recognition device according to claim 1.
4. A computer-readable storage medium having stored thereon a computer program, characterized in that the program is executed by a processor for realizing the control method of the in-vehicle face recognition device according to claim 1.
CN202110850305.1A 2021-07-27 2021-07-27 Control method and device of vehicle-mounted face recognition equipment Active CN113561908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110850305.1A CN113561908B (en) 2021-07-27 2021-07-27 Control method and device of vehicle-mounted face recognition equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110850305.1A CN113561908B (en) 2021-07-27 2021-07-27 Control method and device of vehicle-mounted face recognition equipment

Publications (2)

Publication Number Publication Date
CN113561908A CN113561908A (en) 2021-10-29
CN113561908B true CN113561908B (en) 2023-06-23

Family

ID=78167881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110850305.1A Active CN113561908B (en) 2021-07-27 2021-07-27 Control method and device of vehicle-mounted face recognition equipment

Country Status (1)

Country Link
CN (1) CN113561908B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114189612B (en) * 2021-11-18 2023-08-11 深圳市锐明技术股份有限公司 Camera installation angle determining method and device and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109543633A (en) * 2018-11-29 2019-03-29 上海钛米机器人科技有限公司 A kind of face identification method, device, robot and storage medium
CN110188645A (en) * 2019-05-22 2019-08-30 北京百度网讯科技有限公司 For the method for detecting human face of vehicle-mounted scene, device, vehicle and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6537385B2 (en) * 2015-07-17 2019-07-03 日立オートモティブシステムズ株式会社 In-vehicle environment recognition device
CN108769514A (en) * 2018-05-17 2018-11-06 Oppo广东移动通信有限公司 Camera control method, device, electronic device and storage medium
CN110460772B (en) * 2019-08-14 2021-03-09 广州织点智能科技有限公司 Camera automatic adjustment method, device, equipment and storage medium
CN110738142B (en) * 2019-09-26 2022-12-20 广州广电卓识智能科技有限公司 Method, system and storage medium for adaptively improving face image acquisition
CN111787225A (en) * 2020-07-17 2020-10-16 珠海格力电器股份有限公司 Photographing method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109543633A (en) * 2018-11-29 2019-03-29 上海钛米机器人科技有限公司 A kind of face identification method, device, robot and storage medium
CN110188645A (en) * 2019-05-22 2019-08-30 北京百度网讯科技有限公司 For the method for detecting human face of vehicle-mounted scene, device, vehicle and storage medium

Also Published As

Publication number Publication date
CN113561908A (en) 2021-10-29

Similar Documents

Publication Publication Date Title
CN110858295B (en) Traffic police gesture recognition method and device, vehicle control unit and storage medium
CN107323459B (en) Method for identifying driver intention identifying sensor device
US9888875B2 (en) Driver monitoring apparatus
CN113561908B (en) Control method and device of vehicle-mounted face recognition equipment
CN111204219B (en) Vehicle display device, vehicle display method, and storage medium
EP4245609A1 (en) Rear-view mirror control method and related device
CN109204075A (en) Driving seat automatic adjustment system based on face and weight model algorithm
CN115424598A (en) Display screen brightness adjusting method and device and storage medium
CN112660048A (en) Multi-screen power supply management method, device and system based on image recognition and automobile
US10272838B1 (en) Reducing lane departure warning false alarms
CN111277956A (en) Method and device for collecting vehicle blind area information
JP3036319B2 (en) Driver status monitoring device
JP5902051B2 (en) Image monitoring apparatus, vehicle, program, and failure determination method
JP2022143854A (en) Occupant state determination device and occupant state determination method
CN112036309A (en) Vehicle driving guiding method, device, medium and vehicle-mounted terminal
CN111439270A (en) Fatigue driving state detection method, device, computer equipment and storage medium
CN217477206U (en) Vehicle-mounted monitoring device and vehicle
CN110171427B (en) Sight tracking method, device and system
CN117549846A (en) Vehicle-mounted screen self-adaptive adjustment method and device, vehicle and storage medium
CN116461427A (en) Lens adjusting method and device for automobile side view mirror, vehicle and storage medium
CN106240498A (en) A kind of improve the method for travel safety, device and vehicle
CN116788203A (en) External rearview mirror heating method and device based on image recognition and vehicle
CN117944584A (en) Angle adjustment method and device for vehicle screen, vehicle and storage medium
CN115782516A (en) Control method and device of in-vehicle air conditioner, vehicle and storage medium
CN114821550A (en) Fatigue monitoring method, system, computer and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant