Target determination method and device

The target determination method and device improve target identification in fisheye images by using threshold-based scoring and occurrence analysis to distinguish true targets from false detections, enhancing detection accuracy.

JP2024144279APending Publication Date: 2024-10-11FUJITSU LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2024047046
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-30
Filing Date
2024-03-22
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

Conventional methods for determining targets in fisheye images, such as those from vehicle cameras, suffer from low accuracy in skeleton detection and difficulty in identifying the true target among multiple detected candidates.

Method used

A target determination method and device that utilizes a first determining unit to identify candidate target bounding frames, scores them based on their number of occurrences and scores, and employs a second determining unit to select the true target based on specific threshold conditions, such as maximum number of appearances, score differences, and confidence levels.

Benefits of technology

Effectively identifies the true target by distinguishing it from false detections in complex fisheye images, enhancing accuracy in target detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024144279000001_ABST
    Figure 2024144279000001_ABST
Patent Text Reader

Abstract

To provide a target determination method and a device.SOLUTION: A target determination method includes: determining a candidate target bounding frame; scoring the candidate target bounding frame and recording the candidate target bounding frame and the score and the occurrence count on a list of the candidate target bounding frame; and determining the target based on the score and the occurrence count of each candidate target bounding frame in the candidate target bounding frame list obtained from consecutive video frames. With this, the target (handle) can be identified by finding the target bounding box (handle bounding box) from the candidate target bounding frame (candidate handle bounding frame) detected based on in-car video.SELECTED DRAWING: Figure 4
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the technical field of image processing. [Background technology]

[0002] With the development of information technology, image-based target detection technology is more and more widely applied. For example, in the field of video surveillance, target detection technology can be adopted to detect targets in video frames, so as to obtain the bounding box information of the target, or obtain the keypoint information of the target. The keypoints here include, for example, 18 keypoints of the skeleton of a target person (subject), namely, neck, nose, left shoulder, right shoulder, left waist, right waist, left eye, right eye, left elbow, right elbow, left knee, right knee, left ear, right ear, left wrist, right wrist, left ankle and right ankle.

[0003] It should be noted that the introduction of the above background art is intended to clearly and completely explain the technical solutions of the present invention, and to facilitate understanding thereof by those skilled in the art, and these technical solutions are described in the background art of the present invention, and therefore should not be construed as being known to those skilled in the art. Summary of the Invention [Problem to be solved by the invention]

[0004] The inventor discovered the following. That is, in the case of a general image, the skeleton detection model can function normally, but in the case of a fisheye image, the accuracy of skeleton detection is low. In addition, the conventional method of determining whether the driver is in or out of the vehicle is based on the rules of the positional relationship between the driver's skeleton and a detected target (e.g., the handle (steering wheel)), and how to find a desired target (e.g., the real handle) from many detected targets is very important for the method of determination.

[0005] In view of at least one of the above problems or other similar problems, an object of the present invention is to provide a method and apparatus for determining a target, which is capable of finding a true target from among many detected targets. [Means for solving the problem]

[0006] According to one aspect of an embodiment of the present invention, there is provided a target determination device, the device comprising: a first determination unit for determining candidate target bounding boxes; a processing unit for scoring the candidate target bounding boxes and for recording the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and a second determination unit for determining a target based on a score and an occurrence number of each candidate target bounding box in the candidate target bounding box list obtained from consecutive video frames; Among them, When the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), the second determination unit determines the candidate target corresponding to the candidate target bounding box with the maximum number of occurrences as the target; Otherwise, if the difference between the maximum occurrence count and the second largest occurrence count is less than a third threshold (n2), the second determination unit determines the candidate target corresponding to the candidate target bounding box with the maximum score as the target; Otherwise, the second determination unit determines the candidate target corresponding to the candidate target bounding box with the highest number of occurrences as the target.

[0007] According to another aspect of an embodiment of the present invention, there is provided a method for determining a target, the method comprising: Determine candidate target bounding boxes; Score the candidate target bounding boxes and record the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and determining targets based on a score and a number of occurrences of each candidate target bounding box in the list of candidate target bounding boxes from consecutive video frames; Among them, If the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), determine the candidate target corresponding to the candidate target bounding box with the maximum number of occurrences as the target; Otherwise, if the difference between the maximum occurrence count and the second highest occurrence count is less than a third threshold (n2), determine the candidate target corresponding to the candidate target bounding box with the maximum score as the target; If not, the candidate target corresponding to the candidate target bounding box with the greatest number of occurrences is determined as the target.

[0008] According to another aspect of an embodiment of the present invention, there is provided a computing device, the computing device including a memory and a processor, the memory storing a computer program, the processor being configured to execute the computer program to implement a method, namely: Determine candidate target bounding boxes; Score the candidate target bounding boxes and record the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and determining targets based on a score and a number of occurrences of each candidate target bounding box in the list of candidate target bounding boxes from consecutive video frames; Among them, If the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), determine the candidate target corresponding to the candidate target bounding box with the maximum number of occurrences as the target; Otherwise, if the difference between the maximum occurrence count and the second highest occurrence count is less than a third threshold (n2), determine the candidate target corresponding to the candidate target bounding box with the maximum score as the target; If not, the candidate target corresponding to the candidate target bounding box with the greatest number of occurrences is determined as the target. Effect of the Invention

[0009] According to an embodiment of the present invention, a target (handle) can be located (positioned / identified) by finding a target bounding box (handle bounding box) from candidate target bounding boxes (candidate handle bounding boxes) detected based on an in-vehicle video. [Brief description of the drawings]

[0010] [Figure 1] FIG. 2 is a diagram illustrating an application scenario of an embodiment of the present invention. [Diagram 2] FIG. 2 illustrates another application scenario of an embodiment of the present invention. [Diagram 3] FIG. 2 shows a single video frame captured by a camera head mounted on the roof of a countertop forklift. [Figure 4] FIG. 13 is a diagram showing a target determination method in an embodiment of the present invention. [Diagram 5] FIG. 11 is a diagram showing another target determination method in an embodiment of the present invention. [Figure 6] FIG. 1 is a diagram showing an example illustrating the effect of the method according to the embodiment of the present invention. [Figure 7] FIG. 11 is a diagram showing another example illustrating the effect of the method according to the embodiment of the present invention. [Figure 8] FIG. 2 is a diagram showing a target determination device according to an embodiment of the present invention. [Figure 9] FIG. 13 is a diagram showing another target determination device in an embodiment of the present invention. [Figure 10] FIG. 2 illustrates a computer device according to an embodiment of the present invention. [Figure 11] FIG. 13 illustrates another computer device according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] The above and other features of the present invention will become apparent from the following detailed description and the accompanying drawings, in which: While the specification and drawings disclose certain embodiments of the present invention, these are illustrative of only some of the embodiments which may employ the principles of the present invention, and it is to be understood that the present invention is not limited to the described embodiments, but rather includes all modifications, variations and alternatives which fall within the scope of the appended claims.

[0012] In the embodiment of the present invention, the application scenario is taken as an example of a forklift, and a 360° camera head image (i.e., fisheye image) taken by a drive recorder on the roof of the forklift is taken as an example. However, the present invention is not limited to this, and the application scenario of the embodiment of the present invention may be other vehicles, and the video image according to the embodiment of the present invention may be acquired by other camera heads, which may be installed inside the vehicle or outside the vehicle, for example, on a utility pole on the side of the road.

[0013] Figures 1 and 2 are diagrams showing two application scenarios of the embodiment of the present invention. Figure 1 shows a counter forklift, and the rectangular frame in the figure indicates the location of the handle, and Figure 2 shows a reach forklift, and the rectangular frame in the figure indicates the location of the handle. However, when the background of the picture (video frame) is complex or the captured picture is blurred, the detector (traditional target detection method) may output many handles, including false detections.

[0014] Fig. 3 is a diagram showing one video frame captured by a camera head installed on the roof of a countertop forklift. As shown in Fig. 3, the background of the video frame is very complex, so many handle boundary frames are obtained by the existing target detection method, which means that all of these handle boundary frames may be handles. However, only the rectangular frame 30 is the true handle, and the other rectangular frames, for example, the rectangular frame 31, are false handles. One of the objectives of the embodiment of the present invention is to locate (identify) the true handle.

[0015] In addition, the present invention does not limit the method of obtaining the boundary frame, and the boundary frame may be obtained by performing target detection on the video frame, for example, by detection by a target detector, and existing target detection methods, models, networks, etc. are all applicable to the present invention, or may be preset, for example, when the target boundary frame is not detected by the target detector, or when the reliability of the detected target boundary frame is too low. In addition, for convenience, the present invention takes the handle of a forklift as an example of the target to be confirmed, but the present invention is not limited thereto, and the detected target may be other parts of the forklift, such as a steering wheel, pedals, etc., and in other scenarios other than a forklift, the detected target may be other parts. One of the purposes of the embodiment of the present invention is to identify a true target from a plurality of detected candidate targets.

[0016] Various implementations of the embodiments of the present invention will now be described in conjunction with the drawings.

[0017] <Example of the first aspect> An embodiment of the present invention provides a method for determining a target. Figure 4 is a diagram showing the method for determining a target in an embodiment of the present invention. As shown in Figure 4, the method includes the following steps:

[0018] 401: Determine candidate target bounding box; 402: Score the candidate target bounding boxes and record the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and 403: Determine targets based on the score and occurrence count of each candidate target bounding box in the list of candidate target bounding boxes from consecutive video frames.

[0019] Note that, although the above-mentioned FIG. 4 is for illustrative purposes, the present invention is not limited thereto. For example, the execution order between each operation (step) can be appropriately adjusted, or some operations can be added or removed. Those skilled in the art are not limited to the description of the above-mentioned FIG. 4, and can make appropriate modifications based on the above-mentioned contents.

[0020] In an embodiment of the present invention, determining a target based on the score and occurrence count of each candidate target bounding frame may be as follows: if the maximum occurrence count is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), determine the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target; otherwise, if the difference between the maximum occurrence count and the second largest occurrence count is smaller than a third threshold (n2), determine the candidate target corresponding to the candidate target bounding frame with the maximum score as the target; otherwise, determine the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target.

[0021] According to the above embodiment, the target boundary frame is found from the candidate target boundary frames determined based on the in-car video according to the score and the number of occurrences of each candidate target boundary frame, thereby locating the true target. Taking the handle as the detected target as an example, according to the embodiment of the present invention, the candidate handle boundary frames are determined based on the in-car video according to the score and the number of occurrences of each candidate handle boundary frame, thereby locating the true handle from among the determined candidate handles.

[0022] In the embodiment of the present invention, in step 401, the method of obtaining the candidate target bounding box is not limited, for example, the candidate target bounding box can be obtained by target detection method, and the conventional method, model, network, etc. that can be used for target detection can all be applied to the present invention, or the candidate target bounding box can be obtained in a predefined manner. For details, refer to the related art, and the detailed description is omitted here.

[0023] In an embodiment of the present invention, in step 402, a list of candidate target bounding boxes can be maintained, the list includes multiple entries, each entry corresponds to a candidate target bounding box and its score and occurrence count, and each entry may further include other items to identify the candidate target box, such as the index / number of the candidate target bounding box, the center point coordinate of the candidate target bounding box, the length and width of the candidate target bounding box, the vertex coordinates of the candidate target bounding box, etc.

[0024] In the above embodiment, through the target detection or pre-definition in step 401, multiple candidate target bounding boxes can be obtained, and each candidate target bounding box may be labeled with parameters such as, but not limited to, the score (also called confidence) of the candidate target bounding box, the center point coordinates of the candidate target bounding box, the length and width of the candidate target bounding box, and the vertex coordinates of the candidate target bounding box.

[0025] In step 402, the list of candidate target bounding boxes may be updated based on whether the candidate target bounding box is a new or old bounding box.

[0026] For example, if the obtained candidate target bounding frame is a new bounding frame, that is, if the candidate target bounding frame appears for the first time, the candidate target bounding frame is added to the above-mentioned candidate target bounding frame list, its parameters, for example, score, are also added to the entry corresponding to the candidate target bounding frame, and the number of occurrences of the candidate target bounding frame is updated. Since the candidate target bounding frame appears for the first time, the number of occurrences can be updated to 1.

[0027] Also, for example, if the obtained candidate target boundary frame is an old boundary frame, that is, if the candidate target boundary frame has appeared in a previous video frame, the entry corresponding to the candidate target boundary frame in the candidate target boundary frame list is updated. For example, the number of occurrences is incremented by 1, and if the score of the candidate target boundary frame obtained by the current detection is greater than the score corresponding to the candidate target boundary frame recorded in the list, the score corresponding to the candidate target boundary frame in the candidate target boundary frame list is updated. If the score of the candidate target boundary frame obtained by the current detection is equal to or less than the score corresponding to the candidate target boundary frame recorded in the list, there is no need to update the score corresponding to the candidate target boundary frame in the candidate target boundary frame list.

[0028] In the above-described embodiment, it can be determined whether a detected candidate target bounding frame is a new bounding frame or an old bounding frame based on whether the candidate target bounding frame overlaps with an existing candidate target bounding frame recorded in the candidate target bounding frame list.

[0029] For example, if the candidate target bounding frame does not overlap with any one of the candidate target bounding frames in the candidate target bounding frame list, the candidate target bounding frame is determined to be a new bounding frame, and the new bounding frame and its score and occurrence count are recorded in the candidate target bounding frame list.

[0030] Also, for example, if the candidate target bounding frame overlaps with any one of the candidate target bounding frames in the candidate target bounding frame list, the candidate target bounding frame is determined to be an old bounding frame, and the number of occurrences of the old bounding frame in the candidate target bounding frame list is updated. Also, if the score has changed and is greater than the score corresponding to the candidate target bounding frame recorded in the candidate target bounding frame list, the number of occurrences and the score can be updated simultaneously. Alternatively, regardless of whether the score has changed, the number of occurrences and the score of the old bounding frame in the candidate target bounding frame list are updated, thereby reducing the amount of calculation required to determine an operation.

[0031] In the above embodiment, the candidate target boundary frame can be combined with whether it overlaps with a predetermined boundary frame to determine whether the detected candidate target boundary frame is a new boundary frame or an old boundary frame. Here, the predetermined boundary frame is another boundary frame different from the candidate target boundary frame, for example, the candidate target boundary frame is a handle boundary frame, and the predetermined boundary frame can be a steering wheel boundary frame, that is, in the embodiment of the present invention, the candidate handle boundary frame can be combined with whether it overlaps with the steering wheel boundary frame to determine whether the candidate handle boundary frame is a new boundary frame or an old boundary frame.

[0032] For example, if the candidate target boundary frame overlaps with a specified boundary frame, the candidate target boundary frame is deemed to be an old boundary frame, or the candidate target boundary frame is deemed to be a false positive, in which case no processing is performed on the candidate target boundary frame, or if the candidate target boundary frame is recorded in the candidate target boundary frame list, the information in the entry (number of occurrences, score, etc.) is updated.

[0033] Also, for example, when the candidate target boundary frame does not overlap with a predetermined boundary frame and does not overlap with any one of the candidate target boundary frames in the candidate target boundary frame list, the candidate target boundary frame is regarded as a new boundary frame, and in this case, the candidate target boundary frame and its score and occurrence count can be recorded in the candidate target boundary frame. The recording method is the same as the recording method of the new boundary frame described above, and a detailed description thereof will be omitted here.

[0034] The present invention does not limit the selection of the predetermined boundary frame, and when the target boundary frame is a handle boundary frame, the predetermined boundary frame may be a steering wheel boundary frame, or a boundary frame of another part of the forklift, such as a pedal boundary frame, a seat boundary frame, etc., as long as it can be used to distinguish the target boundary frame (handle boundary frame).

[0035] In an embodiment of the present invention, after obtaining a list of candidate target bounding boxes of consecutive video frames through the operations of steps 401 and 402, in step 403, a target can be determined based on the score and occurrence count of each candidate target bounding box recorded in the candidate target bounding box list.

[0036] In the above-mentioned embodiment, when there is only one candidate target bounding frame in the above-mentioned candidate target bounding frame list, i.e., when only one candidate target bounding frame is obtained through target detection in multiple consecutive video frames or pre-definition, the candidate target corresponding to the candidate target bounding frame is deemed to be the true target; when there are multiple candidate target bounding frames in the above-mentioned candidate target bounding frame list, i.e., when multiple candidate target bounding frames are obtained through target detection in multiple consecutive video frames or pre-definition, the true target can be identified based on the scores and occurrence counts of these candidate target bounding frames.

[0037] In some embodiments, multiple candidate target bounding frames are sorted in descending order (from largest to smallest) based on the number of occurrences and scores of the candidate target bounding frames, thereby obtaining the candidate target bounding frame with the highest number of occurrences, the candidate target bounding frame with the second highest number of occurrences, the candidate target bounding frame with the highest score, the candidate target bounding frame with the second highest score, etc., and then the target can be determined based on the sorted candidate target bounding frames.

[0038] For example, a handle is taken as the detection target.

[0039] In the above embodiment, the candidate handle boundary frames recorded in the candidate handle boundary frame list are sorted in descending order of the number of occurrences. Handle_occur[·]: Number of occurrences (Handle_occur[0]) > Number of occurrences (Handle_occur[1]) > … The result obtained is:

[0040] In the above embodiment, the candidate handle boundary frames recorded in the candidate handle boundary frame list are sorted in descending order of score. Handle_score[·]: max_score(Handle_score[0]) > max_score(Handle_score[1]) > … The result obtained is:

[0041] In this case, in the above embodiment, the true target can be determined by the following method.

[0042] If Handle_occur[0] is smaller than n1 (first threshold) and Handle_score[0] is larger than f1 (second threshold), the handle corresponding to Handle_occur[0] is determined to be the true handle. That is, if the score satisfies the condition, the handle corresponding to the maximum number of occurrences is determined to be the true handle. Otherwise, if the difference between Handle_occur[0] and Handle_occur[1] is less than n2 (a third threshold), determine the handle corresponding to Handle_score[0] as the true handle; that is, if the scores do not satisfy the condition and the occurrence counts are approximately the same, determine the handle corresponding to the maximum score as the true handle; Otherwise, the handle corresponding to Handle_occur[0] is determined to be the true handle; that is, if the score does not satisfy the condition and the difference in the number of occurrences is large, the handle corresponding to the maximum number of occurrences is determined to be the true handle.

[0043] In the above embodiment, the first threshold n1 and the third threshold n2 are both integers, and the present invention does not limit the values ​​of the first threshold n1 and the third threshold n2. For example, the first threshold n1 and the third threshold n2 may be determined based on the number of candidate handle bounding boxes in the candidate handle bounding box list, or may be determined taking into account other factors.

[0044] In the above embodiment, the second threshold f1 corresponds to a score, i.e., a confidence level, and therefore, it is a value between 0 and 1, i.e., 0≦f1≦1. The present invention also does not limit the value of the second threshold f1, and it may be set based on the accuracy of target detection, or may be set taking other factors into consideration.

[0045] In the above-mentioned embodiment, sorting is performed first and then the true target is determined, but this is merely an example and the present invention is not limited thereto. In some embodiments, sorting is not performed, and the true target may be determined by directly selecting the candidate target bounding frames with the highest and second highest scores and the candidate target bounding frames with the highest and second highest frequency of occurrence from the candidate target bounding frames in the candidate target bounding frame list, and performing the above-mentioned judgment.

[0046] In the above embodiment, the true target is determined based on the candidate target bounding frames with the highest and second highest scores and the candidate target bounding frames with the highest and second highest occurrences. However, the present invention is not limited to this, and other rules may be adopted based on the number of candidate target bounding frames in the candidate target bounding frame list, for example, the true target may be determined based on the candidate target bounding frames with other scores and occurrences.

[0047] 5 is a diagram showing the application of the target determination method in the embodiment of the present invention, which shows a process from acquiring a video frame to judging whether the driver is in or out of the vehicle. As shown in FIG. 5, the process includes the following steps:

[0048] 501: An input video frame / picture enters the network model; 502: Generate human skeleton keypoints; 503: Driver recognition; 504: Find the handle; and 505: Check for boarding and unboarding events.

[0049] Note that, although the above-mentioned FIG. 5 is for illustrative purposes, the present invention is not limited thereto. For example, the execution order between each operation (step) can be appropriately adjusted, or some operations can be added or removed. Those skilled in the art are not limited to the description of the above-mentioned FIG. 5, and can make appropriate modifications based on the above-mentioned contents.

[0050] In the above embodiment, the step 504 of finding the handle can be realized by the method in the embodiment of the present invention. In addition, the specific implementation processes of other steps can be referred to the related art, and the present invention is not limited thereto.

[0051] Fig. 6 is a diagram showing an example of the effect of the method according to the embodiment of the present invention. In the example of Fig. 6, a counter type forklift is taken as an example, and as shown in Fig. 6, n1=10, n2=5, f1=0.8 is taken as an example.

[0052] As shown in Fig. 6, four handle bounding boxes are obtained by the target detection method or the predefined method, which are 60, 61, 62 and 63, respectively, and the method in the embodiment of the present invention excludes the handle bounding boxes 61-63 and determines the handle corresponding to the handle bounding box 60 as the true handle. Therefore, the method in the embodiment of the present invention can determine the true target from many detected targets.

[0053] Figure 7 is a diagram showing another example of the effect of the method in the embodiment of the present invention. In the example of Figure 7, a counter type forklift is still taken as an example, and as shown in Figure 7, in this example, n1=10, n2=5, f1=0.8 is still taken as an example.

[0054] As shown in Fig. 7, eight handle boundary frames are obtained by the target detection method or the predefined method, which are 70, 71, 72, 73, 74, 75, 76, and 77, and the method in the embodiment of the present invention excludes the handle boundary frames 71 to 77 and determines the handle corresponding to the handle boundary frame 70 as the true handle. Therefore, the method in the embodiment of the present invention can determine the true target from many detected targets.

[0055] The above-mentioned embodiments are provided to exemplify the embodiments of the present invention, but the present invention is not limited to these, and furthermore, appropriate modifications can be made based on the above-mentioned embodiments. For example, each of the above-mentioned embodiments may be used alone, or a combination of two or more of the above-mentioned embodiments may be used.

[0056] According to an embodiment of the present invention, a target boundary frame can be found from the candidate target boundary frames detected based on the in-car video according to the score and occurrence count of each candidate target boundary frame, thereby locating a true target.

[0057] <Example of the second aspect> In the embodiment of the present invention, a target determination device is provided, and the principle by which the device solves the problem is the same as in the embodiment of the first aspect, so the description of the same content as in the embodiment of the first aspect will be omitted here.

[0058] 8 is a diagram showing a target determining device in an embodiment of the present invention. As shown in FIG. 8, the target determining device 800 includes:

[0059] A first determination unit 801: determines a candidate target bounding box; A processing unit 802: scores the candidate target bounding boxes and records the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and A second determining unit 803: determines a target based on the score and the occurrence count of each candidate target bounding box in the candidate target bounding box list obtained from consecutive video frames.

[0060] In an embodiment of the present invention, if the maximum occurrence count is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), the second determination unit 803 determines the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target; otherwise, if the difference between the maximum occurrence count and the second largest occurrence count is smaller than a third threshold (n2), the second determination unit 803 determines the candidate target corresponding to the candidate target bounding frame with the maximum score as the target; otherwise, the second determination unit 803 determines the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target.

[0061] According to an embodiment of the present invention, a true target can be found from many detected candidate targets by determining the target based on the maximum number of occurrences, the second highest number of occurrences, the maximum score, and the second highest score of the candidate target bounding box.

[0062] In some embodiments, if the candidate target bounding frame does not overlap with any candidate target bounding frame in the candidate target bounding frame list, processing unit 802 determines that the candidate target bounding frame is a new bounding frame, in which case it stores the new bounding frame and its score and number of occurrences in the candidate target bounding frame list.

[0063] In some embodiments, if the candidate target bounding frame does not overlap with any of the candidate target bounding frames in the candidate target bounding frame list, and the candidate target bounding frame does not overlap with a predetermined bounding frame in the current video frame, the processing unit 802 determines that the candidate target bounding frame is a new bounding frame, and in this case records the candidate target bounding frame and its score and occurrence count in the candidate target bounding frame list.

[0064] In some embodiments, if the candidate target bounding frame overlaps with any one of the candidate target bounding frames in the candidate target bounding frame list, the processing unit 802 determines that the candidate target bounding frame is an old bounding frame, and in this case updates the score and occurrence count of the old bounding frame in the candidate target bounding frame list.

[0065] In some embodiments, when there is only one candidate target bounding box in the candidate target bounding box list, the second determining unit 803 determines the target corresponding to the candidate target bounding box as the desired target (also referred to as the selected target).

[0066] In some embodiments, when there are multiple candidate target bounding frames in the candidate target bounding frame list, the second determination unit 803 sorts the candidate target bounding frames in the candidate target bounding frame list according to the order of the number of occurrences of the candidate target bounding frames from highest to lowest and the order of the scores of the candidate target bounding frames from highest to lowest, and then performs targeting based on the sorted candidate target bounding frames.

[0067] In some embodiments, the candidate object bounding box is a candidate handle bounding box and the detected gusset object is a handle.

[0068] FIG. 9 is a diagram of another target determining device in an embodiment of the present invention. As shown in FIG. 9, the target determining device 900 includes:

[0069] Detection module 901: performs target detection on an input video frame, and obtains the bounding box of a target in the video frame, key points of a target person, etc.; and Identification module 902: scores candidate target bounding boxes, records the candidate target bounding boxes and their scores and occurrences in a candidate target bounding box list, and determines targets based on the scores and occurrences of each candidate target bounding box in the candidate target bounding box list from consecutive video frames.

[0070] In an embodiment of the present invention, if the maximum occurrence count is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), the identification module 902 determines the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target; otherwise, if the difference between the maximum occurrence count and the second highest occurrence count is smaller than a third threshold (n2), the identification module 902 determines the candidate target corresponding to the candidate target bounding frame with the maximum score as the target; otherwise, the identification module 902 determines the candidate target corresponding to the candidate target bounding frame with the maximum occurrence count as the target.

[0071] In the above embodiment, the detection module 901 can be realized by the first determination unit 801 of the target determination device 800 of Fig. 8, the identification module 902 can be realized by the processing unit 802 and the second determination unit 803 of the target determination device 800 of Fig. 8, and the target determination device 900 can realize the target determination method in the embodiment of the first aspect. Note that the contents of the embodiment of the first aspect are incorporated herein, and the detailed description thereof will be omitted here.

[0072] In addition, only the components or modules related to the present invention are described above, but the present invention is not limited thereto. The target determination device 800, 900 may further include other components or modules, and the specific contents of these components or modules can be referred to in the related art.

[0073] 8 and 9 show only the connection relationship or signal direction between each component or module, but as can be understood by those skilled in the art, various related technologies such as bus connection may be adopted. Also, each of the above-mentioned components or modules may be realized by hardware such as a processor, a memory, etc., but the embodiment of the present invention is not limited thereto.

[0074] Although the above-mentioned embodiments are provided to exemplify the embodiments of the present invention, the present invention is not limited thereto, and furthermore, appropriate modifications can be made based on the above-mentioned embodiments. For example, the above-mentioned embodiments can be used alone, or a combination of the above-mentioned embodiments can be used.

[0075] According to an embodiment of the present invention, a target can be determined based on the maximum number of occurrences, the second highest number of occurrences, the maximum score, and the second highest score of the candidate target bounding box, thereby identifying the true target from among many detected candidate targets.

[0076] <Example of the third aspect> The present invention provides a computer device, which includes the target determination device 800, 900 described in the embodiment of the second aspect, the contents of which are incorporated herein. The computer device may be, for example, a computer, a server, a workstation, a notebook computer, a smartphone, etc., but the embodiment of the present invention is not limited thereto.

[0077] FIG. 10 is a diagram showing a computer device in an embodiment of the present invention. As shown in FIG. 10, the computer device 1000 may include a processor (e.g., a central processing unit CPU) 1001 and a memory 1002, and the memory 1002 is connected to the central processing unit 1001. The memory 1002 can store various data and can also store programs for information processing, and can execute the programs under the control of the processor 1001. The computer device 1000 may further include a communication interface 1010, which is used to exchange data with the outside, for example, to obtain video data from an image capture device (e.g., a drive recorder, a camera head, etc.) through the communication interface 1010, and to transmit a judgment result to an external device through the communication interface 1010.

[0078] In some embodiments, the functions of the target determination devices 800 and 900 may be integrated into a processor 1001. The processor 1001 is configured to implement the target determination method described in the embodiments of the first aspect.

[0079] In some embodiments, the target determination devices 800, 900 may be arranged independently of the processor 1001, for example, the target determination devices 800, 900 may be configured as chips connected to the processor 1001, and the functions of the target determination devices 800, 900 may be realized under the control of the processor 1001.

[0080] FIG. 11 is a diagram showing another computer device in an embodiment of the present invention. As shown in FIG. 11, the computer device 1000 may further include an input / output interface 1003, an input device 1004, an output device 1005, a storage device 1006, a communication device 1007, a drive 1008, a removable medium 1009, etc., among which, the functions of these components are similar to those of the prior art, and therefore detailed descriptions thereof are omitted here. It should be noted that the computer device 1000 does not need to include all the components shown in FIG. 11. In addition, the computer device 1000 may further include components not shown in FIG. 11, and reference can be made to the related art for this.

[0081] An embodiment of the present invention further provides a computer readable program, which, when executed on an electronic device, causes a computer to perform a method according to the embodiment of the first aspect on the computing device.

[0082] An embodiment of the present invention further provides a storage medium having a computer readable program stored thereon, wherein the computer readable program causes a computer to execute the method according to the embodiment of the first aspect on a computing device.

[0083] The above-mentioned devices and methods may be realized by software or hardware, or may be realized by a combination of hardware and software. The present invention further relates to a computer readable program, which, when executed by a logic component, causes the logic component to realize the above-mentioned devices or components, or causes the logic component to realize the various methods or steps described above. The logic component may be, for example, a Field Programmable Gate Array (FPGA), a microprocessor, a processor for use in a computer, etc. The present invention also relates to a storage medium, such as a hard disk, a magnetic disk, an optical hard disk, a DVD, a flash memory, etc., storing the above-mentioned program.

[0084] Additionally, one or more combinations of the functional blocks depicted in the figures and / or one or more combinations of the functional blocks may be implemented as a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic component, a discrete gate or transistor logic component, a discrete hardware assembly, or any other suitable combination for performing the functions described herein. Also, one or more combinations of the functional blocks depicted in the figures and / or one or more combinations of the functional blocks may be further configured as a combination of computing devices, such as a combination of a DSP and a microprocessor, a combination of multiple microprocessors, one or more microprocessors in communication with a DSP, or any other configuration.

[0085] Furthermore, with respect to the above-mentioned embodiments, the following supplementary notes are disclosed.

[0086] (Appendix 1) A method for determining a target, comprising: S1: Determine candidate target bounding boxes; S2: Score the candidate target bounding boxes, and record the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and S3: determining targets based on a score and an occurrence count of each candidate target bounding box in the list of candidate target bounding boxes obtained from consecutive video frames; Among them, When the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), the candidate target corresponding to the candidate target bounding box having the maximum number of occurrences is determined as the target; If not, A method for determining, if the difference between the maximum number of occurrences and the second highest number of occurrences is smaller than a third threshold (n2), the candidate target corresponding to the candidate target bounding frame with the maximum score as the target, and if not, determining the candidate target corresponding to the candidate target bounding frame with the maximum number of occurrences as the target.

[0087] (Appendix 2) 2. The method according to claim 1, comprising: S2 is The method includes determining that the candidate target bounding frame is a new bounding frame if the candidate target bounding frame does not overlap with any one of the candidate target bounding frames in the candidate target bounding frame list (condition 1), and recording the new bounding frame and its score and number of occurrences in the candidate target bounding frame list.

[0088] (Appendix 3) 2. The method according to claim 1, comprising: S2 is The method includes determining that the candidate target boundary frame is a new boundary frame when the candidate target boundary frame does not overlap with any one of the candidate target boundary frames in the candidate target boundary frame list (condition 1) and also when the candidate target boundary frame does not overlap with a specified boundary frame (steering wheel boundary frame) on the current video frame (condition 2), and recording the candidate target boundary frame, its score, and its number of occurrences in the candidate target boundary frame list.

[0089] (Appendix 4) 2. The method according to claim 1, comprising: S2 is The method includes determining that the candidate target bounding frame is an old bounding frame if the candidate target bounding frame overlaps with any one of the candidate target bounding frames in the candidate target bounding frame list, and updating a score and a number of occurrences of the old bounding frame in the candidate target bounding frame list.

[0090] (Appendix 5) 2. The method according to claim 1, comprising: S3 is S31: when there is only one candidate target bounding frame in the candidate target bounding frame list, determine the target corresponding to the candidate target bounding frame as a desired target; S32: Otherwise, when there are multiple candidate target bounding frames in the candidate target bounding frame list, sort the candidate target bounding frames in the candidate target bounding frame list according to the order of the number of occurrences of the candidate target bounding frames from highest to lowest and the order of the scores of the candidate target bounding frames from highest to lowest; and S33: determining the target based on the reordered candidate target bounding boxes.

[0091] (Appendix 6) 6. The method according to any one of claims 1 to 5, comprising: The method, wherein the candidate object bounding box is a candidate handle bounding box and the object is a handle.

[0092] (Appendix 7) A storage medium storing a computer-readable program, A storage medium that causes a computer to execute the target determination method described in any one of appendixes 1 to 6 in an electronic device.

[0093] Although the preferred embodiments of the present invention have been described above, the present invention is not limited to such embodiments, and any modifications to the present invention fall within the technical scope of the present invention as long as they do not depart from the spirit of the present invention.

Claims

1. A device for determining a target, comprising: a first determining unit for determining candidate target bounding boxes; a processing unit for scoring the candidate target bounding boxes and recording the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and a second determination unit for determining a target based on a score and an occurrence number of each candidate target bounding box in the candidate target bounding box list obtained from consecutive video frames; When the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), the second determination unit determines the candidate target corresponding to the candidate target bounding box with the maximum number of occurrences as the target; If not, If the difference between the maximum number of occurrences and the second highest number of occurrences is smaller than a third threshold (n2), the second determination unit determines the candidate target corresponding to the candidate target bounding frame with the maximum score as the target, and if not, the second determination unit determines the candidate target corresponding to the candidate target bounding frame with the maximum number of occurrences as the target.

2. 2. The apparatus of claim 1, If the candidate target bounding frame does not overlap with any one of the candidate target bounding frames in the candidate target bounding frame list, the processing unit determines the candidate target bounding frame as a new bounding frame and records the new bounding frame, its score, and its occurrence count in the candidate target bounding frame list.

3. 2. The apparatus of claim 1, If the candidate target bounding frame does not overlap with any one of the candidate target bounding frames in the candidate target bounding frame list, and if the candidate target bounding frame does not overlap with a predetermined bounding frame in the current video frame, the processing unit determines the candidate target bounding frame as a new bounding frame and records the candidate target bounding frame and its score and number of occurrences in the candidate target bounding frame list.

4. 2. The apparatus of claim 1, The device includes, when the candidate target bounding frame overlaps with any one of the candidate target bounding frames in the candidate target bounding frame list, the processing unit determines the candidate target bounding frame as an old bounding frame and updates the score and number of occurrences of the old bounding frame in the candidate target bounding frame list.

5. 2. The apparatus of claim 1, When there is only one candidate target bounding box in the candidate target bounding box list, the second determination unit determines the target corresponding to the candidate target bounding box as a desired target; When there are multiple candidate target bounding frames in the candidate target bounding frame list, the second determination unit sorts the candidate target bounding frames in the candidate target bounding frame list in order from most to least frequent occurrence of the candidate target bounding frames and in order from most to least frequent score of the candidate target bounding frames, and determines the target based on the sorted candidate target bounding frames.

6. 6. An apparatus according to any one of claims 1 to 5, comprising: The candidate target bounding box is a candidate handle bounding box and the target is a handle.

7. 1. A method for determining a target, comprising: determining candidate target bounding boxes; scoring the candidate target bounding boxes and recording the candidate target bounding boxes and their scores and occurrence counts in a candidate target bounding box list; and determining targets based on a score and a number of occurrences of each candidate target bounding box in the list of candidate target bounding boxes from consecutive video frames; If the maximum number of occurrences is smaller than a first threshold (n1) and the maximum score is greater than a second threshold (f1), determine the candidate target corresponding to the candidate target bounding box with the maximum number of occurrences as the target; If not, A method for determining, if the difference between the maximum number of occurrences and the second highest number of occurrences is smaller than a third threshold (n2), the candidate target corresponding to the candidate target bounding frame with the highest score as the target, and otherwise determining, as the target, the candidate target corresponding to the candidate target bounding frame with the maximum number of occurrences.

8. 8. The method of claim 7, If the candidate target bounding frame does not overlap with any one of the candidate target bounding frames in the candidate target bounding frame list, and the candidate target bounding frame does not overlap with a predetermined bounding frame in the current video frame, the candidate target bounding frame is determined as a new bounding frame, and the candidate target bounding frame, its score, and its occurrence count are recorded in the candidate target bounding frame list.

9. 8. The method of claim 7, determining a target corresponding to the candidate target bounding box as a desired target when there is only one candidate target bounding box in the candidate target bounding box list; When there are multiple candidate target bounding frames in the candidate target bounding frame list, the method sorts the candidate target bounding frames in the candidate target bounding frame list in order from most frequent to least frequent and ...

10. 1. A computer device comprising: A memory device and a processor connected to the memory device, The storage device stores a computer program, A computing device, the processor being configured to execute the computer program to implement the method according to any one of claims 7 to 9.