Vehicle unlocking method, vehicle unlocking device and vehicle
By collecting image collections in the vehicle and using the neural network model to determine the unlocking intention, and combining the rearview mirror view to determine whether to unlock the vehicle, the problem of low vehicle safety when rear passengers leave the vehicle is solved, and the door unlocking is achieved under safe conditions. Improved user experience and security.
Patent Information
- Application Number
- CN202211240484.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-11
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-10-11
AI Technical Summary
In the scenario where rear passengers open the door and leave the vehicle, the safety of the vehicle is low. Existing technology cannot effectively solve the problem of safety accidents caused by rear passengers ignoring the cars coming from the side and rear when leaving the vehicle.
By collecting a collection of images of the interior space of the vehicle, the neural network model is used to determine whether the target object has the intention to unlock the door, and obtain the rearview mirror view of the vehicle within a preset time period to determine whether to control the unlocking of the door to ensure that the door is in a safe condition. Open below.
Image recognition technology is used to accurately identify the unlocking intentions of rear seat passengers and the safety of the surrounding environment, ensuring that the door is opened in a safe manner and improving vehicle safety when rear passengers leave the vehicle.
Smart Images

Figure CN115631553B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving, and in particular to a method for unlocking a vehicle, a device for unlocking a vehicle, and a vehicle. Background Art
[0002] With the continuous development of the economy, the number of vehicles is also increasing day by day, and traffic accidents have become a serious social problem. When the rear passengers leave the car, they are often very likely to ignore the vehicles coming from the rear and the side, thus causing unnecessary safety accidents. The current related technology will set a slot concave lens on the B-pillar of the vehicle to facilitate the rear passengers to observe the vehicles coming from the side and rear when they get off the car and open the door. However, this method still requires the passengers to open the door to observe, which may still cause damage to the vehicle and personnel. In addition, this method requires the rear passengers to turn their heads in advance to observe the vehicles coming from the side and rear when leaving the car, which will bring inconvenient user experience.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present invention provide a method for unlocking a vehicle, a device for unlocking a vehicle, and a vehicle, so as to at least solve the technical problem of low vehicle safety in the related art when a rear passenger opens the door and leaves the vehicle.
[0005] According to one aspect of an embodiment of the present invention, a method for unlocking a vehicle is provided, comprising: acquiring an image set in a vehicle interior space, wherein the image frames contained in the image set are used to characterize a motion trajectory of a target object in the vehicle interior space; judging whether the target object has an intention to unlock a target door based on the image set; in response to the target object having an intention to unlock, acquiring a plurality of rearview mirror views acquired from the vehicle within a preset time period, wherein the plurality of rearview mirror views are a plurality of images displayed in a rearview mirror of the vehicle; and determining whether to control the target door to unlock based on the plurality of rearview mirror views.
[0006] Optionally, judging whether the target object has the intention to unlock the target door based on the action trajectory image includes: using a neural network model to determine the target similarity between the image set and the unlocking image set, wherein the image frames contained in the unlocking image set are used to represent the action trajectory of the target object during the unlocking process; in response to the target similarity being greater than a preset similarity, determining that the target object has the intention to unlock the target door; in response to the target similarity being less than a preset similarity, determining that the target object does not have the intention to unlock the target door.
[0007] Optionally, the above method also includes: obtaining multiple sample image sets of the target object and annotation information between the multiple sample image sets, wherein the multiple sample image sets are collected in different time periods, and the annotation information is used to represent the similarity between any two sample image sets in the multiple sample image sets; using a neural network model to determine the sample similarity between any two sample image sets in the multiple sample image sets; and updating the model parameters of the neural network model based on the sample similarity and the annotation information.
[0008] Optionally, determining whether to control the target door to be unlocked is based on multiple rearview mirror views, including: determining whether there is a moving object in the multiple rearview mirror views; in response to the presence of a moving object in the multiple rearview mirror views, determining a motion trajectory of the moving object based on the multiple rearview mirror views, wherein the motion trajectory is used to determine whether the moving object is moving in a direction approaching the vehicle; in response to the motion trajectory being that the moving object is moving in a direction approaching the vehicle, prohibiting the target door from being unlocked.
[0009] Optionally, determining the motion trajectory of a moving object based on multiple rearview mirror views includes: acquiring a first rearview mirror view and a second rearview mirror view from the multiple rearview mirror views, wherein an acquisition time of the second rearview mirror view is later than an acquisition time of the first rearview mirror view; determining a first occupied area of the moving object in the first rearview mirror view in the first rearview mirror view; determining a second occupied area of the moving object in the second rearview mirror view in the second rearview mirror view; and determining the motion trajectory of the moving object based on the first occupied area and the second occupied area.
[0010] Optionally, after prohibiting the control of unlocking the target door of the vehicle, the method further includes: outputting a first prompt message, wherein the first prompt message is used to prompt that the rear of the vehicle is in an unsafe state.
[0011] Optionally, the method further includes: in response to the absence of a moving object in the multiple rearview mirror views, or the motion trajectory of the moving object moving away from the vehicle, controlling the target door to unlock.
[0012] Optionally, after controlling the target door to be unlocked, the method further includes: outputting a second prompt message, wherein the second prompt message is used to prompt that the target door has been unlocked and / or the rear of the vehicle is in a safe state.
[0013] According to another aspect of an embodiment of the present invention, a device for unlocking a vehicle is also provided, including: an acquisition module, used to acquire an image set in the interior space of a vehicle, wherein the image frames contained in the image set are used to characterize the motion trajectory of a target object in the interior space of the vehicle; a judgment module, used to judge whether the target object has an intention to unlock a target door based on the image set; an acquisition module, used to acquire a plurality of rearview mirror views acquired from the vehicle within a preset time period in response to the existence of an unlocking intention by the target object, wherein the plurality of rearview mirror views are a plurality of images displayed in the rearview mirror of the vehicle; and a control module, used to determine whether to control the target door to be unlocked based on the plurality of rearview mirror views.
[0014] According to another aspect of an embodiment of the present invention, a vehicle is also provided, comprising: one or more processors; a storage device for storing one or more programs; and when the one or more programs are executed by the one or more processors, the one or more processors execute any one of the above-mentioned vehicle unlocking methods.
[0015] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned vehicle unlocking method.
[0016] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the above-mentioned vehicle unlocking method is executed when the program is run.
[0017] In the embodiment of the present invention, by collecting an image set in the interior space of the vehicle, it is determined based on the image set whether the target object has the intention to unlock the target door. If it is determined that the target object has the intention to unlock, multiple rearview mirror views collected by the vehicle within a preset time period are obtained, and it is determined based on the multiple rearview mirror views whether to control the target vehicle to unlock. It is easy to notice that it is possible to accurately identify whether the rear passengers have the intention to unlock by means of image recognition, and determine whether the surrounding area of the vehicle is safe by means of image recognition, and then determine whether to control the unlocking of the target door, ensuring that the target door can be opened in a safe situation, thereby achieving the technical effect of improving the vehicle safety when the rear passengers leave the vehicle, and then solving the technical problem of low vehicle safety in the related art when the rear passengers open the door to leave the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0019] Figure 1is a flow chart of a vehicle unlocking method according to an embodiment of the present invention;
[0020] Figure 2 is an overall flow chart of a vehicle unlocking method according to an embodiment of the present invention;
[0021] Figure 3 2 is a schematic diagram of a vehicle unlocking device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] First, the technical terms appearing in the embodiments of the present invention are explained as follows:
[0025] Neural network: Neural network is a hot research topic in the field of artificial intelligence since the 1980s. It abstracts the human brain neural network from the perspective of information processing, establishes a simple model, and forms different networks according to different connection methods. Neural network is a computing model composed of a large number of nodes (or neurons) connected to each other. Each node represents a specific output function, called an activation function. The connection between each two nodes represents a weighted value for the signal passing through the connection, called a weight, which is equivalent to the memory of the artificial neural network. The output of the network varies according to the network connection method, weight value and activation function, and the network itself is usually an approximation of a certain algorithm or function in nature, or it may be an expression of a logical strategy.
[0026] The structure of the neural network model is very similar to the neural structure of the animal brain. It receives input data, calculates and processes it, and then outputs the prediction result. It is essentially a predictor. For example, a person sees a picture of an apple and says that this is an apple. Then the picture of the apple is the input data, and the brain processes it and then outputs the prediction result: this is an apple.
[0027] Usually, a neural network model consists of an input layer, a hidden layer, and an output layer. The hidden layer can be many layers. A neural network with multiple hidden layers is also called a deep neural network. Each layer of the neural network has several neurons. The neurons between layers are fully connected to each other. Each neuron receives the output value of the neurons in the previous layer as input value, processes it and outputs it to the neurons in the next layer. Finally, the neurons in the output layer output the predicted result value.
[0028] Neural network algorithm: Neural network algorithm is a process of reasoning according to logical rules. It first converts information into concepts and represents them with symbols, and then performs logical reasoning in a serial mode according to symbolic operations. This process can be written as a serial instruction for the computer to execute. However, intuitive thinking is to integrate distributed stored information, and the result is a sudden idea or solution to the problem. The fundamental points of this way of thinking are the following two points: 1. Information is stored in the network through the distribution of excitation patterns on neurons; 2. Information processing is completed through a dynamic process of simultaneous interaction between neurons.
[0029] There are many kinds of neural network algorithms, among which the most classic one is the Error Back-propagation Training (BP). The BP neural network algorithm is a multi-layer feedforward neural network trained according to the Error Back-propagation algorithm, and is the most widely used neural network algorithm. The BP neural network algorithm is to add several layers (one or more layers) of neurons between the input layer and the output layer. These neurons are called hidden units. They have no direct connection with the outside world, but the change of their state can affect the relationship between input and output. Each layer can have several nodes. The learning rule of the BP neural network algorithm is to use the steepest descent method to continuously adjust the weights and thresholds of the network through back propagation to minimize the sum of square errors of the network. The algorithm establishes a system of linear equations by arbitrarily selecting a set of weights and directly using the given target output as the algebraic sum of linear equations to solve the required weights. There is no problem of local minima and slow convergence speed of traditional methods.
[0030] Example 1
[0031] According to an embodiment of the present invention, a method embodiment of vehicle unlocking is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0032] Figure 1 is a flow chart of a vehicle unlocking method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:
[0033] Step S102 : collecting an image set in the interior space of the vehicle, wherein the image set includes image frames used to represent a motion trajectory of a target object in the interior space of the vehicle.
[0034] In an optional embodiment, the image set may refer to an image set of changes in the target object's motion; the target object may refer to a rear passenger, but is not limited to the rear passenger, and may be every passenger in the car; the motion trajectory of the target object refers to the spatial characteristics of the motion composed of the route passed by a certain part of the target object's body from the starting position to the ending position, and the motion trajectory is represented by the motion trajectory direction, motion trajectory form and motion amplitude.
[0035] In an optional embodiment, a camera, a still camera, a camcorder, or other image acquisition device may be used to capture a set of images in the interior space of the vehicle. The image acquisition device may be installed in any place in the vehicle where the motion trajectory of the target object can be obtained, such as on the rear door, behind the driver's seat and the co-pilot seat, etc., and when the vehicle detects that the target object needs to be unlocked, for example, the image acquisition device automatically starts when the target object is detected opening the door, and captures a frame of image when a motion change of the target object is detected. When the vehicle detects that the target object is no longer unlocking, for example, after the target object stops opening the door, the image acquisition device is controlled to shut down, thereby achieving real-time monitoring of the motion changes of the target object and full capture of the motion trajectory of the target object, so as to facilitate timely response of the door unlocking device.
[0036] Step S104: determining whether the target object intends to unlock the target door based on the image set.
[0037] The unlocking intention mentioned above means that the target object needs to open the door lock of the car door.
[0038] In an optional embodiment, the user's behavior can be identified by image recognition to determine whether the user needs to unlock the door, that is, to determine whether the user has the intention to unlock the target door. For example, by determining whether the target object's finger is close to the door switch through image recognition, it can be determined whether the target object has the intention to unlock the target door. The image recognition here can be implemented by an image recognition model.
[0039] Optionally, judging whether the target object has the intention to unlock the target door based on the image set includes: determining the target similarity between the image set and the unlocking image set using a neural network model, wherein the image frames contained in the unlocking image set are used to represent the motion trajectory of the target object during the unlocking process; in response to the target similarity being greater than a preset similarity, determining that the target object has the intention to unlock the target door; in response to the target similarity being less than a preset similarity, determining that the target object does not have the intention to unlock the target door.
[0040] The unlocking image set refers to an image set obtained by collecting images of the target object's action changes when the target object has the intention to unlock the target door. The preset similarity refers to the minimum similarity between the image set and the unlocking image set when the image set is the same as the unlocking image set. The preset similarity can be determined based on recognition accuracy and processing efficiency.
[0041] The above neural network model can be trained in the following way:
[0042] Acquire multiple sample image sets of the target object and the annotation information between the multiple sample image sets, wherein the multiple sample image sets are collected in different time periods, and the annotation information is used to represent the similarity between any two sample image sets in the multiple sample image sets; determine the sample similarity between any two sample image sets in the multiple sample image sets using a neural network model; update the model parameters of the neural network model based on the sample similarity and the annotation information; if the sample similarity and the annotation information are consistent, it means that the accuracy of the neural network model is high and there is no need to update its model parameters; if the sample similarity and the annotation information are inconsistent, it means that the accuracy of the neural network is low and there is a need to update the model parameters of the neural network model according to the difference between the sample similarity and the annotation information.
[0043] The structure of the above neural network model can be a feedforward neural network, a recurrent neural network, a symmetrical connection network, etc., but is not limited thereto and can be determined according to the actual needs of image recognition.
[0044] In an optional embodiment, the sample similarity between any two sample image sets in multiple sample image sets can be calculated using a neural network algorithm. For example, the image features of each sample image set in multiple sample image sets can be extracted using a neural network algorithm, and then the distance between the image features of any two sample image sets can be calculated to obtain the above-mentioned sample similarity.
[0045] During the training process of the neural network model, the value of the loss function of the neural network model can be calculated based on the sample similarity and annotation information, and the model parameters are updated when the value of the loss function is greater than the preset threshold until the value of the loss function is less than the preset threshold. Among them, the loss function is a function used to evaluate the degree of difference between the predicted value and the true value of the model, and the preset threshold is the maximum value of the loss function determined according to the recognition accuracy of the neural network model.
[0046] In an optional embodiment, the image features of each sample image set in the multiple sample image sets can be extracted by a neural network algorithm, and then the annotation information between the multiple sample image sets is obtained by calculating the Hamming distance between the multiple sample image sets and the multiple sample image sets. The Hamming distance represents the number of different corresponding bits of two (same length) vectors, and d(x,y) can be used to represent the Hamming distance between two vectors x and y. The higher the vector similarity, the smaller the corresponding Hamming distance.
[0047] Step S106, in response to the target object having an intention to unlock, obtaining a plurality of rearview mirror views collected from the vehicle within a preset time period.
[0048] The preset time period may refer to the time from when the target object is determined to have the intention to unlock the door to when the target object successfully unlocks and closes the door, which can be set by the user, for example, it can be set to 1 minute. The multiple rearview mirror views may be multiple images displayed in one rearview mirror of the vehicle.
[0049] In an optional embodiment, an image acquisition device may be installed on the rearview mirror to acquire images displayed on the rearview mirror of the vehicle within a preset time period, thereby obtaining multiple rearview mirror views.
[0050] Step S108, determining whether to control the target door to unlock based on the multiple rearview mirror views.
[0051] In an optional embodiment, multiple rearview mirror views can be identified through image recognition to determine whether there are other vehicles or moving objects such as pedestrians, bicycles, motorcycles, etc. around the vehicle that may affect the target object's normal getting off the vehicle, and then determine whether to control the target door to be unlocked. If there are no moving objects around the vehicle that may affect the target object's normal getting off the vehicle, the target door can be controlled to be unlocked, otherwise the target door is controlled to remain locked and the target object cannot open the door to get off the vehicle.
[0052] Optionally, determining whether to control the target door to be unlocked is based on multiple rearview mirror views, including: determining whether there is a moving object in the multiple rearview mirror views; in response to the presence of a moving object in the multiple rearview mirror views, determining a motion trajectory of the moving object based on the multiple rearview mirror views, wherein the motion trajectory is used to determine whether the moving object is moving in a direction approaching the vehicle; in response to the motion trajectory being that the moving object is moving in a direction approaching the vehicle, prohibiting the target door from being unlocked.
[0053] In an optional embodiment, a moving object refers to a person or object in motion, which may be a moving car, electric vehicle, bicycle, etc. The presence of a moving object can be determined by judging whether there is a moving object in multiple rearview mirror views through a video motion detector. If so, the motion trajectory of the moving object can be further determined. Since the moving objects around the vehicle do not necessarily affect the normal getting off of the target object, it is possible to further determine whether the motion trajectory of the moving object is the moving object moving in a direction close to the vehicle, that is, to determine whether the moving object is moving towards the vehicle. If so, it means that the moving object will affect the normal getting off of the target object, and the door unlocking device can be disabled to prohibit the control of the target door unlocking; if not, it means that the moving object will not affect the normal getting off of the target object, and the door unlocking device can be activated to control the target door unlocking.
[0054] The above-mentioned determination of the motion trajectory of the moving object based on multiple rearview mirror views includes: acquiring a first rearview mirror view and a second rearview mirror view from the multiple rearview mirror views, wherein the acquisition time of the second rearview mirror view is later than the acquisition time of the first rearview mirror view; determining a first occupied area of the moving object in the first rearview mirror view in the first rearview mirror view; determining a second occupied area of the moving object in the second rearview mirror view in the second rearview mirror view; and determining the motion trajectory of the moving object based on the first occupied area and the second occupied area.
[0055] Among them, the first rearview mirror view and the second rearview mirror view refer to rearview mirror views collected at two different time points, which can be two adjacent rearview mirror views collected at a preset interval. The first rearview mirror view collected is the first rearview mirror view, and the other rearview mirror view is the second rearview mirror view. The preset time interval here can be set according to actual needs, for example, it can be 1s.
[0056] In an optional embodiment, the first rearview mirror view and the second rearview mirror view may be identified to determine the position of the moving object in the two rearview mirror images, thereby determining the first occupied area of the moving object in the first rearview mirror view in the first rearview mirror view and the second occupied area of the moving object in the second rearview mirror view in the second rearview mirror view. Further, by comparing the first occupied area and the second occupied area, it is determined whether the moving object is approaching or moving away from the vehicle. If the second occupied area is larger than the first occupied area, it means that the moving object is approaching the vehicle; if the second occupied area is smaller than the first occupied area, it means that the moving object is moving away from the vehicle.
[0057] In the above embodiment of the present invention, after prohibiting the control of unlocking the target door of the vehicle, the above method further includes: outputting a first prompt message, wherein the first prompt message is used to prompt that the rear of the vehicle is in an unsafe state.
[0058] In an optional embodiment, the corresponding unsafe state notification can be output through a display device and / or a sound broadcast device of the vehicle. Among them, the display device can be any device that can display information, such as an instrument screen, a display screen, a central control screen, a head-up display, etc. The unsafe notification feedback by the display device can be in at least one of the following forms: text (such as words, numbers, letters, etc.), images (such as pictures, patterns, graphics, etc.). The sound broadcast device can be understood as any device that can play sound, which can be a buzzer, a speaker, or other devices equipped with a speaker. For example, after prohibiting the control of the target door of the vehicle from unlocking, that is, determining that the area around the vehicle is unsafe, the text "The rear of the vehicle is in an unsafe state and unlocking is prohibited" can be displayed on the display device, and the text information can be broadcast by voice at the same time to inform the target object that he cannot get off the vehicle at present and needs to wait for a while.
[0059] In the above embodiment of the present invention, the above method further includes: in response to the absence of a moving object in the multiple rearview mirror views, or the motion trajectory of the moving object moving away from the vehicle, controlling the target door to unlock.
[0060] In an optional embodiment, if there is no moving object in the multiple rearview mirror views, that is, there is no moving object around the vehicle, it indicates that the target object can get off the vehicle safely, so the target door can be unlocked by the unlocking device on the door. In another optional embodiment, if there is a moving object in the multiple rearview mirror views, but the moving object is moving away from the vehicle, it also indicates that the target object can get off the vehicle safely, so the target door can be unlocked by the unlocking device on the door.
[0061] In the above embodiment of the present invention, after controlling the target door to unlock, the above method further includes: outputting a second prompt message, wherein the second prompt message is used to prompt that the target door has been unlocked and / or the rear of the vehicle is in a safe state.
[0062] In an optional embodiment, the corresponding safety status notification can be output through a display device and / or a sound broadcast device of the vehicle. The safety notification displayed by the display device can be in at least one of the following forms: text (such as words, numbers, letters), images (such as pictures, patterns, graphics, etc.). The sound broadcast device can be understood as any device that can broadcast sound, which can be a buzzer, a speaker, or other devices equipped with a speaker. For example, after controlling the target door to unlock, that is, determining that the surrounding area of the vehicle is safe, the text "The rear of the vehicle is in a safe state and the door is unlocked" can be displayed on the display device, and the text information can be broadcasted by voice at the same time.
[0063] Figure 2 FIG. 1 is an overall flow chart of a vehicle unlocking method according to an embodiment of the present invention. Figure 2 As shown, the overall steps are: after the vehicle is started, the camera automatically turns on and monitors the rear passenger information in real time. The image recognition model based on the prediction of human hand trajectory determines whether the target object has the intention to unlock. If the target object has no intention to unlock, the camera continues to monitor the rear passenger information in real time. If the target object has the intention to unlock, the camera detects whether there is an approaching vehicle / person in the exterior rearview mirror. After confirming that there is no danger, unlocking is allowed and a safety prompt is output. If there is danger, unlocking is refused and a danger prompt is output.
[0064] The above process also includes: a trigger detection module, which is composed of an image recognition model based on hand trajectory prediction, used to establish a 3D coordinate system to record the user's hand trajectory map, and collect hand position information every 20ms through the camera; a hand unlocking trajectory map database is established based on the direction, speed, and action statistics of hand movement, and stored in the model for image comparison and correction; the real-time collected hand trajectory map data is packaged and input into the model, and the similarity with the unlocking trajectory map in the database is calculated through a neural network algorithm; based on the similarity, the user's willingness to unlock is output to judge the user's unlocking intention. When there is an unlocking intention, it will trigger the entry into the danger identification module.
[0065] The danger identification module is used to detect the situation of vehicles / people approaching from the side and rear when the user needs to leave the car. It analyzes the danger level of the side and rear by collecting the electronic rearview mirror view in real time and outputs it to the decision-making module. When the effective information of vehicles / people in the view exceeds 20% or 30% and gradually increases, it is judged that there is a vehicle / person approaching from the side and rear, and the output is danger; otherwise, the output is no danger.
[0066] The control decision module, based on the analysis results of the danger identification module, gives corresponding result feedback. When there is no danger, the control decision module allows unlocking and gives a voice safety prompt to meet the user's unlocking intention; when there is danger, the control decision module refuses to unlock and gives a voice danger prompt.
[0067] Through the above steps, a set of images in the interior space of the vehicle is collected, and based on the image set, it is determined whether the target object has the intention to unlock the target door. If it is determined that the target object has the intention to unlock, multiple rearview mirror views collected by the vehicle within a preset time period are obtained, and based on the multiple rearview mirror views, it is determined whether to control the target vehicle to unlock. It is easy to notice that it is possible to accurately identify whether the rear passengers have the intention to unlock by means of image recognition, and determine whether the surrounding area of the vehicle is safe by means of image recognition, and then determine whether to control the unlocking of the target door, ensuring that the target door can be opened in a safe situation, thereby achieving the technical effect of improving the vehicle safety when the rear passengers leave the vehicle, and then solving the technical problem of low vehicle safety in the scenario where the rear passengers open the door to leave the vehicle in the related technology.
[0068] Example 2
[0069] According to another aspect of an embodiment of the present invention, a device for unlocking a vehicle is also provided, which can execute the vehicle unlocking method in the above-mentioned embodiment 1. The specific implementation scheme and application scenario in this embodiment are the same as those in the above-mentioned embodiment 1, and will not be repeated here.
[0070] Figure 3 is a schematic diagram of a vehicle unlocking device according to an embodiment of the present invention, such as Figure 3 As shown, the device includes: an acquisition module 301, which is used to acquire an image set in the interior space of the vehicle, wherein the image frames contained in the image set are used to characterize the movement trajectory of the target object in the interior space of the vehicle; a judgment module 302, which is used to judge whether the target object has an intention to unlock the target door based on the image set; an acquisition module 303, which is used to acquire multiple rearview mirror views collected from the vehicle within a preset time period in response to the target object having an intention to unlock, wherein the multiple rearview mirror views are multiple images displayed in the rearview mirror of the vehicle; and a control module 304, which is used to determine whether to control the target door to unlock based on the multiple rearview mirror views.
[0071] The judgment module 302 includes: a first determination unit, used to determine the target similarity between the image set and the unlocking image set using a neural network model, wherein the image frames contained in the unlocking image set are used to represent the motion trajectory of the target object during the unlocking process; a second determination unit, used to determine that the target object has the intention to unlock the target door in response to the target similarity being greater than a preset similarity; and a third determination unit, used to determine that the target object has no intention to unlock the target door in response to the target similarity being less than a preset similarity.
[0072] The above-mentioned device also includes: an acquisition unit, which is used to acquire multiple sample image sets of the target object and annotation information between the multiple sample image sets, wherein the multiple sample image sets are collected in different time periods, and the annotation information is used to represent the similarity between any two sample image sets in the multiple sample image sets; a fourth determination unit, which is used to determine the sample similarity between any two sample image sets in the multiple sample image sets using a neural network model; and an update unit, which is used to update the model parameters of the neural network model based on the sample similarity and the annotation information.
[0073] The control module 304 includes: a judgment unit, used to judge whether there is a moving object in the multiple rearview mirror views; a fifth determination unit, used to determine the motion trajectory of the moving object based on the multiple rearview mirror views in response to the presence of the moving object in the multiple rearview mirror views, wherein the motion trajectory is used to determine whether the moving object is moving in a direction approaching the vehicle; and a first control unit, used to prohibit the target door from being unlocked in response to the motion trajectory being that the moving object is moving in a direction approaching the vehicle.
[0074] The fifth determination unit includes: an acquisition subunit, used to acquire a first rearview mirror view and a second rearview mirror view from a plurality of rearview mirror views, wherein an acquisition time of the second rearview mirror view is later than an acquisition time of the first rearview mirror view; a first determination subunit, used to determine a first occupied area of a moving object in the first rearview mirror view in the first rearview mirror view; a second determination subunit, used to determine a second occupied area of a moving object in the second rearview mirror view in the second rearview mirror view; and a third determination subunit, used to determine a motion trajectory of the moving object based on the first occupied area and the second occupied area.
[0075] The first control unit includes: a first output subunit, which is used to output first prompt information, wherein the first prompt information is used to prompt that the rear of the vehicle is in an unsafe state.
[0076] The above device also includes: a second control unit, which is used to control the target door to unlock in response to the absence of a moving object in the multiple rearview mirror views, or the movement trajectory of the moving object moving away from the vehicle.
[0077] The second control unit includes: a second output subunit, which is used to output second prompt information, wherein the second prompt information is used to prompt that the target door is unlocked and / or the rear of the vehicle is in a safe state.
[0078] Example 3
[0079] According to another aspect of an embodiment of the present invention, a vehicle is also provided, comprising: one or more processors; a storage device for storing one or more programs; and when the one or more programs are executed by the one or more processors, the one or more processors execute any one of the above-mentioned vehicle unlocking methods.
[0080] Example 4
[0081] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided. The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned vehicle unlocking method.
[0082] Example 5
[0083] According to another aspect of an embodiment of the present invention, a processor is further provided, and the processor is used to run a program, wherein the above-mentioned vehicle unlocking method is executed when the program is run.
[0084] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0085] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0087] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0088] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0089] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0090] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for unlocking a vehicle, It is characterized in that include: Collecting an image set in the interior space of a vehicle, wherein the image set includes image frames used to characterize a motion trajectory of a target object in the interior space of the vehicle; Determining whether the target object intends to unlock the target door based on the image set; In response to the target object having the unlocking intention, acquiring a plurality of rearview mirror views collected by the vehicle within a preset time period, wherein the plurality of rearview mirror views are a plurality of images displayed in a rearview mirror of the vehicle; determining whether to control the target door to unlock based on the plurality of rearview mirror views; Wherein, determining whether to control the target door to unlock based on the multiple rearview mirror views includes: Determining whether there is a moving object in the plurality of rearview mirror views; in response to the presence of the moving object in the plurality of rearview mirror views, determining a motion trajectory of the moving object based on the plurality of rearview mirror views, wherein the motion trajectory is used to determine whether the moving object moves in a direction close to the vehicle; in response to the motion trajectory indicating that the moving object moves in a direction close to the vehicle, prohibiting control of unlocking the target door; Wherein, determining the motion trajectory of the moving object based on the multiple rearview mirror views includes: acquiring a first rearview mirror view and a second rearview mirror view from the multiple rearview mirror views, wherein an acquisition time of the second rearview mirror view is later than an acquisition time of the first rearview mirror view; determining a first occupied area of the moving object in the first rearview mirror view in the first rearview mirror view; determining a second occupied area of the moving object in the second rearview mirror view in the second rearview mirror view; and determining the motion trajectory of the moving object based on the first occupied area and the second occupied area.
2. The vehicle unlocking method according to claim 1, It is characterized in that Judging whether the target object has an intention to unlock the target door based on the motion trajectory image includes: Determining the target similarity between the image set and the unlocking image set using a neural network model, wherein the image frames included in the unlocking image set are used to represent the movement trajectory of the target object during the unlocking process; In response to the target similarity being greater than a preset similarity, determining that the target object has the intention to unlock the target door; In response to the target similarity being less than the preset similarity, it is determined that the target object does not have the unlocking intention for the target door.
3. The vehicle unlocking method according to claim 2, It is characterized in that The method further comprises: Acquire multiple sample image sets of the target object and annotation information between the multiple sample image sets, wherein the multiple sample image sets are collected at different time periods, and the annotation information is used to indicate the similarity between any two sample image sets in the multiple sample image sets; Determining the sample similarity between any two sample image sets in the plurality of sample image sets by using the neural network model; The model parameters of the neural network model are updated based on the sample similarity and the annotation information.
4. The vehicle unlocking method according to claim 1, It is characterized in that After prohibiting control of unlocking the target door of the vehicle, the method further includes: Outputting first prompt information, wherein the first prompt information is used to prompt that the rear of the vehicle is in an unsafe state.
5. The vehicle unlocking method according to claim 1, It is characterized in that The method further comprises: In response to the absence of the moving object in the plurality of rearview mirror views, or the movement trajectory being that the moving object moves in a direction away from the vehicle, the target door is controlled to be unlocked.
6. The vehicle unlocking method according to claim 5, It is characterized in that After controlling the target door to unlock, the method further includes: Outputting second prompt information, wherein the second prompt information is used to prompt that the target door is unlocked and / or the rear of the vehicle is in a safe state.
7. A vehicle unlocking device, used to implement the vehicle unlocking method as claimed in claim 1, It is characterized in that include: A collection module, used to collect an image set in the interior space of the vehicle, wherein the image set includes image frames used to represent the motion trajectory of the target object in the interior space of the vehicle; A judging module, configured to judge whether the target object intends to unlock the target door based on the image set; an acquisition module, configured to acquire, in response to the target object having the unlocking intention, a plurality of rearview mirror views collected by the vehicle within a preset time period, wherein the plurality of rearview mirror views are a plurality of images displayed in the rearview mirror of the vehicle; A control module, configured to determine whether to control the target door to unlock based on the plurality of rearview mirror views; The control module is further configured to determine whether there is a moving object in the plurality of rearview mirror views; in response to the presence of the moving object in the plurality of rearview mirror views, determine a motion trajectory of the moving object based on the plurality of rearview mirror views, wherein the motion trajectory is used to determine whether the moving object moves in a direction close to the vehicle; in response to the motion trajectory indicating that the moving object moves in a direction close to the vehicle, prohibit control of unlocking the target door; Wherein, the control module is also used to obtain a first rearview mirror view and a second rearview mirror view among the multiple rearview mirror views, wherein the acquisition time of the second rearview mirror view is later than the acquisition time of the first rearview mirror view; determine a first occupied area of the moving object in the first rearview mirror view in the first rearview mirror view; determine a second occupied area of the moving object in the second rearview mirror view in the second rearview mirror view; and determine the motion trajectory of the moving object based on the first occupied area and the second occupied area.
8. A vehicle, It is characterized in that include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors execute the vehicle unlocking method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle door safety monitoring method and system, vehicle door safety monitoring equipment and storage medium
CN111267728A
Vehicle-mounted gesture recognition method and system, storage medium and electronic equipment
CN111563401A
Danger alarm method and equipment based on door opening
CN112172663A
Vehicle door lock control method and device
CN112561967A
Safe door opening method, device and equipment for assisting passenger to get off and storage medium
CN112832615A
