The present invention relates to the technical field of automotive electronics, and more particularly relates to a method for detecting a target pedestrian around a vehicle, a method for moving a vehicle, and a device.
With rapid development of automobile technology, increasing people prefer to use a vehicle instead of walk when going out for some business. In downtown, a driver needs to park temporarily at the roadside in some special cases such as payments in the bank and purchase of petty commodities. In the parking process, illegal parking or blocking other vehicles will inevitably happen. In a patent Rearview mirror with call function with the Publication No. CN203496774U, rearview mirror integrated with a call function is designed. A communication button, an external loudspeaker and a microphone are arranged on a rearview mirror shell. An electric connecting wire is exported from the rearview mirror to connect the rearview mirror to a mobile communication module. A vehicle owner blocked stands out of the vehicle and presses the communication button to talk with the vehicle owner through the mobile communication module. As the communication button is exposed out of the vehicle and can be pressed by anyone, it is easy to harass the vehicle owner. The mobile communication module is additionally mounted, so that the cost of the vehicle is increased.
To overcome the problems in the prior art, the present application provides a method for detecting a target pedestrian around a vehicle, a method for moving a vehicle, and a device.
A method for detecting a target pedestrian around a vehicle, applied to an automobile electronic product, where the method includes the following steps:
Optionally, the step of monitoring a monitor area of a current vehicle in real time and acquiring a target trajectory includes:
Optionally, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory includes:
Optionally, the similarity between the target trajectory and the preset trajectory is calculated by means of a Fréchet distance algorithm or a Hausdorff distance algorithm.
Optionally, the target trajectory includes a left trajectory collected by the left camera, and the preset trajectory comprises a first preset trajectory; and the step of calculating a similarity between the target trajectory and a preset trajectory and acquiring a similarity value includes:
Optionally, the target trajectory includes a right trajectory collected by the right camera, and the preset trajectory includes a second preset trajectory; and the step of calculating a similarity between the target trajectory and a preset trajectory and acquiring a similarity value includes:
Optionally, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory further includes:
Optionally, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory includes:
In addition, the present application further discloses a method for moving a vehicle, wherein the method includes the following steps:
In addition, the present application further discloses a device, where the device is electronic rearview mirrors mounted on both sides of a vehicle or communication cameras mounted on left and right rearview mirrors; the device is provided with a master control module, a communication module, a camera, a loudspeaker and a microphone connected to one another; and the method for moving a vehicle is run on the master control module.
Compared with the prior art, the present application has the following beneficial effects: according to the present application, the method for detecting a target pedestrian around a vehicle includes the following steps: judging whether there is a target vehicle owner around the vehicle; informing the vehicle owner; and then selecting, by the vehicle owner, whether a vehicle communication module is connected for communication. A first level communication initiative is mastered on an electronic rearview mirror, so that the problem that the vehicle owner is harassed is avoided. In addition, the vehicle owner can further judge whether other vehicles are blocked according to the image transferred back by the electronic rearview mirror, and the second level communication initiative is mastered by the vehicle owner. The double guarantees enhance the favorability of clients on the product.
The present application will be further described below in combination with specific implementation modes.
Same or similar numerals in the drawings of the embodiment of the present application correspond to same or similar parts. In description of the application, it should be understood that orientation or position relationships indicated by terms: ‘upper, ‘lower’, ‘left’, ‘right’, ‘top’, ‘bottom’, ‘inner’, ‘outer’ and the like are orientation or position relationships indicated by the drawings and are only to describe the disclosure and simplify the description rather than indicates or implies that the indicated device or components must have specific orientations and are configured and operated in the specific orientations. Therefore, the terms for describing the position relationships in the drawings are merely used for exemplary specification and cannot be construed as limitations to the present application.
In addition, if there are terms such as ‘first’ and ‘second’ merely for a descriptive purpose, they are mainly used for distinguishing different devices, components and compositions (specific types and configurations may be same or different), rather than indicating or implying relative importance and quantities of the indicated devices, components or compositions, which cannot be understood as indicating or implying the relative importance.
In an embodiment shown in
In the embodiment, according to the present application, the method for detecting a target pedestrian around a vehicle includes the following steps: judging whether there is a target vehicle owner around the vehicle; informing the vehicle owner; and then selecting, by the vehicle owner, whether a vehicle communication module is connected for communication. A first level communication initiative is mastered on an electronic rearview mirror, so that the problem that the vehicle owner is harassed is avoided. In addition, the vehicle owner can further judge whether other vehicles are blocked according to the image transferred back by the electronic rearview mirror, and the second level communication initiative is mastered by the vehicle owner. The double guarantees enhance the favorability of clients on the product.
In some embodiments, in S100, the step of monitoring the monitor area of the current vehicle in real time, and acquiring the target trajectory includes: monitoring the monitored area through a left camera/right camera arranged on the current vehicle to acquire image information of the monitor area in real time, and identifying an image signal to judge whether the image signal includes characteristics of the target pedestrian; if the image signal includes the characteristics of the target pedestrian, acquiring the target trajectory according to continuous image signals; and otherwise, performing no processing. In the embodiment, in the present application, the pedestrians around are identified through the left camera or right camera. The identifying method can be any figure identifying method. Whether the figure may be the vehicle owner blocked is initially judged according to age or other characteristics. If the figure may be the vehicle owner blocked after preliminary screening, the trajectory of the figure is tracked.
In some embodiments, in S200, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory includes:
The similarity between the target trajectory and the preset trajectory is calculated by means of a Fréchet distance algorithm or a Hausdorff distance algorithm.
In an implementation mode of the above embodiment, the target trajectory includes a left trajectory collected by the left camera, and the preset trajectory includes a first preset trajectory; and the step of calculating a similarity between the target trajectory and a preset trajectory and acquiring a similarity value includes:
The target trajectory includes a right trajectory collected by the right camera, and the preset trajectory includes a second preset trajectory; and the step of calculating a similarity between the target trajectory and a preset trajectory and acquiring a similarity value includes:
In the embodiment, as shown in
The trajectories A′B′ and C′D′ are a first preset trajectory and a second preset trajectory, and the first preset trajectory and the second preset trajectory are trajectories calibrated according to either different vehicle models or empirical trajectories. The corresponding velocities are respectively Va′b′ and Vc′d′, and the time at the points A′, B′, C′ and D′ is respectively Ta′, Tb′, Tc′ and Td′.
In the embodiment, by taking the left trajectory of the vehicle as an example, lengths of the left trajectories AB and A′B′ are respectively M and N. Moving positions of the figures on the two trajectories can be described with the continuous function of the same variable t, and y(t) and y′(t) respectively represent a tracking trajectory of the figure on the electronic rearview mirror and a moving position description function on the preset trajectory, where t∈(0, tmax), for the tracking trajectory, y(0)=0, y(tmax)=M, and for the first preset trajectory, y′(0)=0, y′(tmax)=M′.
By taking a center of a rear axis of the current vehicle as an origin of coordinates, with X axis as a horizontal direction and Y axis as a longitude direction, it is shown in
At the time of the variable t, f(y(t)) represents a spatial position of the figure on the tracking trajectory based on the coordinate system in
A curve similarity between the tracking trajectory AB and the preset trajectory A′B′ is characterized with a Fréchet distance:
Similarly, whether the right trajectory of the current vehicle is similar is judged is the same to the above process. When F(CD, C′D′) 21 K′, the electronic rearview mirror judges whether CD and C′D′ are similar.
In some embodiments, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory further includes: calculating an average velocity V of the left trajectory AB and the right trajectory CD, where
where Vab is average data of the left trajectory and Vcd is an average velocity of the right trajectory; and letting a length from an end point B of the left trajectory to an end point D of the right trajectory to be L, and judging whether
is established, where Tb is time when the pedestrian arrives at B, Td is time when the pedestrian arrives at D, and Δt is preset time. In the embodiment, the present application performs further judgment by the following way: V represents an average velocity of the tracked figure on the left trajectory AB and the right trajectory CD, i.e.,
and L represents a length from the point B to the point D in the coordinate system in
it represents that the trajectories AB and CD of the tracked figure are connected, i.e., the tracked figure passes the points A, B, C and D or C, D, B and A continuously. The Δt here can be either the time length calibrated according to different vehicle modes or the empirical time length.
In some embodiment, the step of judging whether there is the target pedestrian in the monitor area according to the target trajectory includes: when the first similarity value is less than a first preset similarity value of the preset similarity value, the second similarity value is less than a second preset similarity value of the preset similarity value, or the similarity values are less than any one or more of similarity values in formula (4), judging that there is the target pedestrian in the monitor area. In the embodiment, when the following three conditions are satisfied: (1) F(AB, A′B′)<K; (2) F(CD, C′D′)<K′; and (3)
the electronic rearview mirror judges that the tracking trajectories AB and CD are connected, and the tracking trajectories ABCD and A′B′ C′D′ are similar.
In some embodiments, the present application further discloses a method for moving a vehicle. The method includes: judging whether there is a pedestrian in a monitor area by means of the method for detecting a target pedestrian around a vehicle; if there is the target pedestrian, sending a notification to a target terminal, and sending view images of a left camera and a right camera to the target terminal, and confirming, by the target terminal, whether a communication module of a current vehicle is connected for communication. In the embodiment, whether there is a target vehicle owner around the vehicle is judged by the method for detecting a target pedestrian around a vehicle of this present application; whether the electronic rearview mirror is connected is informed to the vehicle owner by means of the method for detecting a target pedestrian around a vehicle, and the view image of the electronic rearview mirror is sent. If the vehicle owner is connected to the electronic rearview mirror, the vehicle owner can communicate with the target pedestrian through the loudspeaker and microphone to determine whether the move is needed to be moved.
In some embodiments, the present application further discloses a device, where the device is electronic rearview mirrors mounted on both sides of a vehicle or communication cameras mounted on left and right rearview mirrors; the device is provided with a master control module, a communication module, a camera, a loudspeaker and a microphone connected to one another; and the method for moving a vehicle is run on the master control module. In the embodiment,
The electronic rearview mirror 140 acquires an image in the field of view of the left camera 142 through the left camera 141 and transfers the image to the left display screen 130 through the electric line, and the image in the field of view of the left camera 142 is displayed on the left display screen 130, so that an effect the same with that of the conventional rearview mirrors is achieved. The theory of the right side is the same as that of the left side, which is not repeatedly described here.
In
As shown in
When the vehicle is in a monitored state shown in
Apparently, the abovementioned embodiments of the present application are merely examples made for describing the present application clearly and are not to limit the implementation modes of the present application. Those of ordinary skill in the art can further make modifications or variations in other forms on the basis of the above description. It is unnecessary to and unable to list all the implementation modes herein. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be regarded as within the scope of claims of the present application.
Number | Date | Country | Kind |
---|---|---|---|
202111250830.6 | Oct 2021 | CN | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/135455 | 12/3/2021 | WO |