Patent ID: 11955143
Assignee: ARASHI VISION INC.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC G  H | IPC G

Claim 6:
7. A portable terminal, comprising:
one or more processors;
a memory; and
one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, such that the processors, when executing the computer programs, perform operations comprising:
acquiring a video to be edited;
extracting a key frame of the video to be edited;
inputting the key frame into a pre-trained scene categorization method and a pre-trained target detection method to respectively obtain a marker of a scene type and a marker of a target object;
screening out a plurality of video segments meeting a preset editing rule from the video to be edited;
respectively calculating an average score of the plurality of video segments through a pre-trained image quality scoring method;
acquiring and stitching video segments with a highest average score corresponding to each lens type;
wherein the inputting the key frame into a pre-trained scene categorization method and a pre-trained target detection method to respectively obtain a marker of a scene type and a marker of a target object comprises:
there being p scene types in the pre-trained scene categorization method, p corresponding to a sequence of preset scene types, with p≥100, inputting the i-th key frame into the pre-trained scene categorization method to determine the scene type of the key frame, obtaining the marker Si of the scene type, with Si∈[0, p];
there being k preset target objects, k corresponding to a sequence of preset target objects, with k≥50, inputting the i-th key frame into the pre-trained target detection method to detect the target object in the key frame, and obtaining the marker Di of the target object, with Di∈[0, k].