Object detection method and apparatus, electronic device, and storage medium
By combining the information of current and historical image frames in the vehicle assisted driving system, the corresponding relationship between the target object and the detection object is determined, which solves the problem of vehicle position deviation caused by bumps and improves the accuracy of position detection.
Patent Information
- Application Number
- PCT/CN2024/084148
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-27
- Publication Date
- 2024-10-03
AI Technical Summary
The vehicle's position shifts due to bumps during driving. The existing technology fails to effectively consider this factor when predicting the vehicle's current image plane position, resulting in inaccurate position prediction.
By performing object detection on the current image frame and combining the position information of the target object prediction frame in the historical image frame, the corresponding relationship between the target object and the detection object is determined, and then the position of the target object in the current image frame is accurately determined.
The accuracy of target object position detection is improved, and the accurate position can be recorded after a vehicle bump, thereby improving the position prediction accuracy in vehicle assisted driving systems.
Smart Images

Figure CN2024084148_03102024_PF_FP_ABST
Abstract
Description
Object detection method and device, electronic device and storage medium
[0001] This disclosure claims priority to Chinese patent application number 202310333269.0, filed on March 30, 2023, entitled “A method and device for object detection, an electronic device and a storage medium,” the entire contents of which are incorporated herein by reference. Technical Field
[0002] The present disclosure relates to the field of intelligent driving technology, and in particular to an object detection method and device, an electronic device, and a storage medium. Background Art
[0003] With the continuous advancement of vehicle technology, various vehicle control functions have emerged to assist users in driving. For example, autonomous emergency braking (AEB) and adaptive cruise control (ACC) systems are available. The automatic implementation of these vehicle control functions may include: first determining the image plane position of the vehicle in multiple image frames (which may be referred to as the historical image plane position) and the current image plane position of the vehicle; then, controlling the vehicle to perform corresponding operations (e.g., deceleration, braking, etc.) based on the historical image plane position and the current image plane position.
[0004] Summary of the Invention
[0005] Typically, in related solutions, the vehicle's current image position is predicted based on the vehicle's historical image position in at least one image frame. However, the vehicle may experience bumps during driving, causing the vehicle's position to shift. Predicting the vehicle's current image position based solely on at least one image frame does not account for the position shift caused by bumps. Therefore, such solutions suffer from inaccurate predictions of the vehicle's current image position.
[0006] In order to solve the above technical problems, the present disclosure provides an object detection method and device, an electronic device and a storage medium, which can improve the accuracy of position detection of a target object.
[0007] According to a first aspect of the present disclosure, an object detection method is provided, comprising: first, performing object detection on a current image frame to obtain position information of detection frames of n detection objects; further predicting position information of prediction frames of m target objects based on at least one historical image frame before the current image frame; then, determining a correspondence between the m target objects and the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; finally, determining a position of each target object in the current image frame based on the correspondence and the position information of the n detection objects; wherein n and m are positive integers.
[0008] According to a second aspect of the present disclosure, an object detection apparatus is provided, comprising: an object detection module for performing object detection on a current image frame to obtain position information of detection frames of n detected objects; an object prediction module for predicting position information of prediction frames of m target objects based on at least one historical image frame prior to the current image frame; a position determination module for determining a correspondence between the m target objects and the n detected objects based on the position information of the detection frames of the n detected objects and the position information of the prediction frames of the m target objects; and a tracking module for determining a position of each target object in the current image frame based on the correspondence and the position information of the n detected objects. n and m are positive integers.
[0009] According to a third aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and the computer program is used to execute the method provided in any one of the above aspects.
[0010] According to a fourth aspect of the present disclosure, an electronic device is provided, comprising: a processor; a memory for storing processor-executable instructions; and a processor for reading executable instructions from the memory and executing the instructions to implement the method provided in any one of the above aspects.
[0011] Based on the object detection method provided by the present disclosure, object detection is first performed on the current image frame to obtain the position information of the detection frames of n detection objects, and the position information of the prediction frames of m target objects is obtained by predicting at least one historical image frame; then, by comparing the position information of the prediction frames of the m target objects with the position information of the detection frames of the n detection objects, the corresponding relationship between the m target objects and the n detection objects can be determined. Since the bumping of the detection object usually occurs before the current image frame is captured, the current image frame can record the exact position of the detection object after the bumping. Furthermore, after determining the corresponding relationship between the target object and the detection object, the exact position of the target object in the current image frame can be determined based on the position of the detection object corresponding to the target object in the current image frame, which improves the accuracy of the target object position detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] FIG1 is a schematic diagram of an implementation environment of the technical solution provided by the present disclosure;
[0013] FIG2 is a flow chart of an object detection method provided by the present disclosure;
[0014] FIG3 is a flow chart of another object detection method provided by the present disclosure;
[0015] FIG4 is a flow chart of another object detection method provided by the present disclosure;
[0016] FIG5 is a flow chart of another object detection method provided by the present disclosure;
[0017] FIG6 is a schematic diagram of a prediction frame before and after compensation provided by the present disclosure;
[0018] FIG7 is a first structural diagram of an object detection device provided by the present disclosure;
[0019] FIG8 is a second structural diagram of an object detection device provided by the present disclosure;
[0020] FIG9 is a schematic structural diagram of an electronic device provided by the present disclosure. DETAILED DESCRIPTION
[0021] In order to explain the present disclosure, the exemplary embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described herein.
[0022] It should be noted that the relative arrangement of components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless specifically stated otherwise.
[0023] Application Overview
[0024] Currently, with the continuous advancement of vehicle technology, various vehicle control functions have emerged to assist vehicle driving. The process of implementing the vehicle control function may include: first, continuously capturing multiple image frames including the vehicle and determining the image plane position of the vehicle in each image frame (i.e., the historical image plane position); then, predicting the current image plane position of the vehicle based on the historical image plane positions of the vehicle in the multiple image frames; then, determining the current driving parameters of the vehicle (e.g., the vehicle's geographic location (e.g., latitude and longitude coordinates), speed, and acceleration) based on the current image plane position of the vehicle and the historical image plane positions of the vehicle in the multiple image frames; and finally, controlling the vehicle to perform corresponding operations (e.g., deceleration, braking, etc.) based on the current driving parameters of the vehicle.
[0025] However, a vehicle may experience jolting during driving, which may cause the vehicle's position to shift. For example, if the vehicle experiences jolting after capturing at least one historical image frame, the current image plane position of the vehicle is predicted based on the at least one historical image frame without taking into account the position shift caused by the jolting. This can lead to inaccurate predictions of the vehicle's current image plane position.
[0026] Exemplary Systems
[0027] The object detection method provided by the embodiments of the present disclosure is widely used in vehicle assisted driving scenarios such as automatic braking systems and adaptive cruise control.
[0028] Figure 1 is an exemplary application scenario of the object detection method provided by the present disclosure. In the vehicle assisted driving scenario, the current image frame collected usually includes multiple vehicles. Using the object detection method of the present disclosure, the accurate current position of each vehicle in at least one historical image frame can be determined. Specifically, the position information of the prediction box of the vehicle in at least one historical image frame is first predicted; optionally, the vehicle in the historical image frame can be referred to as the first vehicle; then, the position information of the prediction box of each first vehicle is compared with the position information of the detection box of multiple vehicles in the current image frame to determine the vehicle in the current image frame corresponding to the first vehicle; optionally, the vehicle in the current image frame can be referred to as the second vehicle; based on the second vehicle corresponding to the first vehicle, and the position information of the detection box of the second vehicle in the current image frame, the position of the first vehicle in the current image frame is determined. The position of the first vehicle in the current image frame is the accurate current position of the first vehicle.
[0029] In this disclosure, the position information of the prediction frame, the position information of the detection frame, the position of the detection object, and the position of the target object all refer to the image plane position. For example, the position information of the prediction frame refers to the image plane position of the prediction frame in the predicted image frame, the position information of the detection frame refers to the image plane position of the detection frame in the current image frame, the position of the detection object refers to the image plane position of the detection object in the current image frame, and the position of the target object refers to the image plane position of the target object in the current image frame. The target object may include a vehicle.
[0030] Exemplary Methods
[0031] Figure 2 is a flowchart of an object detection method provided by an exemplary embodiment of the present disclosure. The object detection method provided by this embodiment can be applied to an electronic device. As shown in Figure 2, the method may include the following steps S201-S204.
[0032] S201 : Perform object detection on the current image frame to obtain position information of detection frames of n detected objects.
[0033] An electronic device can continuously acquire image frames. An image frame acquired by the electronic device at the current moment can be called a current image frame, and an image frame acquired at a historical moment can be called a historical image frame. The historical moment is before the current moment. Each image frame (e.g., current image frame, historical image frame) can include one or more detection objects. After the electronic device acquires the current image frame, it can perform object detection on the current image frame to obtain position information of the detection frames of n detection objects in the current image frame. n is a positive integer.
[0034] In some embodiments, the electronic device may capture the road on which the vehicle is traveling using a camera to obtain an image frame (e.g., a current image frame). The detected objects in the image frame may include at least one type of object on the road on which the vehicle is traveling, such as a vehicle, a traffic light, and a traffic sign.
[0035] It should be noted that a camera may or may not be an electronic device.
[0036] It should also be noted that the detection object mentioned in the embodiments of the present disclosure can refer to any type of object (e.g., a vehicle, a traffic light, or a traffic sign), or can refer to multiple types of objects (e.g., a vehicle, a traffic light, and a traffic sign). The following embodiments take the detection object as any type of object as an example to introduce the object detection method provided in the embodiments of the present disclosure.
[0037] In some embodiments, the electronic device may use a neural network model (eg, a CNN model) to perform object detection on the current image frame to obtain position information of detection frames of n detected objects.
[0038] For example, the electronic device can detect and obtain the position information D of the detection frames of n detection objects in the current image frame. D={d1,d2,d3,…,d n}.d i =[p lti , p rbi ]. i is a positive integer, and the value range of i is 1 to n. d i is the position information of the detection frame of the i-th detection object among the n detection objects. The detection frame of the i-th detection object (or called the i-th detection frame) is a square box. lti is the coordinate of the upper left corner of the i-th detection frame in the current image frame (i.e., the coordinate of the upper left corner of the i-th detection frame). rbi is the coordinate of the lower right corner of the i-th detection box in the current image frame (i.e., the coordinate of the lower right corner of the i-th detection box).
[0039] In some embodiments, the position information of the detection frame (eg, the coordinates of the lower right corner of the detection frame) may be the two-dimensional coordinates of the detection frame in the current image frame.
[0040] S202 : Predict position information of prediction boxes of m target objects based on at least one historical image frame before the current image frame.
[0041] The electronic device may first determine the position information of the detection frame of each target object in each historical image frame. Each target object may refer to any type of object in the historical image frame. Then, the electronic device predicts the position information of the prediction frame of each target object based on the position information of the detection frame of each target object in at least one historical image frame. The position information of the prediction frame of each target object is used to represent the current position of the target object in an image frame (which may be called a predicted image frame) after at least one historical image frame, or to represent the current position of the target object. m is a positive integer.
[0042] It should be noted that the description of the target object can refer to the detailed description of the detection object in S201, and will not be repeated here in the present embodiment. The target object detected by the electronic device in the historical image frame may be the same as or different from the detection object detected by the electronic device in the current image frame. In other words, the electronic device can obtain the prediction box and detection box of the same object, or the prediction box and detection box of different objects.
[0043] In the following embodiments, the object detection method provided by the embodiments of the present disclosure is introduced by taking the target object as an example of any type of object.
[0044] Exemplarily, the electronic device may perform object detection on each historical image frame to obtain the position information of the detection frames of m target objects in the historical image frame. The electronic device may then further obtain the speed of each target object in at least one historical image frame. The electronic device may then predict the position information of the prediction frame of each target object based on the position information of the detection frame of each target object in at least one historical image frame and the speed of each target object in at least one historical image frame. The speed of each target object in each historical image frame may refer to the speed of each target object at the historical moment when each historical image frame was captured.
[0045] It should be noted that the specific process of the electronic device performing object detection on each historical image frame to obtain the position information of the detection frame of the target object in the historical image frame can refer to the detailed description of performing object detection on the current image frame to obtain the position information of the detection frame of the detected object in the current image frame. The detailed description of the position information of the detection frame of the target object in each historical image frame can also refer to the detailed description of the position information of the detection frame of the detected object in the current image frame, and will not be repeated here in the present embodiment.
[0046] In the embodiment of the present disclosure, the shape of the detection box and the shape of the prediction box can be the same. For example, the detection box and the prediction box are both square boxes.
[0047] Secondly, the form of the position information of the detection frame is the same as the form of the position information of the prediction frame. For example, the position information of the detection frame includes the coordinates of the upper left corner of the detection frame and the coordinates of the lower right corner of the detection frame, then the position information of the prediction frame includes the coordinates of the upper left corner of the prediction frame and the coordinates of the lower right corner of the prediction frame. For another example, the position information of the detection frame includes the coordinates of the upper left corner of the detection frame, the coordinates of the lower left corner of the detection frame, the coordinates of the upper right corner of the detection frame, and the coordinates of the lower right corner of the detection frame, then the position information of the prediction frame includes the coordinates of the upper left corner of the prediction frame, the coordinates of the lower left corner of the prediction frame, the coordinates of the upper right corner of the prediction frame, and the coordinates of the lower right corner of the prediction frame.
[0048] In some embodiments, the position information of the prediction box (eg, the coordinates of the lower right corner of the prediction box) may be the two-dimensional coordinates of the prediction box in the prediction image frame.
[0049] For example, the electronic device detects and obtains the position information D of the detection frames of n detection objects in the current image frame, and predicts and obtains the position information T of the prediction frames of m target objects in at least one historical image frame. T = {t1, t2, t3, ..., t m}. t j =[q ltj ,q rbj ]. j is a positive integer, and the value range of j is 1 to m. j is the position information of the prediction box of the jth target object among the m target objects. The prediction box of the jth target object (or called the jth prediction box) is a square box. ltj is the coordinate of the upper left corner of the j-th prediction box in the predicted image frame (i.e., the coordinate of the upper left corner of the j-th prediction box). rbj is the coordinate of the lower right corner of the j-th prediction box in the predicted image frame (ie, the coordinate of the lower right corner of the j-th prediction box).
[0050] S203 : Determine a correspondence between the m target objects and the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects.
[0051] The electronic device may compare the position information of the n detection frames with the position information of the m prediction frames to determine the detection object corresponding to each of the m target objects. Finally, based on the detection object corresponding to each target object, the correspondence between the m target objects and the n detection objects may be determined. The position information of the n detection frames is the position information of the detection frames of the n detection objects, and the position information of the m prediction frames is the position information of the prediction frames of the m target objects.
[0052] In some embodiments, the electronic device may perform the following steps for each target object: first, based on the position information of the target object's prediction frame and the position information of the detection frames of n detection objects, determine the overlap (which may be referred to as a first overlap) between the target object's prediction frame and the detection frames of the n detection objects; and then, based on the first overlap, determine the detection object corresponding to the target object from the n detection objects. The first overlap may refer to the intersection of union (IOU) between the target object's prediction frame and the detection frame of a detection object.
[0053] The electronic device may determine that a detection object whose first degree of overlap satisfies a preset condition is the detection object corresponding to the target object. The preset condition may include: the first degree of overlap is the largest among n first degrees of overlap, and / or the first degree of overlap is greater than a preset overlap threshold. The n first degrees of overlap include the first degrees of overlap between the prediction frame of the target object and the detection frames of the n detection objects.
[0054] In some embodiments, the electronic device can perform the following steps for each target object: using the Hungarian algorithm, based on the position information of the detection frames of the n detection objects and the position information of the prediction frame of the target object, determine the detection object corresponding to the target object from the n detection objects.
[0055] S204 : Determine the position of each target object in the current image frame according to the corresponding relationship and the position information of the n detection objects.
[0056] The electronic device determines the detection object corresponding to each target object from the corresponding relationship; and then determines the position of each target object in the current image frame according to the position information of the detection frame of the detection object corresponding to each target object.
[0057] It should be noted that the electronic device can obtain both the position of each target object in at least one historical image frame and the position of each target object in the current image frame. Furthermore, the electronic device can predict the position information of a new prediction box (i.e., predict a new current position) based on the position of each target object in at least one historical image frame and the position of the target object in the current image frame.
[0058] It is understandable that the disclosed embodiments provide an object detection method that, in addition to obtaining the position information of the prediction frames of m target objects in at least one historical image frame (i.e., the position information of the m prediction frames), performs object detection on the current image frame to obtain the detection frames of n detection objects in the current image frame (i.e., the position information of the n detection frames). The position information of the m prediction frames is then compared with the position information of the n detection frames to determine the correspondence between the m target objects and the n detection objects. Based on this correspondence, the position information of the detection frames of the detection objects corresponding to each target object can be determined. Since vehicle bumps usually occur before the current image frame is captured, the current image frame can record the exact position of the vehicle after the bump. Furthermore, after determining the correspondence between the target object and the detection object, the exact position of the target object in the current image frame can be determined based on the position of the detection object corresponding to the target object in the current image frame. This improves the accuracy of target object position detection.
[0059] In the disclosed embodiment, since the position of the prediction frame of the target object predicted based on the historical image frame may be inaccurate, the detection object corresponding to the target object determined based on the position of the prediction frame of the target object may also be inaccurate. Furthermore, the position of the target object in the current image frame determined based on the detection frame of the detection object corresponding to the target object is also inaccurate. To address this issue, after obtaining the position information of the prediction frame of the target object, the electronic device can also compensate for the position information of the prediction frame of the target object to obtain more accurate position information of the compensated prediction frame.
[0060] For example, after obtaining the position information of the predicted frames of the m target objects based on the historical image frames, the electronic device can determine whether the difference between the predicted frame and the detection frame is large. If the difference between the predicted frame and the detection frame is large, indicating that the position of the predicted frame is inaccurate, the electronic device can further determine whether a more accurate compensated predicted frame can be obtained by compensating the predicted frame. The target object corresponding to the target object determined based on the more accurate compensated predicted frame is accurate, and thus the position of the target object in the current image frame determined based on the detection frame of the detection object corresponding to the target object is also accurate.
[0061] Please refer to FIG3 . Based on the embodiment shown in FIG2 , S203 in the object detection method provided in the embodiment of the present disclosure may include S301 - S306 .
[0062] S301. Determine a first deviation between the detection frames of the n detection objects and the prediction frames of the m target objects based on position information of the detection frames of the n detection objects and position information of the prediction frames of the m target objects.
[0063] The electronic device can determine a first deviation between the n detection frames and the m prediction frames based on the position information of the n detection frames and the position information of the m prediction frames. The first deviation can represent the difference between the m prediction frames and the n detection frames. The electronic device can then determine the position information of the detection frame of the detection object corresponding to each target object based on the size relationship between the first deviation and a preset first deviation threshold ε, as well as the position information of the n detection frames and the position information of the m prediction frames.
[0064] In some embodiments, the electronic device may preprocess the position information of n detection frames to obtain n preprocessed position information of detection frames, and further preprocess the position information of m prediction frames to obtain m preprocessed position information of prediction frames. The electronic device then calculates a first deviation based on the position information of the n preprocessed detection frames and the position information of the m preprocessed prediction frames.
[0065] For example, if both the detection frame and the prediction frame are square frames, the position information of the detection frame includes the coordinates of the upper left corner of the detection frame and the coordinates of the lower right corner of the detection frame, and the position information of the prediction frame includes the coordinates of the upper left corner of the prediction frame and the coordinates of the lower right corner of the prediction frame, as an example, if n is greater than or equal to a preset first numerical threshold (for example, 2), and m is greater than or equal to the first numerical threshold, then the electronic device can determine the coordinates of the center point of the detection frame based on the coordinates of the upper left corner and the coordinates of the lower right corner of each detection frame; and can also determine the coordinates of the center point of the prediction frame based on the coordinates of the upper left corner and the coordinates of the lower right corner of each prediction frame. The position information of the n preprocessed detection frames is the coordinates of the center points of the n detection frames. The position information of the m preprocessed prediction frames is the coordinates of the center points of the m prediction frames.
[0066] Secondly, if n is less than a preset first numerical threshold and m is less than the first numerical threshold, the electronic device can determine the position information of n preprocessed detection frames composed of the coordinates of the upper left corners of the n detection frames and the coordinates of the lower right corners of the n detection frames; and the position information of m preprocessed prediction frames composed of the coordinates of the upper left corners of m prediction frames and the coordinates of the lower right corners of m prediction frames.
[0067] It can be known that no matter n is greater than or equal to the first numerical threshold and m is greater than or equal to the first numerical threshold, or n is less than the first numerical threshold and m is less than the first numerical threshold, the position information of the n preprocessed detection frames is a sequence composed of the coordinates of multiple points, and the position information of the m preprocessed prediction frames is also a sequence composed of the coordinates of multiple points.
[0068] For example, taking the position information D of the detection frames of the n detection objects in the current image frame and the position information T of the prediction frames of the m target objects in the current image frame as examples, the electronic device can preprocess D and T respectively to obtain the position information D' of the n preprocessed detection frames and the position information T' of the m preprocessed prediction frames. z1 , p z2 , p z3 ,…,p zn}, p zi is the coordinate of the center point of the prediction box of the i-th detection object. z1 ,q z2 ,q z3 ,…,q zm},q zj is the coordinate of the center point of the predicted box of the jth target object.
[0069] It is understandable that when the total number n of n detection frames and the total number m of m prediction frames are both relatively large, the electronic device obtains the coordinates of the center points of the n detection frames and the coordinates of the center points of the m prediction frames. The first deviation is then calculated based on the coordinates of the center points of the n detection frames and the coordinates of the center points of the m prediction frames, rather than calculating the first deviation based on the coordinates of the upper left corners of the n detection frames, the coordinates of the lower right corners of the n detection frames, the coordinates of the upper left corners of the m prediction frames, and the coordinates of the lower right corners of the m prediction frames. This can reduce the amount of computation required to calculate the first deviation.
[0070] Secondly, the total number of n detection frames and the total number of m prediction frames of the electronic device are both large, indicating that the positional relationship between the n detection frames and the m prediction frames is close, and the topological structure between the n detection frames and the m prediction frames is strong.
[0071] In some embodiments, the position information of the n preprocessed detection frames and the position information of the m preprocessed prediction frames are both sequences consisting of coordinates of multiple points. In this case, the electronic device can first determine at least one matching point pair from the position information of the n preprocessed detection frames and the position information of the m preprocessed prediction frames. Each matching point pair includes: the position information of a preprocessed detection frame (e.g., the coordinates of the center point of a preprocessed detection frame), and the position information of a preprocessed prediction frame (e.g., the coordinates of the center point of a preprocessed prediction frame). Then, the electronic device averages the Euclidean distance of at least one matching point pair to obtain a first deviation.
[0072] The electronic device may determine the Euclidean distance of each matching point pair based on the position information of a preprocessed detection frame and the position information of a preprocessed prediction frame in each matching point pair. The Euclidean distance of each matching point pair is less than the search range threshold.
[0073] S302: Determine whether the first deviation is greater than or equal to a preset first deviation threshold ε.
[0074] If the first deviation is greater than or equal to the first deviation threshold ε, indicating that the difference between the m prediction boxes and the n detection boxes is large and the positions of the m prediction boxes are inaccurate, the electronic device may further determine whether to compensate the m prediction boxes (i.e., execute S303) to improve the position accuracy of the m prediction boxes by compensating the m prediction boxes. If the first deviation is less than the first deviation threshold ε, indicating that the difference between the m prediction boxes and the n detection boxes is small and the positions of the m prediction boxes are relatively accurate, the electronic device may use the m prediction boxes to determine the correspondence between the m target objects and the n detection objects, i.e., execute S306.
[0075] It can be understood that the electronic device uses m prediction boxes with higher accuracy to determine the correspondence between m target objects and n detection objects. The detection objects corresponding to the determined target objects are more accurate, and then the position of the target objects determined based on the accurate position of the detection objects is also more accurate.
[0076] S303 : Determine whether to compensate for the position information of the m prediction frames based on the position information of the n detection frames and the position information of the m prediction frames.
[0077] In response to the first deviation being greater than or equal to the first deviation threshold ε, the electronic device continues to determine whether to compensate for the position information of the m prediction frames based on the position information of the n detection frames and the position information of the m prediction frames. If it is determined that the position information of the m prediction frames is to be compensated, the electronic device can obtain the position information of the compensated prediction frames of the m target objects (i.e., the position information of the m compensated prediction frames), and execute S304. If it is determined that the position information of the m prediction frames is not to be compensated, the electronic device can use the m prediction frames to determine the correspondence between the m target objects and the n detection objects, and execute S306.
[0078] S304 . Obtain position information of m compensated prediction frames based on the position information of the m prediction frames.
[0079] If it is determined to compensate the position information of the prediction frames of m target objects based on the position information of n detection frames and the position information of m prediction frames, the electronic device can obtain the position information of m compensated prediction frames based on the position information of the prediction frames of the m target objects.
[0080] S305 : Determine the correspondence between the m target objects and the n detection objects based on the position information of the m compensated prediction frames and the position information of the n detection frames.
[0081] The electronic device can determine the detection object corresponding to each target object based on the position information of the n detection frames and the position information of the m compensated prediction frames. Furthermore, the electronic device can determine the correspondence between the m target objects and the n detection objects based on the detection object corresponding to each target object.
[0082] In some embodiments, the electronic device may perform the following steps for each target object: first, based on the position information of the compensated prediction frame of the target object and the position information of the n detection frames, determine the overlap between the compensated prediction frame of the target object and the n detection frames (which may be referred to as the second overlap); then, based on the second overlap, determine the detection object corresponding to the target object from the n detection objects. The second overlap may refer to the intersection-over-union (IOU) between the compensated prediction frame of the target object and the detection frames of each detection object.
[0083] It should be noted that the details of the second overlap degree can refer to the detailed introduction of the first overlap degree mentioned above; and the specific process of the electronic device determining the detection object corresponding to the target object from n detection objects based on the second overlap degree can refer to the detailed introduction of the electronic device determining the detection object corresponding to the target object from n detection objects based on the first overlap degree, and the embodiments of the present disclosure will not be repeated here.
[0084] It is understandable that, since the position accuracy of the compensated prediction frame is higher, the electronic device can more accurately determine the detection object corresponding to each target object using the position information of the compensated prediction frame. Furthermore, the position of the target object can also be more accurately determined based on the accurate position of the detection object.
[0085] S306. Determine the correspondence between the m target objects and the n detection objects based on the position information of the n detection frames and the position information of the m prediction frames.
[0086] If the first deviation is less than the first deviation threshold ε, it means that the gap between the m prediction frames and the n detection frames is small, and the positions of the m prediction frames are relatively accurate. The electronic device then determines the detection object corresponding to each target object based on the position information of the m prediction frames and the position information of the n detection frames.
[0087] Alternatively, if the first deviation is greater than or equal to the first deviation threshold ε, but it is determined based on the position information of the n detection frames and the position information of the m prediction frames that the position information of the m prediction frames is not compensated, the electronic device can also determine the detection object corresponding to each target object based on the position information of the m prediction frames and the position information of the n detection frames.
[0088] Among them, the electronic device determines the detection object corresponding to each target object based on the position information of m prediction frames and the position information of n detection frames, which may include the following steps: first, based on the position information of the prediction frame of each target object and the position information of the detection frames of n detection objects, determine the first overlap between the prediction frame of the target object and the detection frames of the n detection objects; and then, based on the first overlap, determine the detection object corresponding to the target object from the n detection objects.
[0089] In some embodiments, after determining that the deviation (i.e., the first deviation) between the n detection frames and the m prediction frames is greater than or equal to the first deviation threshold ε, the electronic device may update the position information of the m prediction frames. The electronic device then determines the deviation (e.g., the second deviation, the third deviation) between the m updated prediction frames and the n detection frames based on the position information of the m updated prediction frames to determine whether compensating the m prediction frames can obtain m compensated prediction frames with more accurate positions.
[0090] Specifically, as shown in FIG4 , based on the embodiment shown in FIG2 , S203 in the object detection method provided in the embodiment of the present disclosure may include S401 - S411 .
[0091] S401, determine the hth deviation err between the n detection frames and the m prediction frames based on the position information of the n detection frames and the position information of the m prediction frames h , the initial value of h is 1.
[0092] For example, taking h=1 as an example, the electronic device determines the first deviation err1 (or simply err1) between the n detection frames and the prediction frames of the m target objects based on the position information of the n detection frames and the position information of the m prediction frames.
[0093] S402: Determine whether h is equal to 1.
[0094] If h is equal to 1, the electronic device may execute S403. If h is not equal to 1 (ie, h is greater than or equal to 2), the electronic device may execute S404.
[0095] S403. Determine hth deviation err h Is it less than the first deviation threshold ε?
[0096] If hth deviation err h (or simply err h ) is less than the first deviation threshold ε, the electronic device may determine not to compensate the m prediction frames, and still use the position information of the m prediction frames to determine the correspondence between the m target objects and the n detection objects, that is, execute S411. hIf the deviation is greater than or equal to the first deviation threshold ε, the electronic device may execute S404.
[0097] S404, determine the hth deviation err h Is it less than the hth deviation err h The previous deviation.
[0098] Electronic devices respond to err h Greater than the first deviation threshold ε, judge err h Is it less than err? h The previous deviation of . If err h is less than the previous deviation, the prediction box is updated, that is, S405 is executed. h If the deviation is greater than or equal to the previous deviation, it is further determined whether the previous deviation is less than the preset second deviation threshold, that is, S407 is executed. When h=1, the previous deviation of the first deviation err1 is the preset value. When h is greater than 1, err h The previous deviation is the error in determining the h The deviation between the detection frame and the prediction frame determined previously (i.e., the h-1 deviation err h-1 ).
[0099] Exemplarily, the preset value may be a value greater than the first deviation, for example, an infinite value.
[0100] It should be noted that the previous deviation of err1 is a preset value. If the preset value is greater than err1, then when err1 is greater than or equal to the first deviation threshold ε, the electronic device will definitely satisfy the condition that err1 is less than the previous deviation of err1 (i.e., the preset value). Furthermore, when err1 is greater than or equal to the first deviation threshold ε, the electronic device can continue to iteratively update the position information of the predicted frames to determine whether updating the m predicted frames can reduce the gap between the m predicted frames and the n detection frames.
[0101] S405. Update the position information of the m prediction frames according to the position information of the n detection frames and the position information of the m prediction frames.
[0102] Electronic devices respond to err h is smaller than the previous deviation, and according to the position information of the n detection frames and the position information of the m prediction frames, the position information of the m prediction frames is updated to obtain the position information of the m updated prediction frames.
[0103] For example, when h=1, the electronic device updates the position information of the m prediction frames according to the position information of the n detection frames and the position information of the m prediction frames in response to err1 being less than the previous deviation of err1 (for example, a preset value).
[0104] In some embodiments, the electronic device can determine at least one matching point pair based on the position information of n detection frames and the position information of m prediction frames. Each matching point pair includes the position information of a detection frame (e.g., the coordinates of the center point of a detection frame) and the position information of a prediction frame (e.g., the coordinates of the center point of a prediction frame). Then, the electronic device calculates a second conversion parameter based on the at least one matching point pair. The electronic device then uses the second conversion parameter to convert the position information of the m prediction frames to obtain the position information of the m updated prediction frames.
[0105] The second conversion parameter may include a second rotation matrix R2 and a second translation vector V2.
[0106] It should be noted that the specific process of "determining at least one matching point pair based on the position information of the n detection frames and the position information of the m prediction frames" can be referred to the detailed description of determining at least one matching point pair in S301, and will not be repeated in this embodiment of the present disclosure.
[0107] In some embodiments, at least one matching point pair may include the position information of at least one matched detection frame and the position information of at least one matched prediction frame. The position information of at least one matched detection frame and the position information of at least one matched prediction frame are in one-to-one correspondence. The position information of at least one matched detection frame belongs to the position information of n detection frames. The position information of at least one matched prediction frame belongs to the position information of m prediction frames.
[0108] Furthermore, the electronic device may calculate a second conversion parameter, which is a conversion parameter for transforming the position information of the at least one matched prediction frame to the position information of the at least one matched detection frame. For example, the electronic device may calculate the second conversion parameter using singular value decomposition (SVD).
[0109] S406, h increases by 1.
[0110] After the electronic device obtains the position information of the m updated prediction frames, it increases h by 1 and then executes S401. At this time, the position information of the m updated prediction frames can be used in S401. That is, S401 may include: when h is greater than or equal to 2, the electronic device determines the err between the n detection frames and the m updated prediction frames based on the position information of the m updated prediction frames and the position information of the n detection frames. h (eg, the second deviation err2, the third deviation err3, and so on).
[0111] For example, if h=1, in response to err1 being less than a previous deviation (e.g., a preset value) of err1, the electronic device updates the position information of the m prediction frames based on the position information of the n detection frames and the position information of the m prediction frames, and increases h by 1. The electronic device then determines a second deviation between the detection frame of the n detection objects and the m updated prediction frames based on the position information of the m updated prediction frames and the position information of the detection frame of the n detection objects.
[0112] S407, determine the h-1 deviation err h-1 Is it less than a preset second deviation threshold, where the second deviation threshold is less than the first deviation.
[0113] Electronic devices respond to err h Greater than or equal to err h The previous deviation (ie err h-1 ), continue to judge err h-1 Is it less than the second deviation threshold? h-1 is less than the second deviation threshold, the electronic device determines to compensate for the position information of the m prediction frames and executes S408. h-1 If it is greater than or equal to the second deviation threshold, it is determined not to compensate for the position information of the m prediction boxes (i.e., it is determined not to compensate), and the position information of the m prediction boxes is still used to determine the correspondence between the m target objects and the n detection objects, that is, execute S411.
[0114] Exemplarily, the second deviation threshold is equal to the first deviation divided by the deviation amplification coefficient α, and the deviation amplification coefficient α is greater than 1.
[0115] For example, taking h = 2 as an example, after the electronic device determines the second deviation err2 (or simply err2), it can determine whether to compensate the position information of the predicted frames of the m target objects based on err2 and the second deviation threshold. For example, it first determines whether err2 is less than the previous deviation of err2. If err2 is greater than or equal to the previous deviation of err2, it continues to determine whether the previous deviation of err2 is less than the second deviation threshold; if err2 is less than the previous deviation of err2, it updates the predicted frame.
[0116] It is understandable that if err h Greater than or equal to err h The previous deviation (ie err h-1 ), compared to err h-1 The corresponding prediction box (e.g., err h-1 The corresponding m updated prediction boxes, or err h-1 The gap between the corresponding m prediction boxes) and the n detection boxes, err hThe corresponding prediction box (e.g., err h The corresponding m updated prediction boxes, or err h The gap between the corresponding m prediction boxes) and the n detection boxes is larger, then the electronic device judges err h-1 Is the difference between the corresponding prediction box and the n detection boxes less than the second deviation threshold? h-1 The difference between the corresponding prediction box and the n detection boxes is less than the second deviation threshold, indicating err h-1 The gap between the corresponding prediction frame and the n detection frames is small, then the electronic device can h-1 The position information of the corresponding prediction frame compensates the position information of the m prediction frames. h-1 The position information of the corresponding prediction box is used to determine the err h-1 .err h The position information of the corresponding prediction box is used to determine the err h .
[0117] Secondly, the second deviation threshold can be a value smaller than the first deviation, and the first deviation is the difference between the m prediction frames and the n detection frames. In this case, when h=2, if the second deviation is smaller than the previous deviation of the second deviation (i.e., the first deviation), it is determined whether the previous deviation of the second deviation (i.e., the first deviation) is smaller than the second deviation threshold. If the previous deviation of the second deviation (i.e., the first deviation) is definitely larger than the second deviation threshold, the electronic device determines not to compensate for the m prediction frames. That is to say, when h=2, if the second deviation is smaller than the previous deviation of the second deviation (i.e., the first deviation), it can be determined not to compensate for the m prediction frames.
[0118] When h is greater than 2, err h The previous deviation (ie err h-1 ) may be less than the second deviation threshold, or greater than or equal to the second deviation threshold. Furthermore, when h is greater than 2, if err h The previous deviation (ie err h-1 ) is less than the second deviation threshold, indicating err h-1 The difference between the corresponding prediction box and the n detection boxes may be less than the second deviation threshold. h-1 The difference between the corresponding prediction box and the n detection boxes is less than the second deviation threshold, which can indicate err h-1 The gap between the corresponding prediction box and the n detection boxes is smaller than the gap between the prediction box corresponding to the first deviation (i.e., m prediction boxes) and the n detection boxes. Therefore, using err h-1The corresponding prediction boxes compensate the position information of the m prediction boxes, so that the gap between the m compensated prediction boxes and the n detection boxes is smaller than the gap between the m prediction boxes and the n detection boxes.
[0119] For example, taking h=2 as an example, determine whether err2 is less than the previous deviation of err2. If err2 is greater than or equal to the previous deviation of err2, and the previous deviation of err2 (i.e., err1) is greater than the second deviation threshold, the electronic device can determine not to compensate. If err2 is less than the previous deviation of err2, the electronic device can continue to update the position information of the m updated prediction frames based on the position information of the n detection frames and the position information of the m updated prediction frames; and then determine the third deviation err3 between the position information of the m updated prediction frames and the position information of the n detection frames based on the position information of the m updated prediction frames and the position information of the n detection frames.
[0120] Then, if the third deviation err3 (or simply err3) is greater than or equal to the previous deviation of err3, and the previous deviation of err3 (i.e., err2) is greater than the second deviation threshold, the electronic device can continue to determine whether the previous deviation of err3 (i.e., err2) is less than the second deviation threshold. If the previous deviation of err3 (i.e., err2) is less than the second deviation threshold, the electronic device can compensate the position information of the m prediction frames based on the position information of the m updated prediction frames corresponding to the previous deviation of err3 (i.e., err2). The position information of the m updated prediction frames corresponding to err2 is used to determine err2.
[0121] S408, based on the position information of the m prediction boxes and the h-1 deviation err h-1 The corresponding position information of the m updated prediction boxes is used to obtain the first conversion parameter.
[0122] After the electronic device determines to compensate the position information of m prediction frames based on the position information of m updated prediction frames, it can first obtain a first conversion parameter based on the position information of the m prediction frames and the position information of the m updated prediction frames; and then determine the position information of the m compensated prediction frames based on the first conversion parameter.
[0123] In some embodiments, the electronic device may calculate a first conversion parameter, which is a parameter for converting the position information of the m prediction boxes to err h-1 The corresponding conversion parameters of the position information of the m updated prediction boxes.
[0124] Alternatively, the electronic device may respectively calculate the position information and err of the m prediction boxes. h-1The corresponding m updated position information of the prediction frames (which can be referred to as the position information of the m first updated prediction frames) is preprocessed to obtain the position information of the m preprocessed prediction frames and the position information of the m second updated prediction frames; then the first conversion parameter is calculated, which is a conversion parameter for transforming the position information of the m preprocessed prediction frames into the position information of the m second updated prediction frames.
[0125] It should be noted that the specific process of the electronic device preprocessing the position information of m prediction boxes and the position information of m first updated prediction boxes to obtain the position information of m preprocessed prediction boxes and the position information of m second updated prediction boxes can be referred to the detailed introduction of "preprocessing the position information of the prediction boxes of m target objects to obtain the position information of m preprocessed prediction boxes" in S301, and will not be repeated in the embodiments of the present disclosure.
[0126] In some embodiments, the first transformation parameters may include a first rotation matrix R1 and a first translation vector V1.
[0127] S409 : Compensate the position information of the m prediction frames according to the first conversion parameter to obtain the position information of the m compensated prediction frames.
[0128] The electronic device may use the first conversion parameter to convert the position information of the m prediction frames to obtain the position information of the m compensated prediction frames.
[0129] It is understandable that when it is determined that m prediction frames need to be compensated, err h-1 The corresponding m updated prediction boxes determine the first conversion parameter. h-1 The corresponding m updated prediction frames have a smaller gap with the detection frame. Then, the first conversion parameter is used to compensate the position information of the m prediction frames, so that the compensated prediction frames are more accurate than the pre-compensated prediction frames.
[0130] It should be noted that the detection object and target object mentioned in the above embodiment can refer to any type of object. If you want to determine the position of another type of object (which can be simply referred to as another object) in the current image frame, you can use the first conversion parameter of the target object mentioned in the above embodiment (that is, the first conversion parameter introduced in S408-S409 above) to compensate for the position information of the prediction frame of the other object to obtain the compensated position information of the prediction frame of the other object. Alternatively, you can also adjust the first conversion parameter of the target object mentioned in the above embodiment; then use the adjusted first conversion parameter to compensate for the position information of the prediction frame of the other object to obtain the compensated position information of the prediction frame of the other object. The adjusted first conversion parameter can be applicable to compensating the position information of the prediction frames of multiple types of objects. Then, based on the compensated position information of the prediction frame of the other object and the position information of the detection frame of the other object, determine the detection object corresponding to the other object.
[0131] S410. In response to the deviation between the m compensated prediction frames and the m prediction frames being less than a third deviation threshold, and the modulus of the first translation vector being less than the third deviation threshold, determining the correspondence between the m target objects and the n detection objects based on the position information of the m compensated prediction frames and the position information of the n detection frames.
[0132] The electronic device obtains the first conversion parameter while obtaining the position information of the m compensated prediction frames. The electronic device may further determine whether the m compensated prediction frames and the first conversion parameter are suitable. If suitable, the electronic device uses the m compensated prediction frames to determine the correspondence between the m target objects and the n detection objects.
[0133] In some embodiments, after obtaining the position information of the m compensated prediction frames, the electronic device may calculate the deviation between the position information of the m compensated prediction frames and the position information of the m prediction frames (i.e., the deviation between the m compensated prediction frames and the m prediction frames). If the deviation between the m compensated prediction frames and the m prediction frames is less than a third deviation threshold, and the modulus of the first translation vector is less than the third deviation threshold, the electronic device may use the m compensated prediction frames to determine the correspondence between the m target objects and the n detection objects.
[0134] Secondly, if the deviation between the m compensated prediction frames and the m prediction frames is greater than or equal to the third deviation threshold, and / or the modulus of the first translation vector is greater than or equal to the third deviation threshold, the electronic device may not use the compensated prediction frame and still use the position information of the m prediction frames to determine the correspondence between the m target objects and the n detection objects, that is, execute S411.
[0135] In some embodiments, the deviation between the m compensated prediction boxes and the m prediction boxes may include: the Euclidean distance between the position information of the compensated prediction box of each target object and the position information of the prediction box of each target object (which may be simply referred to as the distance before and after compensation of each target object). Furthermore, "the deviation between the m compensated prediction boxes and the m prediction boxes is less than a third deviation threshold" may mean: the distance before and after compensation of all target objects is less than the third deviation threshold.
[0136] It is understandable that if the first conversion parameter is calculated using the position information of m pre-processed prediction frames and the position information of m second updated prediction frames, the electronic device cannot determine the quality of the compensation effect of the first conversion parameter on the position information of the m pre-processed prediction frames (i.e., the position information of the m prediction frames). Therefore, the electronic device can apply the first conversion parameter to the position information of the m prediction frames to obtain the position information of the m compensated prediction frames, and then determine whether the deviation between the m compensated prediction frames and the m prediction frames is less than the third deviation threshold. If the deviation between the m compensated prediction frames and the m prediction frames is less than the third deviation threshold, it means that the deviation between the m compensated prediction frames and the m prediction frames is small, and then it is confirmed that the compensation effect of the first conversion parameter on the position information of the m pre-processed prediction frames (i.e., the position information of the m prediction frames) is good. The electronic device can then use the m compensated prediction frames to determine the correspondence between the m target objects and the n detection objects.
[0137] Secondly, the first translation vector serves as the offset of the coordinates. When the first translation vector is small, the deviation between the m compensated prediction frames obtained using the first translation vector and the m prediction frames is small, indicating that the m compensated prediction frames are more accurate. Therefore, when the electronic device determines that the modulus of the first translation vector is less than the third deviation threshold (i.e., the first translation vector is small), the m compensated prediction frames are used to determine the correspondence between the m target objects and the n detection objects.
[0138] It should be noted that, in addition to comparing the deviations between the m compensated prediction frames and the m prediction frames, and the modulus of the first translation vector, with the third deviation threshold, the electronic device may also compare the deviations between the m compensated prediction frames and the m prediction frames, and the modulus of the first translation vector, with different thresholds. This disclosure is not limited in this regard.
[0139] It should also be noted that, differently from what is described in S410, the electronic device can also determine the correspondence between m target objects and n detection objects based on the position information of the m compensated prediction frames and the position information of the n detection frames in response to the deviation between the m compensated prediction frames and the m prediction frames being less than a third deviation threshold, or the modulus of the first translation vector being less than the third deviation threshold.
[0140] S411. Determine the correspondence between the m target objects and the n detection objects based on the position information of the n detection frames and the position information of the m prediction frames.
[0141] It should be noted that the specific process of S411 can be referred to the detailed introduction of S306 above, and will not be repeated here in the embodiment of the present disclosure.
[0142] Exemplarily, taking the position information D of the detection frames of the n detection objects, the position information T of the prediction frames of the m target objects, the position information D' of the detection frames of the n preprocessed detection objects, and the position information T' of the prediction frames of the m preprocessed target objects as examples, as shown in Figure 5, on the basis of the embodiment shown in Figure 2 above, S201 in the object detection method provided by the embodiment of the present disclosure may include S501, S202 may include S502, and S203 may include S503-S519.
[0143] S501 : Perform object detection on the current image frame to obtain position information D of detection frames of n detected objects.
[0144] S502 : Predict position information T of prediction boxes of m target objects based on at least one historical image frame before the current image frame.
[0145] S503 , preprocess D to obtain position information D′ of n preprocessed detection frames, and also preprocess T to obtain position information T′ of m preprocessed prediction frames.
[0146] It should be noted that the specific process of S503 can refer to the detailed introduction of "preprocessing the position information of the detection frame of at least one detection object to obtain the position information of the preprocessed detection frame; and preprocessing the position information of the prediction frame of at least one detection object to obtain the position information of the preprocessed prediction frame" in S301, and the embodiments of the present disclosure will not be repeated here.
[0147] S504 , obtaining preset parameters, and setting T″=T′; the preset parameters include a first deviation threshold ε, a deviation amplification coefficient α, and an iteration number threshold K.
[0148] The deviation amplification coefficient α is greater than 1. The iteration number threshold K is a positive integer greater than 1, for example, the iteration number threshold K=4.
[0149] S505: Determine the distance matrix A between D' and T".
[0150] Example 1, D'={p z1 , p z2 , p z3 ,…,p zn}, T"=T'={q z1 ,q z2 ,q z3 ,…,q zm The electronic device calculates the Euclidean distance between each point in D' and all points in T", and all Euclidean distances form a distance matrix A between D' and T".
[0151] The distance matrix A is shown in the following formula (1).
[0152] Among them, d(p z1 ,q z1 ) is p z1 and q z1 The Euclidean distance between them. z1 ,q zm ) is p z1 and q zm The Euclidean distance between them. zn ,q z1 ) is p zn and q z1 The Euclidean distance between them. zn ,q zm ) is p zn and q zm The Euclidean distance between .
[0153] In example two, the electronic device can first calculate the Euclidean distance between each point in D' and all the points in T", and form an initial distance matrix with all Euclidean distances; then assign the values in the initial distance matrix that are greater than the search range threshold as the search range threshold, and obtain the distance matrix A between D' and T".
[0154] S506: Determine at least one matching point pair M from D' and T' according to the distance matrix A, and average the values in the distance matrix corresponding to the at least one matching point pair M to obtain the hth deviation err h , the initial value of h is 1.
[0155] When the number of iterations is 0, the electronic device can obtain err1, and set init_err = err1. The init_err and the deviation amplification coefficient α are used to generate a preset second deviation threshold.
[0156] Exemplarily, the electronic device may first use the Hungarian algorithm to determine at least one initial matching point pair M0 from D' and T", and then determine at least one matching point pair M from the at least one initial matching point pair M0 based on the distance matrix A. Each initial matching point pair includes: a point in D' and a point in T". The Euclidean distance of each matching point pair is less than a search range threshold. The search range threshold may be equal to a third deviation threshold.
[0157] S507: Determine whether the total number of at least one matching point pair M is greater than a second threshold.
[0158] If the total number of the at least one matching point pair M is greater than the second threshold value (e.g., 2), the electronic device may execute S508. If the total number of the at least one matching point pair M is less than or equal to the second threshold value, the electronic device may determine not to compensate the position information of the m prediction boxes and execute S519.
[0159] Exemplarily, the second numerical threshold may be equal to the first numerical threshold.
[0160] S508: Determine whether h is equal to 1.
[0161] If h is equal to 1, the electronic device can determine whether err1 is less than the first deviation threshold ε, that is, execute S509. If h is not equal to 1, the electronic device can determine whether err h Is it less than err? h The previous deviation is determined, and S510 is executed.
[0162] S509, determine the hth deviation err h Is it less than the first deviation threshold ε?
[0163] When h is equal to 1, it is determined whether err1 is less than the first deviation threshold ε. If err1 is less than the first deviation threshold ε, it means that the difference between the m prediction frames used to calculate err1 and the n detection frames is small, and the m prediction frames are relatively accurate. The electronic device can determine not to compensate for the m prediction frames and execute S519. If err1 is greater than or equal to the first deviation threshold ε, it means that the difference between the m prediction frames used to calculate err1 and the n detection frames is small. h If the gap between the m prediction frames and the n detection frames is large and the m prediction frames are inaccurate, the electronic device may further determine whether to compensate the m prediction frames, that is, execute S510.
[0164] S510, determine the hth deviation err h Is it less than the hth deviation err h The previous deviation prev_err.
[0165] Electronic equipment is determining err hAfter it is greater than or equal to the first deviation threshold ε, if it is determined that err h If the error is less than the previous error prev_err, the electronic device can update the position information of the prediction frame (i.e., execute S511) to further determine whether the updated position information of the prediction frame can reduce the gap between the prediction frame and the detection frame. h If it is greater than or equal to the previous deviation prev_err, it means that compared with the gap between the prediction frame and the detection frame before the update, the gap between the updated prediction frame and the detection frame increases, that is, updating the position information of the prediction frame increases the gap between the prediction frame and the detection frame. The electronic device can determine not to update the position information of the prediction frame, and judge whether the previous deviation prev_err is less than the preset second deviation threshold, that is, execute S514.
[0166] It should be noted that the hth deviation err h The previous deviation prev_err can refer to err h-1 For details of the previous deviation prev_err, please refer to the detailed introduction of the previous deviation in S404, which will not be repeated here in the embodiment of the present disclosure.
[0167] S511 , calculating a second conversion parameter based on at least one matching point pair M, and then converting T″ using the second conversion parameter to obtain an updated T″.
[0168] Electronic devices respond to err h is smaller than the previous deviation prev_err, executing S511 to update T". Here, the second conversion parameter is a conversion parameter from T" to D'.
[0169] It should be noted that the specific process of "calculating the second conversion parameter based on at least one matching point pair M" can refer to the detailed introduction of "calculating the second conversion parameter based on at least one matching point pair" in the above S405, and will not be repeated here in this embodiment of the present disclosure.
[0170] S512, h increases by 1.
[0171] After obtaining the updated T", the electronic device increases h by 1 to calculate a new h-th deviation using the updated T".
[0172] S513: Determine whether h is less than the iteration number threshold K.
[0173] The electronic device may use h as the number of iterations to determine whether h is less than the iteration threshold K. If h is less than the iteration threshold K, the electronic device may determine the deviation between the detection frame and the updated prediction frame based on the updated T" and the position information D' of the detection frames of the n pre-processed detection objects (i.e., continue to execute S505). If h is greater than or equal to the iteration threshold K, the electronic device may stop determining whether to compensate the prediction frame and determine the hth deviation err h Whether it is less than the second deviation threshold, executing S514.
[0174] It should be noted that, in addition to using h as the number of iterations, the electronic device may also use other parameters different from h as the number of iterations.
[0175] It can be understood that the number of times the electronic device controls the iterative update of the prediction frame does not exceed the iteration threshold K, which can ensure that the time it takes to control the electronic device to determine whether to compensate the prediction frame will not be too long, thereby ensuring that the time it takes to determine the position of the detection object in the current image frame is short.
[0176] S514, determine the h-1 deviation err h-1 Is it less than a second deviation threshold, where the second deviation threshold is equal to the first deviation err1 divided by the deviation amplification factor α.
[0177] Electronic equipment in err h When it is greater than or equal to the previous deviation prev_err, or when h increases by 1 and is greater than the iteration threshold K, continue to judge err h-1 Is it less than the second deviation threshold. The second deviation threshold is less than the first deviation. If err h-1 If the error is less than the second deviation threshold, it means that the updated prediction frame can narrow the gap between the prediction frame and the detection frame, then it can be determined that the prediction frame needs to be compensated, and S515 is executed. h-1 If the value is greater than or equal to the second deviation threshold, the electronic device may determine that the prediction frame does not need to be compensated, and use the position information T of the m prediction frames to determine the correspondence between the m target objects and the n detection objects, that is, execute S519.
[0178] S515 , calculating first conversion parameters from T′ to T″, and using the first conversion parameters to convert T to obtain position information of m compensated prediction frames; the first conversion parameters include a first rotation matrix R1 and a first translation vector V1.
[0179] For example, T = {t1, t2, t3, ..., t m}, t j =[q ltj ,q rbjThe electronic device converts T using the first conversion parameter to obtain the position information T of the compensated prediction frame. b . T b ={t1', t2', t3', ..., t m '}, t j '=[q ltj ',q rbj '],q ltj '=R1*q ltj +V1,q rbj '=R1*q rbj +V1. Among them, q ltj is the coordinate of a point, which can be expressed as a two-row column vector. It can be seen that the first rotation matrix R1 is a 2*2 matrix, and the first translation vector V1 is also a two-row column vector.
[0180] For example, taking the detection object as a vehicle as an example, the detection frame 611, prediction frame 612, and compensated prediction frame 613 of a vehicle are shown in FIG6 . It can be seen that compared with the gap between the prediction frame 612 and the detection frame 611, the gap between the compensated prediction frame 613 and the detection frame 611 is smaller, and the position of the compensated prediction frame 613 is more accurate. Similarly, the detection frame 621, prediction frame 622, and compensated prediction frame 623 of another vehicle are shown in FIG6 . It can be seen that compared with the gap between the prediction frame 622 and the detection frame 621, the gap between the compensated prediction frame 623 and the detection frame 621 is smaller, and the position of the compensated prediction frame 623 is more accurate.
[0181] It can be understood that the compensated prediction frame is closer to the detection frame, and the gap between the compensated prediction frame and the detection frame is narrowed, which means that the position of the compensated prediction frame is more accurate. In turn, the position of the detected object determined using the more accurate compensated prediction frame and detection frame is also more accurate.
[0182] S516: Determine whether the deviations between the m compensated prediction frames and the m prediction frames are less than a third deviation threshold.
[0183] If the deviation between the m compensated prediction boxes and the m prediction boxes is less than the third deviation threshold, the electronic device executes S517. If the deviation between the compensated prediction box and the prediction box is greater than or equal to the third deviation threshold, the electronic device executes S519. The third deviation threshold may be equal to the search range threshold.
[0184] S517: Determine whether the modulus of the first translation vector V1 is less than a third deviation threshold.
[0185] If the modulus of the first translation vector V1 is less than the third deviation threshold, the electronic device executes S518. If the deviation between the compensated prediction frame and the prediction frame is greater than or equal to the third deviation threshold, the electronic device executes S519.
[0186] S518. Determine the correspondence between the m target objects and the n detection objects based on the position information of the m compensated prediction frames and the position information D of the detection frames of the n detection objects.
[0187] It should be noted that the specific process of S516-S518 can refer to the detailed introduction of S410 above, and will not be described in detail in the embodiment of the present disclosure.
[0188] S519 . Determine the correspondence between the m target objects and the n detection objects based on the position information D of the detection frames of the n detection objects and the position information T of the prediction frames of the m target objects.
[0189] The electronic device is less than the first deviation threshold ε when err1, or err h Greater than err h-1 and err h-1 When it is greater than or equal to the second deviation threshold, it is determined that the prediction frame does not need to be compensated, and the correspondence between the m target objects and the n detection objects is determined based on the position information D of the detection frames of the n detection objects and the position information T of the prediction frames of the m target objects.
[0190] It should be noted that the specific process of S519 can refer to the detailed description of determining the detection object corresponding to each target object based on the position information of the m prediction boxes and the position information of the n detection boxes in S306 above, and will not be repeated in this embodiment. The process described in S503-S519 above can be called an iterative closest point (ICP) matching process.
[0191] It should be noted that, in the embodiments of the present disclosure, “greater than or equal to” may be used to indicate “greater than or equal to”, and “less than or equal to” may be used to indicate “less than or equal to”.
[0192] Exemplary devices
[0193] In the case of dividing the functional modules into corresponding functional modules, the present embodiment also provides an object detection device. FIG7 is a schematic diagram of the structure of an object detection device provided by the present embodiment. The device may include an object detection module 71, an object prediction module 72, a position determination module 73, and a tracking module 74.
[0194] The object detection module 71 is used to perform object detection on the current image frame to obtain the position information of the detection frames of n detected objects. The object prediction module 72 is used to predict the position information of the prediction frames of m target objects based on at least one historical image frame before the current image frame.
[0195] Position determination module 73 is configured to determine the correspondence between the m target objects and the n detected objects based on the position information of the detection frames of the n detected objects and the position information of the predicted frames of the m target objects. Tracking module 74 is configured to determine the position of each target object in the current image frame based on the correspondence and the position information of the n detected objects. n and m are positive integers.
[0196] In some embodiments, as shown in conjunction with FIG. 7 and with reference to FIG. 8 , the position determination module 73 may include a prediction compensation unit 731. The prediction compensation unit 731 is configured to determine a first deviation between the detection frames of the n detection objects and the predicted frames of the m target objects based on the position information of the detection frames of the n detection objects and the position information of the predicted frames of the m target objects. The position determination module 73 is configured to determine a correspondence between the m target objects and the n detection objects based on a magnitude relationship between the first deviation and a preset first deviation threshold, as well as the position information of the detection frames of the n detection objects and the position information of the predicted frames of the m target objects.
[0197] In some embodiments, as shown in FIG8 , the position determination module 73 may further include an object association unit 732. The prediction compensation unit 731 is configured to, in response to the first deviation indicating that the size relationship is greater than or equal to the first deviation threshold, determine to compensate the position information of the prediction frames of the m target objects based on the position information of the detection frames of the n detected objects and the position information of the prediction frames of the m target objects, and obtain the position information of the m compensated prediction frames based on the position information of the prediction frames of the m target objects. The object association unit 732 is configured to determine the correspondence between the m target objects and the n detected objects based on the position information of the m compensated prediction frames and the position information of the detection frames of the n detected objects.
[0198] In some embodiments, the object association unit 732 is further used to, in response to the size relationship indicating that the first deviation is less than the first deviation threshold, determine the correspondence between the m target objects and the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; or, in response to the size relationship indicating that the first deviation is greater than or equal to the first deviation threshold, and based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, determine not to compensate for the position information of the prediction frames, and determine the correspondence between the m target objects and the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects.
[0199] In some embodiments, the object association unit 732 is specifically used to determine the first overlap between the prediction frame of each target object and the detection frames of the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the prediction frame of each target object among the m target objects; determine the detection object corresponding to each target object from the n detection objects based on the first overlap; and determine the correspondence between the m target objects and the n detection objects based on the detection object corresponding to each target object.
[0200] In some embodiments, the prediction compensation unit 731 is specifically used to update the position information of the prediction frames of m target objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects in response to the first deviation being smaller than the previous deviation of the first deviation; the previous deviation of the first deviation is a preset value; based on the position information of the m updated prediction frames and the position information of the detection frames of the n detection objects, determine the second deviation between the detection frames of the n detection objects and the m updated prediction frames; based on the second deviation and a preset second deviation threshold, determine to compensate for the position information of the prediction frames of the m target objects; the second deviation threshold is smaller than the first deviation.
[0201] In some embodiments, the prediction compensation unit 731 is specifically configured to: in response to the second deviation being less than a previous deviation of the second deviation, update the position information of the m updated prediction frames based on the position information of the detection frames of the n detection objects and the position information of the m updated prediction frames; the previous deviation of the second deviation being the deviation between the detection frame and the prediction frame determined once before the second deviation; determine a third deviation between the detection frames of the n detection objects and the m updated prediction frames based on the position information of the m updated prediction frames and the position information of the detection frames of the n detection objects; in response to the third deviation being greater than or equal to a previous deviation of the third deviation and the previous deviation of the third deviation being less than a second deviation threshold, determine to compensate the position information of the prediction frames of the m target objects based on the position information of the m updated prediction frames corresponding to the previous deviation of the third deviation. The position information of the m updated prediction frames corresponding to the previous deviation of the third deviation is used to determine the previous deviation of the third deviation.
[0202] In some embodiments, the prediction compensation unit 731 is specifically used to: obtain a first conversion parameter based on the position information of the prediction frames of the m target objects and the position information of the m updated prediction frames corresponding to the first deviation; compensate the position information of the prediction frames of the m target objects according to the first conversion parameter to obtain the position information of the m compensated prediction frames.
[0203] In some embodiments, the first conversion parameter includes a first translation vector. The object association unit 732 is specifically configured to, in response to a deviation between the m compensated prediction frames and the n detection frames being less than a third deviation threshold, and a modulus of the first translation vector being less than the third deviation threshold, determine a correspondence between the m target objects and the n detection objects based on position information of the m compensated prediction frames and position information of the detection frames of the n detection objects.
[0204] In some embodiments, the object association unit 732 is specifically used to determine the second degree of overlap between the compensated prediction frame of the target object and the detection frames of the n detection objects based on the position information of the detection frames of the n detection objects and the position information of the compensated prediction frame of each target object among the m target objects; determine the detection object corresponding to each target object from the n detection objects based on the second overlap; and determine the correspondence between the m target objects and the n detection objects based on the detection object corresponding to each target object.
[0205] The beneficial technical effects corresponding to the exemplary embodiment of this device can be found in the corresponding beneficial technical effects of the above exemplary method part, which will not be repeated here.
[0206] Exemplary electronic devices
[0207] FIG9 is a schematic diagram showing a possible structure of an electronic device according to an exemplary embodiment. The electronic device may be the object detection device described above, or a terminal or server including the object detection device. As shown in FIG9 , the electronic device 90 includes at least one processor 91 and a memory 92.
[0208] The processor 91 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 90 to perform desired functions.
[0209] The memory 92 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory. Non-volatile memory may include, for example, read-only memory (ROM), a hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 91 may execute the one or more computer program instructions to implement the object detection method and / or other desired functions of the various embodiments of the present disclosure described above.
[0210] In one example, the electronic device 90 may further include an input device 93 and an output device 94 , and these components are interconnected via a bus system and / or other forms of connection mechanisms (not shown).
[0211] The input device 93 may also include, for example, a keyboard, a mouse, and the like.
[0212] The output device 94 can output various information to the outside, and may include, for example, a display, a speaker, a printer, a communication network and its connected remote output devices, etc.
[0213] Of course, for simplicity, FIG9 only shows some of the components of the electronic device 90 related to the present disclosure, omitting components such as a bus, input / output interfaces, etc. In addition, the electronic device 90 may further include any other appropriate components depending on the specific application.
[0214] Exemplary computer program products and computer-readable storage media
[0215] In addition to the above-mentioned methods and devices, embodiments of the present disclosure may also provide a computer program product, including computer program instructions, which, when executed by a processor, enable the processor to perform the steps of the object detection method of various embodiments of the present disclosure described in the above-mentioned "Exemplary Method" section.
[0216] The computer program product may be written in any combination of one or more programming languages to implement the operations of the disclosed embodiments, including object-oriented programming languages such as Java, C++, and conventional procedural programming languages such as C or similar programming languages. The program code may be executed entirely on the user's computing device, partially on the user's computing device, as a stand-alone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0217] In addition, an embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, enables the processor to execute the steps of the object detection method of various embodiments of the present disclosure described in the above “Exemplary Method” section.
[0218] Computer readable storage media can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium includes, but is not limited to, a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.
[0219] The basic principles of the present disclosure have been described above in conjunction with specific embodiments. However, the advantages, strengths, and effects mentioned in this disclosure are merely illustrative and not restrictive, and should not be considered as essential to each embodiment of the present disclosure. Furthermore, the specific details disclosed above are provided for illustrative purposes and to facilitate understanding, rather than as limitations. These details do not limit the present disclosure to necessarily being implemented using these specific details.
[0220] Those skilled in the art may make various changes and modifications to the present disclosure without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present disclosure and their equivalents, the present disclosure is intended to include these modifications and variations.
Claims
1. An object detection method, comprising: Perform object detection on the current image frame to obtain the position information of the detection frames of n detected objects; Predicting position information of prediction boxes of m target objects according to at least one historical image frame before the current image frame; Determining a correspondence between the m target objects and the n detection objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; Determine the position of each of the target objects in the current image frame according to the corresponding relationship and the position information of the n detection objects; n and m are positive integers.
2. The method according to claim 1, wherein: The determining, according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, the corresponding relationship between the m target objects and the n detection objects includes: Determining, according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, a first deviation between the detection frames of the n detection objects and the prediction frames of the m target objects; Based on the size relationship between the first deviation and a preset first deviation threshold, as well as the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, the correspondence between the m target objects and the n detection objects is determined.
3. The method according to claim 2, wherein: The determining the correspondence between the m target objects and the n detection objects based on the magnitude relationship between the first deviation and a preset first deviation threshold, and the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, comprises: In response to the magnitude relationship indicating that the first deviation is greater than or equal to the first deviation threshold, and based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, determining to compensate the position information of the prediction frames of the m target objects, and obtaining position information of m compensated prediction frames based on the position information of the prediction frames of the m target objects; According to the position information of the m compensated prediction frames and the position information of the detection frames of the n detection objects, the correspondence between the m target objects and the n detection objects is determined.
4. The method according to claim 2, wherein: The determining the correspondence between the m target objects and the n detection objects based on the magnitude relationship between the first deviation and a preset first deviation threshold, and the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, further includes: In response to the size relationship indicating that the first deviation is less than the first deviation threshold, determining the correspondence between the m target objects and the n detection objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; or, In response to the magnitude relationship indicating that the first deviation is greater than or equal to the first deviation threshold, and based on the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, determining not to compensate for the position information of the prediction frames, based on According to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, the correspondence between the m target objects and the n detection objects is determined.
5. The method according to claim 4, wherein: The determining, according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects, the corresponding relationship between the m target objects and the n detection objects includes: Determine, according to the position information of the detection frames of the n detection objects and the position information of the prediction frame of each target object among the m target objects, a first degree of overlap between the prediction frame of each target object and the detection frames of the n detection objects; Determining, according to the first overlap degree, a detection object corresponding to each target object from the n detection objects; The corresponding relationship is determined according to the detection object corresponding to each target object.
6. The method according to claim 3, wherein: The step of determining to compensate for the position information of the prediction frames of the m target objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects comprises: In response to the first deviation being less than a previous deviation of the first deviation, updating the position information of the prediction frames of the m target objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; the previous deviation of the first deviation is a preset value; Determining, according to the position information of the m updated prediction frames and the position information of the detection frames of the n detection objects, a second deviation between the detection frames of the n detection objects and the m updated prediction frames; According to the second deviation and a preset second deviation threshold, it is determined to compensate for the position information of the prediction boxes of the m target objects; the second deviation threshold is smaller than the first deviation.
7. The method according to claim 6, characterized in that The step of determining to compensate for the position information of the prediction boxes of the m target objects according to the second deviation and a preset second deviation threshold comprises: In response to the second deviation being less than a previous deviation of the second deviation, updating the position information of the m updated prediction frames according to the position information of the detection frames of the n detection objects and the position information of the m updated prediction frames, wherein the previous deviation of the second deviation is a deviation between the detection frame and the prediction frame determined once before the second deviation; Determining, according to the position information of the m updated prediction frames and the position information of the detection frames of the n detection objects, a third deviation between the detection frames of the n detection objects and the m updated prediction frames; In response to the third deviation being greater than or equal to a previous deviation of the third deviation, and the previous deviation of the third deviation being less than the second deviation threshold, it is determined to compensate the position information of the prediction frames of the m target objects based on the position information of the m updated prediction frames corresponding to the previous deviation of the third deviation; the position information of the m updated prediction frames corresponding to the previous deviation of the third deviation is used to determine the previous deviation of the third deviation.
8. The method according to claim 6, wherein: The obtaining, according to the position information of the prediction frames of the m target objects, the position information of the m compensated prediction frames comprises: Obtaining a first conversion parameter according to the position information of the prediction boxes of the m target objects and the position information of the m updated prediction boxes corresponding to the first deviation; The position information of the prediction boxes of the m target objects is compensated according to the first conversion parameter to obtain the position information of the m compensated prediction boxes.
9. The method according to claim 8, wherein: The first conversion parameter includes a first translation vector, and determining the correspondence between the m target objects and the n detection objects according to the position information of the m compensated prediction frames and the position information of the detection frames of the n detection objects includes: In response to the deviation between the m compensated prediction frames and the prediction frames of the n detection objects being less than a third deviation threshold, and the modulus of the first translation vector being less than the third deviation threshold, the correspondence between the m target objects and the n detection objects is determined according to the position information of the m compensated prediction frames and the position information of the detection frames of the n detection objects.
10. The method according to claim 3 or 9, wherein: The determining, according to the position information of the m compensated prediction frames and the position information of the detection frames of the n detection objects, the corresponding relationship between the m target objects and the n detection objects comprises: Determining, according to the position information of the detection frames of the n detection objects and the position information of the compensated prediction frame of each target object among the m target objects, a second degree of overlap between the compensated prediction frame of the target object and the detection frames of the n detection objects respectively; Determining, according to the second overlap degree, a detection object corresponding to each target object from the n detection objects; The corresponding relationship is determined according to the detection object corresponding to each target object.
11. An object detection device, comprising: An object detection module is used to perform object detection on the current image frame and obtain the position information of the detection frames of n detected objects; An object prediction module, configured to predict position information of prediction frames of m target objects based on at least one historical image frame before the current image frame; a position determination module, configured to determine a correspondence between the m target objects and the n detection objects according to the position information of the detection frames of the n detection objects and the position information of the prediction frames of the m target objects; A tracking module, used for determining the position of each of the target objects in the current image frame according to the corresponding relationship and the position information of the n detected objects; n and m are positive integers.
12. A computer-readable storage medium storing a computer program, wherein the computer program is used to execute the object detection method according to any one of claims 1 to 10.
13. An electronic device, comprising: processor; a memory for storing instructions executable by the processor; The processor is used to read the executable instructions from the memory and execute the instructions to implement any of claims 1-10 above. An object detection method as described above.
Citation Information
Patent Citations
Target tracking method, device and system and computer readable storage medium
CN110517292A
Target tracking method and device, electronic equipment and storage medium
CN112800864A
Object detection method and device, electronic equipment and storage medium
CN116343173A
Still and slow object tracking in a hybrid video analytics system
US20190130583A1
Cited By
Traffic risk real-time alarm method and system
CN120932455A
