Information processing apparatus, method of controlling the same, and storage medium
First Claim
1. An information processing apparatus which extracts a feature amount of a person in frames received from at least one camera and registers the feature amount in a collation database so as to search for a person inputted as a query by referring to the collation database, comprising:
- one or more processors; and
at least one memory coupled to the one or more processors, the at least one memory storing instructions which, when executed by the one or more processors, cause the information processing apparatus to;
receive, via a communication interface for communicating with at least one camera, a frame sequentially from the camera as a current frame of a live video;
detect a person from the current frame;
if a new person is detected, set the new person as a target to be tracked;
track, in the frames following the current frame, the person set as the target to be tracked until the person is not detected;
extract a feature amount of the person from each frame during the tracking of the person;
obtain an elapsed time from a start of the tracking of the person set as the target; and
if the tracking of the person is ended, select a predetermined number of feature amounts among feature amounts extracted from frames received during the tracking of the person and register the selected feature amounts in the collation database; and
if the elapsed time from the start of the tracking of the person reaches a first period though the tracking of the person is continued, select the predetermined number of feature amounts among the feature amounts extracted from frames received during the first period and register the selected feature amounts in the collation database,wherein the features amounts are registered by causing the information processing apparatus to;
classify faces of the tracked persons into a plurality of predetermined groups on the basis of each of directions of the faces; and
select, from the classified groups, faces in a number not more than the predetermined number, andwherein, in the collation database, the feature amounts of the selected faces are registered.
1 Assignment
0 Petitions
Accused Products
Abstract
This invention prevents a collation database from becoming bulky and shortening the delay time needed from person detection to registration in the collation database. An information processing apparatus comprises an acquiring unit which acquires a video, a detecting unit which detects a whole body or a part of a person from at least one frame of the acquired video, a tracking unit which tracks the whole body or the part of the person detected, and a registering unit which registers, in a database, a feature amount extracted from the whole body or the part of the person tracked during a first period from a timing of a start of tracking of the whole body or the part of the person by the tracking unit to a timing before an end of the tracking by the tracking unit.
15 Citations
10 Claims
-
1. An information processing apparatus which extracts a feature amount of a person in frames received from at least one camera and registers the feature amount in a collation database so as to search for a person inputted as a query by referring to the collation database, comprising:
-
one or more processors; and at least one memory coupled to the one or more processors, the at least one memory storing instructions which, when executed by the one or more processors, cause the information processing apparatus to; receive, via a communication interface for communicating with at least one camera, a frame sequentially from the camera as a current frame of a live video; detect a person from the current frame; if a new person is detected, set the new person as a target to be tracked; track, in the frames following the current frame, the person set as the target to be tracked until the person is not detected; extract a feature amount of the person from each frame during the tracking of the person; obtain an elapsed time from a start of the tracking of the person set as the target; and if the tracking of the person is ended, select a predetermined number of feature amounts among feature amounts extracted from frames received during the tracking of the person and register the selected feature amounts in the collation database; and if the elapsed time from the start of the tracking of the person reaches a first period though the tracking of the person is continued, select the predetermined number of feature amounts among the feature amounts extracted from frames received during the first period and register the selected feature amounts in the collation database, wherein the features amounts are registered by causing the information processing apparatus to; classify faces of the tracked persons into a plurality of predetermined groups on the basis of each of directions of the faces; and select, from the classified groups, faces in a number not more than the predetermined number, and wherein, in the collation database, the feature amounts of the selected faces are registered. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method of controlling an information processing apparatus which extracts a feature amount of a person in frames received from at least one camera and registers the feature amount in a collation database so as to search for a person inputted as a query by referring to the collation database, comprising:
-
receiving, via a communication interface for communicating with at least one camera, a frame sequentially from the camera as a current frame of a live digital image video; detecting a person from the received current frame; setting, if a new person is detected in the detecting, the new person as a target to be tracked; tracking, in the frames following the current frame, the person set as the target to be tracked; extracting a feature amount of the person from each frame during tracking the person; obtaining an elapsed time from a start of the tracking of the person set as the target to be tracked; selecting, if the tracking of the person is ended, a predetermined number of feature amounts among feature amounts extracted from frames received during tracking the person and registering the selected feature amounts in the collation database; and selecting, if the elapsed time from the start of the tracking of the person reaches a first period while tracking the person continues, the predetermined number of feature amounts among the feature amounts extracted from frames received during the first period and registering the selected features amounts in the collation database, wherein the features amounts are registered by; classifying faces of the tracked persons into a plurality of predetermined groups on the basis of each of directions of the faces; and selecting, from the classified groups, faces in a number not more than a first predetermined number, and wherein, in the collation database, the feature amounts of the selected faces are registered.
-
-
9. A non-transitory computer-readable storage medium storing a computer program which causes a computer to executes steps of a method of controlling an information processing apparatus which extracts a feature amount of a person in frames received from at least one camera and registers the feature amount in a collation database so as to search for a person inputted as a query by referring to the collation database, the method comprising:
-
receiving, via a communication interface for communicating with at least one camera, a frame sequentially from the camera as a current frame of a live video; detecting a person from the received current frame; setting, if a new person is detected in the detecting, the new person as a target to be tracked; tracking, in the frames following the current frame, the person set as the target to be tracked; extracting a feature amount of the person from each frame during tracking the person; obtaining an elapsed time from a start of the tracking of the person set as the target to be tracked; selecting, if the tracking of the person is ended, a predetermined number of feature amounts among feature amounts extracted from frames received during tracking the person and registering the selected feature amounts in the collation database; and selecting, if the elapsed time from the start of the tracking of the person reaches a first period while tracking the person continues, the predetermined number of feature amounts among the feature amounts extracted from frames received during the first period and registering the selected features amounts in the collation database, wherein the features amounts are registered by; classifying faces of the tracked persons into a plurality of predetermined groups on the basis of each of directions of the faces; and selecting, from the classified groups, faces in a number not more than a first predetermined number, and wherein, in the collation database, the feature amounts of the selected faces are registered.
-
-
10. An information processing apparatus which extracts a feature amount of a person in frames received from at least one camera and registers the feature amount in a collation database so as to search for a person inputted as a query by referring to the collation database, the information processing apparatus comprising:
-
one or more processors; and at least one memory coupled to the one or more processors, the at least one memory storing instructions which, when executed by the one or more processors, cause the information processing apparatus to; receive a frame sequentially from the camera as a video; detect a person from the frame; if a new person is detected, set the new person as a target to be tracked; track, in the frames following the frame, the person set as the target to be tracked until the person is not detected; extract a feature amount of the person set as the target to be tracked; obtain an elapsed time from a start of the tracking of the person set as the target; select, if the tracking of the person is ended a predetermined number of feature amounts among feature amounts extracted from frames received during tracking the person and register the selected feature amounts in the collation database; and select, if the elapsed time from the start of the tracking the person reaches a first period while tracking the person continues, the predetermined number of feature amounts among feature amounts extracted from frames received during the first period and register the selected features amounts in the collation database, wherein the feature amounts are registered by causing the information processing apparatus to; classify faces of the tracked persons into a plurality of predetermined groups on the basis of each of directions of the faces; and select, from the classified groups, faces in a number not more than a first predetermined number, and wherein, in the collation database, the feature amounts of the selected faces are registered.
-
Specification