Object detection system and object detection method

The object detection system addresses the trade-off between delay and accuracy by using historical data to predict object positions in subsequent frames, ensuring timely and precise detection.

JP2024135463APending Publication Date: 2024-10-04NEC CORP

Patent Information

Application Number
JP2023046155
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-23
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

High-resolution frames require significant time for object detection, leading to delays in outputting detection results, while lightweight algorithms compromise accuracy.

Method used

An object detection system that utilizes a first detection process to identify objects in frames, generates history information for bounding boxes with common objects, and employs a prediction mechanism to estimate object positions in subsequent frames based on historical data, using a smaller model for faster and accurate detection.

Benefits of technology

Achieves both low delay and high accuracy in object detection by leveraging historical information for faster processing in subsequent frames.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024135463000001_ABST
    Figure 2024135463000001_ABST
Patent Text Reader

Abstract

To provide an object detection system which can achieve both of a low delay and an object detection precision.SOLUTION: First detection means 72 specifies the label of an object in an inputted frame and specifies the position of a bounding box of the object. History information creation means 73 gives the same ID to bounding boxes in which the object is common to create history information as information showing the history of a combination of each frame number and the position of each bounding box per ID. Prediction means 74 predicts the region of the bounding box in the latest frame based on the history information depending on a delay as a time required for specifying the label and the position of the bounding box relative to the frame by the first detection means 72.SELECTED DRAWING: Figure 10
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an object detection system, an object detection method, and an object detection program for detecting an object captured in an image frame (hereinafter, referred to as a frame). [Background technology]

[0002] In some cases, frames captured by a high-resolution camera are continuously input to an object detection system, and the object detection system detects an object from each frame.

[0003] The number of pixels in a frame generated by a high-resolution camera is large. When detecting an object in a high-resolution frame (i.e., a frame with a large number of pixels), it takes time to detect the object.

[0004] In addition, there are small and lightweight detection algorithms and model structures that can detect objects in a short time using high-resolution frames, but in that case the accuracy of object detection decreases.

[0005] Furthermore, Patent Document 1 describes a video analysis system that recognizes an object captured in a video and identifies the type of the object.

[0006] Patent Document 2 describes a scanner that includes a high-speed image processing section that corresponds to a high-speed mode and a low-speed image processing section that corresponds to a low-speed mode. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2022-133547 A [Patent Document 2] JP 2019-41332 A Summary of the Invention [Problem to be solved by the invention]

[0008] As described above, when detecting an object using a high-resolution frame, it takes time to detect the object. Therefore, an object detection system that receives successive frames captured by a high-resolution camera cannot output detection results in real time. In other words, such an object detection system experiences a delay before outputting the object detection result for the most recent input frame.

[0009] When using a small and lightweight detection algorithm or model structure that can detect an object in a short time, the accuracy of object detection decreases, as described above.

[0010] Therefore, an object of the present invention is to provide an object detection system, an object detection method, and an object detection program that can achieve both low latency and high object detection accuracy. [Means for solving the problem]

[0011] The object detection system of the present invention is an object detection system in which frames are input continuously, and comprises a first detection means for identifying the label of an object appearing in the input frames and identifying the position of the bounding box of the object; a history information generation means for assigning the same ID to bounding boxes that have a common object and generating history information that is information indicating the history of combinations of frame numbers and bounding box positions for each ID; a prediction means for predicting the area of ​​the bounding box in the latest frame based on the history information in accordance with the delay that is the time required for the first detection means to identify the label and the position of the bounding box for the frame; and a second detection means for identifying the label of an object appearing in the input frames and identifying the position of the bounding box of the object, targeting the predicted bounding box area in the latest frame, and characterized in that the processing time taken by the second detection means to identify the label and the position of the bounding box for one frame is shorter than the processing time taken by the first detection means to identify the label and the position of the bounding box for one frame.

[0012] The object detection method according to the present invention is an object detection method applicable to a computer to which frames are input continuously, the method comprising the steps of: executing a first detection process to identify the label of an object appearing in the input frames and to identify the position of a bounding box of the object; executing a history information generation process to assign the same ID to bounding boxes that have a common object and to generate history information which is information indicating the history of combinations of frame numbers and bounding box positions for each ID; executing a prediction process to predict the area of ​​the bounding box in the latest frame based on the history information in accordance with the delay which is the time required to identify the label and the position of the bounding box for the frame in the first detection process; and executing a second detection process to identify the label of an object appearing in the input frames and to identify the position of the bounding box of the object, targeting the predicted bounding box area in the latest frame; and the processing time for identifying the label and the position of the bounding box for one frame in the second detection process is shorter than the processing time for identifying the label and the position of the bounding box for one frame in the first detection process.

[0013] The object detection program of the present invention is an object detection program installed in a computer to which frames are input continuously, and causes the computer to execute a first detection process that identifies the label of an object appearing in the input frames and identifies the position of the bounding box of the object; a history information generation process that assigns the same ID to bounding boxes that have a common object and generates history information that indicates the history of combinations of frame numbers and bounding box positions for each ID; a prediction process that predicts the area of ​​the bounding box in the latest frame based on the history information in response to the delay, which is the time required to identify the label and the position of the bounding box for the frame in the first detection process; and a second detection process that identifies the label of an object appearing in the frame and identifies the position of the bounding box of the object, targeting the predicted bounding box area in the latest frame, and is characterized in that the processing time for identifying the label and the position of the bounding box for one frame in the second detection process is shorter than the processing time for identifying the label and the position of the bounding box for one frame in the first detection process. Effect of the Invention

[0014] According to the present invention, it is possible to achieve both low latency and high object detection accuracy. [Brief description of the drawings]

[0015] [Figure 1] 1 is a block diagram showing an example of the configuration of an object detection system according to a first embodiment of the present invention. [Diagram 2] FIG. 13 is a schematic diagram showing an example of history information. [Diagram 3] 5 is a flowchart showing an example of a process progress of the object detection system according to the first embodiment. [Figure 4] FIG. 11 is a block diagram showing an example of the configuration of an object detection system according to a second embodiment of the present invention. [Diagram 5] 10 is a flowchart showing an example of a process progress of the object detection system according to the second embodiment. [Figure 6] FIG. 13 is a block diagram showing an example of the configuration of an object detection system according to a third embodiment of the present invention. [Figure 7] 11 is a schematic diagram showing an example of a plurality of prediction regions ordered by an ordering unit; [Figure 8] FIG. 1 is a block diagram showing an example of an object detection system that uses the time when a frame is input. [Figure 9] FIG. 2 is a schematic block diagram showing an example of the configuration of a computer related to the object detection system of the present invention. [Figure 10] 1 is a block diagram showing an overview of an object detection system according to the present invention; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0016] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

[0017] Embodiment 1. 1 is a block diagram showing an example of the configuration of an object detection system according to a first embodiment of the present invention. The object detection system 100 includes an input unit 1, a first detection unit 2, a history information generation unit 3, a prediction unit 4, a second detection unit 5, and an output unit 6.

[0018] Frames captured by a high-resolution camera are continuously input to the object detection system 100. The continuously input frames are assigned consecutive frame numbers.

[0019] The input unit 1 is an input interface to which each frame is input. In each embodiment, it is assumed that each frame is input to the input unit 1 at a constant frame rate.

[0020] In the first embodiment, when one frame is input to the input unit 1, the frame is sent to the first detection unit 2 and the second detection unit 5, respectively.

[0021] The first detection unit 2 detects objects in the input frames. Here, "detecting an object" means identifying the label of an object shown in the input frame and identifying the position of the bounding box of the object.

[0022] The label indicates the type of the object being captured. For example, if the object to be detected is a car and a person, the label "car" or "person" is specified as the label of the object. In the following, for the sake of simplicity, the case where the object to be detected is only a person is taken as an example.

[0023] The first detection unit 2 holds a model that has been generated in advance by machine learning such as deep learning, for example. The first detection unit 2 then applies the entire input frame to the model, thereby identifying the label of an object shown in the frame and identifying the position of the bounding box of the object. The number of objects detected from one frame is not limited to one, and may be multiple. In this case, the first detection unit 2 identifies the label of each object and identifies the position of the bounding box of the object for each object.

[0024] The second detection unit 5, which will be described later, also identifies the label of the captured object and the position of the bounding box of the object. That is, the second detection unit 5 also detects objects. However, the detection accuracy of the first detection unit 2 is higher than that of the second detection unit 5.

[0025] The first detection unit 2 identifies the label of an object appearing in an input frame and the position of the bounding box of that object, and then outputs the frame number of that frame, the label, and the position of the bounding box to the history information generation unit 3.

[0026] At the time when the first detection unit 2 outputs the frame number, label, and bounding box position for the input frame to the history information generation unit 3, a new frame is input via the input unit 1, and this new frame is input to the second detection unit 5.

[0027] It takes time for the first detection unit 2 to identify the label of an object and the position of the bounding box of the object for one frame. This time is the delay. The delay in the second detection unit 5 is smaller than the delay in the first detection unit 2. In other words, the processing time for the second detection unit 5 to identify the positions of the label and bounding box for one frame is shorter than the processing time for the first detection unit 2 to identify the positions of the label and bounding box for one frame.

[0028] The communication time required for one frame to reach the first detection unit 2 may be included in the delay in the first detection unit 2 .

[0029] In this embodiment, the magnitude of the delay in the first detection unit 2 is expressed as the difference between the frame number of the frame in which the first detection unit 2 identifies the label of the object and the position of the bounding box of that object, and the frame number of the frame input to the second detection unit 5 at the time when the first detection unit 2 outputs the label and the position of the bounding box.

[0030] In the first embodiment, it is assumed that the magnitude of the delay in the first detection unit 2 is constant. In other words, it is assumed that the difference between the frame number of the frame in which the first detection unit 2 identifies the label of the object and the position of the bounding box of the object, and the frame number of the frame input to the second detection unit 5 at the time when the first detection unit 2 outputs the label and the position of the bounding box, is constant. This difference in frame numbers is assumed to be k.

[0031] When the history information generation unit 3 receives the frame number, the object label, and the position of the bounding box of the object from the first detection unit 2, the history information generation unit 3 assigns an ID to the bounding box. When the positions of multiple bounding boxes are given to the history information generation unit 3, the history information generation unit 3 assigns an ID to each bounding box. At this time, the history information generation unit 3 assigns the same ID to bounding boxes that share a common object (in other words, bounding boxes that are presumed to share a common object).

[0032] Furthermore, the history information generating unit 3 generates history information. The history information is information that indicates the history of combinations of frame numbers and bounding box positions for each ID. FIG. 2 is a schematic diagram showing an example of history information. In the example shown in FIG. 2, the history of combinations of frame numbers, labels, and bounding box positions is shown for each bounding box ID. In this example, the position of the bounding box is specified by the coordinates of the upper left vertex and the lower right vertex of the bounding box. For example, (x1, y1) shown in FIG. 2 are the coordinates of the upper left vertex of the bounding box, and (x2, y2) are the coordinates of the lower right vertex of the bounding box.

[0033] When the history information generating unit 3 generates the latest history information, it outputs the history information to the predicting unit 4 .

[0034] The prediction unit 4 predicts the area of ​​the bounding box in the latest input frame based on the history information in response to the delay. At this time, the prediction unit 4 predicts the area of ​​the bounding box in the latest frame for each bounding box ID.

[0035] In this embodiment, the magnitude of the delay is constant. As described above, the difference between the frame number of the frame in which the first detection unit 2 identifies the label of the object and the position of the bounding box of the object, and the frame number of the frame input to the second detection unit 5 at the time when the first detection unit 2 outputs the label and the position of the bounding box, is constant, and this difference is k.

[0036] Therefore, the prediction unit 4 predicts the area of ​​the bounding box in a frame k frames after the frame with the latest frame number in the history information (frame with frame number 11 in the example shown in FIG. 2).

[0037] The prediction unit 4 may predict the area of ​​the bounding box in the latest frame by linear prediction based on the history information.

[0038] Alternatively, the prediction unit 4 may predict the area of ​​the bounding box in the latest frame using a Kalman filter based on history information.

[0039] Alternatively, the prediction unit 4 may predict the area of ​​the bounding box in the latest frame based on history information, using AI (Artificial Intelligence) that utilizes deep learning or the like.

[0040] 2 includes a history of combinations of frame numbers, labels, and bounding box positions for each bounding box ID. Therefore, the prediction unit 4 can use the history to predict the area of ​​the bounding box in the latest frame by linear prediction, a Kalman filter, or prediction using AI.

[0041] The prediction unit 4 outputs to the second detection unit 5 information indicating the predicted area of ​​the bounding box in the latest frame.

[0042] The processing time of the history information generating unit 3 and the predicting unit 4 is short enough to be negligible. Alternatively, this processing time takes a certain amount of time. In this case, this processing time may be included in the number of delay frames k.

[0043] The second detection unit 5 identifies the label of the object and the position of the bounding box of the object for the bounding box area predicted by the prediction unit 4 in the latest input frame. When there are multiple bounding box areas predicted by the prediction unit 4, the second detection unit 5 identifies the label of the object and the position of the bounding box of the object for each predicted bounding box area. Note that the position of the identified bounding box may match the area of ​​the predicted bounding box.

[0044] The second detection unit 5 holds a model that has been generated in advance by machine learning such as deep learning. The second detection unit 5 then applies the predicted bounding box area in the latest frame to the model, thereby identifying the label of the captured object and identifying the position of the bounding box of the object. The size of the model held by the second detection unit 5 may be smaller than the size of the model held by the first detection unit 2.

[0045] The second detection unit 5 outputs the label and the position of the bounding box of the identified object to the outside of the object detection system 100 via the output unit 6.

[0046] The output unit 6 is an output interface for outputting the label and the position of the bounding box of an object.

[0047] The first detection unit 2, the history information generation unit 3, the prediction unit 4, and the second detection unit 5 are realized, for example, by a CPU (Central Processing Unit) of a computer that operates according to an object detection program. In this case, the CPU reads the object detection program from a program recording medium such as a program storage device of the computer, and operates as the first detection unit 2, the history information generation unit 3, the prediction unit 4, and the second detection unit 5 according to the object detection program.

[0048] In addition, the prediction unit 4, the second detection unit 5 and the output unit 6 may be mounted on an FPGA (Field Programmable Gate Array), the input unit 1, the first detection unit 2 and the history information generation unit 3 may be mounted on an AI chip, and frames may be input to the AI ​​chip via PCIe (Peripheral Component Interconnect Express).

[0049] In addition, the prediction unit 4, the second detection unit 5 and the output unit 6 may be mounted on an edge device, and the input unit 1, the first detection unit 2 and the history information generation unit 3 may be mounted on a server, and frames may be input to the server via a communication network.

[0050] Next, the process will be described. Fig. 3 is a flowchart showing an example of the process of the object detection system of the first embodiment. Descriptions of matters that have already been described will be omitted as appropriate.

[0051] Frames are successively input to the object detection system 100. When one frame is input to the input unit 1 (step S1), the frame is sent to the first detection unit 2.

[0052] The first detection unit 2 detects an object in the input frame (step S2). That is, the first detection unit 2 identifies the label of the object shown in the frame and the position of the bounding box of the object. The first detection unit 2 outputs the frame number of the frame, the label, and the position of the bounding box to the history information generation unit 3.

[0053] The history information generation unit 3 assigns an ID to each bounding box obtained in step S2. At this time, the history information generation unit 3 assigns the same ID to bounding boxes that have a common object. Then, the history information generation unit 3 generates the latest history information (step S3). The history information generation unit 3 outputs the latest history information to the prediction unit 4.

[0054] The prediction unit 4 predicts the area of ​​the bounding box in the latest frame based on the history information generated in step S3 (step S4). Specifically, the prediction unit 4 predicts the area of ​​the bounding box in a frame k frames after the frame with the latest frame number in the history information (frame with frame number 11 in the example shown in FIG. 2). The prediction unit 4 then outputs information indicating the predicted area to the second detection unit 5.

[0055] At this time, the latest frame is input to the second detection unit 5.

[0056] The second detection unit 5 detects an object in the predicted bounding box area in the latest frame. That is, the second detection unit 5 detects the label of the object reflected in the predicted bounding box area and identifies the position of the bounding box of the object. Then, the second detection unit 5 outputs the label and the position of the bounding box via the output unit 6 (step S5).

[0057] In this embodiment, the prediction unit 4 predicts the area of ​​the bounding box in the latest frame. Then, when the prediction unit 4 outputs the prediction result (information indicating the predicted area) to the second detection unit 5, the latest frame is input to the second detection unit 5. Therefore, even if a delay occurs in the first detection unit 2, the second detection unit 5 can target the predicted bounding box area in the latest frame, identify the label of the object reflected in that area, and identify the position of the bounding box of that object.

[0058] In addition, the delay in the second detection unit 5 is small. Therefore, when the latest frame is input, the second detection unit 5 can identify the label of the object shown in the image and the position of the bounding box of the object almost in real time, and output the label and the position of the bounding box via the output unit 6. In addition, the second detection unit 5 does not detect an object in an entire frame, but detects an object in a predicted area within a frame. Therefore, the second detection unit 5 can detect an object with high accuracy in a short time. Therefore, according to this embodiment, it is possible to achieve both low delay and high object detection accuracy in object detection.

[0059] Embodiment 2. The first embodiment has been described as a case where the magnitude of the delay in the first detection unit 2 is constant. The second embodiment is an embodiment in which the same effect as the first embodiment can be obtained even if the magnitude of the delay varies.

[0060] Fig. 4 is a block diagram showing a configuration example of an object detection system according to a second embodiment of the present invention. The same components as those in the first embodiment are given the same reference numerals as those shown in Fig. 1, and detailed explanations will be omitted. The object detection system 100 includes an input unit 1, a first detection unit 2, a delay measurement unit 7, a history information generation unit 3, a prediction unit 4, a second detection unit 5, and an output unit 6.

[0061] The input unit 1, history information generation unit 3, second detection unit 5 and output unit 6 are similar to the input unit 1, history information generation unit 3, second detection unit 5 and output unit 6 in the first embodiment (see Figure 1), and so description thereof will be omitted.

[0062] The delay measurement unit 7 measures the magnitude of the delay in the first detection unit 2 .

[0063] Furthermore, when a new frame is input to input unit 1, the new frame is sent to each of first detection unit 2 and second detection unit 5. At this time, delay measurement unit 7 acquires the frame number of the new frame. The new frame may also be sent to delay measurement unit 7, which acquires the frame number of the frame.

[0064] The first detection unit 2 performs the same operation as the first detection unit 2 in the first embodiment (see FIG. 1). Furthermore, when the first detection unit 2 outputs the frame number, the label, and the position of the bounding box to the history information generation unit 3, the first detection unit 2 also outputs the frame number to the delay measurement unit 7. This frame number is the frame number of the frame in which the label of the captured object and the position of the bounding box of the object were identified by the first detection unit 2.

[0065] At this time, the delay measurement unit 7 has acquired the frame number of the most recent frame that has been input.

[0066] The delay measurement unit 7 measures the difference between the frame number of the latest frame and the frame number provided by the first detection unit 2 as the magnitude of the delay in the first detection unit 2. The measured difference in frame numbers is taken as n. In this embodiment, since the magnitude of the delay varies, the value of the frame number difference n also varies.

[0067] The delay measurement unit 7 outputs the difference n of the frame numbers to the prediction unit 4 .

[0068] The prediction unit 4 predicts the area of ​​the bounding box in the most recent frame input based on the history information according to the difference n. Specifically, the prediction unit 4 predicts the area of ​​the bounding box in a frame n frames after the frame with the most recent frame number in the history information (frame with frame number 11 in the example shown in FIG. 2).

[0069] The prediction unit 4 may predict the area of ​​the bounding box in the latest frame by linear prediction based on the history information.

[0070] Alternatively, the prediction unit 4 may predict the area of ​​the bounding box in the latest frame using a Kalman filter based on history information.

[0071] The prediction unit 4 outputs to the second detection unit 5 information indicating the predicted area of ​​the bounding box in the latest frame.

[0072] The processing times of the delay measurement unit 7, the history information generation unit 3 and the prediction unit 4 are so short that they can be ignored.

[0073] Like the first detection unit 2, the history information generation unit 3, the prediction unit 4, and the second detection unit 5, the delay measurement unit 7 is realized by, for example, the CPU of a computer that operates according to an object detection program.

[0074] Next, the process will be described. Fig. 5 is a flowchart showing an example of the process of the object detection system of the second embodiment. The same processes as those in the first embodiment are given the same step numbers as those in Fig. 3, and the description will be omitted.

[0075] Steps S1 and S2 are similar to steps S1 and S2 (see FIG. 3) in the first embodiment. However, in step S2, when the first detection unit 2 outputs the frame number, the label, and the position of the bounding box to the history information generation unit 3, the first detection unit 2 also outputs the frame number to the delay measurement unit 7. At this time, the delay measurement unit 7 has acquired the frame number of the most recent frame that has been input.

[0076] The delay measurement unit 7 calculates the difference n between the frame number of the latest frame and the frame number provided by the first detection unit 2 (step S11).

[0077] Step S3 is similar to step S3 in the first embodiment (see FIG. 3).

[0078] After steps S11 and S3 are completed, the prediction unit 4 predicts the bounding box area in the latest frame based on the difference n obtained in step S11 and the history information generated in step S3 (step S12). Specifically, the prediction unit 4 predicts the bounding box area in a frame n frames after the frame with the latest frame number in the history information. The prediction unit 4 then outputs information indicating the predicted area to the second detection unit 5.

[0079] At this time, the latest frame is input to the second detection unit 5.

[0080] Step S5 is similar to step S5 in the first embodiment (see FIG. 3).

[0081] In this embodiment, even if the magnitude of the delay in the first detection unit 2 varies, the delay measurement unit 7 expresses the magnitude of the delay as a difference in frame numbers. Then, the prediction unit 4 predicts the bounding box area in the latest frame according to the difference. Therefore, the second embodiment can achieve the same effects as the first embodiment.

[0082] Embodiment 3. In the third embodiment, the object detection system outputs the object label and the position of the bounding box of the object to an external system (not shown) for each input frame. When multiple objects are captured in one frame, the object detection system (specifically, the second detection unit 5 shown in FIG. 6 described later) sequentially outputs the object label and the position of the bounding box of the object for that frame to the external system.

[0083] When the external system detects an object (a person in this example) that is close to each other and moving in a direction facing each other, it transmits an alert to the terminal held by the person, stating that "there is a possibility of colliding with another person." There is no particular limitation on the method by which the external system detects objects that are close to each other and moving in a direction facing each other.

[0084] FIG. 6 is a block diagram showing a configuration example of an object detection system according to a third embodiment of the present invention. The same components as those in the first and second embodiments are denoted by the same reference numerals as those in FIG. 1 and FIG. 4, and detailed description thereof will be omitted. The object detection system 100 according to the third embodiment includes an input unit 1, a first detection unit 2, a delay measurement unit 7, a history information generation unit 3, a prediction unit 4, an ordering unit 8, a second detection unit 5, and an output unit 6. FIG. 6 shows an example in which the ordering unit 8 is added to the second embodiment (see FIG. 4), but the configuration may be such that the ordering unit 8 is added to the first embodiment (see FIG. 1).

[0085] The input unit 1, the first detection unit 2, the delay measurement unit 7, the history information generation unit 3 and the output unit 6 are similar to the input unit 1, the first detection unit 2, the delay measurement unit 7, the history information generation unit 3 and the output unit 6 of the second embodiment (see Figure 4), and so their descriptions are omitted.

[0086] The ordering unit 8 orders the regions of the bounding boxes predicted by the prediction unit 4.

[0087] The second detection unit 5 selects a predicted bounding box region in the order determined by the ordering unit 8, and specifies the label of the object captured in that region and the position of the bounding box of that object. After specifying the label of the object and the position of the bounding box, the second detection unit 5 immediately outputs the label and the position of the bounding box to an external system via the output unit 6.

[0088] If the conditions that the distance between the predicted areas of the two bounding boxes is equal to or smaller than a predetermined threshold and the movement directions of the two bounding boxes face each other are satisfied, the ordering unit 8 advances the order of the areas of the two bounding boxes to an order of the areas of the bounding boxes that does not satisfy the conditions. Then, the ordering unit 8 outputs information indicating the predicted areas to the second detection unit 5 according to the determined order.

[0089] The prediction unit 4 predicts the area of ​​the bounding box in the latest input frame, and outputs information indicating the predicted area to the ordering unit 8. At this time, the prediction unit 4 predicts the area of ​​the bounding box in the latest frame for each bounding box ID. Then, based on the history information, the prediction unit 4 derives a vector (hereinafter, referred to as a motion vector) indicating the movement direction and speed of the bounding box for each bounding box ID, and also outputs the motion vector derived for each ID to the ordering unit 8. The ordering unit 8 may use the bounding box motion vector derived for each ID to determine whether the two predicted areas satisfy the above condition.

[0090] Like the first detection unit 2, the history information generation unit 3, the delay measurement unit 7, the prediction unit 4 and the second detection unit 5, the ordering unit 8 is realized by, for example, the CPU of a computer that operates according to an object detection program.

[0091] An example of ordering the regions of predicted bounding boxes by the ordering unit 8 will be shown below. Hereinafter, the regions of predicted bounding boxes will be referred to as prediction regions. Fig. 7 is a schematic diagram showing an example of a plurality of prediction regions ordered by the ordering unit 8. It is assumed that four prediction regions 1001 to 1004 are determined in a frame 1000 by the prediction unit 4 (see Fig. 7).

[0092] Focusing on the prediction regions 1001 and 1002, these two prediction regions 1001 and 1002 satisfy the above-mentioned conditions.

[0093] Similarly, when attention is focused on the prediction regions 1001 and 1003, these two prediction regions 1001 and 1003 satisfy the above-mentioned conditions.

[0094] Furthermore, the above condition is not satisfied when the prediction region 1004 is combined with any other prediction region.

[0095] 7, the ordering unit 8 places the prediction regions 1001, 1002, and 1003 earlier than the prediction region 1004. The ordering unit 8 may arbitrarily determine the order of the three prediction regions 1001, 1002, and 1003. In this example, it is assumed that the ordering is performed in the order of the prediction region 1001, the prediction region 1002, the prediction region 1003, and the prediction region 1004.

[0096] The second detection unit 5 first selects a prediction region 1001 and identifies the label of an object reflected in the prediction region 1001 and the position of the bounding box of the object. Then, the second detection unit 5 outputs the label and the position of the bounding box to an external system.

[0097] Next, the second detection unit 5 selects the prediction region 1002, and identifies the label of the object reflected in the prediction region 1002 and the position of the bounding box of the object. Then, the second detection unit 5 outputs the label and the position of the bounding box to an external system.

[0098] At this point, the external system can transmit an alert to the terminal of the person appearing in prediction area 1001 and the terminal of the person appearing in prediction area 1002 .

[0099] Next, the second detection unit 5 selects a prediction region 1003, and identifies the label of an object reflected in the prediction region 1003 and the position of the bounding box of the object. Then, the second detection unit 5 outputs the label and the position of the bounding box to an external system.

[0100] At this point, the external system can transmit an alert to the terminal of the person appearing in prediction area 1001 and the terminal of the person appearing in prediction area 1003 .

[0101] Suppose that the order of the prediction region 1004 is earlier than the order of the prediction regions 1001, 1002, and 1003. In this case, the second detection unit 5 will select the prediction region 1004 first, and output the label of the object shown in the prediction region 1004 and the position of the bounding box of the object to an external system. This will result in a delay in the timing of sending an alert to the terminals of the people shown in each of the prediction regions 1001, 1002, and 1003.

[0102] However, in this embodiment, as described above, the ordering unit 8 orders the predicted bounding box regions, and therefore it is possible to prevent a delay in the timing of an alert transmission by an external system.

[0103] Next, a modified example of the embodiment of the present invention will be described. The object detection system 100 of the above-mentioned first to third embodiments uses a frame number. In each embodiment, the object detection system 100 may use the time when the frame is input to the input unit 1 instead of the frame number. FIG. 8 is a block diagram showing an example of an object detection system using the time when the frame is input. FIG. 8 shows an example in which a time information adding unit 9 is added to the second embodiment (see FIG. 4), but a configuration in which a time information adding unit 9 is added to the first embodiment (see FIG. 1) or the third embodiment (see FIG. 6) may also be used. Descriptions of matters similar to those already described will be omitted.

[0104] When a frame is input to input unit 1, time information adding unit 9 adds time information indicating the time at that point in time to the frame, and outputs the frame to first detection unit 2 and second detection unit 5. Time information adding unit 9 also outputs the time information to delay measurement unit 7. Time information adding unit 9 is realized, for example, by the CPU of a computer that operates according to an object detection program.

[0105] The first detection unit 2 outputs the time information, the label, and the position of the bounding box added to the frame to the history information generation unit 3. In addition, the first detection unit 2 outputs the time information to the delay measurement unit 7.

[0106] The history information generating unit 3 generates history information indicating the history of a combination of time information, a label, and a bounding box position for each bounding box ID.

[0107] The delay measurement unit 7 measures the difference between the time added to the latest frame and the time provided by the first detection unit 2 as the magnitude of the delay in the first detection unit 2.

[0108] The prediction unit 4 predicts the area of ​​the bounding box in the frame corresponding to the time obtained by adding the time corresponding to the difference to the latest time in the history information.

[0109] In addition, in a configuration in which a time information addition unit 9 is added to the first embodiment, the prediction unit 4 predicts the area of ​​the bounding box in the frame corresponding to the time when a predetermined time is added to the latest time in the history information.

[0110] Other points are the same as those of the embodiments already described.

[0111] Even in such a modified example, the same effects as those of the respective embodiments can be obtained.

[0112] 9 is a schematic block diagram showing an example of the configuration of a computer related to the object detection system 100 of the present invention. The computer 2000 includes, for example, a CPU 2001, a main memory device 2002, an auxiliary memory device 2003, an interface 2004, an input interface 2005, and an output interface 2006.

[0113] Object detection system 100 according to each embodiment of the present invention is realized by, for example, a computer 2000. The operation of object detection system 100 is stored in the form of a program (object detection program) in auxiliary storage device 2003. CPU 2001 reads the program from auxiliary storage device 2003, loads the program in main storage device 2002, and executes the processes described in each of the above embodiments and modifications according to the program.

[0114] The auxiliary storage device 2003 is an example of a non-transient tangible medium. Other examples of non-transient tangible media include a magnetic disk, a magneto-optical disk, a CD-ROM (Compact Disk Read Only Memory), a DVD-ROM (Digital Versatile Disk Read Only Memory), a semiconductor memory, and the like, which are connected via an interface 2004.

[0115] As already described, the object detection system may be realized by a combination of an FPGA and an AI chip, or by a combination of an edge device and a server.

[0116] Next, an overview of the present invention will be described. Fig. 10 is a block diagram showing an overview of an object detection system of the present invention. Frames are continuously input to the object detection system of the present invention. The object detection system of the present invention includes a first detection means 72, a history information generation means 73, a prediction means 74, and a second detection means 75.

[0117] The first detection means 72 (for example, the first detection unit 2) identifies the label of an object shown in an input frame and also identifies the position of the bounding box of the object.

[0118] History information generation means 73 (for example, history information generation unit 3) assigns the same ID to bounding boxes that have a common object, and generates history information that indicates the history of combinations of frame numbers and bounding box positions for each ID.

[0119] A prediction means 74 (e.g., prediction unit 4) predicts the area of ​​the bounding box in the latest frame based on historical information, depending on the delay, which is the time it takes for the first detection means 72 to identify the position of the label and the bounding box relative to the frame.

[0120] A second detection means 75 (e.g., second detection unit 5) targets the predicted bounding box area in the latest frame, identifies the label of the object shown, and identifies the position of the object's bounding box.

[0121] The processing time taken by the second detection means 75 to identify the positions of the label and the bounding box for one frame is shorter than the processing time taken by the first detection means 72 to identify the positions of the label and the bounding box for one frame.

[0122] Such a configuration makes it possible to achieve both low latency and high object detection accuracy.

[0123] Moreover, the configuration may include a delay measurement means (for example, the delay measurement unit 7) for measuring the magnitude of the delay.

[0124] The delay measurement means may then measure the difference between the frame number of the latest frame and the frame number of the frame in which the label of the captured object and the position of the object's bounding box have been identified by the first detection means 72 as the magnitude of the delay, and the prediction means 74 may predict the area of ​​the bounding box in the latest frame based on the difference.

[0125] The prediction means 74 may also predict the area of ​​the bounding box in the latest frame by linear prediction based on historical information.

[0126] The prediction means 74 may also predict the area of ​​the bounding box in the latest frame using a Kalman filter based on historical information.

[0127] The configuration may also include an ordering means (e.g., ordering unit 8) that orders the bounding box areas predicted by the prediction means 74, and the second detection means 75 selects the predicted bounding box areas in the order determined by the ordering means, and targets the selected areas to identify the label of the object reflected in the image and the position of the object's bounding box.

[0128] For example, when the conditions that the distance between the areas of two predicted bounding boxes is equal to or less than a predetermined threshold and the movement directions of the two bounding boxes face each other are satisfied, the ordering means assigns the order of the areas of the two bounding boxes to a higher order than the order of the areas of bounding boxes that do not satisfy the conditions. [Industrial Applicability]

[0129] The present invention is preferably applied to an object detection system that detects an object captured in a frame. [Explanation of symbols]

[0130] 1 Input section 2 First detection section 3 History information generation unit 4. Prediction Department 5 Second detection section 6 Output section 7 Delay measurement section 8 Ordering Part 100 Object Detection System

Claims

1. 1. An object detection system in which frames are input successively, A first detection means for identifying a label of an object appearing in an input frame and for identifying a position of a bounding box of the object; a history information generating means for generating history information that is information indicating a history of a combination of a frame number and a position of the bounding box for each ID by assigning the same ID to the bounding boxes that have a common object; a prediction means for predicting an area of ​​the bounding box in a latest frame based on the historical information in response to a delay that is a time it takes for the first detection means to identify the position of the label and the bounding box relative to the frame; a second detection means for identifying a label of an object captured in the latest frame and a position of the bounding box of the object within the predicted bounding box area; The processing time for the second detection means to identify the positions of the label and the bounding box for one frame is shorter than the processing time for the first detection means to identify the positions of the label and the bounding box for one frame.

1. An object detection system comprising:

2. A delay measuring means is provided to measure the magnitude of the delay. The object detection system of claim 1 .

3. The delay measurement means Measure the difference between the frame number of the latest frame and the frame number of the frame in which the label of the captured object and the position of the bounding box of the object are identified by the first detection means as the magnitude of the delay; The prediction means includes: predicting an area of ​​the bounding box within the latest frame according to the difference; The object detection system of claim 2 .

4. The prediction means includes: Predicting the area of ​​the bounding box in the latest frame by linear prediction based on the historical information. The object detection system of claim 1 .

5. The prediction means includes: A Kalman filter is used to predict the area of ​​the bounding box in the most recent frame based on the historical information. The object detection system of claim 1 .

6. An ordering means for ordering the bounding box regions predicted by the prediction means, The second detection means is Selecting a region of the predicted bounding box in the order determined by the ordering means, and identifying the label of the object reflected in the selected region and identifying the position of the bounding box of the object. The object detection system according to any one of claims 1 to 5.

7. The ordering means comprises: When the conditions that the distance between the predicted two bounding box regions is equal to or smaller than a predetermined threshold and the movement directions of the two bounding boxes face each other are satisfied, the order of the two bounding box regions is advanced in comparison with the order of the bounding box regions that does not satisfy the conditions. The object detection system of claim 6.

8. 1. An object detection method applied to a computer to which frames are successively input, comprising: A first detection process is performed to identify a label of an object shown in the input frame and to identify a position of a bounding box of the object; performing a history information generation process of assigning the same ID to bounding boxes having a common object, and generating history information that is information indicating a history of combinations of frame numbers and bounding box positions for each ID; executing a prediction process for predicting an area of ​​the bounding box in a latest frame based on the history information in response to a delay, which is a time required for the first detection process to identify a position of the label and the bounding box in the frame; performing a second detection process for identifying a label of an object captured in the latest frame and a position of the bounding box of the object, the second detection process being performed on the region of the predicted bounding box in the latest frame; A processing time for identifying the positions of the label and the bounding box for one frame in the second detection process is shorter than a processing time for identifying the positions of the label and the bounding box for one frame in the first detection process.

13. An object detection method comprising:

9. An object detection program installed in a computer to which frames are continuously input, The computer includes: a first detection process for identifying a label of an object appearing in an input frame and identifying a position of a bounding box of the object; a history information generation process for assigning the same ID to bounding boxes that have a common object, and generating history information that indicates a history of combinations of frame numbers and bounding box positions for each ID; a prediction process for predicting an area of ​​the bounding box in a latest frame based on the history information in response to a delay, which is a time required for the first detection process to identify the position of the label and the bounding box relative to the frame; and executing a second detection process for identifying a label of an object captured in the latest frame and a position of the bounding box of the object, the second detection process being performed on the region of the predicted bounding box in the latest frame; A processing time for identifying the positions of the label and the bounding box for one frame in the second detection process is shorter than a processing time for identifying the positions of the label and the bounding box for one frame in the first detection process. The object detection program according to the present invention is characterized in that

Citation Information

Patent Citations

  • Object tracking device and object tracking method

    JP2020149111A

  • Object tracking for neural network systems

    US20190114804A1

  • Traffic signal detection device and traffic signal detection method

    WO2016006029A1

  • Image processing system, image processing program, and control method of image processing apparatus

    JP2019041332A

  • Video image analysis system and video image analysis method

    JP2022133547A

Cited By

  • Detection device, detection method, and recording medium

    WO2026105624A1