Method and device for displaying target object
AssigneeHangzhou Hikvision Digital Technology Co., Ltd.
InventorMaofei Dong
Life of this patent
Estimating the term…
Abstract
Embodiments of the present application provide a method and apparatus for displaying objects. In the method, video frames that contain objects of predefined types are detected in pieces of video data to be displayed in a first display region. If such video frames are detected, the objects of the predefined types are extracted from the detected video frames. The extracted objects are then displayed in sub-regions of a second display region that is different from the first display region, with each object being displayed in one of the sub-regions. In this way, the objects that a user is interested in can be extracted from a video, and displayed in a way to be viewed with ease.
Claims8
A method for displaying objects, applicable to an electronic device and comprising:
- detecting, in pieces of video data to be displayed in a first display region, if there are video frames that contain objects of predefined types;
- if video frames that contain objects of the predefined types are detected, extracting the objects of the predefined types from the detected video frames;
- and
- displaying the extracted objects in sub-regions of a second display region that is different from the first display region, with each object being displayed in one of the sub-regions,
- wherein extracting the objects of the predefined types from the detected video frames, comprises:
- extracting objects of the predefined types that are different from reference objects from the detected video frames, wherein the reference objects are of the predefined types and are extracted from previously detected video frames,
- wherein displaying the extracted objects in sub-regions of a second display region, comprises:
- arranging the extracted objects in a sequence according to a predefined rule;
- and displaying the objects in the sub-regions of the second display region according to the sequence;
- wherein after displaying the extracted objects in sub-regions of a second display region, the method further comprises:
- obtaining an object selection instruction comprising a target type for a selected object, wherein the selected object is one of the extracted objects, and the target type is selected from one of the preset types;
- identifying objects of other types than the target type from the extracted objects being displayed in the second display region according to the object selection instruction;
- and
- removing the objects of other types from the second display region;
- and wherein after displaying the extracted objects in sub-regions of a second display region, the method further comprises:
- obtaining a video playback instruction for a third object;
- determining video data for the third object, which contains video frames having the third object;
- and
- playing back the determined video data in a third display region.
Dependencies are inferred from the claim text.