CN111654619A - Intelligent shooting method and device, server and storage medium - Google Patents

Intelligent shooting method and device, server and storage medium Download PDF

Info

Publication number
CN111654619A
CN111654619A CN202010421617.6A CN202010421617A CN111654619A CN 111654619 A CN111654619 A CN 111654619A CN 202010421617 A CN202010421617 A CN 202010421617A CN 111654619 A CN111654619 A CN 111654619A
Authority
CN
China
Prior art keywords
video
photo
margin
target
template
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.)
Pending
Application number
CN202010421617.6A
Other languages
Chinese (zh)
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.)
Chengdu Sioeye Technology Co ltd
Original Assignee
Chengdu Sioeye Technology Co 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 Chengdu Sioeye Technology Co ltd filed Critical Chengdu Sioeye Technology Co ltd
Priority to CN202010421617.6A priority Critical patent/CN111654619A/en
Publication of CN111654619A publication Critical patent/CN111654619A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices
    • 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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the application relates to the technical field of video processing, and provides an intelligent shooting method, an intelligent shooting device, a server and a storage medium. Compared with the prior art, the method and the device can automatically complete screening, editing and manufacturing, do not need manual participation, are high in manufacturing efficiency and can guarantee manufacturing effect.

Description

Intelligent shooting method and device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of video processing, in particular to an intelligent shooting method, an intelligent shooting device, a server and a storage medium.
Background
In amusement parks, theme parks, scenic spots and other amusement places, the traditional shooting service is as follows: after the working personnel shoot videos or photos for the tourists by using the camera, the shot videos or photos are manually screened, edited and made, and finally videos or photos recording the wonderful moment of the tourists in the playing process are obtained.
However, this method is highly involved in human labor, and requires a lot of labor and time, resulting in inefficiency. Meanwhile, the manual production cannot guarantee the production effects of all videos or photos, and particularly when a large number of tourists exist, the situation of poor production effects is easy to occur, and the experience of the tourists is influenced.
Disclosure of Invention
An object of the embodiments of the present application is to provide an intelligent shooting method, an intelligent shooting device, a server, and a storage medium, so as to solve the problems that the traditional shooting service efficiency is low and the production effect cannot be guaranteed.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, an embodiment of the present application provides an intelligent shooting method, which is applied to a server, where the server is in communication connection with a first mobile terminal, and the intelligent shooting method includes: receiving an original video uploaded by the first mobile terminal; selecting at least one photo from the original video; selecting at least one video clip from the original video; acquiring a preset video synthesis template, wherein the video synthesis template comprises at least one photo margin and at least one video margin; and inserting the at least one photo into the at least one photo margin and inserting the at least one video segment into the at least one video margin based on the video composition template to obtain a clip video.
In a second aspect, an embodiment of the present application further provides an intelligent shooting device, which is applied to a server, where the server is in communication connection with a first mobile terminal, and the intelligent shooting device includes: the receiving module is used for receiving the original video uploaded by the first mobile terminal; the first selection module is used for selecting at least one photo from the original video; the second selection module is used for selecting at least one video clip from the original video; the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a preset video synthesis template, and the video synthesis template comprises at least one photo margin and at least one video margin; and the execution module is used for inserting the at least one photo into the at least one photo margin and inserting the at least one video segment into the at least one video margin based on the video synthesis template to obtain a clip video.
In a third aspect, an embodiment of the present application further provides a server, where the server includes: one or more processors; a memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the smart photographing method described above.
In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the above-mentioned smart photographing method.
Compared with the prior art, according to the intelligent shooting method, the intelligent shooting device, the server and the storage medium, after the original video of the tourist is shot, the original video is uploaded to the server through the first mobile terminal, the server selects at least one photo and at least one video segment from the original video, and the photo and the video segment are inserted into a preset video synthesis template to obtain the clipped video. Compared with the prior art, the method and the device can automatically complete screening, editing and manufacturing, do not need manual participation, are high in manufacturing efficiency and can guarantee manufacturing effect.
Drawings
Fig. 1 shows an application scenario diagram of the intelligent shooting method provided in the embodiment of the present application.
Fig. 2 shows a schematic flowchart of the smart shooting method provided in the embodiment of the present application.
Fig. 3 illustrates an exemplary diagram of a video composition template provided by an embodiment of the present application.
Fig. 4 shows another schematic flow chart of the smart shooting method provided in the embodiment of the present application.
Fig. 5 is a flowchart illustrating step S105 of the smart photographing method illustrated in fig. 2.
Fig. 6 shows an exemplary diagram of a clip video provided by an embodiment of the present application.
Fig. 7 is another flowchart illustrating step S105 of the smart photographing method illustrated in fig. 2.
Fig. 8 shows another schematic flow chart of the smart shooting method provided in the embodiment of the present application.
Fig. 9 shows a block schematic diagram of a smart camera provided in an embodiment of the present application.
Fig. 10 shows a block schematic diagram of a server provided in an embodiment of the present application.
Icon: 10-a handheld shooting device; 20-a first mobile terminal; 30-a server; 40-a second mobile terminal; 31-a processor; 32-a memory; 33-a bus; 100-a smart camera; 101-a receiving module; 102-a first selection module; 103-a second selection module; 104-an obtaining module; 105-an execution module.
Detailed Description
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 a part of the embodiments of the present application, and not all of the embodiments.
Referring to fig. 1, fig. 1 is a schematic view illustrating an application scenario of an intelligent shooting method according to an embodiment of the present application, including at least one handheld shooting device 10, at least one first mobile terminal 20, a server 30, and at least one second mobile terminal 40. A hand-held photographing apparatus 10 is communicatively connected to a first mobile terminal 20, each first mobile terminal 20 is communicatively connected to a server 30, and the server 30 is communicatively connected to each second mobile terminal 40.
The handheld photographing apparatus 10 is used to photograph a play video of a guest. Typically, the handheld camera device 10 is used by a worker to take video shots while a guest experiences an attraction, which is a slow attraction, such as a carousel, a dodgem, etc.
The handheld photographing device 10, after photographing the play video of the guest, transmits the play video to the first mobile terminal 20 for storage, for example, to an album or the like of the first mobile terminal 20. The handheld photographing apparatus 10 may be a mini handheld pan-tilt camera, a pocket pan-tilt camera, etc., and the first mobile terminal 20 may be a smartphone, a tablet computer, a laptop computer, a desktop computer, etc., of a worker.
The first mobile terminal 20 is configured to upload a new play video, which is an original video, to the server 30 when the handheld photographing device 10 transmits the new play video.
The server 30 is used for selecting at least one photo and at least one video segment from the original video and inserting the photos and the video segments into a preset video composition template to obtain a clipped video. The server 30 may be a single server or a group of servers.
The second mobile terminal 40 is configured to send a request for obtaining a photo or a video to the server 30, and receive the photo or the clip video returned by the server 30 for previewing, purchasing, downloading, sharing, printing, and the like by the guest.
The second mobile terminal 40 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc. of the visitor.
Referring to fig. 2 on the basis of the application scenario diagram shown in fig. 1, fig. 2 shows a flowchart of an intelligent shooting method provided in an embodiment of the present application, where the intelligent shooting method applied to a server 30 may include the following steps:
s101, receiving an original video uploaded by a first mobile terminal.
In the process of playing by the guest, the staff uses the handheld shooting device 10 to shoot a complete video for the guest, and since the handheld shooting device 10 is in communication with the first mobile terminal 20, the handheld shooting device 10 transmits the video to the first mobile terminal 20, and then the video is uploaded to the server 30 by the first mobile terminal 20.
The first mobile terminal 20 is previously provided with a video storage address for storing a video file captured by the handheld photographing device 10, that is, a play video of a guest. The first mobile terminal 20 has an application installed therein, which can listen to the video storage address in real time and upload a new play video to the server 30 if the handheld photographing device 10 transmits the new play video.
Optionally, the first mobile terminal 20 uploads the original video by:
monitoring whether a video storage address stores a new video file in real time;
when it is monitored that the video storage address stores a new video file, the new video file is uploaded to the server 30 as an original video.
S102, selecting at least one photo from the original video.
In practical applications, a guest may want to play a photo or a video or both a photo and a video, and therefore, at least one photo and at least one video clip are selected from an original video, at least one photo is used for making a play photo or making a clip video for a photo effect display, and at least one video is used for making a clip video.
The mode of selecting at least one photo from the original video can be that each frame of the original video is extracted, then each frame is subjected to quality scoring, and the video frame with low score is discarded to obtain at least one photo; it is also possible to extract video frames from the original video at preset time intervals, for example, extract one frame every 2s, score the quality of each extracted frame, and discard the video frames with low score to obtain at least one photo.
Optionally, a face recognition model may be used to score the quality of each extracted frame, for example, comprehensively score the face area, angle, expression, posture, whether the face is closed, whether the face is smiling, whether the face is blocked, and the like in each frame, sort the frames according to the score, and discard the video frames with low scores.
As an embodiment, the process of selecting at least one photo from the original video may include:
firstly, video frame extraction is carried out on an original video to obtain a plurality of video frames.
The video frame extraction may be to extract each frame in the original video, or may be to extract each frame at a preset time interval, for example, extract each frame every 2 seconds.
And secondly, performing quality grading on each video frame to obtain the score of each video frame.
And thirdly, selecting the video frames meeting preset conditions from the plurality of video frames based on the score of each video frame to obtain at least one photo.
The video frame satisfying the preset condition may be a video frame with a score higher than a certain set score, or a video frame with a score within a certain set score range, and those skilled in the art may flexibly select the video frame according to actual situations, which is not limited herein.
S103, selecting at least one video clip from the original video.
The method for selecting at least one video segment from the original video can be that a reference time length (for example, 10-15 s) of one video segment is given, then the original video is divided into at least one video segment according to the reference time length, the time length of each video segment is equal, and the time lengths are the reference time lengths (for example, 10-15 s); a time interval (e.g., 3s) may also be given, and then the original video is divided into at least one video segment according to the time interval, where the duration of each video segment may be equal or unequal, and the duration may be flexibly set in practical applications, which is not limited herein.
As an embodiment, the process of selecting at least one video segment from the original video may include:
and dividing the original video into at least one video segment according to a preset time interval.
Generally, the duration of one video segment may be 10-15 s, and the duration of each video segment may be equal or unequal.
And S104, acquiring a preset video synthesis template, wherein the video synthesis template comprises at least one photo margin and at least one video margin.
The video synthesis template comprises at least one photo margin, at least one video margin, at least one template segment, a leader and a trailer, and the at least one template segment, the at least one photo margin and the at least one video margin are all arranged between the leader and the trailer.
That is, the video composite template includes N template segments, N is 1,2, …, and meanwhile, the video template may further include a slice header and a slice trailer, the N template segments are disposed between the slice header and the slice trailer, and the N template segments and the slice header and the slice trailer form M whites, M is 1,2, …, and the M whites are not consecutive. The M whites include X photo whites and Y video whites, X being 1,2, …, Y being 1,2, …, and M being X + Y.
Alternatively, the template clip may be, but is not limited to, a template video, a special effect picture, a subtitle, and the like, and the template video may be a long-shot video of an amusement apparatus, a high-altitude overhead video of an amusement park, and the like, which are shot in advance.
Meanwhile, M whites in the video model synthesis board may be set according to the rhythm of the background music, for example, referring to fig. 3, at least one transition point is determined according to the rhythm of the background music, and the position of the whites in the video synthesis template is set according to the transition point, where one transition point corresponds to one whiter, and the whiter may be a photo whiter or a video whiter.
And S105, inserting at least one photo into at least one photo margin and inserting at least one video segment into at least one video margin based on the video synthesis template to obtain a clip video.
The clip video includes at least one photo special effect, at least one video segment, at least one template segment, a leader and a trailer. Wherein, a photo special effect corresponds to a photo margin, and the durations of the photo special effect and the photo margin are equal. One video clip corresponds to one video margin, and the duration of the video clip is equal to that of the video margin.
The photo special effect means that a plurality of copied files of the same photo are used for special effect display, such as rotation, movement, zooming, photo frame adding and the like. For example, rotation may be achieved by a certain angle of deflection around a central point of a next frame of picture relative to a previous frame of picture, zooming may be achieved by a certain scale of enlargement or reduction of the next frame of picture relative to the previous frame of picture, movement may be achieved by a certain distance of movement of the next frame of picture relative to the previous frame of picture in either direction, and adding a picture frame may be achieved by superimposing a picture frame composition on the original picture.
For each photo margin, the video synthesis template is pre-configured with a special effect display template, a file type, a duration and a frame rate. For each video whiteout, the video composition template is preconfigured with a file type, duration, and frame rate. Before inserting the photos and video segments into the video composition template, the server 30 reads the configuration of each whiteout in the video composition template, e.g., file type, duration, frame rate, etc.
If the file type is a photo, calculating the corresponding frame number according to the duration and the frame rate of the blank position, correspondingly copying the corresponding number of photos, processing the copied photos according to the special effect display template, and simulating the photos as video files inserted into the blank position. If the file type is a video clip, calculating the required frame number of the video clip according to the duration and the frame rate of the blank, adjusting the video clip according to the frame number of the video clip to accord with the video duration of the blank, and then inserting the adjusted video clip into the blank.
In a possible situation, since at least one photo and at least one video segment are selected from the original video, and at least one photo is inserted into the photo margin and at least one video segment is inserted into the video margin, different storage addresses can be preset in the server 30 for storing the photo and the video segment, and therefore, referring to fig. 4 on the basis of fig. 2, after step S102, the intelligent shooting method provided by the embodiment of the present application may further include step S110.
And S110, storing at least one photo to the reserved first storage address.
The first storage address is used for storing the photos extracted from the original video.
On the basis of fig. 4, referring to fig. 5, the process of inserting at least one photo into at least one photo margin in step S105 may include the following sub-steps:
s1051, obtaining a special effect display template, a file type, a duration and a frame rate corresponding to the target photo margin, wherein the target photo margin is any one of at least one photo margin.
The server 30 is configured with a special effect display template, a file type, a duration and a frame rate for each photo margin in advance, where the file type corresponds to a storage address of the photo, that is, the file type corresponds to a first storage address.
That is, the video composition template may further include a special effect display template, a file type, a duration, and a frame rate corresponding to each photo margin, and the special effect display template may include rotation, movement, scaling, and adding a photo frame.
S1052, acquiring the target photo from the first storage address according to the file type corresponding to the target photo margin.
The target photo may be any one of the at least one photo stored in the first storage address, or may be the highest value of the at least one photo, and may be flexibly set in practical applications.
S1053, according to the duration and the frame rate corresponding to the target photo margin, calculating the photo frame number corresponding to the target photo margin.
S1054, copying the target photo to obtain the target photo with the number of photo frames.
And S1055, processing the target photo with the photo frame number according to the special effect display template corresponding to the target photo margin, and inserting the processed target photo into the target photo margin.
The special effect display template corresponding to the target photo margin includes the number of target photos of the photo frame, and for example, referring to fig. 6, the special effect display template is: the picture 1 after copying is processed into a picture a, a picture b, a picture c and the like in sequence by picture rotation of the 1 st frame, picture movement of the 2 nd frame, picture scaling of the 3 rd frame and the like, and then the picture a, the picture b, the picture c and the like are simulated as video files and inserted into the picture margin.
In the above, the process of inserting a photo into a photo margin is described, and then the process of inserting a video clip into a video margin is described, on the basis of fig. 2, please refer to fig. 4 again, after step S103, the intelligent shooting method provided in the embodiment of the present application may further include step S120.
And S120, storing at least one video clip to the reserved second storage address.
The second storage address is used for storing a video segment extracted from the original video.
On the basis of fig. 4, referring to fig. 7, the process of inserting at least one video segment into at least one video margin in step S105 may include the following sub-steps:
s105-1, acquiring a file type, duration and frame rate corresponding to a target video margin, wherein the target video margin is any one of at least one video margin.
The server configures a file type, a duration and a frame rate for each video margin in advance, wherein the file type corresponds to a storage address of the video clip, that is, the file type corresponds to the second storage address. That is, the video composition template further includes a file type, duration, and frame rate corresponding to each video whiteout.
And S105-2, acquiring the target video clip from the second storage address according to the file type corresponding to the target video margin.
The target video clip may be any one of the at least one video clip stored in the second storage address, or may be one of the at least one video clip that is closest to the duration of the target video margin, and may be flexibly set in practical applications.
And S105-3, calculating the number of video segment frames corresponding to the target video margin according to the duration and the frame rate corresponding to the target video margin.
S105-4, adjusting the frame number or the frame rate of the target video clip according to the frame number of the video clip, so that the duration of the target video clip is equal to the duration of the target video margin.
Since the video segment selected from the original video in step S103 is a rough segmentation of the original video, the frame rate of the video at the time of shooting and the frame rate of the video after clipping are different. Generally, in order to reduce the storage pressure and uploading energy consumption of the first mobile terminal 20 and shorten the uploading time, the frame rate at the time of video shooting may be relatively low; the frame rate of the edited video is relatively high because a relatively good visual effect is required, and therefore, before the target video segment is inserted into the target video margin, the frame number or the frame rate needs to be adjusted to meet the duration of the target video margin.
For example, if the target video segment is too long, the target video segment is cut according to the number of the video segment frames and then inserted into the target video blank; if the target video segment is too short, the frame rate of the target video segment is adjusted to meet the duration of the blank of the target video, or the target video segment is copied for a second time to supplement the insufficient duration.
And S105-5, inserting the adjusted target video clip into the target video margin.
In a possible scenario, the server 30 may store the photo and the clip video of the guest in different databases, and therefore, referring to fig. 8 on the basis of fig. 2, after step S102, the smart shooting method provided in the embodiment of the present application may further include steps S131 to S132.
And S131, performing face recognition on each photo to obtain face information corresponding to each photo.
And S132, storing each photo and the face information corresponding to each photo into a pre-established first database.
Meanwhile, after step S105, the smart photographing method provided in the embodiment of the present application may further include steps S141 to S142.
And S141, carrying out face recognition on the clipped video to obtain face information corresponding to the clipped video.
And S142, storing the clipped video and the face information corresponding to the clipped video in a pre-established second database.
In a possible scenario, after the game of the guest, the guest may search for their own photo and video through their mobile terminal, and therefore, referring to fig. 8 again, after step S132 and step S142, the smart shooting method provided in the embodiment of the present application may further include steps S151 to S153.
And S151, receiving a search request sent by the second mobile terminal, wherein the search request comprises a face image of the target user.
The target user is a visitor who searches photos and videos of the user through the second mobile terminal 40, and the second mobile terminal 40 is installed with a third-party application program, which may have an applet running therein, and the user may interact with the server 30 through the applet. Alternatively, the second mobile terminal 40 has an application installed therein, through which the user can interact with the server 30.
Optionally, after playing, the guest may enter an applet running under a third-party application installed in the second mobile terminal 40, or an application installed in the second mobile terminal 40, and the like, where the applet or the application first prompts the guest to upload a face photo, and the guest may self-shoot through the second mobile terminal 40, and upload the self-shot image to the server 30 through the applet or the application.
And S152, acquiring a photo of the target user from the first database and acquiring a clipped video of the target user from the second database based on the face image.
After obtaining the face image of the target user, the server 30 may first perform face recognition on the face image to obtain corresponding face information, then find the photo of the target user from the first database according to the face information, and find the clipped video of the target user from the second database.
And S135, sending the photo and the clip video of the target user to the second mobile terminal so that the target user can perform at least one of previewing, downloading, sharing, purchasing or printing on the photo and the clip video.
After finding the photo and clip video of the target user, the server 30 returns it to the second mobile terminal 40 for the guest to preview, download, share, purchase or print. For example, the tourist may select a favorite photo and a clip video for purchase according to personal preferences from search results returned by the server 30, where the preview photo may be a photo with a watermark, and the photo without the watermark may be obtained after purchase, and the photo may be downloaded to local or shared with friends of the tourist after purchase; the preview video is incomplete, the complete video can be obtained after purchase, and the video can be downloaded to the local or shared with friends of the user after purchase.
Simultaneously, the pictures after purchasing can also be printed through the desktop terminal in the place of travelling, and the desktop terminal can print the two-dimensional code that the amusement park corresponds on the picture. The tourist can enter a search result interface of the small program by scanning the two-dimensional code, see photos and clip videos which are not purchased by the tourist so as to be convenient to purchase again, and can enter a purchased interface to download the purchased photos and clip videos. Wherein the unpurchased photos and clip videos are only shown for a certain time, e.g. 3 days, in the applet, while the purchased photos and clip videos are permanently saved in the applet.
Compared with the prior art, the embodiment of the application has the following beneficial effects:
firstly, the original video is uploaded to a server through a first mobile terminal, the server selects at least one photo and at least one video segment from the original video and inserts the photo and the video segment into a preset video synthesis template to obtain a clipped video, so that screening, clipping and manufacturing can be automatically completed, manual participation is not needed, the manufacturing efficiency is high, the manufacturing effect can be guaranteed, and meanwhile, the labor cost is saved;
secondly, after the visitor plays, can search for oneself photo and video through second mobile terminal 40 autodyne, preview, download, share, purchase or print, can only provide single photo or video with traditional shooting service and compare, this application embodiment can provide photo and video simultaneously, contains the photo special effect in the video simultaneously, has more the practicality.
In order to execute the corresponding steps in the above embodiments and various possible implementations, an implementation of the smart camera is given below. Referring to fig. 9, fig. 9 is a block diagram illustrating an intelligent camera 100 according to an embodiment of the present disclosure. The smart camera 100 is applied to the server 30, and the smart camera 100 includes: the device comprises a receiving module 101, a first selecting module 102, a second selecting module 103, an obtaining module 104 and an executing module 105.
The receiving module 101 is configured to receive an original video uploaded by a first mobile terminal.
A first selecting module 102, configured to select at least one photo from an original video.
A second selecting module 103, configured to select at least one video segment from the original video.
The obtaining module 104 is configured to obtain a preset video composition template, where the video composition template includes at least one photo margin and at least one video margin.
And the execution module 105 is used for inserting at least one photo into at least one photo margin and inserting at least one video segment into at least one video margin based on the video synthesis template to obtain a clip video.
Optionally, the first selecting module 102 is specifically configured to: extracting video frames of an original video to obtain a plurality of video frames; scoring the quality of each video frame to obtain the score of each video frame; and selecting the video frames meeting the preset condition from the plurality of video frames based on the score of each video frame to obtain at least one photo.
Optionally, the second selecting module 103 is specifically configured to: and dividing the original video into at least one video segment according to a preset time interval.
Optionally, the module 105 is further configured to store the at least one photo to the reserved first storage address.
Optionally, the video synthesis template further includes a special effect display template, a file type, a duration and a frame rate corresponding to each photo margin;
the execution module 105 executes the manner of inserting the at least one photo into the at least one photo margin, which may include: obtaining a special effect display template, a file type, a duration and a frame rate corresponding to a target photo margin, wherein the target photo margin is any one of at least one photo margin; acquiring a target photo from a first storage address according to a file type corresponding to the target photo margin; calculating the number of photo frames corresponding to the target photo margin according to the duration and the frame rate corresponding to the target photo margin; copying the target photo to obtain the target photo with the number of photo frames; and processing the target photo with the photo frame number according to the special effect display template corresponding to the target photo margin, and inserting the processed target photo into the target photo margin.
Optionally, the special effect presentation template includes at least one of rotating, moving, zooming, and adding a picture frame.
Optionally, the executing module 105 is further configured to store the at least one video segment to the reserved second storage address.
Optionally, the video composition template further includes a file type, duration, and frame rate corresponding to each video margin;
the execution module 105 executes the manner of inserting the at least one video segment into the at least one video whitespace, which may include: acquiring a file type, duration and frame rate corresponding to a target video margin, wherein the target video margin is any one of at least one video margin; acquiring a target video clip from the second storage address according to the file type corresponding to the target video margin; calculating the number of video segment frames corresponding to the target video margin according to the duration and the frame rate corresponding to the target video margin; adjusting the frame number or frame rate of the target video clip according to the frame number of the video clip, so that the duration of the target video clip is equal to the duration of the target video margin; and inserting the adjusted target video segment into the target video margin.
Optionally, the execution module 105 is further configured to: carrying out face recognition on each photo to obtain face information corresponding to each photo; and storing each photo and the face information corresponding to each photo into a pre-established first database.
Optionally, the execution module 105 is further configured to: carrying out face recognition on the clipped video to obtain face information corresponding to the clipped video; and storing the clipped video and the face information corresponding to the clipped video in a pre-established second database.
Optionally, the execution module 105 is further configured to: receiving a search request sent by a second mobile terminal, wherein the search request comprises a face image of a target user; based on the face image, acquiring a photo of the target user from a first database and acquiring a clipped video of the target user from a second database; and sending the photo and the clip video of the target user to the second mobile terminal so that the target user can perform at least one of previewing, downloading, sharing, purchasing or printing on the photo and the clip video.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the intelligent shooting device 100 described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Referring to fig. 10, fig. 10 is a block diagram illustrating a server 30 according to an embodiment of the present disclosure. The server 30 includes a processor 31, a memory 32, and a bus 33, and the processor 31 is connected to the memory 32 via the bus 33.
The memory 32 is used for storing a program, such as the smart camera 100 shown in fig. 9, the smart camera 100 includes at least one software function module which can be stored in the memory 32 in the form of software or firmware (firmware) or is solidified in an Operating System (OS) of the server 30, and the processor 31 executes the program after receiving an execution instruction to implement the smart camera method disclosed in the above embodiment.
The Memory 32 may include a Random Access Memory (RAM) and may also include a non-volatile Memory (NVM).
The processor 31 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 31. The processor 31 may be a general-purpose processor, and includes a Central Processing Unit (CPU), a Micro Control Unit (MCU), a Complex Programmable Logic Device (CPLD), a Field Programmable Gate Array (FPGA), and an embedded ARM.
The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by the processor 31, the intelligent shooting method disclosed in the above embodiment is implemented.
To sum up, an intelligent shooting method, an intelligent shooting device, a server and a storage medium provided by the embodiments of the present application include: receiving an original video uploaded by a first mobile terminal; selecting at least one photo from an original video; selecting at least one video clip from an original video; acquiring a preset video synthesis template, wherein the video synthesis template comprises at least one photo margin and at least one video margin; and inserting at least one photo into the at least one photo margin and inserting at least one video segment into the at least one video margin based on the video synthesis template to obtain the clip video. Compared with the prior art, the method and the device can automatically complete screening, editing and manufacturing, do not need manual participation, are high in manufacturing efficiency and can guarantee manufacturing effect.
Although the present application is disclosed above, the present application is not limited thereto. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. The intelligent shooting method is applied to a server, the server is in communication connection with a first mobile terminal, and the intelligent shooting method comprises the following steps:
receiving an original video uploaded by the first mobile terminal;
selecting at least one photo from the original video;
selecting at least one video clip from the original video;
acquiring a preset video synthesis template, wherein the video synthesis template comprises at least one photo margin and at least one video margin;
and inserting the at least one photo into the at least one photo margin and inserting the at least one video segment into the at least one video margin based on the video composition template to obtain a clip video.
2. The intelligent photography method of claim 1, wherein the step of selecting at least one photograph from the original video comprises:
extracting video frames of the original video to obtain a plurality of video frames;
scoring the quality of each video frame to obtain the score of each video frame;
and selecting the video frames meeting preset conditions from the plurality of video frames based on the score of each video frame to obtain the at least one photo.
3. The smart camera method as claimed in claim 1, wherein after the step of selecting at least one photograph from the original video, the smart camera method further comprises:
and storing the at least one photo to the reserved first storage address.
4. The intelligent shooting method according to claim 3, wherein the video composition template further comprises a special effect presentation template, a file type, a duration, and a frame rate corresponding to each of the photo whiteouts;
the step of inserting the at least one photo into the at least one photo margin comprises:
obtaining a special effect display template, a file type, a duration and a frame rate corresponding to a target photo margin, wherein the target photo margin is any one of the at least one photo margin;
acquiring the target photo from the first storage address according to the file type corresponding to the target photo margin;
calculating the number of photo frames corresponding to the target photo margin according to the duration and the frame rate corresponding to the target photo margin;
copying the target photo to obtain the target photo with the photo frame number;
and processing the target photos with the number of the photo frames according to the special effect display template corresponding to the target photo margin, and inserting the processed target photos into the target photo margin.
5. The intelligent photography method of claim 4, wherein the special effects presentation template comprises at least one of rotating, moving, zooming, and adding a picture frame.
6. The smart camera method as claimed in claim 1, wherein the step of selecting at least one video clip from the original video comprises:
and according to a preset time interval, dividing the original video into at least one video segment.
7. The smart photographing method as claimed in claim 1, wherein after the step of selecting at least one video clip from the original video, the smart photographing method further comprises:
storing the at least one video segment to a reserved second storage address.
8. The intelligent shooting method of claim 7, wherein the video composition template further comprises a file type, duration, and frame rate for each of the video whiteouts;
the step of inserting the at least one video segment into the at least one video whitespace comprises:
acquiring a file type, duration and frame rate corresponding to a target video margin, wherein the target video margin is any one of the at least one video margin;
acquiring a target video clip from the second storage address according to the file type corresponding to the target video margin;
calculating the number of video segment frames corresponding to the target video margin according to the duration and the frame rate corresponding to the target video margin;
adjusting the frame number or the frame rate of the target video clip according to the video clip frame number to enable the duration of the target video clip to be equal to the target video blank duration;
and inserting the adjusted target video segment into the target video margin.
9. The smart camera method as claimed in claim 1, wherein after the step of selecting at least one photograph from the original video, the smart camera method further comprises:
carrying out face recognition on each photo to obtain face information corresponding to each photo;
and storing each photo and the face information corresponding to each photo into a pre-established first database.
10. The smart photographing method of claim 9, further comprising:
carrying out face recognition on the clipped video to obtain face information corresponding to the clipped video;
and storing the clipped video and the face information corresponding to the clipped video in a pre-established second database.
11. The smart photographing method of claim 10, wherein the server is further communicatively connected to a second mobile terminal, the smart photographing method further comprising:
receiving a search request sent by the second mobile terminal, wherein the search request comprises a face image of a target user;
based on the face image, acquiring a photo of the target user from the first database and acquiring a clipped video of the target user from the second database;
and sending the photo and the clip video of the target user to the second mobile terminal so that the target user can perform at least one of previewing, downloading, sharing, purchasing or printing on the photo and the clip video.
12. The intelligent shooting method according to claim 1, wherein the first mobile terminal is in communication connection with a handheld shooting device, and a video storage address is preset in the first mobile terminal and is used for storing a video file collected by the handheld shooting device;
the first mobile terminal uploads the original video in the following way:
monitoring whether the video storage address stores a new video file in real time;
and when the fact that the new video file is stored in the video storage address is monitored, the new video file is used as the original video and uploaded to the server.
13. The intelligent shooting method of claim 1, wherein the video composition template further comprises at least one template segment, a leader and a trailer, the at least one template segment, the at least one photo margin and the at least one video margin being disposed between the leader and the trailer;
the template fragment comprises at least one of a template video, a special effect picture and a subtitle;
the template video comprises at least one of a long-shot video of the amusement equipment and a high-altitude overhead video of the amusement park, which are shot in advance.
14. The utility model provides a device is shot to intelligence which characterized in that is applied to the server, the server with first mobile terminal communication connection, the device is shot to intelligence includes:
the receiving module is used for receiving the original video uploaded by the first mobile terminal;
the first selection module is used for selecting at least one photo from the original video;
the second selection module is used for selecting at least one video clip from the original video;
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a preset video synthesis template, and the video synthesis template comprises at least one photo margin and at least one video margin;
and the execution module is used for inserting the at least one photo into the at least one photo margin and inserting the at least one video segment into the at least one video margin based on the video synthesis template to obtain a clip video.
15. A server, characterized in that the server comprises:
one or more processors;
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the smart photography method of any of claims 1-13.
16. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the smart photographing method according to any one of claims 1 to 13.
CN202010421617.6A 2020-05-18 2020-05-18 Intelligent shooting method and device, server and storage medium Pending CN111654619A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010421617.6A CN111654619A (en) 2020-05-18 2020-05-18 Intelligent shooting method and device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010421617.6A CN111654619A (en) 2020-05-18 2020-05-18 Intelligent shooting method and device, server and storage medium

Publications (1)

Publication Number Publication Date
CN111654619A true CN111654619A (en) 2020-09-11

Family

ID=72350842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010421617.6A Pending CN111654619A (en) 2020-05-18 2020-05-18 Intelligent shooting method and device, server and storage medium

Country Status (1)

Country Link
CN (1) CN111654619A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862936A (en) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 Method, device, electronic equipment and storage medium for generating and publishing works
CN113518242A (en) * 2021-09-15 2021-10-19 秒影工场(北京)科技有限公司 Short video production method and device based on template shooting and automatic editing
CN113784058A (en) * 2021-09-09 2021-12-10 上海来日梦信息科技有限公司 Image generation method and device, storage medium and electronic equipment
CN114500826A (en) * 2021-12-09 2022-05-13 成都市喜爱科技有限公司 Intelligent shooting method and device and electronic equipment
WO2022214101A1 (en) * 2021-01-27 2022-10-13 北京字跳网络技术有限公司 Video generation method and apparatus, electronic device, and storage medium
WO2023241377A1 (en) * 2022-06-16 2023-12-21 北京字跳网络技术有限公司 Video data processing method and device, equipment, system, and storage medium
CN117615084A (en) * 2024-01-22 2024-02-27 南京爱照飞打影像科技有限公司 Video synthesis method and computer readable storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050052532A1 (en) * 2003-09-08 2005-03-10 David Elooz System and method for filming and recording attractions
CN105205063A (en) * 2014-06-14 2015-12-30 北京金山安全软件有限公司 Method and system for generating video by combining pictures
CN108174120A (en) * 2018-01-10 2018-06-15 合肥赢视信息技术有限公司 Video acquisition and processing system based on Internet of Things
CN108694737A (en) * 2018-05-14 2018-10-23 星视麒(北京)科技有限公司 The method and apparatus for making image
CN108898450A (en) * 2018-05-14 2018-11-27 星视麒(北京)科技有限公司 The method and apparatus for making image
CN110099286A (en) * 2019-04-26 2019-08-06 广东虎彩影像有限公司 A kind of processing system for video
CN110139149A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 A kind of video optimized method, apparatus, electronic equipment
CN110990607A (en) * 2019-11-25 2020-04-10 成都市喜爱科技有限公司 Game photo screening method, device, server and computer-readable storage medium
CN110996112A (en) * 2019-12-05 2020-04-10 成都市喜爱科技有限公司 Video editing method, device, server and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050052532A1 (en) * 2003-09-08 2005-03-10 David Elooz System and method for filming and recording attractions
CN105205063A (en) * 2014-06-14 2015-12-30 北京金山安全软件有限公司 Method and system for generating video by combining pictures
CN108174120A (en) * 2018-01-10 2018-06-15 合肥赢视信息技术有限公司 Video acquisition and processing system based on Internet of Things
CN108694737A (en) * 2018-05-14 2018-10-23 星视麒(北京)科技有限公司 The method and apparatus for making image
CN108898450A (en) * 2018-05-14 2018-11-27 星视麒(北京)科技有限公司 The method and apparatus for making image
CN110099286A (en) * 2019-04-26 2019-08-06 广东虎彩影像有限公司 A kind of processing system for video
CN110139149A (en) * 2019-06-21 2019-08-16 上海摩象网络科技有限公司 A kind of video optimized method, apparatus, electronic equipment
CN110990607A (en) * 2019-11-25 2020-04-10 成都市喜爱科技有限公司 Game photo screening method, device, server and computer-readable storage medium
CN110996112A (en) * 2019-12-05 2020-04-10 成都市喜爱科技有限公司 Video editing method, device, server and storage medium

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111862936A (en) * 2020-07-28 2020-10-30 游艺星际(北京)科技有限公司 Method, device, electronic equipment and storage medium for generating and publishing works
WO2022214101A1 (en) * 2021-01-27 2022-10-13 北京字跳网络技术有限公司 Video generation method and apparatus, electronic device, and storage medium
CN113784058A (en) * 2021-09-09 2021-12-10 上海来日梦信息科技有限公司 Image generation method and device, storage medium and electronic equipment
CN113518242A (en) * 2021-09-15 2021-10-19 秒影工场(北京)科技有限公司 Short video production method and device based on template shooting and automatic editing
CN113518242B (en) * 2021-09-15 2021-12-14 秒影工场(北京)科技有限公司 Short video production method and device based on template shooting and automatic editing
CN114500826A (en) * 2021-12-09 2022-05-13 成都市喜爱科技有限公司 Intelligent shooting method and device and electronic equipment
CN114500826B (en) * 2021-12-09 2023-06-27 成都市喜爱科技有限公司 Intelligent shooting method and device and electronic equipment
WO2023241377A1 (en) * 2022-06-16 2023-12-21 北京字跳网络技术有限公司 Video data processing method and device, equipment, system, and storage medium
CN117615084A (en) * 2024-01-22 2024-02-27 南京爱照飞打影像科技有限公司 Video synthesis method and computer readable storage medium
CN117615084B (en) * 2024-01-22 2024-03-29 南京爱照飞打影像科技有限公司 Video synthesis method and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN111654619A (en) Intelligent shooting method and device, server and storage medium
CN110602554B (en) Cover image determining method, device and equipment
CN107707931B (en) Method and device for generating interpretation data according to video data, method and device for synthesizing data and electronic equipment
US7606397B2 (en) Visual language classification system
US9224425B2 (en) Time stamped imagery assembly for course performance video replay
CN105320695B (en) Picture processing method and device
US20180025215A1 (en) Anonymous live image search
CN107168619B (en) User generated content processing method and device
EP1377045A3 (en) Content creation
CN104581380A (en) Information processing method and mobile terminal
CN105893412A (en) Image sharing method and apparatus
CN111209438A (en) Video processing method, device, equipment and computer storage medium
US9881086B2 (en) Image shooting device, image shooting method, and recording medium
CN111614899B (en) Customized video content generation method and system based on face recognition
CN114520877A (en) Video recording method and device and electronic equipment
JP2007249434A (en) Album preparation system, album preparation method, and program
CN108540817B (en) Video data processing method, device, server and computer readable storage medium
CN112422844A (en) Method, device and equipment for adding special effect in video and readable storage medium
CN111259198A (en) Management method and device for shot materials and electronic equipment
CN114173059B (en) Video editing system, method and device
US11581018B2 (en) Systems and methods for mixing different videos
US11615167B2 (en) Media creation system and method
CN115193039A (en) Interactive method, device and system of game scenarios
CN111556338B (en) Method for detecting region in video, method for information fusion, device and storage medium
CN109523941B (en) Indoor accompanying tour guide method and device based on cloud identification technology

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200911

RJ01 Rejection of invention patent application after publication