Object tracking device, method and program

The object tracking device improves tracking accuracy by assigning track IDs based on similarity and coexistence analysis, addressing inconsistencies in multi-camera environments.

JP7960476B2Active Publication Date: 2026-12-03CANON KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2022064647
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-04-08
Publication Date
2026-12-03
Estimated Expiration
2042-04-08

AI Technical Summary

Technical Problem

Conventional person tracking technologies struggle with inconsistencies in movement trajectory integration across multiple cameras and within the same camera, leading to incomplete or inaccurate tracking when individuals are hidden or appear in multiple locations.

Method used

An object tracking device that assigns unique track IDs based on similarity calculations and coexistence possibilities, integrating movement trajectories from multiple cameras while ensuring consistency by associating objects with their trajectories, using CNNs for detection and Kalman filters for trajectory estimation.

Benefits of technology

Enhances tracking accuracy by resolving inconsistencies and maintaining trajectory coherence, allowing for continuous tracking of individuals across camera views.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007960476000001
    Figure 0007960476000001
  • Figure 0007960476000002
    Figure 0007960476000002
  • Figure 0007960476000003
    Figure 0007960476000003
Patent Text Reader

Abstract

To trace an object with higher accuracy by taking into consideration a coexistence possibility for movement trajectories of the object obtained from a video and associating together the object and the movement trajectories.SOLUTION: An object tracing apparatus that traces an object to be a target in a video obtained by an image capturing apparatus includes: a tracking unit that tracks the object in a frame in the video and obtains a track indicating consecutive appearances of the object; and a tracing unit that generates trace information indicating which object ID each track ID belongs to, by associating a track ID obtained via tracking by the tracking unit with an object ID for uniquely identifying an object, wherein the tracing unit, on the basis of a coexistence possibility relating to imaging time between a track ID associated with one or more existing object IDs and a target track that is not associated with the object ID, determines which object ID the target track belongs to.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present invention relates to a technique for tracking the movement of an object in video. BACKGROUND ART

[0002] Person tracking technology is widely used as a technique for obtaining the movement trajectory of the same person from video captured by a single camera. Conventional person tracking technology has the problem that the movement trajectory is interrupted when the tracked person is hidden for a long time or enters and exits the screen. In addition, it is not possible to obtain the movement trajectories of people appearing in multiple camera videos.

[0003] To solve these problems, technologies are also being developed to analyze movement trajectories obtained from one camera or multiple cameras and integrate movement trajectories estimated to belong to the same person.

[0004] Patent Document 1 and Patent Document 2 disclose methods for determining movement trajectories of the same person from movement trajectories obtained by multiple cameras without inconsistency. In Patent Document 1, movement trajectory groups of the same person are generated by sequentially integrating two movement trajectories. Among possible integration patterns, if there are multiple movement trajectories of the same camera at the same time, it is determined that there is inconsistency in the integration result, and inconsistency resolution processing is performed. In the inconsistency resolution process, the process of releasing integration in order from movement trajectories with low similarity is repeated until there is no inconsistency.

[0005] In Patent Document 2, movement trajectories within a camera are integrated, and then movement trajectories between cameras are integrated. When integrating movement trajectories between cameras, instead of simply determining movement trajectories with the closest feature values as the same person, association is performed so that the overall combination consistency is maintained. Specifically, on the premise that the integration of movement trajectories within a camera is performed correctly, a clustering method is introduced that adds a constraint that movement trajectories appearing in the same camera are not determined to be the same person. [Prior art documents] [Patent Documents]

[0006] [Patent Document 1] Japanese Patent Publication No. 2019-185615 [Patent Document 2] Patent No. 6833617 [Patent Document 3] US2017 / 0206431 publication [Non-patent literature]

[0007] [Non-Patent Document 1] Simple online and realtime tracking with a deep association metric, Nicolai Wojke, Alex Bewley, and Dietrich Paulus, IEEE International Conference on Image Processing(ICIP),pp.3645-3649,2017. [Overview of the Initiative] [Problems that the invention aims to solve]

[0008] Patent Document 1 only considers the similarity between two movement trajectories when resolving inconsistencies. Therefore, it cannot perform inconsistency resolution processing for the movement trajectories of a single person. Patent Document 2 assumes that the integration of movement trajectories within the same camera is performed correctly, and therefore cannot resolve inconsistencies in the integration of movement trajectories within the same camera.

[0009] This invention has been made in view of the above-mentioned problems, and aims to provide a technology that tracks objects with higher accuracy by taking into account the possibility of coexistence of the object's movement trajectory obtained from video and associating the object with its movement trajectory. [Means for solving the problem]

[0010] To solve this problem, for example, the object tracking device of the present invention has the following configuration. That is, An object tracking device that tracks a target object in an image obtained from an imaging device, Tracking means for tracking the object within the frame in the aforementioned video and obtaining a track representing the continuous appearance of the object, Here, the tracking means is The region of the object within the frame of interest in the aforementioned video is detected, and if the region is not a region that follows any of the regions detected in the frame prior to the frame of interest, a new track ID is assigned to the region detected from the frame of interest. If the region detected from the frame of interest is a region that follows any of the regions detected in the previous frame, assigning the same track ID to the region detected from the frame of interest as to the corresponding region in the previous frame will result in a track indicating that the same object appears consecutively; The system includes a tracking means that generates tracking information indicating which object ID each track ID belongs to by associating the track ID obtained by tracking by the aforementioned tracking means with an object ID for uniquely identifying an object. The aforementioned tracking means is Among the tracks that already exist and are associated with one or more object IDs, the first track that has not been associated with an object ID and Obtained from the same imaging device The first similarity between the remaining tracks (excluding the second track, which is an incompatible track existing in the same frame at the same shooting time) and the first track is calculated, and based on the first similarity, it is determined whether to assign the same object ID to the first track as to the first track. It is characterized by the following: [Effects of the Invention]

[0011] According to the present invention, by taking into account the possibility of coexistence when analyzing the movement trajectory of an object obtained from video footage, and by associating the object with its movement trajectory, it becomes possible to track the object with higher accuracy. [Brief explanation of the drawing]

[0012] [Figure 1] System configuration diagram in the present embodiment. [Figure 2] Schematic diagram of tracking and tracing. [Figure 3] Diagram of the data format in the present invention. [Figure 4] Diagram illustrating inconsistency in track assignment results. [Figure 5] Flowchart of overall processing in the first embodiment. [Figure 6] Flowchart illustrating a person similarity calculation method in the first embodiment. [Figure 7] Explanatory diagram of a track coexistence possibility determination method according to the first embodiment. [Figure 8] Diagram illustrating a similarity calculation method according to the first embodiment. [Figure 9] Flowchart of person data update processing in the first embodiment. [Figure 10] Flowchart of a person similarity calculation method in the second embodiment. [Figure 11] Diagram illustrating a similarity calculation method according to the second embodiment. [Figure 12] Schematic diagram of tracking processing between multiple cameras in the fourth embodiment. [Figure 13] Flowchart of a track coexistence possibility determination method in the fourth embodiment. [Figure 14] Explanatory diagram of a track coexistence possibility determination method in the fourth embodiment. [Mode for Carrying Out the Invention]

[0013] The embodiments will be described in detail below with reference to the attached drawings. Note that the following embodiments do not limit the invention as defined in the claims. While the embodiments describe multiple features, not all of these features are essential to the invention, and the features may be combined in any way. Furthermore, in the attached drawings, identical or similar configurations are given the same reference numerals, and redundant descriptions are omitted.

[0014] [First Embodiment] The person tracking device described in this embodiment acquires the movement trajectory of a person in video footage captured by a network camera or the like. In this embodiment, an example of acquiring the movement trajectory of the same person from a single camera image is described.

[0015] In this embodiment, the short-term movement trajectory of a person in the video is referred to as a "track," and the process of acquiring that track is called "tracking." Furthermore, the process of combining two tracks of the same person to form a single track, and the process of acquiring the person's long-term movement path, are referred to as "tracking." The difference between tracking and tracking will be explained in detail later using Figure 2.

[0016] Figure 1(A) is a hardware configuration diagram of the image processing device 100 in this embodiment. The CPU 101 controls the entire device by executing a control program stored in the ROM 102. The control program stored in the ROM 102 is broadly composed of a tracking unit 103 and a tracking unit 108. The tracking unit 103 is a program that performs the process of acquiring tracks and is composed of a human body detection unit 104, a track similarity calculation unit 105, a track ID assignment unit 106, and a track data update unit 107. The tracking unit 108 is a program that performs the process of acquiring a movement path by connecting tracks and is composed of a person similarity calculation unit 109, a person ID assignment unit 110, and a person data update unit 111.

[0017] RAM112 temporarily stores various types of data. It is also used to load programs executed by CPU101.

[0018] The memory unit 113 stores data used in the processing of the present invention (such as the person dataset described later), and stores data used by the tracking unit 103 and the tracking unit 108. The storage unit 113 can use an HDD, flash memory, various optical media, etc.

[0019] The input unit 114 consists of a keyboard, touch panel, etc., and accepts input from the user, and can receive instructions such as starting and ending tracking. The display unit 115 consists of a liquid crystal display, etc., and can display various data and processing results to the user.

[0020] Furthermore, the communication unit 116 is an interface for communicating with an external device. In this embodiment, the communication unit 116 is an interface for connecting to the network 160. The external device that the communication unit 116 communicates with is a network camera 150. The communication method of the communication unit 116 can be wired or wireless. The network camera 150 is assumed to capture images at, for example, 30 frames per second. The communication unit 116 may also be an interface that connects directly to an external camera (for example, a USB interface) instead of a network interface.

[0021] Figure 1(B) is a data flow diagram for this device. First, the communication unit 116 sequentially receives images captured by the network camera 150 as input images 118 via the network 160.

[0022] The tracking unit 130 detects areas in the input image 118, i.e., video footage from the network camera 150, where objects are visible, and assigns a track ID to each detected area. In this case, if the same person appears repeatedly, the same track ID is assigned. Specifically, the tracking unit 130 refers to the person dataset 117, which stores track data, to determine which track is appropriate to associate each detected area with, and outputs the result as the tracking result 119. The tracking result 119 is added to the person dataset 117.

[0023] To further explain the tracking unit 130 in this embodiment, the tracking unit 130 detects a human body in the current frame (or the frame of interest) of the input image 118 (calculating the feature quantities of the human body in the process), and detects a frame (hereinafter referred to as the detection frame) that indicates the area in which the human body is visible. In this embodiment, the detection frame is the bounding rectangle of the area in which the human body is visible, but it may also be a frame obtained by resizing the bounding rectangle at a predetermined ratio. Furthermore, a detection frame detected from the current frame that has not yet been assigned a track ID is defined as the detection frame of interest. The tracking unit 130 calculates the similarity between the position, size, and feature quantities of the detection frames (there may be multiple) detected from the previous frame stored in the person dataset 117 and the position, size, and feature quantities of the detection frame of interest as arguments. In this embodiment, the frame rate of the network camera 150 is set to 30 FPS. It can be assumed that the distance a person can move and the change in posture in a short period of 1 / 30 second are sufficiently small. Therefore, it is reasonable to include the position and size of the detection frame as arguments when calculating the similarity. However, to shorten the time required for calculation, either the position or size of the detection frame may be omitted. Now, if the tracking unit 130 finds that there is a detection frame with a similarity of a certain threshold or higher among the detection frames of the previous frame, it determines that the detection frame of interest belongs to the track ID assigned to the detection frame with the highest similarity among them. In this way, the same ID can be assigned to the same person across consecutive frames. It is also possible that there are no detection frames with a similarity of a certain threshold or higher among the detection frames detected from the previous frame. In this case, the tracking unit 130 issues a new track number to the detection frame of interest.

[0024] The tracking unit 108 receives the tracking results 119 from the tracking unit 103. The tracking unit 108 then generates tracking information for each track included in the tracking results 119, assigning a person ID to uniquely identify the person. The person dataset 117 stores information about the person in addition to the track data. The tracking unit 108 determines which person is most appropriate to associate with each track and outputs the result as tracking information, which is the tracking result 120.

[0025] Figure 2(A) shows an example of tracking in video from a single camera. Images 201 and 202 are images taken at consecutive times by the same camera. Here, we assume that image 202 was taken later than image 201. Both images 201 and 202 contain persons 203 and 204. Detection frames 205a and 206a are output as detection areas corresponding to persons 203a and 204a in image 201, respectively. Similarly, detection frames 205b and 206b are output as detection areas corresponding to persons 203b and 204b in image 202. The tracking process assigns the same track ID to these detection frames that are presumed to represent the same person across images. In this example, the detection frames 205a and 205b corresponding to person 203 are assigned track ID:1, and the detection frames 206a and 206b corresponding to person 204 are assigned track ID:2. In this embodiment, a rectangle is used as the detection area for the human body. A simple rectangle would be the bounding rectangle of the area indicated by the human body, or a rectangle obtained by enlarging that bounding rectangle to a predetermined size. Alternatively, the detection area for the human body could be a polygon with more vertices or a circle.

[0026] Figure 2(B) shows an example of tracking and following a single person in the footage from one camera. In this example, person 207 is moving within the frame, and persons 207a to 207c indicate the positions of person 207 at different filming times.

[0027] First, tracking is performed on person 207a, who has moved from the left edge of the screen, and the corresponding track 208a is acquired. After this, person 207 is hidden behind an obstacle 209 and is not visible in the video. If this state of not being visible in the video continues for a certain period of time, the track is interrupted, and even if the same person reappears thereafter, they will be tracked as a separate track. In tracking, correspondence is made between multiple images considering the proximity of the appearance positions of the detection frame, but if a person has not appeared for a certain period of time, their position is likely to be far away when they reappear, making correspondence difficult.

[0028] In this example, the same person reappears as person 207b, but in the tracking process, they are tracked as track 208b, which is different from track 208a. Next, person 207 moves off-screen and is no longer visible in the video. Subsequently, person 207 reappears on screen as person 207c, and the corresponding track is acquired as track 208c.

[0029] Thus, the tracking process cannot determine that the three independent tracks, 208a to 208c, represent the movement trajectory of the same person.

[0030] The tracking process combines tracks 208a to 208c and outputs information with a person ID indicating that they belong to the same person. Because the tracking process combines tracks based on outward appearance characteristics, regardless of the person's location, it can determine that tracks from different time periods belong to the same person.

[0031] Next, the data specifications in this embodiment will be explained with reference to Figures 3(A) to (D). Figure 3(A) shows the track data included in the person dataset 117, which is referenced and recorded by the tracking unit 103. For each track ID 301, a detection frame list 302 and tracking continuation information 303 are managed. The detection frame list 302 records detection frames acquired from multiple images, along with the coordinate values ​​of the detection frame (coordinates of the upper left corner of the rectangle), the size (horizontal and vertical size), time information corresponding to the source image, and image features acquired from the person image within the detection frame. Note that if the coordinates of the four corners of the detection frame are stored, the size is not necessary (the size can be calculated from the coordinates). Also, if the frame rate of the network camera 150 is known and the time when shooting by the network camera 150 started is also known, the time information may be managed by the frame number instead. The tracking continuation information 303 indicates whether tracking is continuing or has been interrupted due to obstruction, etc. For example, it can be set to 1 if tracking is continuing and 0 if tracking has been interrupted.

[0032] Figure 3(B) shows the person data included in the person dataset 117, which is referenced and recorded by the tracking unit 108. A corresponding track ID list 305 is managed for each person ID 304. For example, focusing on person ID:1, it shows that this person appears as track IDs 1, 3, 4, etc. in Figure 3(A).

[0033] Figure 3(C) shows the data for the tracking result 119. For each image, the detected detection frame 306 and the corresponding track ID 307 are output.

[0034] Figure 3(D) shows the data for the tracking result 120. Similar to the data for the tracking result 119, it includes the detection frame 308 and track ID 309, and further outputs the person ID 310 corresponding to each track ID 309. Here, person ID:-1 indicates that no person ID has been assigned to the corresponding track. In this embodiment, the tracking process is executed when a certain number of detection frames have accumulated in a single track, and if a certain number of detection frames have not accumulated, the person ID will be unassigned.

[0035] Furthermore, the person ID 310 corresponding to each track ID 309 is not always assigned the correct value. There may be inconsistencies between the output value of the person ID for previous input images and the output value of the person ID for the current input image. In such cases, the person ID previously assigned to the track may be corrected and revert to an unassigned state.

[0036] Information indicating whether or not a correction has been made to the person ID 310 corresponding to each track ID 309 is output to the person ID correction information 311. For example, 0 is output if there is no correction, and 1 if there is a correction. In the example in Figure 3(D), it is shown that a correction has been made to the person ID for the data of track ID:10, and it has returned to an unassigned state. Specific examples of when a person ID correction occurs will be discussed later using Figure 9.

[0037] Refer to Figure 4 to explain the inconsistent state of person ID assignment. The example in Figure 4 shows that person 1 is associated with tracks 401, 402, and 403, and person 2 is associated with tracks 404 and 405.

[0038] Let's assume this data is stored in the person dataset 117. Now, let's consider the case where the tracking unit 108 performs tracking to determine which person track 406 corresponds to. If we assume that track 406 belongs to person 1, then during period 407, there will be multiple tracks (tracks 403 and 406 in the diagram) belonging to person 1. It is impossible for the same person to appear multiple times on a single screen at the same time. Therefore, this assumption (assigning person ID to track 406 for person 1) contains a contradiction.

[0039] On the other hand, if we assume that track 406 corresponds to person 2, then there is no temporal overlap between track 406 and the tracks belonging to person 2 (tracks 404 and 405 in the diagram), so this assumption is not contradictory.

[0040] In this embodiment, the possibility of multiple tracks based on the same person coexisting is determined, and processing is controlled to prevent the same person's ID from being assigned to each track that cannot coexist, or existing assignment results are corrected.

[0041] Next, the processing procedure of the CPU 101 of the image processing device 100 in the embodiment will be explained with reference to the flowchart in Figure 5. In the same figure, steps S501 to S505 correspond to processing by the tracking unit 103, and steps S506 to S509 correspond to processing by the tracking unit 108.

[0042] First, in S501, the CPU 101 receives the input image 118 to be processed in this flow from the network camera 150 via the communication unit 116. Then, in S502, the CPU 101 detects people in the input image 118 and outputs a detection frame corresponding to the human body region. There are no particular restrictions on the method for detecting the human body region from the image, but as an example, a method applying a CNN (Convolutional Neural Network) as described in Patent Document 3 can be used.

[0043] In S503, CPU 101 refers to the track data included in the person dataset 117 and calculates the similarity between the detection frame output in S502 and each track. Here, referring to the data shown in Figure 3(B), only tracks in the track data where the tracking continuation information 303 is 1 (continuing) are included in the similarity calculation. Specifically, the similarity can be calculated using the image features extracted from the detection frame and the coordinate values ​​of the detection frame, and the track features and coordinate values ​​in the track data. As an example, the similarity can be calculated using the method described in Non-Patent Literature 1, which uses features obtained from the detection frame by a CNN and position information estimated from the track's movement trajectory using a Kalman filter. If multiple detection frames are output, the similarity is calculated for each detection frame.

[0044] Next, in S504, the CPU 101 assigns track IDs to the detection frames. For example, a matrix based on the similarity between each detection frame and each track can be created, and the assignment problem can be solved to assign track IDs to the detection frames. Alternatively, a threshold can be set for the similarity, and if no track with a similarity above the predetermined threshold exists, the CPU 101 issues a new track ID for the target track. The output result of S504 becomes the tracking result 119. As an example of an assignment method, the Hungarian method described in Non-Patent Document 1 can be used.

[0045] In S505, CPU 101 updates the track data in the person dataset 117. Specifically, CPU 101 adds the track ID assignment results obtained in S504 to the person dataset 117. As shown in Figure 3(A), the person dataset 117 stores track data for each track ID 301. In this step, CPU 101 adds new detection frame information to this table. Also, for tracks that have not had a detection frame assigned for a certain period of time, CPU 101 changes the tracking continuation information 303 to 0 (discontinued state).

[0046] In S506, the CPU 101 obtains a list of tracks to which a person ID will be assigned in the tracking process. In this embodiment, the tracking process assigns a person ID to a track when a predetermined number of detection frames have accumulated in that track. Therefore, in S506, the CPU 101 determines whether a predetermined number of detection frames have accumulated in the track IDs of the track IDs that have not yet been assigned a person ID, as included in the tracking result 119. The CPU 101 then determines the track with a predetermined number of detection frames that has not yet been assigned a person ID as the track to be assigned a person ID this time.

[0047] In S507, CPU 101 refers to the person data included in the person dataset 117 and calculates the similarity between the track to which the person ID is assigned (obtained in S506) and the tracks (not necessarily singular) previously encountered with the person ID. Image features obtained from the detection frame within each track can be used to calculate the similarity. Details of this step will be described later with reference to Figure 6.

[0048] In S508, CPU101 assigns person IDs based on the similarity calculated in S507. The person ID assignment process, similar to the tracking process, involves creating a matrix based on the similarity between each track and each person, and solving the assignment problem to assign person IDs to the tracks.

[0049] Furthermore, a threshold is set for similarity, and if no individuals meet the specified similarity threshold, CPU 101 issues a new individual ID. Then, CPU 101 registers the track to which the individual ID is to be assigned as belonging to the newly issued individual ID.

[0050] In S509, CPU 101 updates the person data in person dataset 117. Specifically, it adds the results of assigning person IDs to tracks in S508 to person dataset 117. Details of this step will be described later with reference to Figure 9.

[0051] At S510, CPU101 determines whether there is an additional image input. If there is no input, it terminates the process. If there is input, it returns the process to S501 and repeats the above process.

[0052] Next, referring to the flowchart in Figure 6, we will explain the process of calculating the similarity between an unassigned person ID track and an existing person in S507 of Figure 5.

[0053] In S601, CPU101 selects one of the tracks to be assigned (there may be multiple tracks) obtained in S506 in Figure 5. The track selected here is defined as the first track.

[0054] Next, in S602, the CPU 101 selects one person from the person data recorded in the person dataset 117. The person selected here is defined as the "first person".

[0055] In S603, CPU101 determines the possibility of coexistence between the first track and each track belonging to the first person.

[0056] Here, with reference to Figures 7(A) and 7(B), a specific example of the process for determining the possibility of coexistence of trucks in S603 will be explained.

[0057] In the example shown in Figure 7(A), there are two tracks, 701 and 702, in the sequence of captured images.

[0058] Here, track 701 contains the person detection frames 701a to 701d. On the other hand, track 702 contains the detection frames 702a to 702d. The horizontal axis shows the appearance time of each detection frame.

[0059] Here, we will provide some additional explanation regarding track 702. Detection frames 702b and 702c in track 702 are not adjacent frames in time. It should be understood that detection frame 702c was assigned the same track ID as detection frames 702a and 702b as a result of the tracking process performed by the tracking unit 108 (details will be provided later). Furthermore, the subsequent detection frame 702d came to have the same track ID as detection frame 702c as a result of the tracking process performed by the tracking unit 103.

[0060] Now, in Figure 7(A), the detection frame 701b for track 701 and the detection frame 702c for track 702, as well as the detection frame 701c for track 701 and the detection frame 702d for track 702, appear at the same time. Therefore, if we assume that track 701 and track 702 represent the same person, then multiple instances of the same person appearing on a single screen at the same time would occur, creating a contradiction. Thus, in the case of Figure 7(A), it can be determined that track 701 and track 702 cannot coexist as the same person. In other words, the CPU 101 determines that track 701 and 702 each point to different people.

[0061] Figure 7(B), like Figure 7(A), shows the case where tracks 703 and 704 exist in the sequence of captured images. Track 703 contains detection frames 703a to 703c, and track 704 contains detection frames 704a and 704b. Here, the reason why detection frames 703b and 703c in track 703 are not adjacent frames, and why detection frames 704a and 704b in track 704 are not adjacent frames, should be understood as being the same reason as for track 702 in Figure 7(A).

[0062] Now, in the example in Figure 7(B), there are no detection frames appearing at the same time in track 703 and track 704. Therefore, CPU 101 determines that track 703 and track 704 can coexist as representing the same person. In this way, the possibility of tracks coexisting can be determined by comparing the appearance times of detection frames contained within the two tracks.

[0063] Alternatively, the appearance period of a truck can be calculated based on its first and last appearance times, and the detection frame's simultaneous appearance determination process can only be performed if there is an overlap in the appearance period. In this case, the number of times the detection frame's appearance time determination process is performed can be reduced.

[0064] Returning to the explanation of Figure 6, I will continue to explain the process of calculating person similarity.

[0065] In S604, CPU101 determines whether there is a track (a second track) that was determined to be incompatible in S603. If CPU101 determines that there is a track that was determined to be incompatible, it proceeds to S606; otherwise, it proceeds to S605.

[0066] In S605, CPU101 calculates the similarity between the first track and the tracks (which may or may not be just one) belonging to the first person ID, and then proceeds to S611.

[0067] For example, suppose the first track to which a person ID is to be assigned is the track with track ID:7 in Figure 3(D). Also, suppose the "first person" is the person with person ID:1 in Figure 3(B). The tracks belonging to person ID:1 are track IDs {1, 3, 4…}. Now, assume that the track with track ID:7 could coexist with any of the tracks with track IDs {1, 3, 4,…}. In this case, CPU 101 determines that there is no "second track" belonging to the first person and proceeds to S605. Then, in S605, CPU 101 calculates the similarity between the feature (feature 8) of track ID:7 and the feature of each track represented by track ID {1, 3, 4…}.

[0068] If we represent the pair of IDs of the two tracks whose similarity we want to calculate as {#1:#2}, then CPU101 will calculate the similarity of the following pair. {7:1}, {7:3}, {7:4}, ...

[0069] The process proceeds to S606 if, within the tracks belonging to the first person, there is a track that cannot coexist with the first track. Therefore, the processes from S606 to S610 will be explained with reference to Figures 8(A) and (B).

[0070] Figure 8(A) shows track 801 as the "first track" and tracks 802 to 804 as tracks belonging to the "first person". Of these, track 804 is the "second track" and cannot coexist with track 801.

[0071] In S606, CPU101 calculates the similarity between the first track 801 and each of the tracks belonging to "the first person" excluding the second track (tracks 802 and 803), as shown in Figure 8(A). This process is called the first similarity calculation process, and the average of the obtained similarities is taken as the first similarity. Using the notation for the pairs of similarity calculations shown earlier, CPU101 calculates similarities {801:802} and {801:803}, and takes their average as the first similarity.

[0072] In S607, CPU101 calculates the similarity between the second track 804 and the tracks within the first person excluding the second track (tracks 802 and 803), as shown in Figure 8(B). This process is called the second similarity calculation process, and the average of the obtained similarities is taken as the second similarity. Using the notation for the pairs of similarity calculations shown earlier, CPU101 calculates similarities {804:802} and {804:803}, and takes their average as the second similarity.

[0073] In this embodiment, the average of multiple similarity values ​​is used as the first and second similarity values, but the maximum value, minimum value, median, etc., may be used instead.

[0074] In S608, CPU101 compares the values ​​of the first similarity and the second similarity. Then, CPU101 branches the process to S609 if the second similarity is greater than the first similarity, and to S610 if the second similarity is less than or equal to the first similarity.

[0075] Processing proceeds to S609 if the second track is more suitable for assigning to the first person than the first track. Therefore, CPU 101 sets the similarity value between the first track and the first person to 0 so that the first track is not assigned to the first person. In this case, a value indicating invalidity may be used instead of 0 for the similarity.

[0076] Processing proceeds to S610 if the second similarity is less than or equal to the first similarity. In other words, the first track is more suitable for assignment to the first person than the second track. Therefore, CPU 101 determines the first similarity as the similarity between the first track and the first person, and enables assignment processing according to the value indicated by the first similarity. If the assignment process results in the first track being assigned to the first person, the first and second tracks, which cannot coexist, will exist within the same person. The process for resolving this inconsistency will be described later using Figure 9.

[0077] Once the similarity calculation between the first track and the first person is complete as described above, CPU 101 proceeds to process S611.

[0078] In S611, CPU101 determines whether the calculation of similarity between the first track and all individuals in the individual dataset 117 has been completed. If it determines that there are individuals for whom the similarity calculation is incomplete, the process proceeds to S602. For example, if in the process shown in Figure 3(B) above, the individual with individual ID:1 was designated as the first individual, CPU101 will designate the individual with individual ID:2 as the new "first individual" and proceed with the processes from S602 onward.

[0079] In S611, if CPU101 determines that processing for all individuals has been completed, it proceeds to S612.

[0080] In S612, it is determined whether the similarity calculation has been completed for all tracks to which person IDs will be assigned. If processing is not complete for all tracks to be assigned, the process returns to S601 and repeats for the next track to be assigned. Once processing is complete for all tracks to be assigned, the flow shown in Figure 6 is terminated.

[0081] Next, referring to the flowchart in Figure 9, we will explain the details of the person data update process in S509 in Figure 5. Note that S509 is performed after the person ID assignment process in S508. To simplify the explanation, in S508, we will assume that the person ID that includes the track with the highest similarity, as determined in S507, is assigned to the track to which the person is to be assigned, regardless of the possibility of coexistence.

[0082] In S901, CPU101 selects one track to which a person ID will be assigned (the first track). Here, it is assumed that each of the tracks to which an ID will be assigned has one person ID assigned to it.

[0083] In S902, the CPU 101 determines whether there is a possibility of coexistence between the first track and each track belonging to the person (second person) corresponding to the person ID assigned to the first track. The method for determining the possibility of coexistence is the same as in S603 in Figure 6.

[0084] In S903, CPU101 branches the process depending on whether there is a track (a third track) that cannot coexist with the track belonging to the second person in S902. If there is no third track, CPU101 proceeds to S905 and registers the first track associating it with the second person.

[0085] Meanwhile, in S903, if CPU101 determines that a third track exists, it proceeds to S904.

[0086] As explained in the person similarity calculation process in Figure 6, if the similarity between the third track and the second person is higher than the similarity between the first track and the second person, the first track will not be assigned to the second person. Therefore, if the first track is assigned to the second person, it means that the first track is more suitable for assigning to the second person than the third track. Accordingly, in S904, the CPU 101 deletes the information associating the second person with the third track and sets the third track to an unassigned person ID state. Then, in S905, the CPU 101 registers the first track as associated with the second person. For the third track, the person ID assignment process may be performed again in the tracking process of the next frame, or it may remain in an unassigned person ID state.

[0087] Next, in S906, the CPU 101 determines whether processing has been completed for all assigned tracks. If the CPU determines that processing has not been completed for all assigned tracks, it returns to S901 and repeats the processing for the unprocessed assigned tracks. If the CPU 101 determines that processing has been completed for all assigned tracks, it proceeds to S907. In S907, the CPU 101 outputs the tracking result 120. The tracking result 120 includes the tracking output, which is the correspondence information between the detection frame, tracking ID, and person ID, as well as person ID correction information 311. The person ID correction information 311 indicates that the person ID of the third track has been corrected when the third track was returned to an unassigned person ID state in S904. For example, it is possible to indicate whether the person ID has been corrected by outputting 1 if there is a correction and 0 if there is no correction.

[0088] Although not shown in Figure 9, the system may be configured to delete the data of individuals and the associated tracks from the person dataset 117 if no tracks appear for a certain period of time.

[0089] This embodiment allows for the assignment of person IDs to tracks in a way that prevents the existence of multiple incompatible tracks within a person. If a person has tracks that are incompatible with the track to be assigned, it is possible to determine whether the track to be assigned should be assigned to the person based on its similarity to the other tracks within the person, excluding the incompatible track. Generally, methods that integrate movement trajectories using features based on how a person appears simply assign the movement trajectory to the person with the highest similarity. In such cases, this can result in contradictory assignments where multiple identical people appear on the same screen at the same time. However, this method allows for the efficient determination of which of two incompatible tracks is more suitable for the entire person.

[0090] [Second Embodiment] The following describes a second embodiment of the present invention. In this second embodiment, the process for cases where there are two tracks belonging to a person ID that cannot coexist is described. The device configuration and similarity calculation method in this embodiment are the same as in the first embodiment, so their explanation will be omitted.

[0091] Referring to the flowchart in Figure 10, the details of the similarity calculation process in this second embodiment will be explained.

[0092] In S1001, CPU101 selects one track from the tracks available for assignment obtained in S506. This selected track is defined as the first track.

[0093] Next, in S1002, the CPU 101 selects one of the person data recorded in the person dataset 117. The person selected here is defined as the first person.

[0094] In S1003, CPU101 determines the possibility of coexistence between the first track and each track belonging to the first person.

[0095] In S1004, CPU 101 determines whether there are any tracks (second track, fourth track) within the track belonging to the first person that cannot coexist with the first track. If CPU 101 determines that there are no second or fourth tracks, it proceeds to S1005 and calculates the similarity between the first track and each track within the first person.

[0096] On the other hand, if CPU 101 determines in S1004 that a second track (and a further fourth track) exists, the process proceeds to S1006.

[0097] The processes in S1006 to S1011 will be explained with reference to Figures 11(A) to (C).

[0098] Figure 11(A) shows track 1101 as the first track, and tracks 1102 to 1104 as tracks belonging to the first person. Of these, both track 1103 and track 1104 are tracks that cannot coexist with track 1101, and correspond to the second and fourth tracks, respectively.

[0099] In S1006, the CPU 101 calculates the similarity between the first track 1101 and the track remaining after removing the second track 1103 and the fourth track 1104 from the tracks belonging to the first person (track 1102), as shown in Figure 11(A). This process is called the first similarity calculation process, and the average of the obtained similarities is taken as the first similarity. In the case of Figure 11(A), removing the second and fourth tracks from the tracks belonging to the first person leaves only track 1102, so the similarity between the first track 1101 and track 1102 is equal to the first similarity.

[0100] In S1007, CPU 101 calculates the similarity between the second track 1103 and the tracks belonging to the first person, excluding the second track (tracks 1102 and 1104), as shown in Figure 11(B). This process is called the second similarity calculation process, and the average of the obtained similarities is taken as the second similarity. Using the notation shown above, CPU 101 calculates the similarities {1103:1102} and {1103:1104}, and takes their average as the second similarity.

[0101] In S1008, CPU 101 calculates the similarity between the fourth track 1104 and the tracks belonging to the first person, excluding the fourth track (tracks 1102 and 1103), as shown in Figure 11(C). This process is called the third similarity calculation process, and the average of the obtained similarities is taken as the third similarity. Using the notation shown above, CPU 101 calculates similarities {1104:1102} and {1104:1103}, and takes their average as the third similarity.

[0102] If a fourth track does not exist, the S1008 process is not performed, and the third similarity score is not calculated.

[0103] At S1009, CPU101 compares the first similarity value with the second similarity value, and then compares the first similarity value with the third similarity value to branch the processing.

[0104] If CPU 101 determines that the first similarity is less than either the second or third similarity (if any), it proceeds to S1010. In this case, the second or fourth track is more suitable for assigning to the first person than the first track. Therefore, CPU 101 sets the similarity value between the first track and the first person to 0 to prevent the first track from being assigned to the first person.

[0105] On the other hand, if in S1009 the CPU 101 determines that the first similarity is greater than or equal to the second and third similarities (if any), the process proceeds to S1011. In this case, the first track is more suitable for assignment to the first person than the second and fourth tracks. Therefore, the CPU 101 uses the first similarity as the similarity between the first track and the first person, enabling assignment processing according to the similarity value.

[0106] In S1012, CPU101 determines whether the calculation of similarity between the first track and all individuals in the person dataset 117 is complete. If CPU101 determines that the calculation of similarity with all individuals is not complete, it returns to S1012 and repeats the process for the next individual. If CPU101 determines that the processing for all individuals is complete, it proceeds to S1013.

[0107] In S1013, CPU101 determines whether the similarity calculation has been completed for all tracks to which a person ID will be assigned. If CPU101 determines that there are tracks to which a person ID will be assigned, it returns to S1001 and repeats the process for the next track to be assigned. Once processing for all tracks to be assigned has been completed, this flow is terminated.

[0108] This embodiment makes it possible to efficiently determine which track is more suitable for assigning to a person, even when there are two tracks within a single person's track that cannot coexist with the track to which the person ID is to be assigned.

[0109] [Third Embodiment] This embodiment describes a case where, within a track belonging to a single person, there are two tracks to which a person ID has been assigned that cannot coexist with the target track. This third embodiment describes a generalized similarity calculation process when there are N tracks that cannot coexist. The device configuration and the meaning of terms are assumed to be the same as in the first and second embodiments described above. In addition, in this third embodiment, the object of tracking is not limited to a person, but may be a moving object such as a car, for example, so the object of tracking will be simply referred to as the object.

[0110] In the first similarity calculation process in the third embodiment, the similarity between the first track and the tracks belonging to the first object (the person in the first and second embodiments), excluding N tracks that cannot coexist, is calculated, and the average of these similarities is taken as the first similarity.

[0111] In the second similarity calculation process, CPU 101 calculates the similarity between the k-th track out of the N tracks belonging to the first object that cannot coexist, and between the tracks belonging to the first object excluding the k-th track. The average of the similarities calculated for the k-th track is then taken as the k-th similarity. The similarity is calculated similarly for all k of the N tracks that cannot coexist.

[0112] Then, the first similarity and the kth similarity are compared sequentially. If the first similarity is less than either of the kth similarities, the similarity value between the first track and the first object is set to 0. On the other hand, if the first similarity is greater than or equal to the kth similarity, the first similarity is used as the similarity between the first track and the first person object, enabling assignment processing according to the similarity value.

[0113] This third embodiment makes it possible to efficiently determine which track is more suitable for assignment to a person, even when there are multiple tracks within a person that cannot coexist with the track to be assigned.

[0114] [Fourth Embodiment] The fourth embodiment of the present invention will now be described. While the first to third embodiments described above involved stitching together tracks from a single camera image during the tracking process, this fourth embodiment stitches together tracks from multiple camera images. In this embodiment, the device configuration and terminology other than the method for determining the possibility of track coexistence are the same as in the first embodiment, so their explanation will be omitted.

[0115] Figure 12 shows an example of tracking and following a single person in the images from two cameras. The memory unit 113 stores information regarding the installation positions of the two cameras, the direction of the optical axis of the image, and the field of view.

[0116] In this example, images 1201 and 1202 are images from different cameras. Person 1203 is moving between the field of view of the first and second cameras, and persons 1203a and 1203b show the positions of person 1203 at different times.

[0117] First, tracking is performed on person 1203a, who has moved from the left edge of the image 1201 captured by the first camera, and a corresponding track 1204a is acquired. After this, person 1203 moves outside the field of view of the first camera and is no longer visible in the video. As a result, the track is interrupted, and even if the same person reappears thereafter, they will be tracked as a separate track.

[0118] Person 1203 then enters the field of view of the second camera and appears as person 1203b in image 1202, and track 1204b is acquired as the corresponding track. In the tracking process, track 1204a and track 1204b are combined, and information is output with a person ID indicating that they are the same person.

[0119] In this diagram, images 1201 and 1202 are images from cameras showing different locations, but it is also possible to use cameras with overlapping fields of view that capture the same location from different angles.

[0120] Using Figure 13, the process for determining the possibility of coexistence in this fourth embodiment will be explained. In S1301, the CPU 101 determines whether there is an overlap in the appearance periods of the two tracks to be judged. Here, the appearance period of a track is defined as the time between the appearance time of the first detection frame associated with each track and the appearance time of the last detection frame. If the CPU 101 determines that there is no overlap in the appearance periods, it proceeds to S1306 and determines that there is a possibility of coexistence.

[0121] In S1301, if the CPU determines that there is an overlap in the appearance period, it proceeds to S1302. In S1302, the CPU 101 determines whether the two tracks to be judged were obtained from the same camera. If the CPU 101 determines that the two tracks were obtained from the same camera, it proceeds to S1303 to determine whether each track contains a detection frame that appears at the same time. If the CPU 101 determines that there is a detection frame that appears at the same time in both tracks, it proceeds to S1304 and determines that coexistence is not possible. On the other hand, if the CPU 101 determines that there is no detection frame that appears at the same time in both tracks, it proceeds to S1305 and determines that coexistence is possible. The processing in S1303 to S1305 is the same as the method for determining coexistence in the first embodiment.

[0122] In S1302, if the CPU 101 determines that the two tracks were captured by different cameras, it proceeds to S1307. In S1307, the CPU 101 determines whether there is overlapping field of view between the two cameras from which the two tracks were acquired. As explained earlier, the determination of overlapping field of view between cameras can be made based on information such as the installation position, optical axis direction, and field of view of each camera, which the user has previously entered into the memory unit 113. If there is overlapping field of view, it is possible that the same person may appear in different cameras during the same period. Therefore, in S1308, the CPU 101 determines that coexistence is possible. On the other hand, if it is determined that there is no overlapping field of view between the two cameras, the same person will not appear in cameras showing different locations during the same period. Therefore, in S1309, the CPU 101 determines that coexistence is not possible.

[0123] Refer to Figures 14(A) and (B) to see a concrete example of the coexistence possibility determination process. Figure 14(A) is an example of determining whether tracks 1401 and 1402, acquired from the same camera A, can coexist as the same person. Track 1401 includes detection frames 1401a to 1401b, and track 1402 includes detection frames 1402a to 1402c. In this case, since detection frames 1401a and 1402b appear at the same time within the same camera, it is determined that coexistence is not possible.

[0124] Figure 14(B) shows an example of determining whether track 1403, acquired by camera A, and track 1404, acquired by camera B, can coexist as belonging to the same person. Track 1403 includes detection frames 1403a to 1403b, and track 1404 includes detection frames 1404a to 1404c. In this example, there is an overlap in the appearance period of track 1403 and track 1404. Therefore, if there is an overlap in the field of view between camera A and camera B, it can be determined that coexistence is possible. On the other hand, if there is no overlap in the field of view between camera A and camera B, it is determined that coexistence is not possible.

[0125] The above example used two cameras, but even with three or more cameras, it is possible to determine coexistence possibilities and control the system to prevent tracks that are not compatible with coexistence from being assigned to the same person.

[0126] (Other embodiments) In the example shown in Figure 7(B), a more advanced method for determining the possibility of coexistence may be introduced. In the first embodiment, since there are no detection frames appearing at the same time in track 703 and track 704, it was determined that they could coexist within the same person. However, there is an overlap in the appearance periods of track 703 and track 704, and if track 703 and track 704 are the same person, it would mean that one person was tracked in two separate tracks at very close intervals using the same camera. During tracking, tracking IDs are assigned based on the proximity of appearance locations, similarity of image features, etc., so even if it is the same person, they may be tracked as separate tracks if the similarity of feature quantities decreases due to partial occlusion, etc. However, if the position, size, and similarity of feature quantities of the detection frames of track 703 and track 704 are significantly different, it is unlikely that they are the same person. Therefore, if there is an overlap in the appearance periods of different tracks, but no detection frames appear at the same time, the similarity of the position, size, and features of the detection frames of the different tracks can be calculated, and if the similarity is below a predetermined level, it may be determined that coexistence is not possible.

[0127] In this embodiment, the target of tracking is a person, but it can also be applied to other moving objects such as vehicles and animals to obtain the movement trajectory of the same object. In this case, by replacing the person similarity calculation unit with an object similarity calculation unit, the person ID assignment unit with an object ID assignment unit, the person data update unit with an object data update unit, and the person dataset with an object dataset, general object tracking can be performed instead of tracking a person.

[0128] (Other examples) The present invention can also be realized by supplying a program that implements one or more of the functions of the above-described embodiments to a system or device via a network or storage medium, and by having one or more processors in the computer of that system or device read and execute the program. It can also be realized by a circuit (e.g., an ASIC) that implements one or more functions.

[0129] The disclosures herein include the following object tracking devices, methods, and programs. (Item 1) An object tracking device that tracks a target object in an image obtained from an imaging device, Tracking means for tracking the object within the frame in the aforementioned video and obtaining a track representing the continuous appearance of the object, Here, the tracking means is The region of the object within the frame of interest in the aforementioned video is detected, and if the region is not a region that follows any of the regions detected in the frame prior to the frame of interest, a new track ID is assigned to the region detected from the frame of interest. If the region detected from the frame of interest is a region that follows any of the regions detected in the previous frame, assigning the same track ID to the region detected from the frame of interest as to the corresponding region in the previous frame will result in a track indicating that the same object appears consecutively; The system includes a tracking means that generates tracking information indicating which object ID each track ID belongs to by associating the track ID obtained by tracking by the aforementioned tracking means with an object ID for uniquely identifying an object. The aforementioned tracking means is Based on the possibility of coexistence regarding the shooting time between track IDs that are already associated with one or more existing object IDs and track of interest that is not associated with an object ID, it is determined whether the track of interest belongs to any of the object IDs. An object tracking device characterized by the following features. (Item 2) The tracking means includes an extraction means for extracting feature quantities of the region of the object, The aforementioned tracking means is Based on the feature quantities of the object's region in the frame of interest, the position and size of the region, and the feature quantities of the object's region in the previous frame, the position and size of the region, it is determined whether the region in the frame of interest is a region that follows any of the regions detected in the previous frame. The region information, consisting of the position and size of the object's region in the frame of interest, its features, and the time of capture, is associated with one of the track IDs. The object tracking device described in item 1, characterized by the features described herein. (Item 3) The aforementioned tracking means is We define one of the existing object IDs as the first object ID, When, among the track IDs associated with the first object ID, we define the track IDs that can coexist with the track of interest that is not associated with the object ID as the first track ID, and the track IDs that cannot coexist as the second track ID, For the first track ID, the similarity between the track of interest that has not been mapped to an object ID and the track of interest that belongs to the first track ID, based on the features of each track, is defined as the similarity between the track of interest and the first object ID. Regarding the second track ID mentioned above, The first similarity between the aforementioned track of interest and the tracks excluding those that cannot coexist in the second track ID is determined. The second similarity between a track belonging to the second track ID that cannot coexist and the track to be excluded is determined. If the first similarity is greater than the second similarity, the similarity between the track of interest and the first object ID is set to 0. If the first similarity is less than or equal to the second similarity, the similarity between the track of interest and the tracks that may coexist in the second track ID is determined as the similarity between the track of interest and the first object ID. The tracking means determines, based on the similarity to each of the already existing object IDs, which object ID a track of interest that has not yet been associated with an object ID belongs to. The object tracking device described in item 2, characterized by the features described herein. (Item 4) The tracking means determines that the object to which the object belongs is the object with the highest similarity among the similarity between the object track that has not been associated with the object ID and each of the existing object IDs, and which is above a threshold and has the highest similarity. The object tracking device described in item 3, characterized by the features described herein. (Item 5) If the tracking means finds no similarity between the track of interest that has not been associated with the object ID and any of the existing object IDs that exceeds the threshold, it issues a new object ID for the track of interest that has not been associated with the object ID. The object tracking device described in item 4, characterized by the features described herein. (Item 6) The object tracking device according to item 1, characterized in that the object is a human being. (Item 7) It has a storage means for storing information regarding the installation position, optical axis direction, and field of view of multiple imaging devices. The tracking means tracks each image from each imaging device, The aforementioned tracking means is If the information stored in the storage means indicates that the fields of view from the multiple imaging devices do not overlap, then it is determined that tracks containing the same shooting time in the respective images obtained from each imaging device can coexist. If the information stored in the storage means indicates that the fields of view from the multiple imaging devices overlap, it is determined that tracks containing the same shooting time in the respective images obtained from each imaging device cannot coexist. An object tracking device according to any one of items 1 to 6, characterized by the above. (Item 8) A control method for an object tracking device that tracks a target object in an image obtained from an imaging device, A tracking step involves tracking the object within the frame in the aforementioned video and obtaining a track representing the continuous appearance of the object, Here, in the tracking process, The region of the object within the frame of interest in the aforementioned video is detected, and if the region is not a region that follows any of the regions detected in the frame prior to the frame of interest, a new track ID is assigned to the region detected from the frame of interest. If the region detected from the frame of interest is a region that follows any of the regions detected in the previous frame, assigning the same track ID to the region detected from the frame of interest as to the corresponding region in the previous frame will result in a track indicating that the same object appears consecutively; The system includes a tracking step which generates tracking information indicating which object ID each track ID belongs to by associating the track ID obtained by the tracking step with an object ID for uniquely identifying an object. In the aforementioned tracking process, Based on the possibility of coexistence regarding the shooting time between track IDs that are already associated with one or more existing object IDs and track of interest that is not associated with an object ID, it is determined whether the track of interest belongs to any of the object IDs. A control method for an object tracking device, characterized by the following features. (Item 9) A program that, when read and executed by a computer, causes the computer to function as one of the means of the device described in any one of items 1 to 7.

[0130] The invention is not limited to the embodiments described above, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, claims are attached to disclose the scope of the invention. [Explanation of symbols]

[0131] 101...CPU, 102...ROM, 103...Tracking unit, 104...Human detection unit, 105...Track similarity calculation unit, 106...Track ID assignment unit, 107...Track data update unit, 108...Tracking unit, 109...Person similarity calculation unit, 110...Person ID assignment unit, 111...Person data update unit, 112...RAM, 113...Storage unit, 114...Input unit, 115...Display unit, 116...Communication unit

Claims

1. An object tracking device that tracks a target object in an image obtained from an imaging device, Tracking means for tracking the object within the frame in the aforementioned video and obtaining a track representing the continuous appearance of the object, Here, the tracking means is The region of the object within the frame of interest in the aforementioned video is detected, and if the region is not a region that follows any of the regions detected in the frame prior to the frame of interest, a new track ID is assigned to the region detected from the frame of interest. If the region detected from the frame of interest is a region that follows any of the regions detected in the previous frame, assigning the same track ID to the region detected from the frame of interest as to the corresponding region in the previous frame will result in a track indicating that the same object appears consecutively; The system includes a tracking means that generates tracking information indicating which object ID each track ID belongs to by associating the track ID obtained by tracking by the aforementioned tracking means with an object ID for uniquely identifying an object. The aforementioned tracking means is The first similarity is calculated between the remaining tracks (excluding the second track, which is an incompatible track existing in the same frame at the same shooting time obtained from the same imaging device as the first track, and the first track) and the first track, based on the first similarity, and a decision is made whether to assign the same object ID as the first track to the first track. An object tracking device characterized by the following features.

2. The tracking means includes an extraction means for extracting feature quantities of the region of the object, The aforementioned tracking means is Based on the feature quantities of the object's region in the frame of interest, the position and size of the region, and the feature quantities of the object's region in the previous frame, the position and size of the region, it is determined whether the region in the frame of interest is a region that follows any of the regions detected in the previous frame. The region information, consisting of the position and size of the object's region in the frame of interest, its features, and the time of capture, is associated with one of the track IDs. The object tracking device according to feature 1.

3. The aforementioned tracking means is A second similarity is calculated between the second track and the remaining tracks. If the second similarity is greater than the first similarity, the similarity between the object on the remaining track and the first track is set to 0. If the second similarity is less than or equal to the first similarity, the first similarity is determined to be the similarity between the object on the remaining track and the first track. Based on the similarity of the assigned first track, the assignment of the object ID to the first track is determined. The object tracking device according to feature 2.

4. The tracking means determines that the first track belongs to the object ID corresponding to the object with the greatest similarity among the existing objects, where the similarity between the first track and the object is above a threshold. The object tracking device according to feature 3.

5. The tracking means, if there is no similarity between the first track and any of the existing objects that exceeds the threshold, issues a new object ID to the first track. The object tracking device according to feature 4.

6. The object tracking device according to claim 1, characterized in that the object is a human being.

7. It has a storage means for storing information regarding the installation position, optical axis direction, and field of view of multiple imaging devices. The tracking means tracks each image from each imaging device, The aforementioned tracking means tracks tracks included in images obtained from different imaging devices, If the information stored in the storage means indicates that the fields of view of the multiple imaging devices overlap, it is determined that tracks containing the same shooting time in the respective images obtained by each imaging device can coexist. If the information stored in the storage means indicates that the fields of view from the multiple imaging devices do not overlap, it is determined that tracks containing the same shooting time in the respective images obtained from each imaging device cannot coexist. The object tracking device according to feature 1.

8. A control method for an object tracking device that tracks a target object in an image obtained from an imaging device, A tracking step involves tracking the object within the frame in the aforementioned video and obtaining a track representing the continuous appearance of the object, Here, in the tracking process, The region of the object within the frame of interest in the aforementioned video is detected, and if the region is not a region that follows any of the regions detected in the frame prior to the frame of interest, a new track ID is assigned to the region detected from the frame of interest. If the region detected from the frame of interest is a region that follows any of the regions detected in the previous frame, assigning the same track ID to the region detected from the frame of interest as to the corresponding region in the previous frame will result in a track indicating that the same object appears consecutively; The tracking process includes a tracking step which generates tracking information indicating which object ID each track ID belongs to by associating the track ID obtained by the tracking step with an object ID for uniquely identifying the object. In the aforementioned tracking process, The first similarity is calculated between the remaining tracks (excluding the second track, which is an incompatible track existing in the same frame at the same shooting time obtained from the same imaging device as the first track, and the first track) and the first track, based on the first similarity, and a decision is made whether to assign the same object ID as the first track to the first track. A control method for an object tracking device, characterized by the following features.

9. A program that, when read and executed by a computer, causes the computer to perform each of the steps of the control method described in claim 8.

Citation Information

Patent Citations

  • Tracking device and tracking method

    JP2010072723A

  • Traffic line display system

    JP2014059703A

  • Device, method and program for managing flow line

    JP2019185615A

  • Connection device, connection method, and connection program

    JP2019186859A

  • Object tracking method and device

    JP2019194857A