Video blog generation method and device, equipment and storage medium
Through image collection and AI technology in smart devices, video blogs that match the video image content are generated, which solves the problem of insufficient intelligence and content matching of video blog generation in the existing technology, and improves the effectiveness of information sharing and user experience. .
Patent Information
- Application Number
- CN202410703095.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-10-11
AI Technical Summary
Existing video blog generation technology lacks intelligence and content matching, resulting in inaccurate Vlog formats and affecting the accuracy of information sharing and user experience.
Video information is obtained through the image acquisition device in the smart device, and the convolutional neural network CNN algorithm model and artificial intelligence AI technology are used to generate blog element information that matches the video image content, including text and music, to form an accurate video blog.
It improves the intelligence and content matching of video blog generation, enhances the effectiveness and user experience of information sharing, and enables stable image information to be obtained without additional equipment.
Smart Images

Figure CN118764693A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart device technology, for example, to methods, devices, equipment and storage media for generating video blogs. Background Art
[0002] Video blogging is a form of online content creation. Through video blogging, you can share stories, opinions, insights, expertise, etc. with your target audience. It can be sharing personal information, industry information, business information, etc.
[0003] Currently, after users input the selected pictures or videos, they can perform image processing such as color correction, cropping, rotation, and scaling on the pictures, and then apply a fixed video blog Vlog template to generate the corresponding video. Users can directly determine the video as a Vlog for publishing, or perform some simple manual editing on the video before determining it as a Vlog for publishing. It can be seen that the process of generating Vlogs is not only time-consuming, but also different pictures or videos generate similar Vlog formats, which cannot accurately match the content of the pictures or videos, thus affecting the accuracy of sharing recommendations.
[0004] Moreover, with the rapid development of the national economy and the development of smart technology, TVs, refrigerators, air conditioners and other home appliances are equipped with cameras and have become smart devices that communicate and interact with users. These smart devices can also obtain bits and pieces of users' daily lives, but currently there is no way to generate corresponding Vlogs for sharing these life information obtained by smart devices.
[0005] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0007] The embodiments of the present disclosure provide a method, apparatus, device and storage medium for generating a video blog, so as to solve the technical problem that the intelligence and content matching of the generated video blog still need to be improved.
[0008] In some embodiments, the method comprises:
[0009] Obtain one or more image video information within the action area of the smart device through an image acquisition device in the smart device;
[0010] Generate a continuous first video according to the image video information through the saved convolutional neural network CNN video algorithm model;
[0011] Through artificial intelligence (AI) technology, blog element information matching the image of the first video is generated and added to the first video to obtain a corresponding video blog.
[0012] In some embodiments, it also includes:
[0013] Based on the image and video training samples, adversarial training is performed to generate and save the CNN video algorithm model.
[0014] In some embodiments, generating the continuous first video includes:
[0015] Performing image processing and data preprocessing on the image and video information to obtain image data information in a set format;
[0016] According to the image data information, a continuous sequence of video frames is generated through the saved CNN video algorithm model to form a continuous video.
[0017] In some embodiments, generating blog element information matching the image of the first video includes:
[0018] Extracting a feature vector of an image in a first video by using a pre-trained first CNN feature extraction model;
[0019] The first text element information matching the feature vector is generated through the corresponding recurrent neural network RNN model and the attention mechanism.
[0020] In some embodiments, generating blog element information matching the image of the first video includes:
[0021] Extracting set feature information of the image in the first video through a pre-trained second CNN feature extraction model, and mapping it to corresponding music feature information;
[0022] According to the music feature information, the corresponding first music sequence element information is generated through the set generation model.
[0023] In some embodiments, it also includes:
[0024] According to the facial information uploaded by the user terminal, the first video is subjected to person recognition to obtain corresponding first recognition information;
[0025] Using the pre-trained large scene model, scene recognition is performed on the first video to obtain corresponding second recognition information;
[0026] According to the first identification information and the second identification information, corresponding second text element information and second music sequence element information are generated.
[0027] In some embodiments, the apparatus comprises:
[0028] An acquisition module is configured to acquire current environmental data information within the action area of the smart device through a millimeter wave radar;
[0029] The first generating module is configured to generate a continuous first video according to the current image video information through a saved convolutional neural network (CNN) video algorithm model;
[0030] The second generation module is configured to generate blog element information matching the image of the first video through artificial intelligence (AI) technology, and add the blog element information to the first video to obtain a corresponding video blog.
[0031] In some embodiments, the apparatus for generating a video blog includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for generating a video blog when executing the program instructions.
[0032] In some embodiments, the device includes a device body; the above-mentioned apparatus for generating video blogs is installed in the device body.
[0033] In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the method for generating a video blog is executed.
[0034] The method, device and air conditioner for generating a video blog provided by the embodiments of the present disclosure can achieve the following technical effects:
[0035] Through the image acquisition device in the smart device, one or more image video information within the action area of the smart device is obtained, and then the corresponding video blog is generated through the convolutional neural network CNN algorithm model and AI technology. Since the image acquisition device in the smart device is used, not only there is no need to purchase additional equipment, but also stable image information can be obtained. Moreover, through the CNN algorithm and AI technology, a Vlog matching the video image content can be generated, which improves the intelligence and content matching of video blog generation, and also improves the effectiveness of information sharing and user experience.
[0036] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0038] Figure 1 It is a schematic diagram of an architecture for a video blog generation scenario provided by an embodiment of the present disclosure;
[0039] Figure 2 is a flow chart of a method for generating a video blog provided by an embodiment of the present disclosure;
[0040] Figure 3 is a flow chart of a method for generating a video blog provided by an embodiment of the present disclosure;
[0041] Figure 4 is a structural schematic diagram of a device for generating a video blog provided by an embodiment of the present disclosure;
[0042] Figure 5 is a structural schematic diagram of a device for generating a video blog provided by an embodiment of the present disclosure;
[0043] Figure 6 is a structural schematic diagram of a device for generating a video blog provided by an embodiment of the present disclosure;
[0044] Figure 7 It is a schematic diagram of a device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0045] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0046] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0047] Unless otherwise stated, the term "plurality" means two or more.
[0048] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0049] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0050] Smart devices such as televisions, refrigerators, and air conditioners are all equipped with image acquisition devices. For example, televisions are equipped with cameras that can be raised and lowered and rotated 360 degrees, and refrigerators and air conditioners are also equipped with cameras. In the disclosed embodiment, one or more image video information within the action area of the smart device is obtained through the image acquisition device in the smart device, and then the corresponding video blog is generated through the convolutional neural network CNN algorithm model and AI technology. Since the image acquisition device in the smart device is used, not only does it not need to purchase additional equipment, but stable image information can also be obtained. In addition, through the CNN algorithm and AI technology, a Vlog that matches the video image content can be generated, which improves the intelligence and content matching of the video blog generation, and also improves the effectiveness of information sharing and user experience.
[0051] Figure 1 The present disclosure provides a schematic diagram of an architecture for a video blog generation scenario. Figure 1 As shown, the scenario may include: a smart device 100 and a cloud server 200, wherein the smart device may be a refrigerator, a washing machine, an air conditioner, a television, and the like, and the smart device 100 is provided with an image acquisition device 110, and can also communicate data with the cloud server 200.
[0052] In some embodiments, the smart device 100 obtains one or more image video information within the active area of the smart device through the image acquisition device in the smart device, and performs corresponding data processing and calculation, and generates a corresponding video blog Vlog through convolutional neural network technology and AI technology.
[0053] Alternatively, in some embodiments, the image acquisition device in the smart device 100 acquires one or more image and video information within the active area of the smart device and sends it to the cloud server 200. Thus, the cloud server 200 performs corresponding data processing and calculation based on the image and video information, and generates a corresponding video blog Vlog through convolutional neural network technology and AI technology.
[0054] It can be seen that smart devices or cloud servers can generate Vlogs. In addition, users can obtain Vlogs for information sharing and application. Figure 1As shown, the video blog generation scenario may also include a user terminal 300, which can communicate with the smart device 100, or with the cloud server 200, or with the smart device 100 and the cloud server 200 respectively.
[0055] Among them, the user terminal 300 can obtain the Vlog generated by the smart device 100 or the cloud server 200, so as to share and apply the Vlog, or the user can perform secondary editing on the Vlog through the user terminal 300 and then share and apply it.
[0056] Figure 2 FIG. 1 is a flow chart of a method for generating a video blog provided by an embodiment of the present disclosure. The device is provided with an image acquisition device, such as Figure 2 As shown, the process of video blog generation includes:
[0057] Step 201: Obtain one or more image video information within the action area of the smart device through the image acquisition device in the smart device.
[0058] With the rapid development of the national economy and the development of intelligent technology, home appliances such as televisions, refrigerators, and air conditioners are equipped with image acquisition devices. For example, televisions are equipped with cameras that can be raised and lowered and rotated 360 degrees, and refrigerators and air conditioners are also equipped with cameras. In some embodiments, the image acquisition device is controllable, and when certain trigger conditions are met, the image acquisition device can perform image acquisition, so that the smart device can obtain one or more image video information within the action area of the smart device through the image acquisition device.
[0059] The smart device may pre-configure the triggering conditions of the image acquisition device, or the user terminal may configure the triggering conditions of the image acquisition device, wherein the triggering conditions may include: setting a time period, setting a date, setting an application scenario, etc. For example, when the set date of a family member's birthday arrives, it can be determined that the triggering conditions are met, so that the image acquisition device can perform corresponding image acquisition. Of course, the user can also manually trigger it, or send a collection instruction through the user terminal, so that the image acquisition device performs image acquisition.
[0060] In this way, the smart device can obtain one or more image video information within the action area of the smart device through the image acquisition device, or the smart device sends one or more image video information acquired by the image acquisition device to the cloud server, so that the cloud server obtains one or more image video information within the action area of the smart device.
[0061] Step 202: Generate a continuous first video based on the image video information through a saved convolutional neural network (CNN) video algorithm model.
[0062] In the embodiments of the present disclosure, a Vlog corresponding to the image and video information is generated through deep learning and artificial intelligence technology. Therefore, in some embodiments, the image and video information must first be subjected to image processing and data preprocessing to obtain image data information that matches a convolutional neural network (CNN) algorithm model, and then the image data information is input into a saved CNN video algorithm model to obtain a corresponding video, that is, generating a continuous first video includes: performing image processing and data preprocessing on the image and video information to obtain image data information in a set format; and generating a continuous video frame sequence according to the image data information through the saved CNN video algorithm model to form a continuous video.
[0063] After the smart device or cloud server obtains one or more image video information, it is necessary to perform image processing and data preprocessing on the images in the image video information. In particular, the images can be simply screened based on factors such as whether the images are blurry or repeated, and then the screened images are adjusted to a uniform size to ensure consistency between batch processing and model input. The pixel values of the images after the uniform size are then normalized, usually mapping the pixel values from the range of 0-255 to between 0-1, or performing zero mean and unit variance. For example, the normalization process can be performed using formula (1).
[0064] x'=(xu) / σ (1)
[0065] Among them, x is the original pixel value, u is the mean, σ is the standard deviation, and x' is the normalized pixel value.
[0066] In order to increase the diversity of the data set, in some embodiments, various image change processing can be performed on the image, such as rotation, translation, scaling, shearing, flipping and color dithering. Filtering techniques (such as Gaussian filtering, median filtering, etc.) can be used to reduce the noise in the image. And, converting color images into grayscale images, etc. In this way, according to the application requirements of Vlog, the image in the image video information can be normalized to a specific range. Finally, the image data after normalization and image change processing is converted into image data information in the format required by the CNN video algorithm model, and ensure that the channel order of the image meets the requirements of the CNN video algorithm model.
[0067] It can be seen that in some embodiments, the set format can be a format that matches the CNN video algorithm model. In this way, after obtaining the image data information in the set format, the image data information can be input into the saved CNN video algorithm model to generate a continuous video frame sequence and form a continuous video. Therefore, after generating the continuous first video, it also includes: performing adversarial training based on the image video training sample, generating and saving the CNN video algorithm model.
[0068] Generative Adversarial Networks (GAN) is a deep learning model. The model produces fairly good output through the mutual game learning of (at least) two modules in the framework: the generative model and the discriminative model. Among them, the generative model uses a convolutional neural network (CNN) to generate video sequences and maintains inter-frame consistency through a temporal convolution layer. The structure can be: input layer, convolution layer, deconvolution layer, output layer; discriminator. The discriminative model uses a 3D convolutional neural network to distinguish between real videos and generated videos. The deep learning model training process may include: based on image video training samples, through adversarial training, the generative model gradually learns to generate more realistic video sequences.
[0069] Therefore, GAN can be used in smart devices or cloud servers to generate and save CNN video algorithm models. Then, the image video information is input into the CNN video algorithm model to generate a continuous sequence of video frames and form a continuous video, remembering the first video.
[0070] Step 203: Generate blog element information that matches the image of the first video through artificial intelligence (AI) technology, and add it to the first video to obtain a corresponding video blog.
[0071] Vlogs are not just videos, they can also contain some attractive elements, which are conducive to the viewing of blogs and the dissemination and sharing of information. These blog elements include: opening remarks, titles, poems and other text elements, as well as music or sound sequence elements such as soundtracks, sound effects, special effects, transitions, etc.
[0072] In some embodiments, generating blog element information that matches the image of the first video includes: extracting a feature vector of the image in the first video through a pre-trained first CNN feature extraction model; generating first text element information that matches the feature vector through a corresponding recurrent neural network RNN model and an attention mechanism.
[0073] That is, the text can be generated from the image in the first video. The encoder-decoder architecture can be used. The encoder uses a pre-trained CNN (such as ResNet, Inception, etc.) to extract the feature vector of the image in the first video, that is, the first CNN feature extraction model can be a ResNet, Inception, etc. model. The decoder uses a recurrent neural network RNN (such as LSTM, GRU) to generate the corresponding descriptive text, that is, the first text element information. In order to better capture the details of different areas in the image, the attention mechanism is also introduced in the process of generating text from images. The attention mechanism allows the model to dynamically focus on different parts of the image when generating each word, improving the accuracy and detail of the generated text.
[0074] In some embodiments, generating blog element information that matches the image of the first video includes: extracting set feature information of the image in the first video through a pre-trained second CNN feature extraction model, and mapping it to corresponding music feature information; based on the music feature information, generating corresponding first music sequence element information through a set generation model.
[0075] That is, based on the image-generated music in the first video, a convolutional neural network (CNN) and other models, that is, a pre-trained second CNN feature extraction model, can be used to extract high-level feature information of the image, that is, the set feature information; then feature mapping is performed, that is, the set feature information of the image is mapped to the music feature information, such as pitch, rhythm, timbre, etc.; finally, a set generation model (such as RNN, Transformer, etc.) can be used to generate a music sequence according to the mapped music feature information, that is, the first music sequence element information.
[0076] Thus, by adding the first music sequence element information to the first video, a video blog Vlog with the collected image and video information can be obtained.
[0077] Of course, in some embodiments, in order to make the generated vlog more heartwarming or richer and fuller, the character recognition in the first video can be performed based on the facial information uploaded by the user terminal to obtain the corresponding first recognition information; the scene recognition in the first video can be performed through the pre-trained scene model to obtain the corresponding second recognition information; and the corresponding second text element information and second music sequence element information can be generated based on the first recognition information and the second recognition information.
[0078] By communicating with the user terminal, the user's facial information on the user terminal is obtained, such as the facial information of the father, mother, or child in the family. In this way, the first video can be identified and the corresponding first identification information can be obtained. In addition, the CNN convolutional neural network framework has been used to train and generate a large scene model through a large amount of scene sample information. In this way, the first video is identified through the large scene model to obtain the corresponding second identification information, including: scenes, objects, pets, TV series, etc., and then the warm text and soundtrack are generated according to the two parts of the recognition results, namely the first identification information and the second identification information. For example, "On #th, #th, 2024, Dad and Mom watched "****" with red wine. It was a happy day~", where the special date can also be configured according to the trigger conditions of the image acquisition device. In this way, the marked date in the collected image video information and the corresponding event of the date, and some special elements in the first video map the user's viewing content and shooting time to generate exclusive text.
[0079] It can be seen that in the embodiments of the present disclosure, one or more image video information within the action area of the smart device is obtained through the image acquisition device in the smart device, and then the corresponding video blog is generated through the convolutional neural network CNN algorithm model and AI technology. Since the image acquisition device in the smart device is used, not only is there no need to purchase additional equipment, but stable image information can also be obtained. Moreover, through the CNN algorithm and AI technology, a Vlog matching the video image content can be generated, which improves the intelligence and content matching of the video blog generation, improves the effectiveness of information sharing, and improves the efficiency and breadth of information dissemination.
[0080] After the smart device or cloud server generates a Vlog, it can be sent to the user terminal, or the user can manually export the generated Vlog from the smart device or cloud server through the user terminal, so that the user terminal can obtain and save the Vlog. Of course, the user can share the Vlog, for example: post it to Moments, or share it on some video dissemination websites, etc. In some embodiments, the user can edit the Vlog again through the user terminal and then share it. In this way, the content matching of the video blog is further improved, and the effectiveness of information sharing and user experience are also improved.
[0081] The operation flow is collected into a specific embodiment below to illustrate the video blog generation process provided by the embodiment of the present invention.
[0082] In one embodiment of the present disclosure, Figure 1As shown, the cloud server, TV, and user terminal can communicate with each other, and the TV is equipped with a camera that can be raised and lowered and rotated 360 degrees, so that the user terminal can configure the acquisition trigger conditions of the camera in the TV. The cloud server has trained and saved the video generation GAN model, ResNet model, LSTM model, second CNN feature extraction model, and RNN generation model.
[0083] Figure 3 FIG. 1 is a flow chart of a method for generating a video blog provided by an embodiment of the present disclosure. Figure 3 As shown, the video blog generation process includes:
[0084] Step 301: When the camera acquisition triggering condition is met, the cloud server obtains one or more image video information collected by the TV through the camera.
[0085] Step 302: The cloud server performs image processing and data preprocessing on the image video information to obtain image data information that matches the video generation GAN model.
[0086] Among them, image processing and data preprocessing include: image selection, size unification, pixel value normalization, and one or more of rotation, translation, scaling, shearing, flipping and color dithering.
[0087] Step 303: The cloud server generates a GAN model based on the image data information and the saved video, generates a continuous video frame sequence, and forms a continuous first video.
[0088] Step 304: The cloud server adopts an encoder-decoder architecture, the encoder uses a pre-trained ResNet model to extract the feature vector of the first video image, and the decoder uses an LSTM model and an attention mechanism to generate the first text element information that matches the feature vector.
[0089] Step 305: The cloud server extracts the set feature information of the image in the first video through the pre-trained second CNN feature extraction model, and maps it to the corresponding music feature information, and generates the corresponding first music sequence element information according to the music feature information through the RNN generation model.
[0090] The order of steps 304 and 305 is not limited and they can also be performed simultaneously.
[0091] Step 306: The cloud server adds the first text element information and the first music sequence element information to the first video to generate a corresponding video blog Vlog.
[0092] Step 307: The cloud server sends the Vlog to the user terminal.
[0093] Step 308: When the user is satisfied with the Vlog, the user terminal exports the Vlog for sharing.
[0094] Step 309: When the user is satisfied with the Vlog, the user terminal performs secondary editing on the Vlog and then shares it.
[0095] It can be seen that in this embodiment, the image and video information for making Vlog is obtained through the camera configured on the TV. In this way, there is no need to purchase additional professional or high-end cameras, sports cameras, etc., which can reduce the hardware investment cost. In addition, TV cameras are usually designed to be plug-and-play and seamlessly integrated with the TV system without complex installation settings or additional hardware accessories. Users can quickly start shooting, saving equipment preparation and debugging time. TV cameras are usually suitable for indoor environments, especially for recording home life, parent-child interaction, cooking tutorials, game live broadcasts, online meetings and other content. For those Vlog creation users who mainly use indoor scenes, TV cameras provide a stable and convenient shooting solution. At the same time, TV cameras are generally fixed on the top of the TV or installed in a suitable position through a bracket. Compared with handheld device shooting, they can provide a more stable picture, reduce the shaking of the picture caused by hand shaking, and improve the viewing experience. In addition, many TV cameras are equipped with built-in microphones or provide audio input interfaces, which can capture clear voice or connect external microphones, simplify the audio acquisition link, and help improve the audio quality of Vlog. Of course, after the cloud server obtains one or more image and video information, it can generate the corresponding video blog through the convolutional neural network CNN algorithm model and AI technology, that is, through the CNN algorithm and AI technology, it can generate a Vlog that matches the video image content, which improves the intelligence and content matching of the video blog generation, and also improves the effectiveness of information sharing and user experience. Users can also configure the trigger conditions for image acquisition and perform secondary editing on the generated Vlog, which increases the creative opportunities for users and further improves the user experience and fun.
[0096] According to the above process for generating a video blog, a device for generating a video blog can be constructed.
[0097] Figure 4 FIG. 1 is a schematic diagram of a structure of a video blog generating device provided by an embodiment of the present disclosure. Figure 4 As shown, the video blog generating device 400 can be applied to a smart device or a cloud service, and includes: an acquisition module 410 , a first generating module 420 and a second generating module 430 .
[0098] The acquisition module 410 is configured to acquire current environmental data information within the operating area of the smart device through the millimeter wave radar.
[0099] The first generation module 420 is configured to generate a continuous first video according to the image video information through a saved convolutional neural network (CNN) video algorithm model.
[0100] The second generation module 430 is configured to generate blog element information matching the image of the first video through artificial intelligence (AI) technology, and add the blog element information to the first video to obtain a corresponding video blog.
[0101] In some embodiments, it also includes:
[0102] The training and saving module is configured to perform adversarial training based on image and video training samples, and generate and save the CNN video algorithm model.
[0103] In some embodiments, the first generation module 420 is configured to perform image processing and data preprocessing on image video information to obtain image data information in a set format; based on the image data information, a continuous video frame sequence is generated through a saved CNN video algorithm model to form a continuous video.
[0104] In some embodiments, the second generation module 430 includes:
[0105] The text generation unit is configured to extract a feature vector of an image in a first video through a pre-trained first CNN feature extraction model; and generate first text element information matching the feature vector through a corresponding recurrent neural network RNN model and an attention mechanism.
[0106] In some embodiments, the second generation module 430 includes:
[0107] The music generation unit is configured to extract set feature information of the image in the first video through a pre-trained second CNN feature extraction model, and map it to corresponding music feature information; based on the music feature information, generate corresponding first music sequence element information through a set generation model.
[0108] In some embodiments, it also includes:
[0109] The third generation module is configured to perform character recognition on the first video according to the facial information uploaded by the user terminal to obtain corresponding first recognition information; perform scene recognition on the first video through a pre-trained scene model to obtain corresponding second recognition information; and generate corresponding second text element information and second music sequence element information according to the first recognition information and the second recognition information.
[0110] The video blog generation process used in the video blog generation device is further described below in conjunction with the embodiments.
[0111] In this embodiment, Figure 1 As shown, the cloud server, TV, and user terminal can communicate with each other, and the TV is equipped with a camera that can be raised and lowered and rotated 360 degrees, so that the user terminal can configure the acquisition trigger conditions of the camera in the TV.
[0112] Figure 5 FIG. 1 is a schematic diagram of a structure of a video blog generating device provided by an embodiment of the present disclosure. Figure 5 As shown, the video blog generation device 400 is applied to a cloud server, and includes: an acquisition module 410, a first generation module 420, a second generation module 430, a training and storage module 440, and a third generation module 450. In addition, the second generation module 430 includes: a text generation unit 431 and a music generation unit 432.
[0113] In this embodiment, the training and saving module 440 can generate and save the video generation GAN model, ResNet model, LSTM model, second CNN feature extraction model, RNN generation model, and scenario large model through corresponding sample information and training.
[0114] Thus, when the camera acquisition trigger condition is met, the acquisition module 410 acquires one or more image video information acquired by the TV through the camera. In this way, the first generation module 420 performs image processing and data preprocessing on the image video information, and after obtaining image data information matching the video generation GAN model, a continuous video frame sequence can be generated through the saved video generation GAN model to form a continuous first video.
[0115] In this way, the text generation unit 431 in the second generation module 430 can adopt an encoder-decoder architecture, wherein the encoder uses a pre-trained ResNet model to extract the feature vector of the first video image, and the decoder uses an LSTM model and adopts an attention mechanism to generate the first text element information that matches the feature vector. The music generation unit 432 can extract the set feature information of the image in the first video through the pre-trained second CNN feature extraction model, and map it to the corresponding music feature information, and generate the corresponding first music sequence element information according to the music feature information through the RNN generation model. Thus, the second generation module 430 can add the first text element information and the first music sequence element information to the first video to generate the corresponding video blog Vlog.
[0116] Alternatively, the third generation module 430 can obtain the face information uploaded by the user terminal, perform character recognition on the first video, and obtain the corresponding first recognition information; perform scene recognition on the first video through the pre-trained scene model to obtain the corresponding second recognition information; and generate the corresponding second text element information and second music sequence element information according to the first recognition information and the second recognition information. Similarly, the second generation module 430 can add the second text element information and the second music sequence element information to the first video to generate the corresponding video blog Vlog.
[0117] It can be seen that in this embodiment, the device for generating a video blog obtains one or more image video information within the TV action area through the image acquisition device in the TV, and then generates a corresponding video blog through the convolutional neural network CNN algorithm model and AI technology. Since the image acquisition device in the TV is used, not only is there no need to purchase additional equipment, but stable image information can also be obtained. Moreover, through the CNN algorithm and AI technology, a Vlog that matches the video image content can be generated, which improves the intelligence and content matching of video blog generation, and also improves the effectiveness of information sharing and user experience.
[0118] Combination Figure 6 The embodiment of the present disclosure provides a device 600 for generating a video blog, including:
[0119] The processor 1000 and the memory 1001 may also include a communication interface 1002 and a bus 1003. The processor 1000, the communication interface 1002, and the memory 1001 may communicate with each other through the bus 1003. The communication interface 1002 may be used for information transmission. The processor 1000 may call the logic instructions in the memory 1001 to execute the method for generating a video blog in the above embodiment.
[0120] In addition, the logic instructions in the above-mentioned memory 1001 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0121] The memory 1001 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 1000 executes the function application and data processing by running the program instructions / modules stored in the memory 1001, that is, the method for generating a video blog in the above method embodiment is implemented.
[0122] The memory 1001 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 1001 may include a high-speed random access memory and may also include a non-volatile memory.
[0123] An embodiment of the present disclosure provides a device for generating a video blog, including: a processor and a memory storing program instructions, wherein the processor is configured to execute a method for generating a video blog when executing the program instructions.
[0124] Combination Figure 7 , the embodiment of the present disclosure provides a device 700, which can be a smart device or a cloud server, including: a device body, and the above-mentioned device 400 (600) for generating a video blog. The device 400 (600) for generating a video blog is installed on the device body. The installation relationship described here is not limited to placement inside the product, but also includes installation connections with other components of the product, including but not limited to physical connections, electrical connections, or signal transmission connections. It can be understood by those skilled in the art that the device 400 (600) for generating a video blog can be adapted to a feasible device body, thereby realizing other feasible embodiments.
[0125] An embodiment of the present disclosure provides a storage medium storing program instructions, which, when run, execute the above-mentioned method for generating a video blog.
[0126] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the above-mentioned method for generating a video blog.
[0127] The above-mentioned storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0128] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0129] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, individual components and functions are optional, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims, and all available equivalents of the claims. When used in this application, although the terms "first", "second", etc. may be used in this application to describe each element, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, the first element can be called the second element, and similarly, the second element can be called the first element, as long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first element and the second element are both elements, but may not be the same element. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms "a", "an" and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0130] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0131] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0132] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for generating a video blog, characterized in that: include: Obtain one or more image video information within the action area of the smart device through an image acquisition device in the smart device; According to the image video information, a continuous first video is generated through a saved convolutional neural network (CNN) video algorithm model; Through artificial intelligence (AI) technology, blog element information matching the image of the first video is generated and added to the first video to obtain a corresponding video blog.
2. The method according to claim 1, characterized in that Also includes: Based on the image and video training samples, adversarial training is performed to generate and save the CNN video algorithm model.
3. The method according to claim 1, characterized in that Generating a continuous first video comprises: Performing image processing and data preprocessing on the image and video information to obtain image data information in a set format; According to the image data information, a continuous sequence of video frames is generated through the saved CNN video algorithm model to form a continuous video.
4. The method according to claim 1, characterized in that: The generating of blog element information matching the image of the first video includes: Extracting a feature vector of an image in a first video by using a pre-trained first CNN feature extraction model; The first text element information matching the feature vector is generated through the corresponding recurrent neural network RNN model and the attention mechanism.
5. The method according to claim 1, characterized in that The generating of blog element information matching the image of the first video includes: Extracting set feature information of the image in the first video through a pre-trained second CNN feature extraction model, and mapping it to corresponding music feature information; According to the music feature information, the corresponding first music sequence element information is generated through the set generation model.
6. The method according to any one of claims 1 to 5, characterized in that: Also includes: According to the facial information uploaded by the user terminal, the first video is subjected to character recognition to obtain corresponding first recognition information; Using the pre-trained large scene model, the scene recognition is performed on the first video to obtain corresponding second recognition information; According to the first identification information and the second identification information, corresponding second text element information and second music sequence element information are generated.
7. A device for generating a video blog, characterized in that: include: An acquisition module is configured to acquire current environmental data information within the action area of the smart device through a millimeter wave radar; The first generating module is configured to generate a continuous first video according to the image video information through a saved convolutional neural network (CNN) video algorithm model; The second generation module is configured to generate blog element information matching the image of the first video through artificial intelligence (AI) technology, and add the blog element information to the first video to obtain a corresponding video blog.
8. A device for generating a video blog, the device comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to perform the method for generating a video blog as claimed in any one of claims 1 to 6 when executing the program instructions.
9. A device, characterized in that: include: Equipment body; The apparatus for generating a video blog as described in claim 7 or 8 is installed on the device body.
10. A storage medium storing program instructions, characterized in that: When the program instructions are executed, the method for generating a video blog as described in any one of claims 1 to 6 is executed.
Citation Information
Cited By
VLOG video acquisition method and device, equipment and storage medium
CN119922352A
Pet neck-hanging camera Vlog generation method, device, equipment and medium
CN121334466A
