Target object tracking method and device, and vehicle model equipment
By identifying and tracking the movement trajectory of target objects in the car model equipment, predicting risks and implementing corresponding policy reminders, the problem of the limited application scenarios of car model equipment is solved, and the safety monitoring and timely reminders of target objects are realized.
Patent Information
- Application Number
- CN202310671290.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-07
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-06-07
AI Technical Summary
The existing car model equipment has a relatively limited range of applications and cannot meet the safety monitoring needs of car owners when their pets or children are moving around in public places, nor can it provide timely warnings of potential dangers.
By implementing a target object tracking method in a car model device, the risk outcome is predicted based on the category and movement trajectory of the target object from the image, and corresponding strategies are executed to remind the target object to avoid danger, including voice reminders or accelerating to move in front of the target object.
It improves the safety monitoring capabilities of car model equipment in diverse scenarios, can promptly alert target objects to avoid potential dangers, and enriches the application scenarios of car model equipment.
Smart Images

Figure CN116703972B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of intelligent device technology, and in particular relates to a target object tracking method, device and vehicle model equipment. Background Technology
[0002] With the development of vehicle technology, car model equipment, which is typically produced in scale to the original vehicle size, is often manufactured during the production of vehicles. This car model equipment includes movable, dynamic car models with multiple functions for general entertainment. For example, they may have positioning and recording capabilities.
[0003] Currently, the use cases for car model devices with the aforementioned functions are relatively limited. For example, for car owners who own pets or have children at home, when their pets, children, or elderly relatives are in public places, the car model device can only provide the monitored area of their movements. However, due to personal negligence or other reasons, car owners may not be able to monitor the surveillance footage provided by the car model device in real time, resulting in a lack of timely alerts when there are safety risks to their pets, children, or elderly relatives during their activities. In other words, the existing car model devices have limited use cases and cannot meet the diverse needs of car owners. Summary of the Invention
[0004] This application provides a target object tracking method, device, and car model equipment, which can solve the problem that the car model equipment has a limited range of applications and cannot meet the diverse needs of car owners.
[0005] In a first aspect, embodiments of this application provide a target object tracking method applied to a movable vehicle model device, the method comprising:
[0006] The target object is determined from the acquired images based on the pre-set category of the target object to be tracked;
[0007] Obtain the motion trajectory of the target object during movement;
[0008] Based on the motion trajectory, predict the risk outcome when the target object continues to move;
[0009] If the risk outcome is a dangerous outcome, then the target strategy corresponding to the category of the target object is executed; the target strategy is used to alert the target object that there is danger in its direction of movement.
[0010] Secondly, embodiments of this application provide a target object tracking device applied to a movable vehicle model device, the device comprising:
[0011] The first determination module is used to determine the target object from the acquired image based on the pre-set category of the target object to be tracked;
[0012] The first acquisition module is used to acquire the motion trajectory of the target object during its movement;
[0013] The prediction module is used to predict the risk outcome when the target object continues to move, based on the motion trajectory.
[0014] The execution module is used to execute the target strategy corresponding to the category of the target object if the risk outcome is dangerous; the target strategy is used to warn the target object that there is danger in its direction of movement.
[0015] Thirdly, embodiments of this application provide a car model device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the method described in the first aspect above.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the method described in the first aspect above.
[0017] Fifthly, embodiments of this application provide a computer program product that, when run on a car model device, causes the car model device to execute the method described in the first aspect.
[0018] The beneficial effects of this application embodiment compared to the prior art are as follows: Based on the pre-set category of the target object to be tracked, such as a person or an animal, the target object to be tracked can be automatically determined from the acquired images. Then, during the tracking process, the movement trajectory of the target object is determined, and based on the movement trajectory, the risk outcome of the target object continuing to move is predicted. Subsequently, when the risk outcome is determined to be dangerous, a target strategy corresponding to the category of the target object can be executed to select an appropriate strategy to alert the target object that its direction of movement is dangerous. Furthermore, in addition to tracking the target object (person or animal), it can also promptly alert the target object when it is in danger during movement due to its own negligence or other reasons, improving the safety of the target object during movement. Based on this, the application scenarios of car model equipment can be enriched, allowing it to meet the diverse needs of car owners. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating the implementation of a target object tracking method according to an embodiment of this application;
[0021] Figure 2 This is a flowchart illustrating the implementation of a target object tracking method according to another embodiment of this application;
[0022] Figure 3 This is a schematic diagram of the structure of a target object tracking device provided in an embodiment of this application;
[0023] Figure 4 This is a schematic diagram of the structure of a car model device provided in one embodiment of this application. Detailed Implementation
[0024] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0025] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0026] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.
[0027] With the development of vehicle technology, car model equipment, which is typically produced in scale to the original vehicle size, is often manufactured during the production of vehicles. This car model equipment includes movable, dynamic car models with multiple functions for general entertainment. For example, they may have positioning and recording capabilities.
[0028] The driving methods for dynamic vehicle models include, but are not limited to, fuel-powered, battery-powered, mechanical-powered, and inertial-powered driving.
[0029] Specifically, the car model device may include an audio module for providing voice services, a communication module for communicating with terminal devices, a light drive module for controlling the lights (headlights and taillights of the car model device), an image acquisition module for capturing images, and a power supply module for supplying power to each module. Based on the above modules, the car model device can establish a connection with vehicles or other devices with Internet of Things (IoT) capabilities and be remotely controlled.
[0030] For example, the car model device can remotely control the air conditioning in the vehicle to turn on and off, or remotely control the raising and lowering of the windows, etc., without limitation.
[0031] Currently, the use cases for car model devices with the aforementioned functions are relatively limited. For example, for car owners who own pets or have children at home, when their pets, children, or elderly relatives are in public places, the car model device can only provide the monitored area of their movements. However, due to personal negligence or other reasons, car owners may not be able to monitor the surveillance footage provided by the car model device in real time, and may not receive timely alerts when there are safety risks associated with the pets, children, or elderly relatives during their movements. In other words, the existing car model devices have limited use cases and cannot meet the diverse needs of car owners.
[0032] Therefore, in order to expand the application scenarios of car model devices and meet the diverse needs of car owners, this application provides a target object tracking method that can be applied to mobile car model devices or other mobile devices. The mobile device needs to have functions such as positioning and recording to achieve target object tracking.
[0033] In another embodiment, the above-described target object tracking method can also be applied to terminal devices such as mobile phones, tablets, laptops, ultra-mobile personal computers (UMPCs), and netbooks. In this case, the terminal device can have a data connection with the aforementioned car model device to control the car model device.
[0034] Please see Figure 1 , Figure 1 The following is a flowchart illustrating the implementation of a target object tracking method according to an embodiment of this application. The method includes the following steps:
[0035] S101. Determine the target object from the acquired image based on the pre-set category of the target object to be tracked.
[0036] In one embodiment, the target object category includes, but is not limited to, animals and humans, and may also be other movable objects; there is no limitation in this regard. The images can be captured by a camera device in the car model device. The car model device can determine whether to execute the target object tracking method based on the driver's operation commands, specific voice commands, or actions. Upon determining whether to execute the method, the device acquires surrounding images based on the camera device to identify the target object to be tracked.
[0037] In another embodiment, the terminal device may control the vehicle model device to execute the above-mentioned target object tracking method based on the owner's operation instructions, and there is no limitation on this.
[0038] For different categories of target objects, the car model equipment usually uses different methods to determine the target object.
[0039] Specifically, the car model equipment can determine the identification method of the target object based on the category of the target object, and then identify the target object from the image according to the identification method.
[0040] For example, when the target object is a person, the vehicle model device can determine that the identification method is a person with a preset pose in the image. In this case, when identifying the target object, the vehicle model device can identify the pose of each object in the image, and then identify the object with the preset pose as the target object.
[0041] Among them, the car model equipment can be pre-set with a recognition model to recognize the pose of each object.
[0042] The aforementioned preset poses can be used to perform specific gestures or actions on the target object. For example, the preset poses can be a scissor gesture, a finger pointing to the sky, or both hands raised, etc., and there is no limitation on this. The preset poses can be set in advance by the car owner by uploading images, text descriptions, or voice descriptions of the corresponding poses, and there is no limitation on this as well.
[0043] In another embodiment, when the target object is an animal, the vehicle model device can determine the closest animal in the image. That is, the vehicle model device can identify the distance between each animal and itself in the image. Then, the animal with the closest distance is identified as the target object.
[0044] The vehicle model device can determine the distance between each animal and itself based on the image position of each animal in the image and the positional transformation relationship between the camera coordinate system and the world coordinate system. The method for determining the distance is existing technology and will not be described in detail.
[0045] In another embodiment, the vehicle model device may also include a TOF ranging sensor to monitor the distance to the target object in real time.
[0046] It should be noted that in outdoor locations, images typically include multiple people and animals. Therefore, when identifying people with preset poses as target objects and the nearest animal as the target object using the methods described above, misidentification may occur.
[0047] Therefore, to enable the car model device to accurately identify the target object, after determining the initial object from the image according to the confirmation method, it can be displayed on the display screen of the car model device or on the display screen of a terminal device connected to the car model device. Then, when the car model device receives a confirmation command for the initial object, it can consider this determined initial object as the target object to be tracked. The confirmation command can be generated by the car model device itself after detecting the driver's touch operation, or it can be generated by the terminal device after detecting the driver's touch operation and sent to the car model device; there is no limitation on which one is chosen.
[0048] It should be noted that if no confirmation instruction for the initial object is received, it can be assumed that the model car device has received a negative instruction for the initial object. In this case, the model car device can determine that the initially identified object has been misidentified. Based on this, the model car device can repeat the target step and the steps following the target step until a confirmation instruction is received; that is, until the target object is determined. The target step is to determine the initial object from the image according to the confirmation method.
[0049] It should be added that when the target object is an animal, the identification method is the closest animal in the image. In this case, if no identification instruction for the closest animal is received, when the vehicle model device executes the method of identifying the initial object from the image again, it should identify the closest animal from the distances between the other animals and the vehicle model device.
[0050] It should be noted that the above method of determining the target object from an image is only one example. In another embodiment, the car model device can also display each category of objects in the image on the display screen. Then, based on the car owner's touch operation on the display screen, the target object is determined from the multiple displayed objects. In this embodiment, the method of determining the target object is not limited.
[0051] The aforementioned display screen can be either the display screen of the car model device or the display screen of a terminal device with a pre-installed app. In this case, the car owner can log in to the app through the terminal device and establish a wireless data connection with the car model device. For example, a Bluetooth connection can be used to enable communication between the car model device and the terminal device.
[0052] S102. Obtain the motion trajectory of the target object during its movement.
[0053] In one embodiment, the aforementioned motion trajectory is generated by the vehicle model device determining the position of the target object in real time when tracking the target object, so as to generate the motion trajectory of the target object during movement.
[0054] S103. Based on the motion trajectory, predict the risk outcome when the target object continues to move.
[0055] In one embodiment, the aforementioned risk outcomes include both safe and dangerous outcomes. Specifically, the vehicle model device can predict the trajectory of the target object as it continues to move within a preset time period based on its motion trajectory. Then, the risk outcome is determined based on the predicted trajectory. For example, the vehicle model device can determine the risk outcome corresponding to the predicted trajectory based on a preset map module.
[0056] The map module can record the scene of the road in which the target object is currently moving. For example, scenes include, but are not limited to, sidewalks, roads, parks, and other similar locations. Furthermore, the vehicle model device can pre-store dangerous areas marked by the vehicle owner, such as ditches, ponds, or roads without sidewalks. Then, if the predicted trajectory passes through one of these dangerous areas, or if the distance between any point on the predicted trajectory and a dangerous area is less than a preset danger distance, the vehicle model device can determine the risk outcome as dangerous. Otherwise, it determines the risk outcome as safe.
[0057] In one embodiment, both the aforementioned danger zone and the preset danger distance can be set according to actual conditions, and there is no limitation on this.
[0058] It should be noted that, in order to improve the accuracy of the predicted trajectory, the predicted trajectory for the next preset time period can be predicted based solely on the motion trajectory during a preset historical time period prior to the current moment. The durations of the preset historical time period and the next preset time period can be equal, or they can be set according to the actual situation; there are no restrictions on this.
[0059] In one embodiment, the vehicle model device may pre-store a trajectory prediction model to predict the trajectory of the target object when it moves, based on the current motion trajectory. The training method for the trajectory prediction model is an existing method and will not be described in detail.
[0060] In another embodiment, the vehicle model device can also simultaneously determine the risk outcome based on real-time acquired images. For example, by identifying a dangerous area (e.g., a ditch or pond) on the road in the direction the target object is moving, and the dangerous area is located on the predicted trajectory, or the nearest distance to the predicted trajectory is less than a preset danger distance, then the risk outcome is determined to be a dangerous outcome. Otherwise, if no dangerous area is identified on the road in the direction the target object is moving, or the dangerous area is not located on the predicted trajectory, or the nearest distance to the predicted trajectory is greater than or equal to a preset danger distance, then the risk outcome is determined to be a safe outcome.
[0061] S104. If the risk outcome is a dangerous outcome, then execute the target strategy corresponding to the category of the target object; the target strategy is used to remind the target object that there is danger in its direction of movement.
[0062] In one embodiment, when a risk outcome is determined to be a dangerous outcome, in order to provide timely warning to the target object, the vehicle model device can execute a preset target strategy to remind the target object that there is danger in its direction of travel.
[0063] It is understandable that, for humans and animals, since humans can directly provide reminders based on voice, while animals usually cannot understand human language, the target strategies implemented for different categories of target objects are usually different.
[0064] Specifically, if the target object is a human, a preset first alert is triggered. If the target object is an animal, the vehicle accelerates to the front of the target object and a preset second alert is triggered.
[0065] The first preset alert operation includes, but is not limited to, vibration, flashing lights, or playing a preset voice message, and is not limited thereto. For example, in this embodiment, the first preset alert operation can be playing a preset voice message. For instance, it could be playing a message such as "Danger ahead, please be careful."
[0066] In one embodiment, when the target object is an animal, since animals cannot understand human language, the second reminder operation described above can be playing stimulating audio or strong flashing lights to affect the target object, and there is no limitation on this.
[0067] It is important to note that if the model vehicle performs the second warning operation from behind the target object, it may have the opposite effect, causing the target object to accelerate forward after being stimulated. This, in turn, increases the risk to the target object. Therefore, to ensure the safety of the target object, the model vehicle needs to accelerate to the front of the target object before performing the second warning operation.
[0068] The acceleration of the model car can be determined based on the current speed of the target object and the distance between them. Specifically, based on the target object's current speed and a preset time duration, a first distance the target object travels within the preset time duration is determined, and the sum of the interval distance and the first distance is calculated. Then, based on a preset formula relating distance, speed, time, and acceleration, the sum of the interval distance and the first distance, the preset time duration, and the model car's speed are substituted into the above formula to obtain the model car's acceleration. At this point, the model car only needs to accelerate by an amount greater than or equal to the acceleration.
[0069] Understandably, when the risk outcome is a safe outcome, the car model device only needs to continue tracking the target object.
[0070] In this embodiment, based on a pre-set category of the target object to be tracked, such as a person or an animal, the target object to be tracked can be automatically determined from the acquired images. Then, during the tracking process, the target object's movement trajectory is determined, and based on the trajectory, the risk outcome of the target object continuing to move is predicted. Subsequently, if the risk outcome is determined to be dangerous, a target strategy corresponding to the target object's category can be executed to select an appropriate strategy to alert the target object that its direction of travel is dangerous. Furthermore, in addition to tracking the target object (person or animal), it can also promptly alert the target object when its movement is dangerous due to its own negligence or other reasons, improving the safety of the target object during movement. Based on this, the application scenarios of the car model equipment can be enriched, allowing it to meet the diverse needs of car owners.
[0071] In another embodiment, when a risk outcome is determined to be a dangerous outcome, in order to enable the car owner to understand the cause of the danger in a timely manner, the car model device can determine the type of danger corresponding to the dangerous outcome based on the movement trajectory, and then upload the target information to a preset terminal device.
[0072] As explained above, the predicted trajectory of the target object as it continues to move can be determined based on its movement trajectory, and the preset map module contains various pre-marked danger zones. Based on this, the vehicle model device can determine the type of danger corresponding to the dangerous outcome based on the movement trajectory.
[0073] Different hazard types can be pre-set for different hazardous areas. For example, hazard types include, but are not limited to, remote area, personal injury, and danger ahead. The remote area can be pre-set by the vehicle owner in the map module; personal injury can be the hazard type corresponding to a traffic accident ahead; and when the predicted trajectory passes through a pre-marked hazardous area (e.g., a pond), the corresponding hazard type can be "danger ahead." In this embodiment, the hazard type corresponding to different hazard outcomes is not limited.
[0074] In another embodiment, the vehicle model device can also identify the type of danger based on the acquired images, without limitation.
[0075] The target information mentioned above includes not only the movement trajectory and the type of danger, but also information such as the currently acquired images and the location, without any limitation.
[0076] It should be noted that, during the tracking of the target object, in order to avoid the distance between the vehicle model device and the target object being too far, which would prevent the target object from being promptly alerted when the risk result is determined to be dangerous, and to avoid the distance between the vehicle model device and the target object being too close, which would cause the target object to accidentally injure the vehicle model device, in this embodiment, the vehicle model device can also reasonably choose whether to accelerate or decelerate based on the distance between it and the target object, so that the distance between the two is within a preset range.
[0077] For example, during the tracking of a target object, the vehicle model device can determine the interval distance between itself and the target object. Then, when the interval distance is not within the preset tracking distance range, it can accelerate or decelerate according to the interval distance until the interval distance is within the tracking distance range.
[0078] In one embodiment, the tracking distance range can be set according to actual conditions, for example, from 2 meters to 5 meters, without limitation.
[0079] Understandably, during the tracking process, the target object's acceleration or deceleration may cause the tracking distance to deviate from the preset range. In this case, the vehicle model device also needs to accelerate or decelerate.
[0080] Specifically, when the interval distance is greater than the maximum value in the tracking distance range, the vehicle model should accelerate until the interval distance is less than or equal to the maximum value in the tracking distance range. Conversely, when the interval distance is less than the minimum value in the tracking distance range, the vehicle model can decelerate until the interval distance is greater than or equal to the minimum value in the tracking distance range.
[0081] The magnitude of acceleration or deceleration can be determined based on the moving speed of the model vehicle and the current speed of the target object. For example, when acceleration is needed, as long as the final accelerated speed of the model vehicle exceeds the current speed of the target object, the distance between the model vehicle and the target object can gradually decrease until they are within the tracking distance range. Conversely, when deceleration is needed, as long as the final decelerated speed of the model vehicle is less than the current speed of the target object, the distance between the model vehicle and the target object can gradually increase until they are within the tracking distance range.
[0082] The acceleration or deceleration magnitude described above is only one example. In another embodiment, it can also be determined based on the example of the acceleration magnitude explained in S104 above, which will not be described in detail.
[0083] It should be noted that when the interval distance is within the preset tracking distance range, the vehicle model device can gradually adjust its own speed to match the moving speed of the target object. However, since the moving speed of the target object is usually not consistent at different times, the vehicle model device can continuously collect the moving speed of the target object at multiple times, and then determine the average of these multiple moving speeds as the driving speed to be adjusted. In this way, during continuous tracking, the interval distance between the vehicle model device and the target object can be kept within the preset tracking distance range for a long time, reducing the number of times the vehicle model device needs to adjust its speed.
[0084] In another embodiment, reference is made to Figure 2 , Figure 2 This is a flowchart illustrating the implementation of a target object tracking method according to another embodiment of this application. Taking a car model device as the executing entity, after the car model device triggers the execution of the above-mentioned target object tracking method based on the owner's operation instructions, specific voice, actions, or confirmation on the display screen, it can first determine the confirmation method of the target object according to the pre-set category of the target object to be tracked. Then, the target object is determined from the image according to the confirmation method.
[0085] For example, when the target object is classified as a person, the identification method is to determine if the person in the image has a preset pose. And when the target object is classified as an animal, the identification method is to determine if the animal in the image is the closest. Then, to ensure the accuracy of the identified target object, the vehicle model device can display the identified target object on the screen, and then determine whether it is the target object to be tracked based on the driver's confirmation command. Alternatively, the vehicle model device can directly display all the collected objects on the screen, and then determine the target object from multiple objects based on the driver's touch operation.
[0086] Subsequently, the tracking system records the target object's trajectory in real time and accelerates or decelerates based on the distance between the target object and the tracking distance, ensuring the distance remains within a preset tracking range. The vehicle model then predicts the target object's trajectory as it continues to move and determines the risk outcome based on pre-marked danger zones in the map module. Thus, if the risk outcome is determined to be safe, tracking can continue. Conversely, if the risk outcome is determined to be dangerous, a target strategy corresponding to the target object's category is executed to alert the target object to the danger in its direction of travel or to drive the target object away from the danger.
[0087] For example, if the target is an animal, accelerate to its front and then perform a second warning to keep it away from danger. Conversely, if the target is a human, simply perform a first warning to alert it to danger ahead.
[0088] It should be noted that the above examples are only examples of tracking a single target object. In another embodiment, the vehicle model device can also track multiple target objects simultaneously.
[0089] Specifically, when multiple target objects are all classified as people, one or more primary target objects and at least one secondary tracking object can be identified from among them. The primary target object can then be tracked using the target object tracking method provided in the above embodiments, and a corresponding target strategy will be executed to issue a warning when the risk outcome is dangerous. For the secondary target object, an image containing the secondary target object can be collected at preset intervals. If it is determined that the distance between the secondary target object and the primary target object is greater than the preset interval distance, or if no image containing the secondary target object is collected, a warning message and location information are sent to a terminal device pre-associated with the secondary target object to remind the secondary target object to pay attention. Alternatively, a preset warning strategy can be executed to warn the primary target object that it will become separated from the secondary target object.
[0090] In one embodiment, the method for determining the primary target object and the secondary target object from multiple target objects can be similar to the method for determining the target object described above. For example, a person in a first preset pose can be determined as the primary target object, and a person in a second preset pose can be determined as the secondary target object; or, the determination can be performed according to a determination instruction, which will not be described in detail here.
[0091] The aforementioned preset interval distance can be set according to actual conditions, which will not be explained in detail.
[0092] In another embodiment, the categories of the aforementioned multiple target objects can also be humans and animals. In this case, the vehicle model device can still determine the primary target object and the secondary target object based on the above example. For example, animals can be identified as the primary target object for tracking. Then, when it is determined that the distance between the primary target object and the secondary target object is greater than a preset interval distance, or when no image containing the secondary target object is captured, a reminder message and location information are sent to the terminal device pre-associated with the secondary target object to remind the secondary target object to pay attention.
[0093] It should be noted that the above examples can be applied to scenarios where children and parents, or pet owners and pets, are both in a public place. In this way, even if parents or pet owners lose sight of their children or pets due to personal negligence or other reasons, they can still determine the whereabouts of the children or pets in a timely manner based on the above examples to ensure safety.
[0094] The above description illustrates an example where only one primary target object needs to be tracked among multiple target objects. In another embodiment, when there are multiple primary target objects to be tracked, or when all the primary target objects to be tracked are animals, the vehicle model device can acquire the position of each primary target object in real time. Then, when any primary target object deviates from the preset movement trajectory or leaves the preset movement area, the target operation corresponding to the category of the primary target object is executed.
[0095] For example, when the primary target object is a person, the target operation can be to execute a preset first reminder operation to remind the primary target object to move based on a preset motion trajectory or return to a preset motion area. Simultaneously, the target information of the primary target object can be uploaded to a terminal device pre-associated with a secondary target object to remind the secondary target object to pay attention.
[0096] Furthermore, when the primary target object is an animal, the target operation can be to accelerate to the front of the primary target object and execute a preset second reminder operation to drive the primary target object to move according to a preset movement trajectory or return to a preset movement area. Simultaneously, the target information of the primary target object can be uploaded to a terminal device pre-associated with a secondary target object to remind the secondary target object to pay attention.
[0097] It should be noted that, in another embodiment, there may be a situation where, even if the car model performs the aforementioned target operation, the tracked target object still deviates from the preset motion trajectory or leaves the preset motion area. Furthermore, over time, the target object may have moved a considerable distance.
[0098] At this point, to help the driver quickly locate the target, the car model device can establish remote interaction with the vehicle and then control the vehicle's navigation module to generate a driving route from the vehicle's location to its own. Furthermore, it updates its own location as the vehicle travels along the route.
[0099] Please see Figure 3 , Figure 3 This is a structural block diagram of a target object tracking device provided in an embodiment of this application. The target object tracking device in this embodiment includes modules for performing... Figure 1 and Figure 2 The steps in the corresponding embodiments. Please refer to the details. Figure 1 and Figure 2 as well as Figure 1 and Figure 2 The relevant descriptions in the corresponding embodiments are shown below. For ease of explanation, only the parts relevant to this embodiment are shown. See also... Figure 3The target object tracking device 300 may include: a first determining module 310, a first acquiring module 320, a prediction module 330, and an execution module 340, wherein:
[0100] The first determining module 310 is used to determine the target object from the acquired image based on the pre-set category of the target object to be tracked.
[0101] The first acquisition module 320 is used to acquire the motion trajectory of the target object during its movement.
[0102] The prediction module 330 is used to predict the risk outcome when the target object continues to move based on the motion trajectory.
[0103] The execution module 340 is used to execute the target strategy corresponding to the category of the target object if the risk result is a dangerous result; the target strategy is used to remind the target object that there is danger in its direction of movement.
[0104] In one embodiment, the first determining module 310 is further configured to:
[0105] Based on the category of the target object, determine the method of confirming the target object; and determine the target object from the image according to the method of confirmation.
[0106] In one embodiment, the first determining module 310 is further configured to:
[0107] If the target object is classified as a human, the identification method is determined by the human in the image with a preset pose; if the target object is classified as an animal, the identification method is determined by the animal closest to it in the image.
[0108] In one embodiment, the first determining module 310 is further configured to:
[0109] The initial object is determined from the image based on the confirmation method; when a determination instruction for the initial object is received, the initial object is determined as the target object.
[0110] In one embodiment, the target object tracking device 300 further includes:
[0111] The second determining module is used to determine the distance between the target object and the target object during the tracking process.
[0112] The speed control module is used to accelerate or decelerate the vehicle according to the interval distance if the interval distance is not within the preset tracking distance range, until the interval distance is within the tracking distance range.
[0113] In one embodiment, the prediction module 330 is further configured to:
[0114] The predicted trajectory of the target object as it continues to move is predicted based on its movement trajectory; the risk result corresponding to the predicted trajectory is determined based on a preset map module.
[0115] In one embodiment, the execution module 340 is further configured to:
[0116] If the target object is a human, the first preset reminder action is executed; if the target object is an animal, the vehicle accelerates to the front of the target object and executes the second preset reminder action.
[0117] In one embodiment, the target object tracking device 300 further includes:
[0118] The third determination module is used to determine the type of danger corresponding to the dangerous outcome based on the movement trajectory.
[0119] The upload module is used to upload target information to a preset terminal device; the target information includes the movement trajectory and the type of hazard.
[0120] When it is understood that, Figure 3 The block diagram of the target object tracking device shown illustrates how each module performs [the task]. Figure 1 and Figure 2 The steps in the corresponding embodiments, and for Figure 1 and Figure 2 The steps in the corresponding embodiments have been explained in detail in the above embodiments. Please refer to them for details. Figure 1 and Figure 2 as well as Figure 1 and Figure 2 The relevant descriptions in the corresponding embodiments will not be repeated here.
[0121] Figure 4 This is a structural block diagram of a car model device provided in one embodiment of this application. For example... Figure 4 As shown, the car model device 400 of this embodiment includes: a processor 410, a memory 420, and a computer program 430 stored in the memory 420 and executable on the processor 410, such as a program for a target object tracking method. When the processor 410 executes the computer program 430, it implements the steps of each embodiment of the target object tracking method described above, for example... Figure 1 S101 to S104 are shown. Alternatively, the processor 410 implements the above when executing the computer program 430. Figure 3 The functions of each module in the corresponding embodiments, for example, Figure 3 For details on the functions of modules 310 to 340 shown, please refer to [link / reference needed]. Figure 3 The relevant descriptions in the corresponding embodiments.
[0122] For example, the computer program 430 can be divided into one or more modules, one or more of which are stored in the memory 420 and executed by the processor 410 to implement the target object tracking method provided in the embodiments of this application. One or more modules can be a series of computer program instruction segments capable of performing specific functions, which describe the execution process of the computer program 430 in the vehicle model device 400. For example, the computer program 430 can implement the target object tracking method provided in the embodiments of this application.
[0123] The car model device 400 may include, but is not limited to, a processor 410 and a memory 420. Those skilled in the art will understand that... Figure 4 This is merely an example of the car model device 400 and does not constitute a limitation on the car model device 400. It may include more or fewer components than shown, or combine certain components, or different components. For example, the car model device may also include input / output devices, network access devices, buses, etc.
[0124] The processor 410 may be a central processing unit, or it may be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0125] The memory 420 can be an internal storage unit of the model car device 400, such as a hard drive or memory of the model car device 400. The memory 420 can also be an external storage device of the model car device 400, such as a plug-in hard drive, smart memory card, flash memory card, etc., equipped on the model car device 400. Furthermore, the memory 420 can include both internal storage units and external storage devices of the model car device 400.
[0126] This application provides a computer-readable storage medium storing a computer program, which is executed by a processor using the target object tracking methods described in the above embodiments.
[0127] This application provides a computer program product that, when run on a car model device, causes the car model device to execute the target object tracking methods described in the above embodiments.
[0128] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A target object tracking method, characterized in that, The method, applied to a movable model car device, includes: The target object is determined from the acquired images based on the pre-set category of the target object to be tracked; Obtain the motion trajectory of the target object during its movement; Based on the motion trajectory, predict the risk outcome if the target object continues to move; If the risk outcome is a dangerous outcome, then the target strategy corresponding to the category of the target object is executed; the target strategy is used to alert the target object that there is danger in its direction of travel. If the risk outcome is a safe outcome, continue tracking the target object; If the risk outcome is a dangerous outcome, then the target strategy corresponding to the category of the target object is executed, including: If the target object is classified as a human, then a preset first reminder operation is executed; If the target object is an animal, then accelerate to the front of the target object and execute the preset second reminder operation; The step of determining the target object from the acquired image based on a pre-set category of the target object to be tracked includes: Based on the category of the target object, determine the confirmation method for the target object; The target object is determined from the image according to the confirmation method described above; The method for confirming the target object based on its category includes: If the category of the target object is a person, then the confirmation method is determined to be a person with a preset pose in the image; the preset pose is set in advance by the car owner by uploading an image, text description, or voice description of the corresponding pose. If the target object is classified as an animal, then the confirmation method is determined to be the animal closest to the target object in the image. Determining the target object from the image according to the confirmation method includes: The initial object is determined from the image according to the confirmation method; When a determination instruction is received for the initial object, the initial object is determined as the target object.
2. The method according to claim 1, characterized in that, The method further includes: During the tracking of the target object, the interval distance with the target object is determined; If the interval distance is not within the preset tracking distance range, the vehicle will accelerate or decelerate according to the interval distance until the interval distance is within the tracking distance range.
3. The method according to claim 1, characterized in that, The prediction of the risk outcome when the target object continues to move based on the motion trajectory includes: Based on the motion trajectory, predict the trajectory of the target object as it continues to move; The risk outcome corresponding to the predicted trajectory is determined based on a preset map module.
4. The method according to any one of claims 1-3, characterized in that, The method further includes: The type of danger corresponding to the dangerous outcome is determined based on the motion trajectory; Upload target information to a preset terminal device; the target information includes the movement trajectory and the type of danger.
5. A target object tracking device, characterized in that, An apparatus for use in a movable model vehicle device to perform the method as described in claim 1, the apparatus comprising: The first determining module is used to determine the target object from the acquired image based on the pre-set category of the target object to be tracked; The first acquisition module is used to acquire the motion trajectory of the target object during its movement; The prediction module is used to predict the risk outcome when the target object continues to move, based on the motion trajectory. An execution module is used to execute a target strategy corresponding to the category of the target object if the risk result is a dangerous result; the target strategy is used to remind the target object that there is danger in its direction of travel.
6. A movable model car device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Old-age service system based on autonomous navigation and dangerous action recognition
CN115562301A
Power grid safety early warning method and device, computer equipment and storage medium
CN115620208A
System and method for alerting object in vicinity of vehicle
CN115731668A
