Video similarity detection method, apparatus, and device
AssigneeHuawei Technologies Co., Ltd.
InventorsJun Li, Haomiao Liu, Weimeng Gong, Dandan Tu
Life of this patent
Estimating the term…
Abstract
A video similarity detection method and apparatus are provided. In the method, a detection apparatus receives a first video, determines a key frame of the first video based on the first video, and determines a similar key frame and a second video, the similar key frame being determined based on the key frame. The second video includes a video in which the similar key frame is located. The method inputs the key frame and the similar key frame to an editing type recognition model to obtain an editing type. The editing type indicates an editing type used for editing between the first video and the second video.
Claims15
A video similarity detection method, comprising:
- receiving, by a detection apparatus, a first video, and determining a key frame of the first video based on the first video;
- determining, by the detection apparatus, a similar key frame and a second video, the similar key frame being determined based on the key frame, the similar key frame is located in the second video;
- and
- inputting, by the detection apparatus, the key frame and the similar key frame to an editing type recognition model to obtain an editing type, the editing type recognition model is used to obtain the editing type for editing between the key frame and the similar key frame, conversion between the key frame and the similar key frame is implemented through editing by using the editing type, the editing type comprises one or more of:
- cropping, stitching, rotating, mirroring, blurring, text adding, icon adding, color changing, brightness changing, or contrast changing.
A detection apparatus, comprising:
- a communications interface;
- a non-transitory memory storing instructions;
- and
- at least one processor in communication with the communications interface and the memory, the at least one processor configured, upon execution of the instructions, to perform the following steps:
- receive a first video, and determine a key frame of the first video based on the first video;
- determine a similar key frame and a second video, the similar key frame being determined based on the key frame, the similar key frame is located in the second video;
- and
- obtain an editing type based on the key frame and the similar key frame, conversion between the key frame and the similar key frame is implemented through editing by using the editing type, the editing type comprises one or more of:
- cropping, stitching, rotating, mirroring, blurring, text adding, icon adding, color changing, brightness changing, or contrast changing.
A non-transitory computer-readable media storing computer instructions for video similarity detection, that when executed by one or more processors, cause the one or more processors to perform the steps of:
- receiving a first video and determining a key frame of the first video based on the first video;
- determining a similar key frame and a second video, the similar key frame being determined based on the key frame, the similar key frame is located in the second video;
- and
- inputting the key frame and the similar key frame to an editing type recognition model to obtain an editing type, the editing type recognition model is used to obtain the editing type for editing between the key frame and the similar key frame, conversion between the key frame and the similar key frame is implemented through editing by using the editing type, the editing type comprises one or more of:
- cropping, stitching, rotating, mirroring, blurring, text adding, icon adding, color changing, brightness changing, or contrast changing.
Dependencies are inferred from the claim text.