Animation object display method, electronic device, storage medium and vehicle

By acquiring and processing the information of the moving subject in front of the vehicle in real time, creating and controlling the animated object to lag behind the moving subject on the display device, it solves the problem that the vehicle behind cannot obtain the road condition information of the vehicle ahead in time, and improves the display effect and interactive experience of the animated object. .

CN118331677BActive Publication Date: 2024-09-20HASCO VISION TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410751061.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-09-20
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

During the driving process of the vehicle, the vehicle behind cannot obtain the abnormal driving traffic information of the vehicle in front in time, causing the animated object to suddenly appear on the display device and be confused with the existing object, affecting the interactive experience.

Method used

By obtaining the position, speed and direction of the moving subject in real time, the animated object is created and controlled to lag behind the moving subject on the display device to avoid the animated object suddenly appearing in the display device and ensure better display of the animated object.

Benefits of technology

It realizes the position display of animated objects that accurately follows the moving subject, avoids confusion with other animated objects, and improves the recognition accuracy and interactive experience of following vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118331677B
    Figure CN118331677B
Patent Text Reader

Abstract

The present invention relates to the field of vehicle interaction technology, and discloses an animation object display method, an electronic device, a storage medium and a vehicle, wherein the animation object display method comprises the following steps: obtaining a moving subject and a motion attribute of the moving subject in a road section ahead of the vehicle in real time, wherein the motion attribute at least includes the actual position, actual speed and moving direction of the moving subject; creating an animation object based on the moving subject for display on a display device, wherein the side end of the display device is the moving starting point of the animation object; judging the state of the animation object based on the motion attribute and the position of the animation object on the display device; in response to the animation object being in a lagging state, the animation object catches up with the moving subject. The animation object display method can prevent the animation object from suddenly appearing on the display device, and the display effect is better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle interaction technology, and in particular to an animation object display method, and further to an electronic device, a storage medium and a vehicle. Background Art

[0002] During driving, the driver will brake at traffic lights at intersections or when vehicles in adjacent lanes suddenly change lanes and cut in, and stay where they are for a while. At this time, only the driver of this vehicle can obtain the current situation in time and make adjustments. When there are following vehicles behind this vehicle, the following vehicles can only stop closely following the vehicle in front or move forward slowly. The road condition information of the abnormal driving of the vehicle in front is blocked by the vehicle in front and cannot be obtained. If the vehicle in front stops for more than a certain period of time, it is easy to cause disgust among the drivers of the following vehicles and intensify the conflict.

[0003] Therefore, it is necessary to collect the road condition information in front of the vehicle and convert it into display materials for display projection to the following vehicle. Generally, an animation object is generated based on the moving subject in front of the vehicle, and the animation object is controlled to move with the moving subject. However, there is a sampling time interval when collecting the road condition information in front, resulting in the sudden appearance of an animation object corresponding to the newly detected moving subject on the display device, thereby confusing the existing animation objects on the display device and affecting the interactive experience.

[0004] Therefore, how to improve the display effect of animation objects is a technical problem that needs to be solved urgently by those skilled in the art. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide an animation object display method, an electronic device, a storage medium and a vehicle, so that the animation object will not suddenly appear on the display device, and the display effect is better.

[0006] In order to solve the above technical problem, the present invention provides a method for displaying an animation object in a first aspect, comprising the following steps:

[0007] Acquire in real time a moving subject and a moving attribute of the moving subject in a set road section, wherein the moving attribute at least includes an actual position, an actual speed and a moving direction of the moving subject;

[0008] Creating an animation object based on the moving subject for display on a display device, wherein a side end of the display device is a moving starting point of the animation object;

[0009] Determining a state of the animation object based on the motion attribute and the position of the animation object on the display device;

[0010] In response to the animation object being in a lagging state, the animation object catches up with the moving subject.

[0011] Further, the real-time acquisition of the moving object in the set section and the motion attributes of the moving object include:

[0012] Collect sensing data of the set section;

[0013] Sample the collected sensing data at a time interval to obtain samples, and identify the moving object in the samples.

[0014] Further, the animation objects in the lag state include:

[0015] The animation objects whose positions on the display device do not correspond to the actual positions of the moving object.

[0016] Further, the chasing speed at which the animation object chases the moving object is determined based on the distance between the current position of the animation object on the display device and the ideal position that the animation object should be at on the display device when it coincides with the moving object.

[0017] Further, the chasing speed at which the animation object chases the moving object is:

[0018] v1 = v0×(1 + 0.5×cos(π / 4×st / st1 + π / 4));

[0019] Wherein, v0 is the ideal moving speed of the animation object on the display device, v1 is the chasing speed, st is the distance between the starting point of the display and the current position of the animation object on the display device, st1 is the distance between the starting point of the display and the ideal position that the animation object should be at on the display device when it coincides with the moving object, and the animation object chases the moving object when st < st1.

[0020] Further, it further includes:

[0021] Performing smoothing processing on the animation object in response to the animation object being in an unstable state;

[0022] Wherein, the unstable state includes:

[0023] The actual position of the moving object corresponding to the animation object jumps;

[0024] The moving object corresponding to the animation object is periodically missing in the samples;

[0025] The animation effect of the animation object is sometimes fast and sometimes slow.

[0026] Further, in response to the animation object being in an unstable state, performing smoothing on the animation object comprises:

[0027] In response to the actual position jump of the moving subject corresponding to the animation object or the animation effect of the animation object being fast or slow, smoothly connecting the average speeds of multiple displacement stages;

[0028] In response to the periodic absence of the moving subject corresponding to the animation object in the sample, based on the motion attributes of the moving subject in the previous sample, the estimated motion attributes after the disappearance of the moving subject are predicted, and the animation object moves on the display device based on the estimated motion attributes, wherein, in response to the absence of the moving subject corresponding to the animation object in the sample reaching a set time period, the animation object is controlled to move outside the display area according to the estimated motion attributes of the animation object.

[0029] Furthermore, it also includes:

[0030] identifying new moving subjects in the sensing data other than the samples to generate candidate animation objects;

[0031] The animation objects and the candidate animation objects are sorted by display priority, and based on the number of the animation objects that can be displayed simultaneously supported by the display device, the animation objects and the candidate animation objects with the highest display priority are preferentially displayed.

[0032] Furthermore, the method further includes: in response to the animation object catching up with the moving body, the animation object is in a normal state and moves synchronously with the moving body.

[0033] Furthermore, the display device is a display screen or a lamp integrated on the outside of the vehicle, and the display device displaying the animation object is located on the outside of the vehicle, opposite to the side of the moving body corresponding to the animation object.

[0034] A second aspect of the present invention provides an electronic device, the electronic device comprising:

[0035] processor;

[0036] A memory having a computer program stored thereon, wherein the computer program is executed by the processor when it is running: the animation object display method in the above technical solution.

[0037] A third aspect of the present invention provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor: the animation object display method in the above technical solution.

[0038] A fourth aspect of the present invention provides a vehicle, which includes the electronic device or storage medium in the above technical solution.

[0039] Through the above technical solution, the beneficial effects of the present invention are as follows:

[0040] The first aspect of the present invention provides an animation object display method, which can first display the animation object corresponding to the newly appeared moving subject on the side of the display device, and then control the corresponding animation object to move with the moving subject according to the movement attributes of the moving subject. Since the movement of the animation object lags behind the moving subject, the animation object can also be controlled to move quickly to catch up with the moving subject until the animation object catches up to the actual position of the moving subject, so that the position of the moving subject can be shown more accurately and vividly by the animation object. In addition, it can also avoid the situation where the animation object suddenly appears in the middle of the display device, causing confusion with other existing animation objects, making it difficult for the following vehicle to be accurately identified.

[0041] The second aspect of the present invention provides an electronic device, which can execute the above-mentioned animation object display method and therefore also has all the technical effects of the above-mentioned animation object display method.

[0042] A storage medium provided in the third aspect of the present invention can execute the above-mentioned animation object display method when the storage medium is run, and therefore also has all the technical effects of the above-mentioned animation object display method.

[0043] A fourth aspect of the present invention provides a vehicle, which has all the technical effects of the electronic device or storage medium because the vehicle has the electronic device or storage medium in the above technical solution.

[0044] Other features and advantages of the present invention will be described in detail in the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention but do not constitute a limitation of the present invention. In the accompanying drawings:

[0046] Figure 1 is a flow chart of an animation object display method according to an embodiment of the present invention;

[0047] Figure 2 is a connection logic diagram of the hardware modules of the group object sampling device according to an embodiment of the present invention;

[0048] Figure 3 It is a schematic diagram of animation effect of a specific embodiment of displaying animation. DETAILED DESCRIPTION

[0049] The specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to illustrate and explain the present invention, and the protection scope of the present invention is not limited to the following specific embodiments.

[0050] like Figure 1 As shown, the first aspect of the present invention provides an animation object display method, comprising the following steps:

[0051] The sensing data of the set road section (i.e., road condition data, which may specifically include zebra crossings, traffic lights, road signs and other traffic ancillary facilities, pedestrians and cyclists crossing the road, and motor vehicles parked on the road or driving slowly on the road, etc.) are collected in real time; the collected sensing data are sampled at time intervals to obtain samples, and the use of interval sampling can reduce the burden of sampling and subsequent analysis and processing, and the moving subject and the motion attribute of the moving subject in the sample are identified, and the motion attribute includes at least the actual position, actual speed and moving direction of the moving subject; based on the moving subject, an animation object is created for display on a display device, and the side end (e.g., the left end and the right end) of the display device is the moving starting point of the animation object (also the display starting point); based on the motion attribute and the position of the animation object on the display device, the state of the animation object is determined, and the state of the animation object includes a lagging state and a normal state; in response to the animation object being in a lagging state, the animation object catches up with the moving subject.

[0052] Further, in response to the animation object catching up with the moving subject, the animation object is in a normal state and moves synchronously with the moving subject. Specifically, in the process of the animation object catching up with the moving subject, the animation object moves from one end of the display device to the other end of the display device, and before leaving the display device, if the animation object catches up with the moving subject, the animation object is in a normal state and moves synchronously with the moving subject; if the animation object moves from one end of the display device to the other end of the display device and leaves the display device, and the animation object still does not catch up with the moving subject, the step of the animation object being in a normal state and moving synchronously with the moving subject may not be performed.

[0053] It should be noted that when identifying moving subjects in the sample, the main thing is to identify moving subjects with a movement perpendicular to the moving direction of the vehicle, so as to better identify moving subjects such as pedestrians crossing the road and vehicles changing lanes, thereby facilitating the display of pedestrians crossing the road and vehicles changing lanes on the display device.

[0054] Specifically, the sensing data of the set road section can be acquired through the road scene detection module, and the moving subject and the corresponding motion attribute in the sample can be analyzed through the attribute analysis module, wherein the road scene detection module can be a camera, or a combination of a camera and a radar, etc., so as to obtain the road section information in front of the vehicle in real time. Further, in the embodiment of the combination of a camera and a radar, the radar can be used to strengthen the detection and identification of the moving subject in the road section in front of the vehicle at night, so that the moving subject can be identified more accurately, and it is not easy to cause the situation that some moving subjects are difficult to identify at night based on visual detection alone, resulting in inaccurate transmission of subsequent road condition information.

[0055] Taking the zebra crossing included in the sensing data as an example, the moving subject in the zebra crossing area can be identified. If there is a pedestrian in the first frame sample collected, and the pedestrian has been walking from left to right and is about to reach the middle of the zebra crossing, a human-shaped pattern can be generated as an animation object of the pedestrian, and the human-shaped pattern can be displayed on the far left of the display device. At this time, the human-shaped pattern lags behind the pedestrian, so it is necessary to control the human-shaped pattern to move to the right side of the display device to catch up with the pedestrian until the position of the human-shaped pattern on the display device corresponds to the position of the pedestrian on the zebra crossing. For example, when the pedestrian reaches the middle of the zebra crossing, the human-shaped pattern also reaches the middle position of the display device. At this time, the human-shaped pattern is in a normal state, and then the human-shaped pattern is controlled to move synchronously with the pedestrian to ensure that the position of the human-shaped pattern on the display device corresponds to the position of the pedestrian on the zebra crossing.

[0056] Similarly, taking the case where the sensing data includes three lanes and the vehicle is in the middle lane as an example, the moving subject on the entire driving lane in front of the vehicle can be identified. If there is a motor vehicle in the left lane in the first frame sample collected, and the motor vehicle has changed lanes from left to right and is about to reach the middle lane, a vehicle-shaped pattern can be generated as an animation object of the motor vehicle, and the vehicle-shaped pattern is displayed on the leftmost side of the display device. At this time, the vehicle-shaped pattern lags behind the motor vehicle, so it is necessary to control the vehicle-shaped pattern to move to the right side of the display device to catch up with the motor vehicle until the position of the vehicle-shaped pattern on the display device corresponds to the position of the motor vehicle on the driving lane. For example, when the motor vehicle reaches the middle lane, the vehicle-shaped pattern also reaches the middle position of the display device. At this time, the vehicle-shaped pattern is in a normal state, and then the vehicle-shaped pattern is controlled to move synchronously with the motor vehicle to ensure that the position of the vehicle-shaped pattern on the display device corresponds to the position of the motor vehicle on the driving lane.

[0057] It is understandable that, taking the acquisition module as a camera as an example, a main selection box can be automatically set in the picture (i.e., sensing data) taken by the camera to determine the recognition range. Specifically, in actual recognition, it is only necessary to identify the moving subject within the set target range in the environmental information. Therefore, the main selection box can be obtained by matching the set target in the environmental information. The set target can be, for example, a zebra crossing area. When the image contains a zebra crossing, the main selection frame can be automatically set to be the same size as or slightly larger than the zebra crossing area in the image, so as to identify the moving subject in the zebra crossing area, and sub-selection frames can be set on the left and right sides or around the main selection frame, so as to identify pedestrians and cyclists on the sidewalks at both ends of the zebra crossing or other areas around the zebra crossing through the sub-selection frames, so as to obtain the attribute information of the moving subject on and near the zebra crossing. When the image contains a lane and lane markings, the main selection frame can be automatically set to cover the width direction of the lane in the image or be slightly larger than the width direction of the lane, so as to identify the moving subject on the lane, and sub-selection frames can be set on the left and right sides or around the main selection frame, so as to identify the moving subject on the sidewalks on both sides of the lane through the sub-selection frames, so as to obtain the attribute information of the moving subject on and near the lane.

[0058] There may be multiple main selection boxes in the same image. Therefore, when identifying a moving subject, the main selection boxes can be traversed to identify the moving subject (and environmental information) in the main selection boxes. When identifying a moving subject, each moving subject can be selected to form an identity box corresponding to the moving subject. The identity box can be denoted as an, where a is the name of the moving subject or environmental information, and n is a natural number. Generally, the main selection frame should at least cover the width of the entire road from left to right to ensure that the entire zebra crossing is within the main selection frame. Of course, only the range where the zebra crossing is located can be used as the main selection frame, so that the depth of field relationship between the main selection frame and the picture is trapezoidal, so that pedestrians and cyclists crossing the road, as well as cars, buses, motorcycles, trucks or engineering vehicles parked or driving slowly on the road can be identified, and the identity frame of each moving subject can be named, and the size of each identity frame can match the size of the corresponding moving subject, and can increase as the distance between the moving subject and the vehicle decreases, and decrease as the distance between the moving subject and the vehicle increases. The identity frame can also move with the position of the moving subject to track the corresponding moving subject.

[0059] In some embodiments, specifically, it is necessary to merge the moving subjects whose attribute information (such as position, speed, direction, etc.) matches into group objects. In order to ensure that the creation and update of group objects can be carried out in an orderly manner, the collected samples can be divided into rounds according to the time sequence. For example, in the first stage of each sampling round, the newly added group objects can be determined based on the attribute information of the moving subjects acquired in real time and the attribute information of the group objects; in the second stage of each sampling round, based on the attribute information of the moving subjects acquired in real time and the attribute information of the group objects, the attribute information of the moving subjects and the group objects included in the group objects is updated, and the attribute information of the group objects is determined according to the attribute information of the moving subjects included in the group objects.

[0060] In some specific implementations of the above embodiments, taking the different moving speeds of different moving subjects as an example, after a period of time, some moving subjects may be incorporated into or separated from the existing group objects. Therefore, the group objects need to be updated in real time. For example, the images obtained by scanning every 18 frames can be used as a sampling round, and the first 3 frames can be recorded as newly added detection frames. All new identity frames that appear in this time period can be judged whether a new group object can be formed according to the position. The last 15 frames are used as holding frames to only record the position changes in each group of people, so as to judge whether there is a moving subject separated from the existing group object according to the position change, or whether the independent moving subject that has not formed a group object can be incorporated into the existing group object. Of course, it can be understood that it is also possible to judge whether the independent moving subject that has not formed a group object can form a new group object.

[0061] In some specific embodiments, the present invention identifies the moving subject around the main marquee by setting a secondary marquee. As a first implementation, the main marquee and the secondary marquee can be detected in the newly added detection frame, so as to determine the new identity frame based on the main marquee and the secondary marquee. Since the retained frame does not display the newly added group object, the retained frame can only detect the main marquee to reduce the processing burden of the processor; as a second implementation, the newly added detection frame only identifies the main marquee, and the retained frame identifies the main marquee and the secondary marquee, so that the group object displayed in the newly added detection frame of the next sampling round can be generated in advance for the secondary marquee, thereby improving the efficiency of displaying the newly added group object in the newly added detection frame and avoiding delays; as a third implementation, the newly added detection frame and the retained frame can also detect the main marquee and the secondary marquee to ensure the accuracy of the detection and avoid delays.

[0062] Based on the above technical solution, the animation object corresponding to the newly appeared moving subject in the newly added detection frame can be first displayed on the left or right end of the display device, and then the corresponding animation object can be controlled to move with the moving subject according to the motion attributes of the moving subject. Since the movement of the animation object lags behind the moving subject, the animation object can also be controlled to move quickly to catch up with the moving subject until the animation object catches up to the actual position of the moving subject. It can be understood that if no new moving subject is detected in the newly added detection frame of a certain sampling round, the moving subject in the sub-selection frame of the holding frame of the previous sampling round can be modeled to generate an animation object as a supplementary object for supplementary display, so as to ensure More information can be displayed on the display device, and the supplementary object is also first displayed on the left or right end of the display device, and then the corresponding supplementary object is controlled to move with the moving body according to the motion attributes of the moving body corresponding to the supplementary object. Since the movement of the supplementary object lags behind the moving body, the supplementary object can also be controlled to move quickly to catch up with the moving body until the supplementary object catches up to the actual position of the moving body. The above-mentioned chasing method can more accurately and vividly show the position of the moving body by the animated object. In addition, it can also avoid the situation where the animated object suddenly appears in the middle of the display device, causing confusion with other existing animated objects, resulting in difficulty in accurate identification of the following vehicle.

[0063] Furthermore, the animation object in the lagging state includes: the animation object whose position on the display device does not correspond to the actual position of the moving subject. In some embodiments, there may be a unique ID binding for each moving subject and the displayed animation object. For example, there is a human-shaped pattern corresponding to each pedestrian on the zebra crossing, and each human-shaped pattern has a unique ID. If the pedestrian has walked from left to right to the middle of the zebra crossing, but the human-shaped pattern with the same ID has not moved from left to right to the middle position of the display device, it is determined that the human-shaped pattern has not been able to reach the ideal position corresponding to the pedestrian, so the human-shaped pattern is determined to be an animation object in the lagging state.

[0064] Furthermore, the catching-up speed of the animation object when catching up with the moving subject should be greater than the actual speed of the moving subject to ensure that the animation object can catch up with the moving subject, and the catching-up speed of the animation object when catching up with the moving subject should be adjusted based on the distance between the current position of the animation object on the display device and the ideal position that the animation object should be in when the animation object coincides with the moving subject, and should be positively correlated, that is, the greater the distance between the current position of the animation object on the display device and the ideal position, the greater the catching-up speed, so as to ensure that the animation object can quickly reach the ideal position while ensuring that the moving speed of the animation object can gradually decrease to match the actual speed of the moving subject when approaching the ideal position, thereby achieving synchronous movement with the moving subject and ensuring the smoothness of the animation effect.

[0065] In some specific embodiments, the catch-up speed may be:

[0066] v1=v0×(1+0.5×cos(π / 4×st / st1 +π / 4));

[0067] Among them, v0 is the ideal moving speed of the animation object on the display device, v1 is the chasing speed, st is the distance between the starting point of the display of the animation object and the current position of the animation object on the display device, st1 is the ideal position that the animation object should be in on the display device when the animation object coincides with the moving object, and the animation object chases the moving object in response to st < st1. Specifically, the actual speed v0 is the ideal moving speed that the animation object corresponding to the moving object has when it always stays at the ideal position at the current moment on the display device. For example, if a pedestrian passes through a zebra crossing at a constant speed in 10 seconds, the ideal moving speed is: the moving distance of the animation object per second is one-tenth of the width of the display device. st is the distance between the starting point of the display of the animation object and the current position of the animation object on the display device. It should be noted that this distance is a relative distance. Specifically, it is the percentage of the distance from the starting point of the display of the animation object to the current position in the distance from left to right of the entire display device. Similarly, st1 is also a relative distance. Specifically, taking the example of a pedestrian crossing the zebra crossing from left to right, this relative distance is the percentage of the ideal position that the animation object should be in on the display device when the animation object coincides with the moving object in the distance from left to right of the entire display device, and this ratio is consistent with the percentage of the distance from the left side of the zebra crossing to the current position of the pedestrian in the total length of the zebra crossing. Specifically, if the animation object has already caught up with the corresponding moving object and is in a normal state, but then the moving object suddenly changes its moving direction an odd number of times (such as changing the moving direction 1 or 3 times), making the current moving direction opposite to the initial moving direction, then in response to st > st1, the animation object will chase the moving object, and at this time, the chasing speed of the animation object chasing the moving object is: v1 = v0×(1 + 0.5×cos(π / 4×(1 - st) / (1 - st1) + π / 4)), and if the moving object suddenly changes its moving direction an even number of times (such as changing the moving direction 2 or 4 times), making the current moving direction the same as the initial moving direction, then still in response to st < st1, the animation object will chase the moving object, and at this time, the chasing speed of the animation object chasing the moving object is: v1 = v0×(1 + 0.5×cos(π / 4×st / st1 + π / 4)).

[0068] Furthermore, the method for displaying an animation object may further include:

[0069] Performing smoothing processing on the animation object in response to the animation object being in an unstable state.

[0070] Among them, the unstable state may include one of the following unstable states: the actual position of the moving object corresponding to the animation object jumps, the moving object corresponding to the animation object is periodically missing in the sample, and the animation effect of the animation object is sometimes fast and sometimes slow.

[0071] Specifically, the specific situation in which the actual position of the moving subject corresponding to the animation object jumps may be that there are moving subject A, moving subject B and moving subject C in sequence from left to right on the zebra crossing, and all three pass through the zebra crossing from left to right, and the moving speed of moving subject A is faster than that of moving subject B and moving subject C. Then, after a period of time, moving subject A will pass through moving subject B and moving subject C. During this process, the identity frame of moving subject A will be interfered by the identity frames of moving subject B and moving subject C, causing the identity frame of moving subject A to shift to the left or right, which will cause the actual position of the identified moving subject A to keep jumping. The basis for judging the jump is to judge whether the moving directions of the identity frames of the same moving subject in consecutive frames are consistent, whether the difference in the single-frame displacement distance in the same direction is within the specified threshold range, and whether the proportion of unstable frames is within the specified threshold.

[0072] Specifically, the animation effect of the animation object is sometimes fast and sometimes slow due to the unstable frame extraction and interpolation of the single material animation. For example, the animation effect of the animation object can be a pedestrian walking and waving his hands. When the frame extraction and interpolation of the single material animation is unstable, the waving of the hands will be fast and slow, which will be displayed as an unstable display effect with jitter and unsmoothness.

[0073] The actual position jump of the moving subject corresponding to the animation object or the animation effect of the animation object that is sometimes fast and sometimes slow can be solved in the following way: take the actual position of the moving subject whose actual position jumps in continuous samples, for example, select 6 frames of samples, then calculate the distance between the actual positions of the moving subject in two adjacent frames of samples, and calculate the average speed of the moving subject between two adjacent frames of samples through the time interval between the two adjacent frames of samples, and use the average speed as the average speed of a displacement stage, then take the average value of the average speed values ​​of the five stages obtained, and use the average value as the actual speed of the moving subject, so as to use the actual speed as a reference for the moving speed of the moving subject on the display device. In addition, the average speeds of multiple displacement stages can also be smoothly connected. For example, according to the calculated speed of the moving subject between two adjacent frames of samples, the average speeds of the two moving stages are smoothly transitioned. For example, the speed of the animation object corresponding to the moving subject obtained in the previous moving stage is V, and the speed of the animation object corresponding to the moving subject obtained in the next moving stage is 0.8V, then the moving speed of the animation object can be controlled to slowly decrease from V to 0.8V to ensure the smoothness of the animation effect.

[0074] The specific situation in which the moving subject corresponding to the animation object is temporarily missing in the sample may be that the attribute analysis module fails to identify the moving subject in a short period of time (for example, within 0.1 to 2 seconds). The reason for the failure to identify is generally that the moving subject is blocked by other moving subjects. For example, the moving subject is a pedestrian, and the pedestrian is blocked by a cyclist, resulting in failure to be identified. If this situation occurs, it is necessary to retrieve samples of several consecutive frames of the pedestrian before it cannot be identified to obtain the actual position of the pedestrian before disappearing, and calculate the moving speed of the pedestrian, so that the animation effect of the animation object of the pedestrian can be rendered based on the actual position of the pedestrian before disappearing and the moving speed before disappearing, until the pedestrian is re-identified, and based on the actual position when re-identified, it is determined whether the position of the animation object of the pedestrian corresponds to the actual position of the pedestrian, and when the position of the animation object of the pedestrian does not correspond to the actual position of the pedestrian, the animation object is triggered to catch up with the pedestrian. Based on this technical solution, it can be ensured that the animation object of the pedestrian will not suddenly disappear from the display device, thereby ensuring the continuity of the display and movement of the animation object. Furthermore, the animation object display method may also include: removing the animation object from the display device in response to the disappearance of the moving subject from the sensing data. It is understandable that if the animation object corresponding to the pedestrian moves to the side of the display device (and the animation object of the pedestrian can be retained at the side for 1 to 2 seconds), and the pedestrian is still not recognized, it can be determined that the pedestrian has crossed the zebra crossing, and the animation object of the pedestrian is controlled to move outside the display area or be deleted from the screen.

[0075] Furthermore, the animation object display method may also include: identifying new moving subjects in the sensing data other than the sample to generate candidate animation objects; sorting the animation objects and candidate animation objects according to display priority, and giving priority to displaying the animation objects and candidate animation objects with higher display priority based on the number of simultaneously displayed animation objects supported by the display device.

[0076] It is understandable that there is an upper limit to the number of animation objects that can be displayed on a display device at the same time. Therefore, if there are too many moving subjects in the sample, the moving subjects in the sample need to be prioritized, and the animation objects corresponding to the moving subjects with higher priorities are displayed on the display device first. The animation objects that cannot be displayed on the display device form an animation object library to be displayed. After the animation objects on the display device complete the display process and are deleted, the animation objects with higher display priorities are selected from the animation object library to be displayed in order of priority to ensure the clarity of the displayed animation objects. When displaying, the animation objects are also displayed on the side of the display device first and then controlled to catch up with the corresponding moving subjects.

[0077] If the number of moving subjects in the sample is less than the number of animation objects that the display device can display simultaneously, the part of the sensing data that was not used as a sample during the previous interval sampling can be used as a candidate sample, and whether there are other new moving subjects can be identified from the candidate samples, and candidate animation objects for the new moving subjects can be generated. The candidate animation objects are then sorted by display priority, so that the candidate animation objects with higher display priority can be added to the display device for display, thereby ensuring that there is enough information so that the driver of the following vehicle can fully understand the road conditions ahead.

[0078] Furthermore, if Figure 3 As shown, in order to facilitate traffic participants such as the driver of the rear vehicle to understand how long the vehicle in front has been waiting and how long they need to stop and wait, in one example of the present application, it can be displayed on the animation object how long it will take for the moving subject corresponding to the animation object to not affect the vehicle in front, and it can also be displayed how long the vehicle in front has been parked. For example, taking a situation where multiple pedestrians need to cross the road, the time the vehicle in front has been parked is displayed at the moment the vehicle in front has just stopped, and the animation object corresponding to each pedestrian (or each group of people) is used to display how many seconds it is estimated that the pedestrian (or group of people) will need to cross the zebra crossing and reach the sidewalk, and the longest estimated passing time can be used as the time value that traffic participants such as the driver of the rear vehicle need to wait, so that traffic participants such as the driver of the rear vehicle can understand how long they need to wait.

[0079] When displaying an animation object, the animation object can be modeled according to the category of the moving subject corresponding to the animation object (such as pedestrians, bicycles, mopeds, etc.) to obtain the rendering effect of the animation object, and the quasi-display material can be obtained according to the animation object and the rendering effect of the animation object. Then, the animation object and the rendering effect of the animation object can be reconstructed based on the device properties of the display device, and the reconstructed animation object is displayed on the display device based on the reconstructed rendering effect. The device properties of the display device may include the resolution of the display device, the size of the display device, the refresh rate of the display device, etc.

[0080] like Figure 2 As shown, the present application can provide a group object sampling device to implement the above-mentioned animation object display method. The group object sampling device includes a road scene detection module, an attribute analysis module, a crowd analysis module, an animation modeling module and an animation display control module.

[0081] Specifically, the moving subjects in the set road section around the vehicle can be acquired by using the road condition scene detection module. The road condition scene detection module may include a camera, or a combination of a camera and a radar, so that the moving subjects in the road section in front of the vehicle can be acquired through the camera, and the radar can be used to strengthen the detection and identification of the moving subjects in the road section in front of the vehicle at night, so that the moving subjects can be identified more accurately, and it is not easy to have a situation where some moving subjects are difficult to identify at night based on visual detection alone, resulting in inaccurate subsequent road condition information transmission.

[0082] The attribute analysis module is connected to the road scene detection module in communication. The attribute analysis module can determine the motion attribute of the moving subject and can track the moving subject.

[0083] The road condition database is connected to the attribute analysis module in communication, and can store the motion subject and the matching motion attributes output by the attribute analysis module.

[0084] The crowd analysis module is connected to the traffic database and the attribute analysis module in order to predict the movement of the moving subject based on the movement attributes.

[0085] The animation modeling module is connected with the crowd analysis module so as to generate an adaptive animation object based on the moving subject. The material animation of the animation object can be pre-stored in the traffic database, and the animation rendering effect can be generated based on the motion attributes.

[0086] The animation display control module is connected to the animation modeling module, and can reconstruct the animation object and rendering effect based on the display characteristics of the display device connected to the animation display control module, so as to display on different display devices.

[0087] In addition, the group object sampling device may also include an animation process control module, which can be connected to multiple animation display control modules to receive frame-by-frame display materials (i.e., single-frame animation effects) output by multiple animation display control modules, and distribute the display materials to corresponding display devices for display, so that the display materials can be displayed from different display devices, so as to be able to fully transmit road condition information of the set road section to the following vehicles.

[0088] The display device may be a display screen or a headlight integrated on the outside of the vehicle, and the display device displaying the animation object is located on the outside of the vehicle, on the side opposite to the moving subject corresponding to the animation object. Thus, the road condition information around the vehicle can be transparently transmitted to the traffic participants on the other side in real time. Preferably, the display device is a vehicle taillight or a display screen integrated in the vehicle taillight, so that the road condition in front of the vehicle can be transparently transmitted to the following vehicle in real time.

[0089] A second aspect of the present invention provides an electronic device, which includes a processor and a memory; wherein the memory stores a computer program, and the computer program is executed by the processor when it is running: the animation object display method in the above technical solution; in addition, the memory also includes a road condition database.

[0090] A third aspect of the present invention provides a storage medium having a computer program stored thereon, which is executed by a processor when the computer program is run: the animation object display method in the above technical solution, since the storage medium can execute the above animation object display method when it is run, it also has all the technical effects of the above animation object display method.

[0091] A fourth aspect of the present invention provides a vehicle, which includes the electronic device or storage medium in the above technical solution. Since the vehicle has the electronic device or storage medium in the above technical solution, it also has all the technical effects of the electronic device or storage medium.

[0092] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0095] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0097] Computer readable media include permanent and non-permanent, removable and non-removable media and can store information by any method or technology. The information can be computer readable instructions, data structures, program modules or other data.

[0098] Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.

[0099] The preferred embodiments of the present invention are described in detail above in conjunction with the accompanying drawings. However, the present invention is not limited to the specific details in the above embodiments. Within the technical concept of the present invention, a variety of simple modifications can be made to the technical solution of the present invention, and these simple modifications all belong to the protection scope of the present invention.

[0100] It should also be noted that the various specific technical features described in the above specific embodiments can be combined in any suitable manner without contradiction. In order to avoid unnecessary repetition, the present invention will not further describe various possible combinations.

[0101] In addition, various embodiments of the present invention may be arbitrarily combined, and as long as they do not violate the concept of the present invention, they should also be regarded as the contents disclosed by the present invention.

Claims

1. A method for displaying an animation object, characterized in that: The steps include: Acquire in real time a moving subject and a moving attribute of the moving subject in a set road section, wherein the moving attribute at least includes an actual position, an actual speed and a moving direction of the moving subject; Creating an animation object based on the moving subject for display on a display device, wherein a side end of the display device is a moving starting point of the animation object; Determining a state of the animation object based on the motion attribute and the position of the animation object on the display device; In response to the animation object being in a lagging state, the animation object catches up with the moving subject; The real-time acquisition of the moving subject of the set road section and the moving attribute of the moving subject includes: Collect sensor data of a set road section; Sampling the collected sensing data at time intervals to obtain samples, and identifying the moving subject in the samples; identifying new moving subjects in the sensing data other than the samples to generate candidate animation objects; The animation objects and the candidate animation objects are sorted by display priority, and based on the number of the animation objects that can be displayed simultaneously supported by the display device, the animation objects and the candidate animation objects with the highest display priority are preferentially displayed.

2. The method for displaying an animation object according to claim 1, characterized in that: The animation object in the lagging state includes: The position of the animation object on the display device does not correspond to the actual position of the moving subject.

3. The method for displaying an animation object according to claim 1, characterized in that: The catching-up speed of the animation object in catching up with the moving subject is determined based on the distance between the current position of the animation object on the display device and the ideal position on the display device where the animation object should be when coinciding with the moving subject.

4. The method for displaying an animation object according to claim 3, characterized in that: The speed at which the animation object catches up with the moving subject is: v1=v0×(1+0.5×cos(π / 4×st / st1 +π / 4)); Among them, v0 is the ideal moving speed of the animation object on the display device, v1 is the catching-up speed, st is the distance between the display starting point of the animation object and the current position of the animation object on the display device, st1 is the distance between the display starting point of the animation object and the ideal position where the animation object should be on the display device when the animation object coincides with the moving subject, and the animation object catching up with the moving subject is executed in response to st < st1.

5. The method for displaying an animation object according to claim 1, characterized in that: Also includes: In response to the animation object being in an unstable state, performing smoothing processing on the animation object; Wherein, the unstable state includes: The actual position jump of the moving subject corresponding to the animation object; The moving subject corresponding to the animation object is missing in the sample at certain stages; The animation effect of the animation object is sometimes fast and sometimes slow.

6. The method for displaying an animation object according to claim 5, characterized in that: The smoothing of the animation object in response to the animation object being in an unstable state comprises: In response to the actual position jump of the moving subject corresponding to the animation object or the animation effect of the animation object being fast or slow, smoothly connecting the average speeds of multiple displacement stages; In response to the periodic absence of the moving subject corresponding to the animation object in the sample, based on the motion attributes of the moving subject in the previous sample, the estimated motion attributes after the disappearance of the moving subject are predicted, and the animation object moves on the display device based on the estimated motion attributes, wherein, in response to the absence of the moving subject corresponding to the animation object in the sample reaching a set time period, the animation object is controlled to move outside the display area according to the estimated motion attributes of the animation object.

7. The method for displaying an animation object according to claim 1, characterized in that: Also includes: In response to the animation object catching up with the moving body, the animation object is in a normal state and moves synchronously with the moving body.

8. The method for displaying an animation object according to claim 1, characterized in that: The display device is a display screen or a vehicle light integrated on the outside of the vehicle, and the display device displaying the animation object is located on the outside of the vehicle, opposite to the side of the moving body corresponding to the animation object.

9. An electronic device, characterized in that: The electronic device comprises: processor; A memory having a computer program stored thereon, wherein the computer program is executed by the processor when it is executed: An animation object display method as claimed in any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium stores a computer program, which is executed by the processor when it is run: An animation object display method as claimed in any one of claims 1 to 8.

11. A vehicle, characterized in that: Includes the electronic device according to claim 9, or the storage medium according to claim 10.

Citation Information

Patent Citations

  • Vehicle information prompting method, device and equipment and storage medium

    CN109872566A

  • Dynamic model display method, device and equipment

    CN112381954A

  • Vehicle image generation method and device, computer equipment and storage medium

    CN116030223A

  • Method for displaying vehicle driving state, and electronic device

    WO2022088973A1