Method and device for generating dynamic television wallpaper, computer equipment and storage medium
By analyzing and image processing of photos uploaded by users and adding dynamic effects, the problem of single still photos display in smart TVs is solved, and the generation of dynamic TV wallpapers is realized, and the user experience is improved.
Patent Information
- Application Number
- CN202411202050.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-13
AI Technical Summary
Existing smart TVs only support still photos as screensavers, and lack dynamic display functions, resulting in insufficient user experience.
By receiving photos uploaded by users, you can analyze and process content and image, add dynamic wallpaper effects, and dynamically pan based on the angles of animals and plants in the photos to create dynamic TV wallpapers.
It improves the user's TV experience, makes the photos liven up, and increases the fun and interactive viewing.
Smart Images

Figure CN119135974A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the fields of video encoding and decoding and picture encoding, and in particular to a method, device, computer equipment and storage medium for generating dynamic television wallpaper. Background Art
[0002] Most current smart TVs only support users uploading one or more photos as screen savers, but the uploaded photos only have the function of statically displaying the uploaded photos, and the function of displaying photos is relatively simple. Therefore, there is an urgent need for a method that can generate dynamic TV wallpapers from photos uploaded by users to improve the user's TV experience. Summary of the invention
[0003] The embodiments of the present invention provide a method, an apparatus, a computer device and a storage medium for generating dynamic TV wallpapers, so as to solve the problem of generating dynamic TV wallpapers by using photos uploaded by users.
[0004] A first aspect of the present invention provides a method for generating a dynamic TV wallpaper, comprising:
[0005] Receive photos uploaded by users to the TV, and perform photo content analysis and image processing;
[0006] According to the analysis result of the uploaded photo, a dynamic wallpaper effect is added, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0007] Create a dynamic wallpaper on the TV based on the effect of the acquired dynamic wallpaper.
[0008] A second aspect of the present invention provides a device for generating dynamic television wallpaper, comprising:
[0009] The receiving module is used to receive photos uploaded by users to the TV terminal and perform photo content analysis and image processing;
[0010] An analysis module, used for adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0011] The output module is used to create a dynamic wallpaper on the TV side according to the effect of the acquired dynamic wallpaper.
[0012] Optionally, a device for generating dynamic TV wallpaper further includes:
[0013] A first processing submodule is used to set dynamic display parameters based on the image processed photos;
[0014] The second processing submodule is used to add a dynamic wallpaper effect based on the set dynamic display parameters.
[0015] A third aspect of the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned method for generating dynamic TV wallpaper when executing the computer program.
[0016] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating dynamic television wallpaper is implemented.
[0017] The above-mentioned method, device, computer equipment and storage medium for generating dynamic TV wallpaper are used to receive photos uploaded by users to the TV side, and perform photo content analysis and image processing; according to the analysis results of the uploaded photos, add dynamic wallpaper effects, wherein the dynamic wallpaper effects are added based on the dynamic translation of animals and plants in the image-processed photos according to the angle of the photos; according to the obtained dynamic wallpaper effects, create dynamic wallpapers on the TV side. This application generates new pictures based on existing photos and sets the new pictures as dynamic wallpapers, so that the photos move slowly, which increases the user experience of watching TV. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0019] Figure 1 is a schematic diagram of an application environment of a method for generating dynamic TV wallpaper in one embodiment of the present invention;
[0020] Figure 2 is a flow chart of a method for generating dynamic TV wallpaper in one embodiment of the present invention;
[0021] Figure 3 is a schematic diagram of a device for generating dynamic TV wallpaper in one embodiment of the present invention;
[0022] Figure 4 is a schematic diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION
[0023] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0024] The method for generating a dynamic TV wallpaper provided by the embodiment of the present invention can be applied as follows: Figure 1 Specifically, the method for generating dynamic TV wallpaper is applied in a system for generating dynamic TV wallpaper, and the system for generating dynamic TV wallpaper includes: Figure 1 The client and server shown in the figure communicate with each other through the network to realize the generation of dynamic TV wallpaper using photos uploaded by users. Among them, the client is also called the user end, which refers to the program corresponding to the server and provides local services to customers. The client can be installed on but not limited to smart TVs, various personal computers, laptops, smart phones, tablets and portable wearable devices. The server can be implemented as an independent server or a server cluster composed of multiple servers.
[0025] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0026] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0027] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0028] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0029] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0030] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0031] In order to illustrate the technical solution of the present invention, specific embodiments are provided below for illustration.
[0032] In one embodiment, if Figure 2 As shown, a method for generating dynamic TV wallpaper is provided, and the method is applied in Figure 2 The following steps are used as an example:
[0033] S10: receiving photos uploaded by users to the TV terminal, and performing photo content analysis and image processing;
[0034] S20: adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the adding of the dynamic wallpaper effect is based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0035] S30: Creating a dynamic wallpaper on the TV side according to the obtained dynamic wallpaper effect.
[0036] Specifically, users can upload photos that they want to generate wallpapers through the mini-program on the TV. After uploading the photos to the TV, the content of the photos is analyzed and image processed, that is, the pictures are appropriately filled according to the animals and plants that appear in the photos. For example, if there is a little boy running in the photo, butterflies will be added where the little boy can see, making the little boy look like he is running after butterflies. After the uploaded photos are processed, dynamic effects are added to the images. For example, if there is a little boy running in the photo, there is a running effect; if there are flowers in the photo, the flowers have the effect of swaying in the wind. Animals and plants can add dynamic effects according to the direction of movement, and the generated dynamic effects can be previewed on the TV. After the user is satisfied with the set dynamic effects, the TV confirms the creation of the dynamic wallpaper.
[0037] In one embodiment, a method for generating dynamic TV wallpaper is provided. In step S10, a photo uploaded by a user to a TV terminal is received, and photo content analysis and image processing are performed, including the following steps:
[0038] S11: After the user uploads a photo on the TV side, the type of the uploaded photo is determined according to the uploaded photo;
[0039] S12: Performing image processing on the uploaded photo according to the type of the uploaded photo.
[0040] Specifically, after the user uploads a photo through a mini program, Bluetooth, or other image transmission tools, it is necessary to determine the elements, people, plants, animals, etc. contained in the photo, and based on the determined photo content, add appropriate extended content to the people, plants, and animals in the photo to generate an expanded picture. Alternatively, after the user uploads a photo, the user's photo is horizontally expanded through artificial intelligence technology, that is, its edge position is expanded outward, and subsequent content is automatically drawn. For example: if the user uploads a photo of 1920X 1080, it will be expanded to a 5000X 1080 picture, and the photo after the expansion processing will be displayed to the user, so that the user confirms whether to generate a dynamic wallpaper based on the photo after image processing. For example: in the image processing, there is a child running in front of the grass, and pigeons in the air and flowers in the distance can appear, making the original photo not only a photo, but more like a scroll painting that can be infinitely expanded. The examples in this application are for illustration only and are not limited in any way.
[0041] In one embodiment, a method for generating dynamic TV wallpaper is provided. In step S10, a photo uploaded by a user to a TV terminal is received, and photo content analysis and image processing are performed, which includes the following steps:
[0042] S13: Create an image processing template, and train the created image processing template according to the neural convolutional network.
[0043] Specifically, before processing the uploaded photos, it is necessary to create an image processing template, which is used to expand the uploaded photos. The created template needs to extract features of different people, plants, and animals, such as extracting the outline or features of the people in the picture, and inputting the outline of the person into the neural network, dividing the outline or features of the person into blocks and calculating the features, expanding the uploaded photos according to the features of the person, and generating dynamic TV wallpapers based on the expanded photos.
[0044] In one embodiment, a method for generating dynamic TV wallpaper is provided. In step S20, a dynamic wallpaper effect is added according to the analysis result of the uploaded photo, comprising the following steps:
[0045] S21: Setting dynamic display parameters based on the image processed photos;
[0046] S22: Adding a dynamic wallpaper effect based on the set dynamic display parameters.
[0047] Specifically, based on the photos that have been processed after uploading, dynamic display parameters are set, and the dynamic display parameters include the movement trajectory, movement direction, and movement amplitude of the people, plants, and animals in the photos. The movement trajectory is to statically cut the photos according to the people, plants, and animals in the photos. If the movement direction of the photos is horizontal, the photo width is cut, and the horizontal dynamic movement trajectory and movement amplitude are calculated according to the characteristics of the cut photos. If the people, plants, and animals in the photos are vertically moving, the photo height is cut, and the vertical dynamic movement trajectory and amplitude are calculated according to the characteristics of the cut photos. The movement direction is whether the people, plants, and animals in the photos are horizontally moving or vertically moving, the horizontal movement is to the right or to the left, and the vertical movement is to move up or down. The movement amplitude is the movement range in the photo, and the movement trajectory is the movement route calculated according to the direction and amplitude of the movement. Different dynamic display parameters are set based on different photos, so that each photo can show different dynamic effects and increase the user's viewing experience.
[0048] The above-mentioned method, device, computer equipment and storage medium for generating dynamic TV wallpaper are used to receive photos uploaded by users to the TV side, and perform photo content analysis and image processing; according to the analysis results of the uploaded photos, add dynamic wallpaper effects, wherein the dynamic wallpaper effects are added based on the dynamic translation of animals and plants in the image-processed photos according to the angle of the photos; according to the obtained dynamic wallpaper effects, create dynamic wallpapers on the TV side. This application generates new pictures based on existing photos and sets the new pictures as dynamic wallpapers, so that the photos move slowly, which increases the user experience of watching TV.
[0049] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0050] In one embodiment, a device for generating dynamic TV wallpaper is provided, and the device for generating dynamic TV wallpaper corresponds to the method for generating dynamic TV wallpaper in the above embodiment. Figure 3 As shown, the device for generating dynamic TV wallpaper includes a receiving module, an analyzing module and an output module. The detailed description of each functional module is as follows:
[0051] The receiving module is used to receive photos uploaded by users to the TV terminal and perform photo content analysis and image processing;
[0052] An analysis module, used for adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0053] The output module is used to create a dynamic wallpaper on the TV side according to the effect of the acquired dynamic wallpaper.
[0054] Specifically, users can upload photos that they want to generate wallpapers through the mini-program on the TV. After uploading the photos to the TV, the content of the photos is analyzed and image processed, that is, the pictures are appropriately filled according to the animals and plants that appear in the photos. For example, if there is a little boy running in the photo, butterflies will be added where the little boy can see, making the little boy look like he is running after butterflies. After the uploaded photos are processed, dynamic effects are added to the images. For example, if there is a little boy running in the photo, there is a running effect; if there are flowers in the photo, the flowers have the effect of swaying in the wind. Animals and plants can add dynamic effects according to the direction of movement, and the generated dynamic effects can be previewed on the TV. After the user is satisfied with the set dynamic effects, the TV confirms the creation of the dynamic wallpaper.
[0055] Optionally, the device for generating dynamic TV wallpaper further includes: a first processing submodule and a second processing submodule. The functional modules are described in detail as follows:
[0056] A first processing submodule is used to set dynamic display parameters based on the image processed photos;
[0057] The second processing submodule is used to add a dynamic wallpaper effect based on the set dynamic display parameters.
[0058] Specifically, based on the photos that have been processed after uploading, dynamic display parameters are set, and the dynamic display parameters include the movement trajectory, movement direction, and movement amplitude of the people, plants, and animals in the photos. The movement trajectory is to statically cut the photos according to the people, plants, and animals in the photos. If the movement direction of the photos is horizontal, the photo width is cut, and the horizontal dynamic movement trajectory and movement amplitude are calculated according to the characteristics of the cut photos. If the people, plants, and animals in the photos are vertically moving, the photo height is cut, and the vertical dynamic movement trajectory and amplitude are calculated according to the characteristics of the cut photos. The movement direction is whether the people, plants, and animals in the photos are horizontally moving or vertically moving, the horizontal movement is to the right or to the left, and the vertical movement is to move up or down. The movement amplitude is the movement range in the photo, and the movement trajectory is the movement route calculated according to the direction and amplitude of the movement. Different dynamic display parameters are set based on different photos, so that each photo can show different dynamic effects and increase the user's viewing experience.
[0059] For the specific definition of the device for generating dynamic TV wallpaper, please refer to the definition of the method for generating dynamic TV wallpaper above, which will not be repeated here. Each module in the above-mentioned device for generating dynamic TV wallpaper can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0060] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to generate an image processing template for dynamic TV wallpaper. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for generating dynamic TV wallpaper is implemented.
[0061] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the method for generating a dynamic TV wallpaper in the above embodiment is implemented, for example Figure 2Alternatively, when the processor executes the computer program, the functions of each module / unit in the embodiment of the device for generating dynamic TV wallpaper are realized, for example Figure 3 The functions shown for generating dynamic TV wallpapers include:
[0062] The receiving module is used to receive photos uploaded by users to the TV terminal and perform photo content analysis and image processing;
[0063] An analysis module, used for adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0064] The output module is used to create a dynamic wallpaper on the TV according to the effect of the acquired dynamic wallpaper. In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for generating a dynamic TV wallpaper in the above embodiment is implemented, for example Figure 2 Alternatively, when the computer program is executed by a processor, the functions of each module / unit in the embodiment of the device for generating dynamic TV wallpaper are realized, for example Figure 3 The functions shown for generating dynamic TV wallpapers include:
[0065] The receiving module is used to receive photos uploaded by users to the TV terminal and perform photo content analysis and image processing;
[0066] An analysis module, used for adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo;
[0067] An output module is used to create a dynamic wallpaper on the TV side according to the effect of the dynamic wallpaper obtained. A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0068] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0069] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for generating dynamic TV wallpaper, characterized in that: include: Receive photos uploaded by users to the TV, and perform photo content analysis and image processing; According to the analysis result of the uploaded photo, a dynamic wallpaper effect is added, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image processed photo according to the angle of the photo; Create a dynamic wallpaper on the TV based on the effect of the acquired dynamic wallpaper.
2. The method for generating dynamic TV wallpaper according to claim 1, characterized in that: The receiving of photos uploaded by the user to the TV terminal and performing photo content analysis and image processing includes: After the user uploads the photo on the TV side, the type of the uploaded photo is determined according to the uploaded photo; According to the type of the uploaded photo, image processing is performed on the uploaded photo.
3. The method for generating dynamic TV wallpaper according to claim 2, characterized in that: The performing image processing on the uploaded photo according to the type of the uploaded photo includes: Determining the direction and content of image processing based on the uploaded photo content; Use artificial intelligence technology to expand image content.
4. The method for generating dynamic TV wallpaper according to claim 1, characterized in that: The adding of dynamic wallpaper effects according to the analysis result of the uploaded photo includes: Set dynamic display parameters based on image-processed photos; Based on the dynamic display parameters set above, a dynamic wallpaper effect is added.
5. The method for generating dynamic TV wallpaper according to claim 1, characterized in that: The receiving of photos uploaded by users to the TV terminal and performing photo content analysis and image processing previously includes: creating an image processing template and training the created image processing template according to a neural convolutional network.
6. The method for generating dynamic TV wallpaper according to claim 1, characterized in that: The step of creating a dynamic wallpaper on a TV according to the obtained dynamic wallpaper effect includes: creating different dynamic wallpaper effects based on different contents of uploaded photos.
7. A device for generating dynamic TV wallpaper, characterized in that: include: The receiving module is used to receive photos uploaded by users to the TV terminal and perform photo content analysis and image processing; An analysis module, used for adding a dynamic wallpaper effect according to the analysis result of the uploaded photo, wherein the dynamic wallpaper effect is added based on the dynamic translation of the animals and plants in the image-processed photo according to the angle of the photo; The output module is used to create a dynamic wallpaper on the TV side according to the effect of the acquired dynamic wallpaper.
8. The device for generating dynamic TV wallpaper according to claim 7, characterized in that: The output module includes: a first processing submodule and a second processing submodule; A first processing submodule is used to set dynamic display parameters based on the image processed photos; The second processing submodule is used to add a dynamic wallpaper effect based on the set dynamic display parameters.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method for generating dynamic TV wallpaper according to any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for generating dynamic TV wallpaper according to any one of claims 1 to 6 is implemented.
