CN108965745B - Memory video creating method and related device - Google Patents

Memory video creating method and related device Download PDF

Info

Publication number
CN108965745B
CN108965745B CN201810676341.9A CN201810676341A CN108965745B CN 108965745 B CN108965745 B CN 108965745B CN 201810676341 A CN201810676341 A CN 201810676341A CN 108965745 B CN108965745 B CN 108965745B
Authority
CN
China
Prior art keywords
picture
pictures
target
continuous shooting
shot
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810676341.9A
Other languages
Chinese (zh)
Other versions
CN108965745A (en
Inventor
曹威
陈标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810676341.9A priority Critical patent/CN108965745B/en
Publication of CN108965745A publication Critical patent/CN108965745A/en
Application granted granted Critical
Publication of CN108965745B publication Critical patent/CN108965745B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Studio Devices (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application discloses a recall video creating method and a related device, which are applied to electronic equipment and comprise the following steps: acquiring a picture set for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures; when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than the preset integrity; performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score; screening out a second preset number of target pictures from at least one target continuous-shooting picture and a plurality of single-shooting pictures; and generating a recall video according to the second preset number of target pictures. The method and the device are beneficial to improving the efficiency and speed of the electronic equipment for creating the recall video.

Description

Memory video creating method and related device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a recall video creation method and a related apparatus.
Background
With the rapid development and the increasing popularity of the technology of the intelligent terminal (such as a smart phone), the technology of the intelligent terminal is now an indispensable electronic product in the daily life of users. The mobile phone photo album and other applications can screen the pictures with the same theme according to the screening conditions such as time and place, and form an exclusive picture set for a user to look up the pictures in a specific time period or place.
Disclosure of Invention
The embodiment of the application provides a recall video creating method and a related device, and provides a method for creating a recall video, which is beneficial to improving the efficiency and speed of creating the recall video by electronic equipment.
In a first aspect, an embodiment of the present application provides a recall video creating method, which is applied to an electronic device, and the method includes:
acquiring a picture set for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than a preset integrity;
performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score;
screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures;
and generating a recall video according to the second preset number of target pictures.
In a second aspect, an embodiment of the present application provides a recall video creating apparatus applied to an electronic device, the recall video creating apparatus including a processing unit and a communication unit, wherein,
the processing unit is used for acquiring a picture set used for creating a recall video through the communication unit, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures; when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than the preset integrity; performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score; screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures; and generating a recall video according to the second preset number of target pictures.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing steps in any method of the first aspect of the embodiment of the present application.
In a fourth aspect, the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program makes a computer perform part or all of the steps described in any one of the methods of the first aspect of the present application.
It can be seen that, in the embodiment of the application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the background art of the present application, the drawings required to be used in the embodiments or the background art of the present application will be described below.
FIG. 1A is a schematic diagram of a program runtime space of a smart phone;
FIG. 1B is a system architecture diagram of an android system;
fig. 2 is a schematic flowchart of a recall video creating method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of another recall video creation method disclosed in an embodiment of the present application;
FIG. 4 is a schematic flow chart diagram illustrating another recall video creation method disclosed in an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device disclosed in an embodiment of the present application;
fig. 6 is a block diagram illustrating functional units of a recall video creating apparatus according to an embodiment of the present application.
Detailed description of the invention
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The following are detailed below.
The terms "first," "second," "third," and "fourth," etc. in the description and claims of this application and in the accompanying drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
As shown in fig. 1A, currently, an electronic device such as a smart phone is generally provided with a program running space, where the program running space includes a user space and an operating system space, where the user space runs one or more application programs, and the one or more application programs are third-party application programs installed in the electronic device.
The electronic device can specifically run an Android system, a mobile operating system iOS developed by apple Inc., and the like, and the electronic device is not limited herein. As shown in fig. 1B, for example that the electronic device runs an Android system, the corresponding user space includes an Application layer (Applications) in the Android system, and the operating system space may include an Application Framework layer (Application Framework) in the Android system, a system Runtime library layer (including system Runtime Libraries and Android Runtime runtimes), and a Linux Kernel layer (Linux Kernel). The application layer comprises various application programs which are directly interacted with the user or service programs which are written by Java language and run in the background. For example, programs that implement common basic functions on smartphones, such as Short Messaging Service (SMS) SMS, phone dialing, picture viewer, calendar, games, maps, World Wide Web (Web) browser, and other applications developed by developers. The application framework layer provides a series of class libraries required by Android application development, can be used for reusing components, and can also realize personalized extension through inheritance. And the system operation library layer is a support of an application program framework and provides services for each component in the Android system. The system operation library layer is composed of a system class library and Android operation. The Android runtime comprises two parts, namely a core library and a Dalvik virtual machine. The Linux kernel layer is used for realizing core functions such as hardware device driving, process and memory management, a network protocol stack, power management, wireless communication and the like.
Electronic devices may include various handheld devices, vehicle-mounted devices, wearable devices (e.g., smartwatches, smartbands, pedometers, etc.), computing devices or other processing devices connected to wireless modems, as well as various forms of User Equipment (UE), Mobile Stations (MS), terminal Equipment (terminal device), and so forth, having wireless communication capabilities. For convenience of description, the above-mentioned devices are collectively referred to as electronic devices.
The following describes embodiments of the present application in detail.
Referring to fig. 2, fig. 2 is a schematic flowchart of a recall video creating method provided in an embodiment of the present application, and is applied to an electronic device, where the recall video creating method includes:
s201, the electronic equipment acquires a picture set used for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
the continuous shooting picture refers to any single picture in a plurality of pictures obtained by shooting a shot target in a continuous shooting mode, and the single shooting picture refers to a single picture obtained in a single shooting mode.
S202, when the electronic equipment detects that the shot target of the picture group is a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than a preset integrity;
the static target is in a motion state when the target is shot by aiming at the electronic equipment. The first preset number may be 5, 6, 10, etc., and is not limited uniquely.
S203, the electronic equipment carries out quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screens out at least one target continuous shooting picture according to the score;
the scoring result of the quality scoring can reflect the comprehensive quality of the pictures, and the specific implementation manner of obtaining the score of each picture can be calling a pre-configured third-party scoring engine, importing the feature data of the pictures into the third-party scoring engine as input data to obtain the score, or pre-storing an instruction scoring algorithm, and independently operating the local terminal according to the algorithm to obtain the corresponding score, wherein the specific scoring strategy is not uniquely limited.
S204, screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures by the electronic equipment;
the second preset number may be 5, 6, 10, etc., and is not limited uniquely.
S205, the electronic equipment generates a recall video according to the second preset number of target pictures.
In a specific implementation, the triggering condition for the electronic device to create the recall video may be active triggering by a user, or triggering when the electronic device detects that the current system state meets a preset condition, where the preset condition may be preset, and the preset condition is not limited, such as that the system time is in a property, or the electronic device is in a sleep state, and the like.
It can be seen that, in the embodiment of the present application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
In one possible example, the recall video is a component associated with the preset number of target pictures, and the component is configured to play the preset number of target pictures according to a preset play policy;
the preset playing strategy comprises first configuration information and second configuration information, wherein the first configuration information comprises the following configuration information aiming at the target pictures: the second configuration information comprises the following configuration information aiming at each target picture: animation mode and display duration.
The playing process of the recall video is similar to that of a slide, but the recall video is not a video file, and does not occupy an additional video storage space inside the electronic device, but the electronic device can convert the recall video into the video file and transmit the video file.
Specifically, in the electronic device, the preset playing policy of the recall video may be stored in a file with a preset format, and when a playing request for the recall video is detected, the file is called to read the preset playing policy to play a plurality of target pictures.
The assembly comprises a cover display control and a play function button, wherein the cover display control is used for displaying a cover of a recall video, and the play function button is used for playing the recall video; or the component comprises an icon display control and a title display control, the icon display control is used for jumping to a play control interface of the recall video, and the title display control is used for displaying the title of the recall video.
Further, the assembly may further include an album display control for displaying pictures in the recall album associated with the current recall video, and the album display control may appear in the same interface as the cover display control.
The number of pictures of one memory video can be 30 or 40, the playing time can be 2 minutes and the like, the playing sequence can be sorted according to the shooting time of the pictures and the like, titles can be input by users, covers can be selected by users or can be adapted according to themes, themes can be set according to picture image contents, background music can be configured by users or can be adapted based on themes, animation modes of a single picture comprise horizontal, vertical and gradual-in modes, the displaying time can be 0.5s, 1s and the like, and parameters are not limited uniquely.
As can be seen, in this example, the recall video created by the electronic device can be presented as a component capable of playing pictures at the user interaction level, so that the user is presented with the visual sensation of the video file, and actually the recall video does not have the video file, so that the memory resource is small, the function is strong, the resource utilization rate is improved, and the product functionality is enhanced.
In one possible example, the electronic device sifts out at least one continuous shooting picture from the group of pictures, including: the electronic equipment determines the integrity of the image of the shot target of each continuous shooting picture in the picture group; and screening out at least one continuous shooting picture with the integrity degree larger than the preset integrity degree from the picture group.
The integrity may be specifically represented by an image area ratio of a photographed target in the picture, and the preset integrity may be, for example, 60%, 70%, 90%, and the like, which is not limited herein.
Therefore, in the example, the electronic equipment can accurately screen out the pictures with relatively complete framing based on the integrity of the images, so that the number of the scored pictures is reduced, the image information of the pictures is not lost, and the creation speed of the recall video is improved.
In one possible example, the electronic device sifts out at least one continuous shooting picture from the group of pictures, including: the electronic equipment screens at least one continuous shooting picture from the picture group according to the screening condition that the picture sequence number is odd or even; alternatively, the first and second electrodes may be,
and acquiring a continuous shooting picture screening habit of a user, and screening at least one continuous shooting picture from the picture group according to the continuous shooting picture screening habit.
The odd or even condition is not limited uniquely, and may be configured by a user or a developer. Therefore, in the example, the number of pictures to be scored is reduced through the odd-even condition, so that scoring efficiency is improved, and efficiency of creating the recall video is improved.
The continuous shooting picture screening habit of the user can be obtained from the historical picture screening record of the user. Therefore, in the example, the electronic equipment can accurately screen out the pictures with less quantity meeting the requirements of the user according to the continuous shooting picture screening habit of the user, so that the quantity of the pictures needing to be scored is reduced, the scoring efficiency is improved, and the efficiency of creating the recall video is improved.
In one possible example, the electronic device filters out a second preset number of target pictures from the at least one target continuous-shot picture and the plurality of single-shot pictures, including: the electronic equipment carries out quality scoring on the single-shot pictures to obtain the score of each single-shot picture; and screening out a second preset number of target pictures according to the scores of the at least one target continuous-shooting picture and each single-shooting picture.
Wherein the quality score is used for comprehensively evaluating the comprehensive quality of the picture.
Therefore, in the example, for multiple pictures, the electronic device can accurately screen out high-quality pictures through scoring, and create the recall video by using the high-quality pictures, so that the accuracy of creating the recall video is improved.
In one possible example, the electronic device performs quality scoring for each of the at least one continuous shot picture, including: the electronic equipment extracts the characteristic data of each continuous shooting picture; and performing quality scoring according to the characteristic data.
In one possible example, the at least one continuous shot picture is a human figure picture, and the feature data includes at least one of: color, exposure, definition and expressive force, wherein the expressive force is facial feature information of the facial image in each continuous shooting picture; alternatively, the first and second electrodes may be,
the at least one continuous shot picture is a scene picture, and the characteristic data comprises at least one of the following data: color, exposure, and sharpness.
Therefore, in the example, the electronic device can acquire the parameter information of multiple dimensions of the picture and comprehensively score the picture quality according to the parameter information of the multiple dimensions, so that the picture quality is comprehensively evaluated, the picture screening accuracy is improved, and the recall video creating accuracy is improved.
Referring to fig. 3, fig. 3 is a schematic flowchart of a recall video creating method provided by the embodiment of the present application, and is applied to an electronic device, consistent with the embodiment shown in fig. 2. As shown in the figure, the recall video creating method includes:
s301, the electronic equipment acquires a picture set used for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
s302, when the electronic equipment detects that the shot target of the picture group is a dynamic target and the number of pictures of the picture group is greater than a first preset number, determining the integrity of the image of the shot target of each continuous shooting picture in the picture group; and screening at least one continuous shooting picture with the integrity degree larger than the preset integrity degree from the picture group, wherein the integrity degree of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than the preset integrity degree.
S303, the electronic equipment carries out quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screens out at least one target continuous shooting picture according to the score;
s304, screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures by the electronic equipment;
s305, the electronic equipment generates a recall video according to the second preset number of target pictures.
It can be seen that, in the embodiment of the present application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
In addition, the electronic equipment can accurately screen out the picture with relatively complete view finding based on the integrity of the image, so that the number of scored pictures is reduced, the image information of the picture is ensured not to be lost, and the creation speed of the recall video is improved.
Referring to fig. 4, fig. 4 is a schematic flowchart of a recall video creating method provided by the embodiment of the present application, and is applied to an electronic device, consistent with the embodiment shown in fig. 2. As shown in the figure, the recall video creating method includes:
s401, the electronic equipment acquires a picture set used for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
s402, when the electronic equipment detects that the shot target of the picture group is a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group according to a screening condition that the picture sequence number is an odd number or an even number, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than a preset integrity.
S403, the electronic equipment carries out quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screens out at least one target continuous shooting picture according to the score;
s404, screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures by the electronic equipment;
s405, the electronic equipment generates a recall video according to the second preset number of target pictures.
It can be seen that, in the embodiment of the application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
In addition, the electronic equipment can accurately screen out the picture with relatively complete view finding based on the integrity of the image, so that the number of scored pictures is reduced, the image information of the picture is ensured not to be lost, and the creation speed of the recall video is improved.
In addition, high-quality pictures can be accurately screened out through scoring, and the high-quality pictures are used for creating the recall video, so that the accuracy of creating the recall video is improved.
In accordance with the embodiments shown in fig. 2, fig. 3, and fig. 4, please refer to fig. 5, and fig. 5 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present application, as shown in the figure, the electronic device 500 includes an application processor 510, a memory 520, a communication interface 530, and one or more programs 521, where the one or more programs 521 are stored in the memory 520 and configured to be executed by the application processor 510, and the one or more programs 521 include instructions for performing the following steps;
acquiring a picture set for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than a preset integrity;
performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score;
screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures;
and generating a recall video according to the second preset number of target pictures.
It can be seen that, in the embodiment of the present application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
In one possible example, the recall video is a component associated with the preset number of target pictures, and the component is configured to play the preset number of target pictures according to a preset play policy;
the preset playing strategy comprises first configuration information and second configuration information, wherein the first configuration information comprises the following configuration information aiming at the target pictures: the second configuration information comprises the following configuration information aiming at each target picture: animation mode and display duration.
In one possible example, in said filtering out of said group of pictures at least one continuous shot picture, the instructions in said program are specifically configured to: determining the integrity of the image of the shot target of each continuous shooting picture in the picture group; and screening out at least one continuous shooting picture with the integrity degree larger than the preset integrity degree from the picture group.
In one possible example, in said filtering out of said group of pictures at least one continuous shot picture, the instructions in said program are specifically configured to: screening at least one continuous shooting picture from the picture group according to the screening condition that the picture sequence number is odd or even; alternatively, the first and second electrodes may be,
and acquiring a continuous shooting picture screening habit of a user, and screening at least one continuous shooting picture from the picture group according to the continuous shooting picture screening habit.
In one possible example, in the aspect of filtering out the second preset number of target pictures from the at least one target continuous-shooting picture and the multiple single-shooting pictures, the instructions in the program are specifically configured to: performing quality scoring on the multiple single-shot pictures to obtain the score of each single-shot picture; and screening out a second preset number of target pictures according to the scores of the at least one target continuous shooting picture and each single shooting picture.
In one possible example, in the aspect of quality scoring for each of the at least one continuous-shot picture, the instructions in the program are specifically configured to: extracting characteristic data of each continuous shooting picture; and performing quality scoring according to the characteristic data.
In one possible example, the at least one continuous shot picture is a human figure picture, and the feature data includes at least one of: color, exposure, definition and expressive force, wherein the expressive force is facial feature information of the facial image in each continuous shooting picture; alternatively, the first and second electrodes may be,
the at least one continuous shot picture is a scene picture, and the characteristic data comprises at least one of the following data: color, exposure, and sharpness.
The above embodiments mainly introduce the scheme of the embodiments of the present application from the perspective of the method-side implementation process. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the electronic device may be divided into the functional units according to the method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The following is an embodiment of the apparatus of the present invention, which is used to perform the method implemented by the embodiment of the method of the present invention. The recall video creating apparatus 600 shown in fig. 6 is applied to an electronic device, and the recall video creating apparatus 600 includes a processing unit 601 and a communication unit 602, wherein,
the processing unit 601 is configured to obtain, through the communication unit 602, a picture set for creating a recall video, where the picture set includes one picture group and multiple single-shot pictures, and the picture group includes multiple continuous-shot pictures; when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than the preset integrity; performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score; screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures; and generating a recall video according to the second preset number of target pictures.
The recall video creating apparatus may further include a storage unit 603 configured to store program codes and data of the electronic device. The processing unit 601 may be a processor, the communication unit 602 may be an image acquisition device, an input device or a transceiver, and the storage unit 603 may be a memory.
It can be seen that, in the embodiment of the present application, the electronic device first acquires a picture set for creating a recall video, the picture set comprises a picture group and a plurality of single-shot pictures, the picture group comprises a plurality of continuous-shot pictures, secondly, when the shot object of the picture group is detected to be a dynamic object and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is more than the preset integrity, performing quality grading on each continuous shooting picture in the at least one continuous shooting picture, and screening at least one target continuous shooting picture according to the score, screening a second preset number of target pictures from the at least one target continuous shooting picture and the multiple single shooting pictures, and finally generating a recall video according to the second preset number of target pictures. Therefore, the electronic equipment only needs to score the selected continuous shooting pictures with a small quantity and is used for subsequent picture screening, and the efficiency and the speed of creating the recall video by the electronic equipment are favorably improved.
In one possible example, the recall video is a component associated with the preset number of target pictures, and the component is configured to play the preset number of target pictures according to a preset play policy;
the preset playing strategy comprises first configuration information and second configuration information, wherein the first configuration information comprises the following configuration information aiming at the target pictures: the second configuration information comprises the following configuration information aiming at each target picture: animation mode and display duration.
In one possible example, in the aspect of filtering out at least one continuous shooting picture from the group of pictures, the processing unit 601 is specifically configured to: determining the integrity of the image of the shot target of each continuous shooting picture in the picture group; and screening out at least one continuous shooting picture with the integrity degree larger than the preset integrity degree from the picture group.
In one possible example, in the aspect of filtering out at least one continuous shooting picture from the group of pictures, the processing unit 601 is specifically configured to: screening at least one continuous shooting picture from the picture group according to the screening condition that the picture sequence number is odd or even; alternatively, the first and second electrodes may be,
and acquiring a continuous shooting picture screening habit of a user, and screening at least one continuous shooting picture from the picture group according to the continuous shooting picture screening habit.
In a possible example, in the aspect of filtering out the second preset number of target pictures from the at least one target continuous-shooting picture and the multiple single-shooting pictures, the processing unit 601 is specifically configured to: performing quality scoring on the multiple single-shot pictures to obtain the score of each single-shot picture; and screening out a second preset number of target pictures according to the scores of the at least one target continuous shooting picture and each single shooting picture.
In one possible example, in terms of the quality scoring for each of the at least one continuous-shot picture, the processing unit 601 is specifically configured to: extracting characteristic data of each continuous shooting picture; and performing quality scoring according to the characteristic data.
In one possible example, the at least one continuous shot picture is a human figure picture, and the feature data includes at least one of: color, exposure, definition and expressive force, wherein the expressive force is facial feature information of the facial image in each continuous shooting picture; alternatively, the first and second electrodes may be,
the at least one continuous shot picture is a scene picture, and the characteristic data comprises at least one of the following data: color, exposure, and sharpness.
Embodiments of the present application also provide a computer storage medium, where the computer storage medium stores a computer program for electronic data exchange, the computer program enabling a computer to execute part or all of the steps of any one of the methods described in the above method embodiments, and the computer includes an electronic device.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package, the computer comprising an electronic device.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (8)

1. A recall video creation method applied to an electronic device, the method comprising:
acquiring a picture set for creating a recall video, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures;
when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than a preset integrity;
performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score;
the quality scoring for each of the at least one continuous shot picture comprises: extracting characteristic data of each continuous shooting picture; performing quality scoring according to the characteristic data; the at least one continuous shooting picture is a human picture, and the characteristic data comprises at least one of the following data: color, exposure, definition and expressive force, wherein the expressive force is facial feature information of the facial image in each continuous shooting picture; or, the at least one continuous shot picture is a scene picture, and the feature data includes at least one of: color, exposure, definition;
screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures;
and generating a recall video according to the second preset number of target pictures.
2. The method according to claim 1, wherein the recall video is a component associated with the preset number of target pictures, the component being configured to play the preset number of target pictures according to a preset play policy;
the preset playing strategy comprises first configuration information and second configuration information, wherein the first configuration information comprises the following configuration information aiming at a plurality of target pictures: the second configuration information comprises the following configuration information for each target picture: animation mode and display duration.
3. The method according to claim 1 or 2, wherein the filtering out at least one continuous shot picture from the group of pictures comprises:
determining the integrity of the image of the shot target of each continuous shooting picture in the picture group;
and screening out at least one continuous shooting picture with the integrity degree larger than the preset integrity degree from the picture group.
4. The method according to claim 1 or 2, wherein the filtering out at least one continuous shot picture from the group of pictures comprises:
screening at least one continuous shooting picture from the picture group according to the screening condition that the picture sequence number is odd or even; alternatively, the first and second electrodes may be,
and acquiring a continuous shooting picture screening habit of a user, and screening at least one continuous shooting picture from the picture group according to the continuous shooting picture screening habit.
5. The method according to claim 1 or 2, wherein the filtering out a second preset number of target pictures from the at least one target continuous-shot picture and the plurality of single-shot pictures comprises:
performing quality scoring on the multiple single-shot pictures to obtain the score of each single-shot picture;
and screening out a second preset number of target pictures according to the scores of the at least one target continuous-shooting picture and each single-shooting picture.
6. A recall video creating apparatus applied to an electronic device, the recall video creating apparatus comprising a processing unit and a communication unit, wherein,
the processing unit is used for acquiring a picture set used for creating a recall video through the communication unit, wherein the picture set comprises a picture group and a plurality of single-shot pictures, and the picture group comprises a plurality of continuous-shot pictures; when the shot target of the picture group is detected to be a dynamic target and the number of pictures of the picture group is larger than a first preset number, screening at least one continuous shooting picture from the picture group, wherein the integrity of the image of the shot target of each continuous shooting picture in the at least one continuous shooting picture is larger than the preset integrity; performing quality scoring on each continuous shooting picture in the at least one continuous shooting picture, and screening out at least one target continuous shooting picture according to the score; screening out a second preset number of target pictures from the at least one target continuous-shooting picture and the plurality of single-shooting pictures; generating a recall video according to the second preset number of target pictures;
in the aspect of performing quality scoring on each of the at least one continuous-shot picture, the processing unit is specifically configured to: extracting characteristic data of each continuous shooting picture; and performing quality scoring according to the feature data; the at least one continuous shooting picture is a human picture, and the characteristic data comprises at least one of the following data: color, exposure, definition and expressive force, wherein the expressive force is facial feature information of the facial image in each continuous shooting picture; or, the at least one continuous shot picture is a scene picture, and the feature data includes at least one of: color, exposure, and sharpness.
7. An electronic device comprising a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
8. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN201810676341.9A 2018-06-27 2018-06-27 Memory video creating method and related device Active CN108965745B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810676341.9A CN108965745B (en) 2018-06-27 2018-06-27 Memory video creating method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810676341.9A CN108965745B (en) 2018-06-27 2018-06-27 Memory video creating method and related device

Publications (2)

Publication Number Publication Date
CN108965745A CN108965745A (en) 2018-12-07
CN108965745B true CN108965745B (en) 2021-01-12

Family

ID=64486874

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810676341.9A Active CN108965745B (en) 2018-06-27 2018-06-27 Memory video creating method and related device

Country Status (1)

Country Link
CN (1) CN108965745B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346136A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Method and device for picture processing
CN105512255A (en) * 2015-12-01 2016-04-20 上海斐讯数据通信技术有限公司 Picture screening method and device and mobile terminal
CN105528444A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for generating photo album
CN105893412A (en) * 2015-11-24 2016-08-24 乐视致新电子科技(天津)有限公司 Image sharing method and apparatus
CN105975612A (en) * 2016-05-18 2016-09-28 北京金山安全软件有限公司 Picture processing method, device and equipment
CN106294785A (en) * 2016-08-12 2017-01-04 北京创新乐知信息技术有限公司 Content Selection method and system
CN106341623A (en) * 2016-10-19 2017-01-18 上海传英信息技术有限公司 Method for generating dynamic thumbnail view of burst shooting pictures and user terminal
CN107895050A (en) * 2017-12-07 2018-04-10 联想(北京)有限公司 Image searching method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100131571A1 (en) * 2008-11-25 2010-05-27 Reuveni Yoseph Method application and system for characterizing multimedia content

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346136A (en) * 2013-07-24 2015-02-11 腾讯科技(深圳)有限公司 Method and device for picture processing
CN105893412A (en) * 2015-11-24 2016-08-24 乐视致新电子科技(天津)有限公司 Image sharing method and apparatus
CN105512255A (en) * 2015-12-01 2016-04-20 上海斐讯数据通信技术有限公司 Picture screening method and device and mobile terminal
CN105528444A (en) * 2015-12-23 2016-04-27 北京奇虎科技有限公司 Method and device for generating photo album
CN105975612A (en) * 2016-05-18 2016-09-28 北京金山安全软件有限公司 Picture processing method, device and equipment
CN106294785A (en) * 2016-08-12 2017-01-04 北京创新乐知信息技术有限公司 Content Selection method and system
CN106341623A (en) * 2016-10-19 2017-01-18 上海传英信息技术有限公司 Method for generating dynamic thumbnail view of burst shooting pictures and user terminal
CN107895050A (en) * 2017-12-07 2018-04-10 联想(北京)有限公司 Image searching method and system

Also Published As

Publication number Publication date
CN108965745A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US11218739B2 (en) Live video broadcast method, live broadcast device and storage medium
CN107861816B (en) Resource allocation method and device
CN109144627B (en) Screen locking method and mobile terminal
US10659684B2 (en) Apparatus and method for providing dynamic panorama function
WO2019165905A1 (en) Information display method, graphical user interface and terminal
CN108921918B (en) Video creation method and related device
CN111277779A (en) Video processing method and related device
CN108597546B (en) Method for determining background music of recalling video and related equipment
CN110134237B (en) Interface control method and related equipment
CN108984339B (en) Data recovery method and related product
US20200244869A1 (en) Method for capturing images, terminal, and storage medium
CN114630057B (en) Method and device for determining special effect video, electronic equipment and storage medium
CN108882015B (en) Method and device for adjusting playing speed of recall video, electronic equipment and storage medium
CN108876782A (en) Recall video creation method and relevant apparatus
CN108762983B (en) Multimedia data recovery method and device
CN107241635B (en) Bullet screen position switching method and device
CN108989703B (en) Memory video creating method and related device
CN109241303B (en) Video creation method and related product
CN112015309B (en) Display switching method and device and mobile terminal
CN108965745B (en) Memory video creating method and related device
CN112840305B (en) Font switching method and related product
CN109213534A (en) A kind of method and device of extension live streaming software function
CN108920591A (en) Recall video creation method and relevant apparatus
CN109151557B (en) Video creation method and related device
CN112804551B (en) Live broadcast method, live broadcast device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant