| CPC G06T 7/246 (2017.01) [G06T 2207/10016 (2013.01); G06T 2207/30196 (2013.01)] | 9 Claims |

|
1. An object tracing apparatus that traces an object in a video obtained by an image capturing apparatus, comprising:
a processor; and
a memory storing instructions which, when read and executed by the processor, causes the object tracing apparatus function as:
a tracking unit that tracks the object in a frame in the video and obtains track data indicating consecutive appearances of the object,
wherein, the tracking unit
detects a region of the object in a target frame in the video and assigns a new track ID to the region detected from the target frame when the region is not a region subsequent to a region detected in a previous frame to the target frame, and
when the region detected from the target frame is a region subsequent to the region detected in the previous frame, a track ID identical to that of the region corresponding to the previous frame is assigned to the region detected from the target frame to obtain track data indicating a consecutive appearance of an identical 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 a basis of a coexistence possibility relating to imaging time between a track ID associated with one or more existing object IDs and target track data without an associated object ID, determines which object ID the target track data belongs to,
wherein
the tracking unit includes an extraction unit that extracts a feature amount of the region of the object, and
the tracking unit
on a basis of the feature amount of the region of the object in the target frame, a position and size of the region, a feature amount of the region of the object in the previous frame, and a position and size of the region, determines whether or not the region in the target frame is a region subsequent to the region detected in the previous frame, and
associates region information including the position and size of the region of the object in the target frame, the feature amount, and the imaging time with a track ID,
wherein
when one existing object ID is defined as a first object ID,
from among track IDs associated with the first object ID, a track ID with coexistence possibility with a target TRACK without an associated object ID is defined as a first track ID and a track ID without coexistence possibility is defined as a second track ID, and
for the first track ID, a similarity based on feature amount between a target TRACK without an associated object ID and each track belonging to the first track ID is defined as a similarity between the target TRACK and the first object ID,
the tracing unit
for the second track ID
obtains a first similarity between the target track data and track data excluding track data with no coexistence possibility in the second track ID,
obtains a second similarity between track data with no coexistence possibility belonging to the second track ID and track data excluding the TRACK,
sets a similarity between the target track data and the first object ID to 0 when the first similarity is greater than the second similarity,
sets a similarity between the target track data and track data with coexistence possibility in the second track ID as a similarity between the target track data and the first object ID when the first similarity is equal to or less than the second similarity, and
determines which object ID the target track data without an associated object ID belongs to from similarities for existing object IDs.
|