Method and device for generating digital image, electronic equipment, storage medium and program product

By obtaining employees' working environment pictures and personality tags to generate personalized digital images and animated videos, it solves the problem that existing virtual image designs cannot represent employees' images and personalities, and achieves rapid personalized customization and efficient virtual image generation. Improved the relevance and interaction between employees and virtual images.

CN118628618APending Publication Date: 2024-09-10INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410821641.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Existing avatar designs cannot truly represent employees' work images, personality traits, and gender, resulting in limited resonance and emotional connection between employees and avatars. Personalization customization is inefficient, requiring frequent communication with designers and modification of design plans. , reducing the technician's work efficiency.

Method used

By obtaining employees' pictures, personality labels and work nature in the work environment, use the picture generation model to generate personalized digital images, including animated videos, to achieve personalized customization of employees' digital images, fit the employees' own image and personality, and reduce conflicts with employees. Designers’ communication needs.

Benefits of technology

It realizes the rapid generation of personalized digital images that fit employees, improves the relevance and interaction between employees and virtual images, reduces costs and time expenses, and improves design efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628618A
    Figure CN118628618A
Patent Text Reader

Abstract

The invention provides a method and device for generating a digital image, electronic equipment, a storage medium and a program product, and relates to the field of artificial intelligence. The method comprises the steps of obtaining employee attributes, wherein the employee attributes comprise at least one picture of an employee in a working environment of the employee, working properties of the employee and character labels of the employee; and generating an employee digital image according to the employee attribute. According to the method, the picture of the employee in the working environment and the character label of the employee are acquired, and then the digital image of the employee is generated based on the picture of the employee in the working environment and the character label of the employee. Therefore, the digital image of the employee not only fits the image and the character label of the employee, but also fits the working environment of the employee. Therefore, the digital image of the employee can be quickly obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence, and in particular to a method, device, electronic device, storage medium and program product for generating a digital image. Background Art

[0002] With the rise of the Internet and the development of social needs, in order to facilitate communication between employees and reduce communication costs, more and more companies require their employees to communicate online through the Internet.

[0003] Currently, in the process of using the Internet to achieve communication interaction, in order to enhance the communication experience between employees, virtual images used to represent employees are often added when employees communicate.

[0004] Existing virtual images are usually designed according to designers’ ideas and market trends, and cannot truly represent employees’ work image, personality traits, and gender. This limits the resonance and emotional connection between virtual characters and employees, making it impossible to establish a deep emotional connection.

[0005] In order to solve the above problems, enterprises need to spend more money, and employees need to spend more time and energy to communicate and modify the design plan with technicians repeatedly. For technicians, this greatly reduces their work efficiency. Summary of the invention

[0006] The present application provides a method, device, electronic device, storage medium and program product for generating a digital image, so as to solve the technical problem of low efficiency in generating personalized employee images.

[0007] In a first aspect, the present application provides a method for generating a digital image, comprising: obtaining employee attributes, wherein the employee attributes include at least one picture of the employee in his / her work environment, the nature of the employee's work, and the employee's personality label; and generating a digital image of the employee according to the employee attributes.

[0008] Optionally, the method as described above, generating an employee digital image according to the employee attributes, includes: inputting the employee attributes into a preset image generation model to obtain the employee digital image.

[0009] Optionally, the method as described above further includes: obtaining an action state input by the employee; and generating an animation video of the employee's digital image according to the action state.

[0010] Optionally, the method as described above generates an animation video of the employee's digital image according to the action state, including: performing material recognition on the employee's digital image to obtain a target human body material in the employee's digital image; deleting the target human body material from the employee's digital image to obtain an environment picture; performing 3D rendering on the environment picture and the target human body material to obtain a 3D environment picture and a 3D human body; obtaining an action posture and an action path corresponding to the action state; adjusting the posture of the 3D human body according to the action posture to obtain multiple 3D human body postures; placing each 3D human body posture in the 3D environment picture according to the action path to obtain multiple 3D animation pictures; controlling the display of each 3D animation picture according to the set video frame rate and picture display duration to obtain a 3D animation video.

[0011] Optionally, the method as described above, performing 3D rendering on the environment picture, includes: determining the complexity of the environment picture; obtaining a sampling rate corresponding to the complexity, and performing 3D rendering on the environment picture according to the sampling rate.

[0012] Optionally, the method as described above, determining the complexity of the environment picture includes: performing material recognition on the environment picture to obtain target object materials in the environment picture; and determining the number of the target object materials as the complexity of the environment picture.

[0013] Optionally, according to the method described above, determining the complexity of the environment picture includes: performing edge detection on the environment picture using an edge detection algorithm to obtain object boundaries; and determining the number of the object boundaries as the complexity of the environment picture.

[0014] In a second aspect, the present application provides a method for generating a digital image, comprising: a data processing module for obtaining employee attributes, wherein the employee attributes include at least one picture of the employee in his or her work environment, the nature of the employee's work, and the employee's personality label; and a picture generation module for generating an employee digital image based on the employee attributes.

[0015] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method as described above.

[0016] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to implement the above method when executed by a processor.

[0017] In a fifth aspect, the present application provides a computer program product, including a computer program, which implements the above method when executed by a processor.

[0018] The method, device, electronic device, storage medium and program product for generating digital images provided by the present application can generate a digital image of an employee based on the picture of the employee in his / her work environment and the employee's personality label by obtaining the picture of the employee in his / her work environment, the employee's personality label and the nature of the employee's work. In this way, the employee only needs to input the personality label and the nature of the work without frequent communication with the designer, so that the employee's digital image can not only fit the employee's own image and personality label, but also fit the employee's work environment. Thereby, the purpose of quickly obtaining the employee's digital image can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0020] Figure 1 A flowchart of a method for generating a digital image provided by an embodiment of the present application;

[0021] Figure 2 A flowchart of a method for generating an animation video is provided for an embodiment of the present application;

[0022] Figure 3 A schematic diagram of the structure of a device for generating a digital image provided in an embodiment of the present application;

[0023] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0024] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0025] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0026] It should be noted that the employee information (including but not limited to employee equipment information, employee personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by employees or fully authorized by all parties, and the collection, use, processing, transmission, provision, disclosure and application of relevant data comply with the relevant laws, regulations and standards of relevant countries and regions, take necessary confidentiality measures, do not violate public order and good customs, and provide corresponding operation entrances for employees to choose to authorize or refuse.

[0027] In addition, this application involves big data analysis of employee information (including but not limited to personal biometrics, identity data, consumption data, asset data, electronic terminal operation data, etc.), and the use of artificial intelligence technology for automated decision-making, and a technical solution for making decisions that have a significant impact on personal rights and interests based on the results of automated decision-making. The application provides employees with corresponding operation entrances for them to choose to agree or reject the results of automated decision-making; if the employee chooses to reject, the expert decision-making process will be entered.

[0028] It should be noted that the method, device, electronic device, storage medium and program product for generating a digital image in the present application can be used in the field of artificial intelligence, such as the field of image generation, and can also be used in any field other than the field of artificial intelligence. The application field of the method, device, electronic device, storage medium and program product for generating a digital image in the present application is not limited.

[0029] In the prior art, in order to enhance the interactive communication of the Internet, employees are usually provided with virtual images during their communication via the Internet. The existing method for obtaining virtual images is usually to provide a series of preset images, and employees can select one of the preset images as their virtual image. However, the image style of this method is rigid and cannot meet the personalized needs of employees. At the same time, when there are a large number of employees, there are even cases where multiple employees have the same virtual image. In order to meet the personalized needs of employees and strengthen the relationship between employees and virtual images, there is an existing technical solution for personalized customization of employees by professional designers. However, this solution requires employees to discuss with professional designers, which results in employees spending a lot of time and enterprises spending a lot of costs. At the same time, the efficiency of generating personalized virtual images is also very low.

[0030] In order to solve this technical problem, an embodiment of the present application provides a method for generating a digital image. The method obtains a picture of the employee in his / her work environment and the employee's personality label, and then generates the employee's digital image based on the picture of the employee in his / her work environment and the employee's personality label. In this way, the employee's digital image can not only fit the employee's own image and personality label, but also fit the employee's work environment. The personalized customization of the employee's virtual image is achieved. At the same time, the employee only needs to enter the nature of the job and the personality label to obtain his / her personalized avatar, thereby achieving the purpose of quickly obtaining the employee's digital image.

[0031] The method for generating a digital image provided in this application is intended to solve the above technical problems in the prior art.

[0032] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0033] Figure 1 A method for generating a digital image provided in an embodiment of the present application includes:

[0034] Step S101, obtaining employee attributes, wherein the employee attributes include at least one picture of the employee in his / her work environment, the nature of the employee's work, and the employee's personality label. Specifically, the employee attributes also include gender.

[0035] Specifically, at least one picture of the employee in his / her work environment is obtained in the following manner: a picture acquisition instruction is sent to an image acquisition device, triggering the image acquisition device to feedback the collected picture information. Face detection is performed on the picture information. If the picture information includes the face of the human body corresponding to the picture acquisition instruction, the picture information is determined to be a picture of the employee in his / her work environment. The image acquisition instruction represents obtaining a picture of a specified human body in his / her work environment. The image acquisition device is used to collect pictures of the work environment. The image acquisition device is, for example, a camera device.

[0036] Specifically, the nature of the employee's work is obtained in the following manner: the nature of the work input by the employee is received from a preset data transmission interface.

[0037] In some embodiments, object detection is performed on a picture of an employee in his / her work environment to obtain a human object and at least one object object, and multiple candidate job properties corresponding to each object object are determined in a preset first data table. Each candidate job property is pushed to the employee so that the employee can select his / her job property from the multiple candidate job properties. The first data table stores the correspondence between the object objects and the candidate job properties.

[0038] Among them, the nature of the work includes the work area, the tasks and responsibilities that workers need to perform on a daily basis, and the professional skills required to complete the work.

[0039] Step S102, generating a digital image of an employee according to the employee's attributes.

[0040] Optionally, generating an employee digital image according to employee attributes includes: inputting the employee attributes into a preset image generation model to obtain the employee digital image. There is no limit on the number of employee digital images, and the image generation model can generate one employee digital image according to the employee attributes, or can generate multiple employee digital images according to the employee attributes.

[0041] Specifically, the image generation model is obtained in the following manner: inputting employee attribute training samples with employee digital images into a preset neural network model for training to obtain an alternative system model; inputting multiple employee attribute test samples into the alternative system model to obtain image pictures corresponding to each employee attribute test sample, and performing quality assessment on the image pictures until the quality assessment reaches a predetermined performance standard, and determining the alternative system model as the system macro model.

[0042] Optionally, generating the employee digital image according to the employee attributes includes: performing object detection on the picture of the employee in his / her work environment, obtaining human objects and object objects, determining the distribution of the human objects and object objects in the picture, and determining multiple human features of the human objects. The human materials corresponding to each human feature and the object materials corresponding to the object objects are confirmed in the preset second data table, and the employee digital image is generated according to the human materials, object materials, job nature and personality labels.

[0043] Furthermore, the digital image of the employee is generated according to the human body material, object material, job nature and personality label, including: determining the candidate object material corresponding to the job nature, filtering the object material according to the candidate object material, and obtaining the target object material. Placing each human body material according to the relative position relationship of each human body feature on the human body object to form a human body image. Placing the human body image and the target object material according to the relative position relationship between the human body object and the object object in the picture to form a candidate digital image. Determining the background color corresponding to the personality label, setting the background color of the candidate digital image according to the background color corresponding to the personality label, and obtaining the digital image of the employee.

[0044] Specifically, if the employee is a customer service staff, the nature of his or her job is to provide consulting services to personnel inside and / or outside the enterprise, including but not limited to product usage, service consultation, fault reporting, and complaint handling.

[0045] If the employee is a web front-end development engineer, the nature of his job is to create and maintain the website and web application employee interface.

[0046] If the employee is a salesperson, the nature of his or her job is to promote and sell the products and / or services provided by the company.

[0047] If the employee is a human resources specialist, the nature of his or her job is to select and recruit personnel and manage employee relations.

[0048] If the employee is an accountant, the nature of his or her job is to record the company's economic activities, such as income, expenditure, asset purchases, debt repayments, etc.

[0049] Among them, the human body features include at least one of the following features: face shape features, eye features, nose features, ear features, mouth shape features, and body shape features.

[0050] Specifically, if there are multiple background colors corresponding to the personality label, the background color of the candidate digital image is set according to the background color corresponding to the personality label, including: setting the background colors of the candidate digital image respectively according to the multiple background colors corresponding to the personality label to obtain multiple employee digital images.

[0051] Specifically, if there are multiple background colors corresponding to the personality label, the background color of the candidate digital image is set according to the background color corresponding to the personality label, including: dividing the area where the human body object in the picture is located into color blocks, determining the color block with the largest area, and determining the color block with the largest area as the candidate color block, determining whether the color of the candidate color block is the background color corresponding to the personality label, and if the color of the candidate color block is the background color corresponding to the personality label, setting the background color of the candidate digital image according to the color of the candidate color block. If the color of the candidate color block is not the background color corresponding to the personality label, the background colors of the candidate digital image are set according to the multiple background colors corresponding to the personality label, and multiple employee digital images are obtained.

[0052] In some embodiments, the personality label includes at least one of the following labels: extrovert, lively, enthusiastic, amiable, cheerful, open-minded, talkative, quick-witted, adaptable, well-organized, responsive, weak-hearted, sentimental, impulsive, reckless, irritable, stubborn, irritable, stubborn, and courageous.

[0053] Furthermore, after obtaining the employee's digital image, the process further includes: sending the employee's digital image to a preset display device, triggering the display device to display the employee's digital image, so that the employee can preview the generated avatar, providing a good employee experience.

[0054] By adopting the method for generating a digital image provided by the embodiment of the present disclosure, by obtaining a picture of the employee in his / her work environment, the employee's personality label and the nature of the employee's work, it is possible to generate an employee's digital image based on the picture of the employee in his / her work environment and the employee's personality label. In this way, the employee only needs to input the personality label and the nature of the work, without frequent communication with the designer, so that the employee's digital image can not only fit the employee's own image and personality label, but also fit the employee's work environment. Thus, the purpose of quickly obtaining the employee's digital image can be achieved.

[0055] On the basis of Example 1, in order to further enhance the interactivity of communication, the embodiment of the present application provides a flow chart of a method for generating an animation video.

[0056] like Figure 2 As shown, the method for generating an animation video may include the following steps:

[0057] Step S201, obtaining the action status input by the employee.

[0058] Among them, the action state represents the action form and movement law of the employee's digital image at a certain moment.

[0059] The action state includes at least one of the following states: walking, jumping, picking up items, talking, tapping, etc.

[0060] Step S202, generating an animation video of the employee's digital image according to the action status.

[0061] Optionally, generating an animation video of the employee's digital image according to the action state includes: inputting the action state and the employee's digital image into a preset 3D animation generation model to obtain a 3D animation video of the employee's digital image.

[0062] Optionally, an animation video of an employee's digital image is generated according to the action state, including: performing material recognition on the employee's digital image to obtain a target human material in the employee's digital image. Deleting the target human material from the employee's digital image to obtain an environment picture. Obtaining an action posture and an action path corresponding to the action state. Adjusting the posture of the target human material according to the action posture corresponding to the action state to obtain multiple target human postures. Placing each target human posture in the environment picture according to the action path to obtain multiple animation pictures. Controlling the display of each animation picture according to the set video frame rate and picture display duration to obtain an animation video.

[0063] Optionally, an animation video of an employee's digital image is generated according to the action state, including: performing material recognition on the employee's digital image to obtain a target human body material in the employee's digital image. Deleting the target human body material from the employee's digital image to obtain an environment picture. Performing 3D rendering on the environment picture and the target human body material to obtain a 3D human body and a 3D environment picture. Obtaining the action posture and action path corresponding to the action state. Adjusting the posture of the 3D human body according to the action posture corresponding to the action state to obtain multiple 3D human body postures. Placing each 3D human body posture in a 3D environment picture according to the action path to obtain multiple 3D animation pictures. Controlling the display of each 3D animation picture according to the set video frame rate and picture display duration to obtain a 3D animation video.

[0064] Specifically, performing 3D rendering on the environment picture includes: determining the complexity of the environment picture; obtaining a sampling rate corresponding to the complexity, and performing 3D rendering on the environment picture according to the sampling rate.

[0065] Optionally, determining the complexity of the environment picture includes: performing material recognition on the environment picture to obtain target object materials in the environment picture, and determining the number of target object materials as the complexity of the environment picture.

[0066] Optionally, determining the complexity of the environment image includes: performing edge detection on the environment image using an edge detection algorithm to obtain object boundaries, and determining the number of object boundaries as the complexity of the environment image.

[0067] Step S203, the animation video is sent to a preset display screen for display, so that employees can preview the animation video and improve the employee experience.

[0068] The preset display screen is, for example, an employee's local terminal.

[0069] By using the method for generating an animated video provided by the embodiment of the present disclosure, an animated video corresponding to the employee's digital image can be generated based on the employee's set actions. In this way, the employee's actions can be modeled in combination with the work environment, thereby improving the employee's communication interactivity and enhancing the employee's immersive experience.

[0070] Figure 3 FIG. 1 is a schematic diagram of a structure of a device for generating a digital image provided by an embodiment of the present application. Figure 3As shown, the device 300 for generating a digital image includes a data processing module 301, a picture generation module 302, and an animation video generation module 303. The data processing module 301 is electrically connected to the picture generation module 302, and the picture generation module 302 is electrically connected to the animation video generation module 303. The data processing module 301 is used to obtain employee attributes. The picture generation module 302 is used to generate an employee digital image according to the employee attributes. The animation video generation module 303 is used to obtain the action state input by the employee; and generate an animation video of the employee digital image according to the action state.

[0071] By adopting the device for generating digital images provided by the embodiments of the present disclosure, by obtaining the picture of the employee in his / her work environment, the employee's personality label and the nature of the employee's work, the employee's digital image can be generated based on the picture of the employee in his / her work environment and the employee's personality label. In this way, the employee only needs to input the personality label and the nature of the work, without frequent communication with the designer, so that the employee's digital image can not only fit the employee's own image and personality label, but also fit the employee's work environment. Thus, the purpose of quickly obtaining the employee's digital image can be achieved.

[0072] Specifically, the image generation module is used to input employee attributes into a preset image generation model to obtain a digital image of the employee.

[0073] Specifically, the animation video generation module is used to perform material recognition on the employee's digital image to obtain the target human body material in the employee's digital image; delete the target human body material from the employee's digital image to obtain an environment picture; perform 3D rendering on the environment picture and the target human body material to obtain a 3D environment picture and a 3D human body; obtain the action posture and action path corresponding to the action state; adjust the posture of the 3D human body according to the action posture to obtain multiple 3D human body postures; place each 3D human body posture in the 3D environment picture according to the action path to obtain multiple 3D animation pictures; control the display of each 3D animation picture according to the set video frame rate and picture display duration to obtain a 3D animation video.

[0074] Specifically, the animation video generation module is used to determine the complexity of the environment image; obtain the sampling rate corresponding to the complexity, and perform 3D rendering on the environment image according to the sampling rate.

[0075] Specifically, the animation video generation module is used to perform material recognition on the environment picture to obtain the target object material in the environment picture; and the number of the target object materials is determined as the complexity of the environment picture.

[0076] Specifically, the animation video generation module is used to perform edge detection on the environment image using an edge detection algorithm to obtain object boundaries; and the number of object boundaries is determined as the complexity of the environment image.

[0077] like Figure 4 As shown, the electronic device 400 of this embodiment includes at least one processor 401 and a memory 402. Optionally, the device 400 also includes a communication component 403. The processor 401, the memory 402 and the communication component 403 are connected via a bus 404.

[0078] In a specific implementation process, at least one processor 401 executes the computer-executable instructions stored in the memory 402, so that at least one processor 401 executes the above method.

[0079] The specific implementation process of the processor 401 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.

[0080] By using the electronic device provided by the embodiment of the present disclosure, by acquiring the picture of the employee in his / her work environment, the employee's personality label and the nature of the employee's work, the employee's digital image can be generated based on the picture of the employee in his / her work environment and the employee's personality label. In this way, the employee only needs to input the personality label and the nature of the work, without frequent communication with the designer, so that the employee's digital image can not only fit the employee's own image and personality label, but also fit the employee's work environment. Thus, the purpose of quickly obtaining the employee's digital image can be achieved.

[0081] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.

[0082] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the above-mentioned embodiments. Figure 1 and Figure 2 method.

[0083] The present application also provides a computer program product, including a computer program, which implements the above-mentioned embodiment when executed by a processor. Figure 1 and Figure 2 method.

[0084] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0085] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0086] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0087] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0088] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. If not specifically stated, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. If not specifically stated, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory RRAM (Resistive Random Access Memory), a dynamic random access memory DRAM (Dynamic Random Access Memory), a static random access memory SRAM (Static Random-Access Memory), an enhanced dynamic random access memory EDRAM (Enhanced Dynamic Random Access Memory), a high-bandwidth memory HBM (High-Bandwidth Memory), a hybrid memory cube HMC (Hybrid Memory Cube), etc.

[0089] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk and other media that can store program codes.

[0090] In the above embodiments, the description of each embodiment has its own emphasis. For parts not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0091] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0092] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for generating a digital image, characterized in that: include: Acquire employee attributes, where the employee attributes include at least one picture of the employee in his / her work environment, the nature of the employee's work, and the employee's personality label; Generate a digital image of the employee according to the employee attributes.

2. The method according to claim 1, characterized in that Generating a digital image of an employee according to the employee attributes includes: The employee attributes are input into a preset image generation model to obtain a digital image of the employee.

3. The method according to claim 1, characterized in that Also includes: Get the action status of employee input; An animation video of the employee's digital image is generated according to the action state.

4. The method according to claim 3, characterized in that Generating an animation video of the employee's digital image according to the action state includes: Performing material recognition on the employee digital image to obtain a target human body material in the employee digital image; Deleting the target human body material from the employee's digital image to obtain an environment image; Performing 3D rendering on the environment image and the target human body material to obtain a 3D environment image and a 3D human body; Obtaining the action posture and action path corresponding to the action state; Adjusting the posture of the 3D human body according to the action posture to obtain multiple 3D human body postures; Placing each 3D human body posture in the 3D environment picture according to the motion path to obtain multiple 3D animation pictures; The 3D animation images are displayed according to the set video frame rate and image display duration to obtain a 3D animation video.

5. The method according to claim 4, characterized in that Performing 3D rendering on the environment image includes: Determining the complexity of the environment picture; A sampling rate corresponding to the complexity is obtained, and 3D rendering is performed on the environment image according to the sampling rate.

6. The method according to claim 5, characterized in that Determining the complexity of the environment image includes: Performing material recognition on the environment picture to obtain the target object material in the environment picture; The number of target object materials is determined as the complexity of the environment image.

7. The method according to claim 5, characterized in that Determining the complexity of the environment image includes: Perform edge detection on the environment image using an edge detection algorithm to obtain object boundaries; The number of the object boundaries is determined as the complexity of the environment image.

8. A device for generating a digital image, characterized in that: include: A data processing module, used to obtain employee attributes, wherein the employee attributes include at least one picture of the employee in his / her work environment, the nature of the employee's work, and the personality label of the employee; The image generation module is used to generate a digital image of an employee according to the employee attributes.

9. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.

11. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 7 when being executed by a processor.