Patent ID: 11967344
Assignee: BEIJING BYTEDANCE NETWORK TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H  Y | IPC G  H

Claim 5:
6. A video processing apparatus, coupled in a server or a terminal device, comprising: a memory and a processor;
wherein the memory is configured to store instructions executable by the processor; and
the processor, when executing the instructions, is configured to:
acquire at least two images to be processed;
determine, according to the at least two images to be processed, a target image and a target editing pattern, wherein the target editing pattern comprises at least one of a special effect acting on an audio corresponding to the target image, a special effect acting on an editing point between adjacent images, a special effect acting on a single image, and a special effect acting on an entire editing image; and
perform, according to the target editing pattern, an editing operation on the target image, to obtain a target video;

wherein the processor is further configured to:
respectively determine content category labels corresponding to the at least two images to be processed and multiple preset editing patterns; and determine, according to the content category labels corresponding to the at least two images to be processed and the multiple preset editing patterns, the target image and the target editing pattern;
determine, according to the content category labels corresponding to the multiple preset editing patterns, a group of editing patterns for each of which a matching degree of a content category label with a content category label corresponding to one of the at least two images to be processed exceeds a preset threshold value, with use of a preset label matching algorithm, to obtain a first matching group, wherein the first matching group comprises the at least two images to be processed and the group of editing patterns; determine, according to the content category labels corresponding to the at least two images to be processed, a group of images to be processed for each of which a matching degree of a content category label with a content category label corresponding to one of the multiple preset editing patterns exceeds a preset threshold value, to obtain a second matching group, wherein the second matching group comprises the group of images to be processed and the multiple preset editing patterns; and determine, according to the first matching group and the second matching group, the target image and the target editing pattern; and
calculate an intersection group between the first matching group and the second matching group, and take an image to be processed and an editing pattern in the intersection group as the target image and the target editing pattern; and, if a number of images to be processed in the intersection group is less than a preset threshold of a number of images to be processed, after determining the group of editing patterns for each of which a matching degree of a content category label with a content category label corresponding to one of the at least two images to be processed exceeds a preset threshold value among the multiple preset editing patterns, perform, according to the group of editing patterns, a filtering operation on the at least two images to be processed, to obtain the target image corresponding to the group of editing patterns, and take the group of editing patterns as the target editing pattern.