A voice drawing method, device and computer equipment

Through the voice drawing method, image analysis and artificial intelligence image generation models are used to solve the problems of low computer drawing efficiency and high skill requirements in the existing technology, and achieve efficient and beautiful image generation, suitable for ordinary users.

CN114995729BActive Publication Date: 2024-09-17LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210508663.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-11
Publication Date
2024-09-17
Estimated Expiration
2042-05-11

AI Technical Summary

Technical Problem

Existing computer drawing methods have low efficiency and poor aesthetics. They require users to be familiar with drawing tools and have artistic aesthetic skills, which limits the drawing ability of ordinary users.

Method used

The voice drawing method is used to analyze the user's drawing voice, extract the drawing features and their weights, and use the artificial intelligence image generation model to draw the image to generate a target image that conforms to the user's description.

Benefits of technology

It greatly improves drawing efficiency, reduces the requirements for drawing skills, expands drawing scenarios, meets the drawing needs of ordinary users, and achieves high-quality image generation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114995729B
    Figure CN114995729B
Patent Text Reader

Abstract

The present application proposes a voice drawing method, device and computer equipment. The present application proposes semantic visualization processing based on artificial intelligence, so that the user can directly describe the content of the image to be drawn by voice, so that after the computer equipment obtains the corresponding drawing voice, it can perform image analysis on the drawing voice according to preset processing rules to obtain the drawing features and drawing weights of the image to be drawn, so as to draw the image at least based on the drawing features and drawing weights to obtain a target image that meets the user's description of the image to be drawn. Compared with the implementation method of manually drawing images, the voice drawing method proposed in the present application greatly improves the drawing efficiency, does not require the user to have high drawing skills, expands the drawing scenes, and can also meet the drawing needs of ordinary users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application mainly relates to the field of computer application technology, and more specifically to a voice drawing method, device and computer equipment. Background Art

[0002] Computer drawing is a high-efficiency, high-quality drawing technology compared to manual drawing. Users can complete drawing creation through input devices such as mouse and stylus, combined with drawing tools such as coloring and line selection.

[0003] Currently, this drawing method requires users to make manual adjustments constantly, which is a cumbersome process with low efficiency and poor aesthetics. It also requires users to be very familiar with drawing tools. Moreover, for artistic images to be drawn, users are also required to have drawing skills such as artistic aesthetics, which greatly increases the requirements for drawing users and increases the limitations of drawing. Summary of the invention

[0004] In view of this, the present application provides a voice drawing method, the method comprising:

[0005] Obtaining drawing speech for describing the image to be drawn;

[0006] According to a preset processing rule, image analysis is performed on the drawing speech to obtain drawing features and drawing weights of the drawing features; wherein the drawing features with higher drawing weights have greater influence on the image to be drawn;

[0007] Image rendering is performed at least based on the rendering feature and the rendering weight to obtain a target image.

[0008] Optionally, the image analysis of the drawing speech is performed according to a preset processing rule to obtain drawing features and drawing weights of the drawing features; including:

[0009] Extracting a plurality of drawing elements for the image to be drawn contained in the drawing speech;

[0010] Determining a plurality of drawing features and respective drawing weights of the plurality of drawing features based on the state information of the drawing element in the drawing voice;

[0011] The state information includes one or more combination information of repetition times, tone, description order, grammatical type, and logical rationality; the higher the drawing weight of the drawing feature, the higher the drawing order in the image drawing process.

[0012] Optionally, the determining a plurality of drawing features and respective drawing weights of the plurality of drawing features based on the state information of the drawing element in the drawing voice includes:

[0013] determining a drawing element repeatedly described for the image to be drawn as a first drawing feature, and increasing a first drawing weight of the first drawing feature; and / or,

[0014] Comparing the tones of the plurality of drawing elements, determining the drawing element corresponding to the accent as a second drawing feature, and increasing a second drawing weight of the second drawing feature; and / or,

[0015] Determine a corresponding third drawing feature and a third drawing weight of the third drawing feature based on the description order of the plurality of drawing elements in the drawing voice; and / or,

[0016] Determining a syntax type of each of the plurality of drawing elements;

[0017] Determining a fourth drawing feature of a corresponding grammar type and a fourth drawing weight of the fourth drawing feature based on weights of different grammar types and the plurality of drawing elements; and / or,

[0018] Detecting any two drawing elements with unreasonable logical relationships, determining a drawing element with a lower drawing weight among the two drawing elements;

[0019] A semantic association analysis is performed on the drawing element with a lower drawing weight to obtain a fifth drawing feature for the two drawing elements.

[0020] Optionally, the detecting any two drawing elements with unreasonable logical relationship and determining the drawing element with lower drawing weight among the two drawing elements includes:

[0021] Determine any two drawing elements having an associated relationship based on the syntax types and description orders of the multiple drawing elements;

[0022] The relationship between the two drawing elements is not found in the word knowledge graph, and it is determined that the logical relationship between the two drawing elements is unreasonable;

[0023] Based on the syntax types of the two drawing elements whose logical relationship is unreasonable, a drawing element with a lower drawing weight is determined.

[0024] Optionally, performing semantic association analysis on the drawing element with a lower drawing weight to obtain a fifth drawing feature for the two drawing elements includes:

[0025] Querying, from the word knowledge graph, candidate association elements associated with the drawing element having a lower drawing weight;

[0026] Performing scene matching analysis on the candidate associative element and the corresponding two drawing elements with unreasonable logical relationships to determine a target associative element belonging to the same scene;

[0027] The two drawing elements with unreasonable logical relationships and the target associative element are used to determine a plurality of corresponding fifth drawing features.

[0028] Optionally, performing image rendering based at least on the rendering feature and the rendering weight to obtain a target image includes:

[0029] Inputting at least a plurality of the drawing features and the drawing weights into an image generation model to perform image drawing to obtain a candidate image;

[0030] Performing matching analysis on the candidate image and the drawing voice content to obtain a drawing matching degree;

[0031] If the drawing matching degree is greater than a matching threshold, the candidate image is determined as a target image for output;

[0032] If the drawing matching degree is less than or equal to the matching threshold, the model parameters of the image generation model are adjusted, and the matching analysis is continued on the new candidate image output by the adjusted image generation model to obtain the target image.

[0033] Optionally, the method further includes:

[0034] Based on the description content of the image to be drawn contained in the drawing voice, an image search is performed on an image library to determine similar images to the image to be drawn;

[0035] Based on the description content, deconstructing and recombining image elements contained in the similar image to obtain a reference image for the image to be drawn;

[0036] The performing image drawing at least based on the drawing feature and the drawing weight to obtain a target image includes:

[0037] Image rendering is performed based on the reference image, the rendering features and the rendering weights to obtain a target image.

[0038] Optionally, performing image rendering based on the reference image, the rendering feature and the rendering weight to obtain a target image includes:

[0039] Performing matching analysis on the image elements in the reference image and the drawing features to obtain corresponding matching results;

[0040] Determining an element weight corresponding to the image element based on the matching result and the drawing weight;

[0041] At least the reference image and the element weights are input into an image generation model to perform image rendering to obtain a target image.

[0042] The present application also proposes a voice drawing device, the device comprising:

[0043] A drawing voice obtaining module, used for obtaining drawing voice for describing the image to be drawn;

[0044] An analysis module, used for performing image analysis on the drawing speech according to a preset processing rule to obtain drawing features and drawing weights of the drawing features; wherein the drawing features with higher drawing weights have greater influence on the image to be drawn;

[0045] An image drawing module is used to perform image drawing based at least on the drawing feature and the drawing weight to obtain a target image.

[0046] The present application also proposes a computer device, the computer device comprising:

[0047] Communication interface;

[0048] A memory for storing a program for implementing the above-mentioned voice mapping method;

[0049] The processor is used to load and execute the program stored in the memory to implement the voice mapping method as described above.

[0050] It can be seen that the present application provides a voice drawing method, device and computer equipment. The present application proposes semantic visualization processing based on artificial intelligence, so that the user can directly describe the content of the image to be drawn by voice, so that after the computer device obtains the corresponding drawing voice, it can perform image analysis on the drawing voice according to the preset processing rules to obtain the drawing features and drawing weights of the image to be drawn, so as to draw the image at least based on the drawing features and drawing weights to obtain a target image that meets the user's description of the image to be drawn. Compared with the implementation method of manually drawing images, the voice drawing method proposed in the present application greatly improves the drawing efficiency, and does not require the user to have high drawing skills, expands the drawing scenes, and can also meet the drawing needs of ordinary users. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0052] Figure 1Draw a diagram of the image process;

[0053] Figure 2 A schematic diagram of the hardware structure of an optional example of a computer device suitable for the voice mapping method proposed in the present application;

[0054] Figure 3 A schematic diagram of the hardware structure of another optional example of a computer device suitable for the voice mapping method proposed in the present application;

[0055] Figure 4 A flowchart of an optional example of the voice mapping method proposed in this application;

[0056] Figure 5 A flowchart of another optional example of the voice mapping method proposed in this application;

[0057] Figure 6 A flowchart of another optional example of the voice mapping method proposed in this application;

[0058] Figure 7 A flowchart of another optional example of the voice mapping method proposed in this application;

[0059] Figure 8 A flowchart of another optional example of the voice mapping method proposed in this application;

[0060] Figure 9a A schematic diagram of searching for similar images to an image to be drawn in the voice drawing method proposed in the present application;

[0061] Figure 9b A schematic diagram of a target image obtained by the speech drawing method proposed in this application;

[0062] Fig.10 A flowchart of another optional example of the voice mapping method proposed in this application;

[0063] Fig.11 This is a schematic structural diagram of an optional example of the voice mapping device proposed in this application. DETAILED DESCRIPTION

[0064] In view of the technical problems described in the background technology section, the present application proposes to perform semantic visualization processing based on various algorithms included in artificial intelligence technology, and convert image description text into images. In this way, the user can describe the content of the image to be drawn, and after obtaining the drawing voice, the drawing voice is analyzed by artificial intelligence, and an image that conforms to the drawing voice content is drawn according to the analysis results, such as Figure 1 The schematic diagram of the image drawing process shown in the figure shows that as the number of iterative updates increases, the quality of the resulting image can be continuously improved, but the time spent is longer.

[0065] In order to improve the above problems, this application hopes to obtain the key images of the user's own description more quickly and accurately with fewer iterations, that is, by performing image analysis on the drawing voice, determining the various drawing features described and their drawing weights, and using the drawing weights to characterize the influence of the drawing features on the image to be drawn, thereby combining the various drawing features and their drawing weights, and performing image drawing based on the image drawing algorithm included in artificial intelligence to directly obtain the desired target image. Compared with manual drawing methods, this voice drawing method greatly improves the efficiency of image drawing, reduces the requirements for users' drawing skills, and meets the image drawing needs of most users.

[0066] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0067] Reference Figure 2 , which is a hardware structure diagram of an optional example of a computer device suitable for the voice drawing method proposed in the present application. In some embodiments, the computer device may also be an electronic device with certain data processing capabilities, such as a smart phone, a tablet computer, an augmented reality technology (AR) device, a virtual reality (VR) device, a vehicle-mounted device, a desktop computer, a robot, etc. The user of the electronic device can use the voice drawing function of the electronic device to describe the content of the image to be drawn by voice, and the electronic device executes the voice drawing method, synchronously draws the image of the described content and then outputs it. As the description content increases, the drawn image is continuously updated.

[0068] In some other embodiments, the above-mentioned computer device can also be a server, such as an independent physical server, a server cluster composed of multiple physical servers, or a cloud server capable of cloud computing, etc., which can be connected to the electronic device through a wired network or a wireless network, receive the drawing voice collected by the electronic device, execute the voice drawing method proposed in this application to draw the image, and feed back the obtained target image to the electronic device or a designated terminal device, etc., to meet the voice drawing processing requirements. This application does not limit the type of computer device that performs voice drawing. In some other embodiments, during the voice drawing execution process, it can also be realized by the interaction between the electronic device and the server. This application does not limit this and it can be determined according to the situation.

[0069] Based on the above analysis, if Figure 2As shown, the computer device proposed in this application may include but is not limited to: a communication interface 21, a memory 22 and a processor 23, wherein:

[0070] The number of each of the communication interface 21, the memory 22 and the processor 23 can be at least one, and the communication interface 21, the memory 22 and the processor 23 can be connected to the communication bus of the electronic device directly or through the I / O interface to realize data communication between the components in the electronic device and meet the data transmission requirements during the voice drawing process.

[0071] The communication interface 21 may include a data interface of a communication module that can use a wireless communication network to realize data interaction. The communication module may include but is not limited to: a WIFI module, a 5G / 6G (fifth-generation mobile communication network / sixth-generation mobile communication network) module, a GPRS module, a short-range communication module, etc.; according to application requirements, the communication interface 21 may also include a data interface for realizing data interaction between internal components of a computer device, such as a USB interface, a serial / parallel port, a multimedia data transmission interface, a display port, etc. This application does not elaborate on the interface types, quantity, and working principles contained in the communication interface 21.

[0072] The memory 22 can be used to store a program for implementing the voice-drawing method described in the above-mentioned method embodiments; the processor 23 can load and execute the program stored in the memory to implement the various steps of the voice-drawing method described in the above-mentioned corresponding method embodiments. The specific implementation process can refer to the description of the corresponding part of the embodiment below, and this application will not describe it in detail here.

[0073] In the embodiment of the present application, the memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device or other volatile solid-state storage device. The processor 23 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, etc. The present application does not limit the structure and model of the above-mentioned memory 22 and processor 23, and can be flexibly adjusted according to actual needs.

[0074] It should be understood that Figure 2 The structure of the computer device shown does not constitute a limitation on the computer device in the embodiment of the present application. In practical applications, the computer device may include Figure 2 More or fewer components as shown, or some components may be combined. In particular, in the scenario where the computer device is the electronic device listed above, such as Figure 3 As shown, the computer device may also include at least one input component such as a touch sensing unit for sensing touch events on the touch display panel, a keyboard, a mouse, a camera, a microphone, etc.; at least one output component such as a display, a speaker, a vibration mechanism, a lamp, etc.; an antenna; a sensor module; a power module, etc. Figure 3 The input components and output components listed are not shown. The hardware structure can be determined according to the type of electronic device and its functional requirements, and this application does not list them one by one here.

[0075] Reference Figure 4 , is a flow chart of an optional example of the voice mapping method proposed in this application, which can be executed by a server or an electronic device, or by a server and an electronic device in cooperation, such as Figure 4 As shown, the voice mapping method may include:

[0076] Step S41, obtaining drawing speech for describing the image to be drawn;

[0077] When it is necessary to draw a certain image (referred to as the image to be drawn), the user can give a voice description of the content of the image to be drawn (such as the drawing elements and drawing features that constitute the image), and the voice collector will synchronously collect the corresponding drawing voice. If the executor of the embodiment of the present application is an electronic device, the voice collector can be integrated in the electronic device or can be an independent collector, which can send the collected drawing voice to the processor of the electronic device to execute the voice drawing method proposed in the present application.

[0078] Of course, if the executor of the embodiment of the present application is a server, the voice collector can use its own communication function to upload the collected drawing voice to the server, or send it to an electronic device first, and then use the remote communication capability of the electronic device to send the drawing voice to the server. After the server obtains the drawing voice used to describe the image to be drawn, it executes subsequent processing steps to complete the self-drawing of the image.

[0079] It can be seen that for different types of computer devices, the implementation method of executing step S41 may be different, but the subsequent processing process after obtaining the drawing voice is similar, and this application will not give detailed examples of different scenarios. Among them, since the drawing voice of the user describing the image to be drawn is a continuous multi-frame voice signal, new drawing voices will be continuously obtained as time goes by. Often, only after obtaining continuous multi-frame drawing voices can a complete drawing element and drawing feature be expressed, and only then can the subsequent steps be executed to advance the image drawing progress. This application does not limit the number of voice frames contained in the obtained drawing voice, which can be determined according to the situation.

[0080] Step S42, performing image analysis on the drawing speech according to a preset processing rule to obtain drawing features and drawing weights of the drawing features;

[0081] In the embodiment of the present application, the preset processing rules may include one or more for extracting different types of drawing features and their drawing weights contained in the drawing speech. The drawing features with higher drawing weights have a greater influence on the image to be drawn. Therefore, the proportion of the extracted drawing features in the content of the image to be drawn is analyzed through the preset rules, and the corresponding drawing weights are configured. The present application does not limit the content of the preset processing rules, which can be determined according to the circumstances.

[0082] This application analyzes the imagery of the drawing speech from multiple preset processing rules in different aspects, which can more comprehensively obtain the drawing features of the image to be drawn and improve the accuracy and efficiency of the drawn image. Optionally, for multiple preset processing rules, the execution priority of multiple preset processing rules can be determined based on factors such as the type of the image to be drawn and the image drawing requirements. The priority of each intention can also be extracted from the drawing speech content, and the matching preset processing rule can be selected to quickly and accurately complete the drawing of the target image. The preset processing rule content can also be adaptively adjusted according to actual needs to better complete the voice drawing.

[0083] Step S43, performing image rendering at least based on the rendering feature and the rendering weight to obtain a target image.

[0084] In an embodiment of the present application, a pre-trained image generator (i.e., an image generation model, which can be obtained by model training based on an image drawing algorithm, and the present application does not limit the training implementation method of the image generator) can be used to implement image drawing using the obtained multiple drawing features and their drawing weights to obtain a target image that conforms to the description content of the image to be drawn contained in the drawing speech.

[0085] In the process of obtaining the target image, a pre-trained discriminator can be used to match and analyze the image obtained each time with the image description content contained in the drawing voice to determine whether the image drawn this time conforms to the image description content. If so, the image drawn this time is determined as the target image; if not, the model parameters of the image generation model can be adaptively adjusted, and the image can be redrawn by the adjusted image generation model, and the newly drawn image can be input into the discriminator for matching analysis, and iterative updates are performed until the target image that conforms to the image description content contained in the drawing voice is obtained.

[0086] In some embodiments, in order to improve the efficiency and accuracy of image drawing, in the above-mentioned image drawing process, an image search can also be performed based on the drawing voice to obtain a similar image with the highest similarity to the image description content contained in the drawing voice, and the image elements contained in the similar image are deconstructed and reorganized according to the description content of the image to be drawn to obtain a reference image for drawing the image. After that, the image can be drawn based on the reference image, the various drawing features obtained above and their drawing weights to obtain the desired target image. The present application does not limit the implementation method of the above-mentioned step S43, and can be flexibly adjusted according to actual drawing requirements, and is not limited to the implementation method described in the context of the present application.

[0087] In summary, the present application proposes to perform semantic visualization processing based on artificial intelligence, so that the user can directly describe the content of the image to be drawn by voice, so that after the computer device obtains the corresponding drawing voice, it can perform image analysis on the drawing voice according to the preset processing rules, and obtain the drawing features and drawing weights of the image to be drawn, so as to perform image drawing based on at least the drawing features and the drawing weights, and obtain a target image that meets the user's description of the image to be drawn. Compared with the implementation method of manually drawing images, the voice drawing method proposed in the present application greatly improves the drawing efficiency, does not require the user to have high drawing skills, expands the drawing scenes, and can also meet the drawing needs of ordinary users.

[0088] Reference Figure 5 , which is a flow chart of another optional example of the voice mapping method proposed in this application, which can describe an optional detailed implementation process of the voice mapping method proposed above, but is not limited to the detailed implementation method described in this embodiment, such as Figure 5 As shown, the voice drawing method proposed in this embodiment may include:

[0089] Step S51, obtaining drawing speech for describing the image to be drawn;

[0090] Step S52, extracting a plurality of drawing elements for the image to be drawn contained in the drawing speech;

[0091] Step S53, determining a plurality of drawing features and respective drawing weights of the plurality of drawing features based on the state information of the drawing elements in the drawing voice;

[0092] In order to realize image analysis of the drawing voice containing the description content of the image to be drawn, determine the drawing features of the image to be drawn and their proportion in the content of the image to be drawn, the present application proposes to determine the multiple drawing features of the image to be drawn that needs to be drawn subsequently, and the influence of the drawing features on the entire image to be drawn, recorded as the drawing weight, based on the status information of each drawing element of the image to be drawn described in the drawing voice, such as one or more combination information of the number of repetitions, tone, description order, grammatical type, logical rationality, etc. of the corresponding drawing elements.

[0093] It should be noted that in practical applications, the higher the drawing weight of the above-mentioned drawing feature is, the greater its influence on the image to be drawn, and the earlier the drawing order of the image in the image drawing process is. The above-mentioned drawing elements may include but should not be limited to drawing speech, describing the component objects of the content of the image to be drawn, the color and layout relationship of each component object, the whole image conception, background, etc., which can be determined according to the type of the image to be drawn, drawing requirements, etc. This application does not limit the content of the drawing elements and their extraction methods.

[0094] Optionally, the present application may utilize speech recognition algorithms, machine learning algorithms, etc. included in artificial intelligence to analyze the drawing speech and obtain drawing elements for the image to be drawn. After that, at least one state information of each drawing element in the drawing speech may be determined according to preset processing rules, and then based on the determined state information, the drawing features and their drawing weights may be determined. The detailed steps for implementing this process are not described in detail in this application.

[0095] In some embodiments, the present application can construct one or more corresponding image analysis models based on multiple preset processing rules. The model construction process can be determined according to the content of each preset processing rule. The present application embodiment will not be described in detail here. In this way, after obtaining the drawing voice, the drawing voice can be directly input into the image analysis model to output various drawing features and drawing weights for the image to be drawn. However, it is not limited to the drawing feature acquisition method described in this application.

[0096] Step S54, inputting at least a plurality of drawing features and their drawing weights into an image generation model to perform image drawing to obtain a candidate image;

[0097] The image generation model can be obtained by training and learning based on the image drawing algorithm, machine learning algorithm, etc. included in artificial intelligence, and is used to convert the input text information into an image, that is, to realize image drawing processing. This application does not elaborate on the training implementation process of the image generation model.

[0098] Step S55, performing matching analysis on the candidate image and the drawing voice content to obtain a drawing matching degree;

[0099] Step S56, detecting whether the drawing matching degree is greater than the matching threshold, if not, proceeding to step S57; if yes, proceeding to step S58;

[0100] In combination with the description of the corresponding part of the above embodiment, the present application can use a pre-trained discriminator to implement step S55, that is, to determine whether the description content of the candidate image and the image to be drawn contained in the drawing voice is consistent. This can be indicated by whether the drawing matching degree between the two is greater than the matching threshold. If the obtained drawing matching degree is greater than the matching threshold, it can be considered that the description content of the candidate image and the image to be drawn in the drawing voice is consistent; otherwise, it can be considered that they are inconsistent. The present application does not limit the numerical value of the matching threshold, which can be determined according to the situation.

[0101] Optionally, after the candidate image and the description content of the image to be drawn contained in the drawing voice are input into the discriminator, the discriminator can output a judgment result of whether the candidate image is consistent with the description content according to the matching analysis described above. If they are consistent, it means that the candidate image drawn this time is consistent with the user's description content of the image to be drawn; if they are inconsistent, it means that the candidate image drawn this time is inconsistent with the user's description content of the image to be drawn, and the image generation model can continue to be iteratively updated to redraw the image.

[0102] Step S57, adjusting the model parameters of the image generation model to continue matching analysis on the new candidate image output by the adjusted image generation model;

[0103] Step S58: determine the candidate image as the target image to be output.

[0104] Following the above description, when the drawing matching degree is less than or equal to the matching threshold, the image drawn this time does not conform to the description content of the drawing voice and needs to be redrawn. Therefore, in order to improve the image drawing accuracy, the model parameters of the image generation model can be adjusted accordingly, and then the obtained drawing features and their drawing weights are input into the adjusted image generation model according to the method described above. After obtaining a new candidate image, the new candidate image is matched and analyzed with the drawing voice content to determine whether the new candidate image conforms to the description content of the image to be drawn. If it still does not conform, the model parameters can be adjusted again. After the model is iteratively updated multiple times, a target image that conforms to the description content is obtained.

[0105] In the consistency determination process, if it is determined that the matching degree between the candidate image drawn this time and the drawing speech content is greater than the matching threshold, the candidate image can be directly determined as the target image, that is, the image that meets the description content of the drawing speech for the image to be drawn.

[0106] Reference Figure 6, is a flowchart of another optional example of the voice drawing method proposed in this application. This embodiment can be another optional detailed implementation method of the above voice drawing method, and the method can still be executed by a computer device. Figure 6 As shown, the voice mapping method may include:

[0107] Step S61, obtaining drawing speech for describing the image to be drawn;

[0108] Step S62, extracting a plurality of drawing elements for the image to be drawn contained in the drawing speech;

[0109] Regarding the implementation process of step S61 and step S62, reference may be made to the description of the corresponding parts of the above embodiment, which will not be elaborated in this embodiment.

[0110] Step S63, determining the drawing element repeatedly described for the image to be drawn as a first drawing feature, and increasing a first drawing weight of the first drawing feature;

[0111] In an embodiment of the present application, for a preset processing rule, the focus of the drawing speech analysis can be used to determine the repeatedly described content contained therein as the key content. For the convenience of description, the repeatedly described content (usually one or more drawing elements of the image to be drawn) is determined as the first drawing feature. Compared with other drawing features that are not repeatedly described, the first drawing weight of the first drawing feature can be increased, so that the importance of the corresponding drawing feature can be represented by the size of the drawing weight.

[0112] Optionally, in the process of adjusting and configuring the drawing weight, it can be implemented according to the number of repetitions of the first drawing feature. The higher the number of repetitions of the first drawing feature, the higher its importance to the image to be drawn, and the larger the corresponding first drawing weight. This application does not limit the adjustment relationship between the number of repetitions and the first drawing weight, which can be determined according to the situation.

[0113] Step S64, comparing the tones of the multiple drawing elements, determining the drawing element corresponding to the accent as the second drawing feature, and increasing the second drawing weight of the second drawing feature;

[0114] In another preset processing rule, in the process of focusing on the analysis of the drawing voice, the drawing element where the accent is located can also be determined as important content. Therefore, the tones of multiple drawing elements described by the drawing voice can be compared to determine the second drawing feature where the accent is located, and the second drawing weight corresponding to the second drawing feature can be increased. The size of the drawing weight represents the pitch of the corresponding drawing element.

[0115] It should be noted that in the process of image analysis of drawing speech, the preset processing rules used can be selectively determined. Therefore, any one or more preset processing rules described above can be selected to call and execute the steps corresponding to the selected preset processing rules. In other words, the above steps S63 and S64 are not necessarily executed, depending on the situation.

[0116] Step S65, determining a corresponding third drawing feature and its third drawing weight based on the description order of the plurality of drawing elements in the drawing speech;

[0117] In some other embodiments, the present application may also call preset processing rules for drawing voice content as needed, and determine the proportion of the image content to be drawn according to the description order of the drawing voice content. Therefore, when extracting each drawing element in the drawing voice, the present application may determine the description order of each drawing element in the drawing voice, and then determine the corresponding third drawing feature and its third drawing weight based on the description order of each drawing element. Since the drawing elements described earlier often have a higher proportion of the image content to be drawn, they can be drawn first when drawing the image. Therefore, the third drawing feature with an earlier description order has a larger corresponding third drawing weight configured. However, the present application does not limit the adjustment configuration relationship between the description order and the drawing weight size, which can be determined according to the actual situation.

[0118] Similarly, the preset processing rules corresponding to step S65 can also be selectively called according to actual needs. When the preset processing rule needs to be called, step S65 is executed; if the preset processing rule does not need to be called, step S65 is no longer executed, and the processing steps corresponding to calling other preset processing rules are executed.

[0119] Step S66, determining the syntax type of each of the plurality of drawing elements;

[0120] Step S67, determining a fourth drawing feature of a corresponding grammar type and a fourth drawing weight thereof based on the weights of different grammar types and a plurality of drawing elements;

[0121] In another preset processing rule proposed in the present application, the present application can also focus on analyzing the semantics of the drawing voice content, determine the grammatical element composition of each sentence through grammatical splitting, consider the actual situation of the user's voice description content, and in the most complex case, consider sentences that contain subject, predicate, object, attributive, adverbial, and complement at the same time, such as "You (subject) holding (predicate) a red (attributive) apple (object) staggering (adverbial) walking (predicate), the apple is as red as the sunset in the sky (complement)", so as to assign different weights to grammatical elements to form the content of the image to be drawn.

[0122] Among them, the present application can determine the weight of each grammatical type based on the importance of the various grammatical types listed above, namely, subject, predicate, object, attributive, adverbial, complement and other grammatical types in the drawing description. For example, the weight relationship of different grammatical types can be expressed as: object = attributive > complement > adverbial > subject = predicate.

[0123] Based on this, the grammatical type of each of the multiple drawing elements extracted from the drawing speech can be determined according to the grammatical characteristics of the sentence. After that, the corresponding drawing elements are analyzed according to the weights corresponding to the different grammatical types to determine the fourth drawing feature of the focus of the drawing description and its fourth drawing weight. For example, the weight corresponding to the grammatical type of each drawing element can be directly determined as the fourth drawing weight, or the fourth drawing weight can be determined based on the weight corresponding to the grammatical type to ensure a positive correlation between the weight corresponding to the grammatical type and the fourth drawing weight. The present application does not impose any restrictions on the adjustment correspondence between the two.

[0124] In actual application, when it is determined that the preset processing rule needs to be called, step S66 and step S67 are executed. In addition, when multiple preset processing rules are called, when the drawing weight of the drawing feature is determined in the process of executing each preset processing rule, the contents of the multiple preset processing rules can be integrated to achieve the implementation, and the implementation process is not described in detail in this application.

[0125] Step S68, detecting any two drawing elements with unreasonable logical relationship, and determining the drawing element with lower drawing weight among the two drawing elements;

[0126] Step S69, performing semantic association analysis on the drawing element with a lower drawing weight to obtain a fifth drawing feature for the two drawing elements;

[0127] For the description content of the drawing voice, the relationship between adjacent drawing elements may not conform to the logical relationship of natural language, such as "red sea", which is inconsistent with the conventional blue sea, and needs to be calibrated and updated. Based on this, the present application can perform a logical analysis on the relationship between multiple drawing elements extracted from the drawing voice according to the preset logical relationship, and determine any two drawing elements with unreasonable logical relationships. After that, the drawing weight configuration method described above can be combined to analyze and determine the drawing element with a lower drawing weight among the two drawing elements.

[0128] Still taking "red sea" as an example, the sea is usually not red. After extracting the two drawing elements "sea" and "red", the logical relationship between the two is unreasonable. According to the preset processing rules described above, it can be determined that the drawing weight of "sea" is greater than the drawing weight of "red", and the drawing element "red" with a lower drawing weight can be determined. The drawing element can be subjected to semantic association analysis, that is, equivalent associations can be made for "red", such as "red coral". Then it can be considered that the "red sea" described by the user is because there are red corals in the sea, which makes the sea surface look red. Based on this semantic association analysis result, the fifth drawing feature for these two drawing elements is determined.

[0129] Based on the above analysis, in some embodiments, Figure 7 As shown, the implementation method of the preset processing rule described in this embodiment, that is, an optional implementation method included in step S68 and step S69 may include:

[0130] Step S71, determining any two drawing elements having an associated relationship based on the syntax types and description orders of the plurality of drawing elements;

[0131] Step S72: No relationship between the two drawing elements is found in the word knowledge graph, and it is determined that the logical relationship between the two drawing elements is unreasonable;

[0132] Among them, the word knowledge graph can perform correlation analysis on different words or sentences in the word library and generate according to the correlation analysis results. This application does not limit the method of generating the word knowledge graph. Of course, other data structure representation methods can also be used to represent the logical relationship between different words, and is not limited to the knowledge graph representation method.

[0133] In this way, when determining any two drawing elements with an associated relationship, such as two drawing elements contained in a phrase or sentence, it is possible to query in the pre-constructed word knowledge graph whether there is a logical relationship between the two drawing elements. If so, it can be considered that the logical relationship between the two drawing elements is reasonable; if not, it can be considered that the logical relationship between the two drawing elements is unreasonable.

[0134] Step S73, determining a drawing element with a lower drawing weight based on the respective syntax types of the two drawing elements with unreasonable logical relationships;

[0135] The method for obtaining the drawing weight of any drawing element may be determined by referring to but not limited to the preset processing rules described above, and will not be described in detail in the embodiment of the present application.

[0136] Step S74, querying the word knowledge graph for candidate associative elements associated with the drawing element with a lower drawing weight;

[0137] Step S75, performing scene matching analysis on the candidate associative element and the corresponding two drawing elements with unreasonable logical relationships to determine the target associative element belonging to the same scene;

[0138] Step S76: using the two drawing elements with unreasonable logical relationships and the target associative element, determine a plurality of corresponding fifth drawing features.

[0139] As in the example of "red sea" mentioned above, the drawing element "red" with a lower drawing weight is associated, and the obtained candidate association elements may include "coral" and "sunset". Afterwards, scene analysis is performed on the candidate association elements and the drawing elements with unreasonable logical relationships. From the candidate association elements, target association elements belonging to the same scene as these two drawing elements are screened, such as "coral" belonging to the sea scene. Afterwards, the fifth drawing feature of the drawing can be determined for the screened target association elements and the logical relationships with unreasonable logical relationships, such as "red coral makes the surface of the sea appear red", so as to subsequently realize the image drawing of the description content of "red sea" based on this.

[0140] It should be noted that the present application does not limit the content of the preset processing rules corresponding to step S68 and step S69 and their implementation methods, including but not limited to the implementation methods described above, which can be flexibly adjusted according to actual application requirements. The embodiments of the present application will not be described in detail one by one.

[0141] Step S610: performing image rendering based at least on the above-mentioned drawing features and their drawing weights to obtain a target image.

[0142] In the embodiment of the present application, any one or more preset processing rules described above can be used to determine any drawing feature and its drawing weight, and the image drawing can be performed based on artificial intelligence. As the number of determined drawing features increases, the drawn image is not updated until the target image is obtained. The implementation process of step S610 can refer to but is not limited to the description of the corresponding part of the above embodiment, and this embodiment will not be repeated here.

[0143] It should be noted that each preset processing rule described in the above steps can be executed according to a preset priority, including but not limited to the execution order of the steps described above, and is not limited to the multiple preset processing rules described above. One or more combinations can be selected for execution, or combined with other preset processing rules to perform image analysis on the drawing speech to obtain multiple drawing features and their drawing weights. The implementation process is not described in detail one by one in this application.

[0144] Reference Figure 8, which is a flowchart of another optional example of the voice mapping method proposed in this application, and the method can be executed by a computer device, such as Figure 8 As shown, the method may include:

[0145] Step S81, obtaining a drawing voice for describing the image to be drawn;

[0146] Step S82, based on the description content of the image to be drawn contained in the drawing speech, an image search is performed on the image library to determine similar images to the image to be drawn;

[0147] Step S83, based on the description content of the image to be drawn, deconstruct and reconstruct the image elements contained in the similar image to obtain a reference image for the image to be drawn;

[0148] Combined with the above description of the technical solution of the present application, when judging that the description content of the image to be drawn contained in the drawing voice has objective logic and may also contain personalized content, in order to improve the efficiency and accuracy of image drawing, the description content can be retrieved by a search engine. If a pending reference image whose similarity with the description content reaches a similarity threshold, it can be determined that there is objective logic, and the similar image with the highest similarity can be selected from the retrieved pending reference images, and the image elements contained therein are deconstructed, and these image elements are reorganized according to the user description content to generate a new image as a reference image for the image to be drawn.

[0149] It should be noted that this application does not limit the search algorithm and its operation principle for obtaining similar images by searching the image library by the search engine, and does not elaborate on the algorithm principle used for deconstructing and reconstructing similar images.

[0150] For example, when the search information is input in the search box of the image search page (which can be determined according to the name and type of the image to be drawn, and the present application does not limit the content of the search information and the method of obtaining the search information), for example, when "Van Gogh's bedroom" (i.e., the image to be drawn) is input, the search engine knowledge graph can match the following: Figure 9a The similar image of "Bedroom in Yar" shown has a high degree of similarity. It can be considered that the two images are strongly correlated, but there are still certain differences between the searched image and the image to be drawn. The present application can extract and reconstruct image elements of the searched similar image, combine it with the style of the image to be drawn, and generate a reference image.

[0151] In some other embodiments, the present application can use artificial intelligence to reorganize multiple image elements contained in similar images according to the description content of the image to be drawn contained in the drawing voice, and directly obtain the following: Figure 9bOf course, if the reconstructed image does not conform to the description content, the generated image can be adjusted according to the description content until it conforms to the description content. The target image that conforms to the description content can also be obtained according to the method described in the following steps. This application does not limit the implementation method of how to obtain the target image based on similar images.

[0152] Among them, according to the search method described above, if a similar image to the image to be drawn is not searched, the method described in the above embodiment of this application can be used to directly perform image analysis on the drawing voice image, and based on the obtained drawing features and their drawing weights, the image can be automatically drawn to obtain the target image. The implementation process will not be described in detail in this embodiment.

[0153] Step S84, performing image analysis on the drawing speech according to preset processing rules to obtain drawing features and drawing weights;

[0154] Regarding the implementation process of step S84, reference may be made to the description of the corresponding part of the above embodiment, and this embodiment will not be elaborated here.

[0155] Step S85, performing matching analysis on the image elements in the reference image and the drawing features to obtain corresponding matching results;

[0156] Step S86, determining the element weight of the corresponding image element based on the matching result and the drawing weight;

[0157] Step S87, at least input the reference image and the element weights into the image generation model to perform image rendering to obtain the target image.

[0158] In an embodiment of the present application, an image can be drawn based on a reference image, drawing features, and drawing weights to obtain a target image. In this implementation process, the obtained drawing features can be used to match the image elements contained in the reference image to determine which image elements have the same content as the image to be drawn. After that, the element weight of the image element can be determined in combination with the drawing weight of the drawing features, thereby characterizing the importance of the image element to the content of the image to be drawn, so that in subsequent drawing, the image element can be drawn with emphasis to highlight the image element in the obtained target image. This application does not limit the method for obtaining the element weight.

[0159] Regarding how to use the image generation model to draw the input information to obtain the target image, the implementation process can refer to the description of the corresponding part of the above embodiment, and this embodiment will not be repeated here.

[0160] In some other embodiments, Fig.10The flowchart of the voice drawing method shown in the figure is that after obtaining the drawing voice, the search engine searches for similar images whose similarity with the description content of the image to be drawn by the drawing voice is greater than the similarity threshold. If no similar images are found, the drawing voice can be analyzed for intent according to the preset processing rules to obtain drawing features and their drawing weights; if a similar image is found, its image elements can be deconstructed and reorganized to obtain a reference image, and then the obtained reference image and the description content contained in the drawing voice can be input into the image generation model, or the drawing features and their drawing weights can be input into the image generation model, so that the image generation model draws the image based on the input information to obtain a candidate image, which is then input into the discriminator to determine whether the candidate image meets the description content of the image to be drawn. If so, the candidate image is determined as the target image; if not, the model parameters can be adjusted, and the image can be redrawn using the adjusted model parameters, and the target image is obtained by iterative updating.

[0161] In summary, the present application can present key visual images more quickly and accurately through drawing voice, semantics, and intonation analysis, and draw the desired target image. In the case where the computer device is an electronic device with a display, the image can be drawn synchronously according to any of the methods described above during the user's description of the image to be drawn, and the target image can be obtained when the description is completed; of course, after obtaining the complete drawing voice of the image to be drawn, the target image can be obtained according to the voice drawing method described above, and the present application does not limit this implementation method.

[0162] In the case where the above-mentioned computer device is a server, the collected drawing voice can be sent synchronously to the server, or the complete drawing voice can be sent to the server, and the server draws the target image according to the voice drawing method described above, and feeds it back to the electronic device for output. This application does not limit the application environment and system architecture of image drawing. It can be understood that the execution process of the above-mentioned voice drawing method can be imperceptible to the user. After the user starts the image drawing function of the computer device, he only needs to describe the content of the image to be drawn to obtain the target image. Compared with the implementation method of manually drawing the target image, the image drawing efficiency is greatly improved, and the user does not need to have high drawing skills, which improves the user experience.

[0163] Reference Fig.11 , is a schematic diagram of an optional example of a voice mapping device proposed in this application, and the device may include:

[0164] A drawing voice obtaining module 111 is used to obtain a drawing voice for describing an image to be drawn;

[0165] The analysis module 112 is used to perform image analysis on the drawing speech according to a preset processing rule to obtain drawing features and drawing weights of the drawing features; wherein the drawing features with higher drawing weights have greater influence on the image to be drawn;

[0166] The image drawing module 113 is configured to perform image drawing based at least on the drawing feature and the drawing weight to obtain a target image.

[0167] In some embodiments, the analysis module 112 may include:

[0168] A drawing element extraction unit, used for extracting a plurality of drawing elements for the image to be drawn contained in the drawing speech;

[0169] A drawing feature determination unit, configured to determine a plurality of drawing features and respective drawing weights of the plurality of drawing features based on state information of the drawing element in the drawing voice;

[0170] The state information includes one or more combination information of repetition times, tone, description order, grammatical type, and logical rationality; the higher the drawing weight of the drawing feature, the higher the drawing order in the image drawing process.

[0171] Optionally, the drawing feature determination unit may include:

[0172] A first determining unit is configured to determine a drawing element repeatedly described for the image to be drawn as a first drawing feature, and increase a first drawing weight of the first drawing feature; and / or,

[0173] A second determining unit is configured to compare the tones of the plurality of drawing elements, determine the drawing element corresponding to the accent as a second drawing feature, and increase a second drawing weight of the second drawing feature; and / or,

[0174] a third determining unit, configured to determine a corresponding third drawing feature and a third drawing weight of the third drawing feature based on a description order of the plurality of drawing elements in the drawing speech; and / or a grammar type determining unit, configured to determine a grammar type of each of the plurality of drawing elements;

[0175] a fourth determining unit, configured to determine, based on weights of different grammar types and the plurality of drawing elements, a fourth drawing feature of a corresponding grammar type and a fourth drawing weight of the fourth drawing feature; and / or,

[0176] A drawing element determination unit, configured to detect any two drawing elements with unreasonable logical relationship and determine a drawing element with a lower drawing weight among the two drawing elements;

[0177] The fifth determining unit is configured to perform semantic association analysis on the drawing element with a lower drawing weight to obtain a fifth drawing feature for the two drawing elements.

[0178] In some embodiments, the drawing element determination unit may include:

[0179] An element relationship determination unit, configured to determine any two drawing elements having an association relationship based on the respective syntax types and description orders of the plurality of drawing elements;

[0180] A logical relationship detection unit, configured to determine that the logical relationship between the two drawing elements is unreasonable if the relationship between the two drawing elements is not found in the word knowledge graph;

[0181] The drawing element sub-determination unit is used to determine a drawing element with a lower drawing weight based on the respective syntax types of the two drawing elements with unreasonable logical relationship.

[0182] Optionally, the fifth determining unit may include:

[0183] A candidate associative element query unit, used to query candidate associative elements associated with the drawing element with a lower drawing weight from the word knowledge graph;

[0184] a target associative element determination unit, configured to perform scene matching analysis on the candidate associative element and two corresponding drawing elements with unreasonable logical relationships, and determine a target associative element belonging to the same scene;

[0185] The fifth drawing feature determining unit is used to determine a plurality of corresponding fifth drawing features by using the two drawing elements with unreasonable logical relationships and the target associative element.

[0186] In some other embodiments proposed in the present application, the image drawing module 113 may include:

[0187] An image drawing unit, configured to input at least a plurality of the drawing features and the drawing weights into an image generation model to perform image drawing to obtain a candidate image;

[0188] A first matching analysis unit, configured to perform matching analysis on the candidate image and the drawing voice content to obtain a drawing matching degree;

[0189] a target image determination unit, configured to determine the candidate image as a target image for output if the drawing matching degree is greater than a matching threshold;

[0190] The model parameter adjustment unit is used to adjust the model parameters of the image generation model if the drawing matching degree is less than or equal to the matching threshold, and continue to perform matching analysis on the new candidate image output by the adjusted image generation model to obtain the target image.

[0191] In some further embodiments, based on the description of the above embodiments, the device may further include:

[0192] An image search module, configured to search an image library based on the description content of the image to be drawn contained in the drawing speech, and determine similar images to the image to be drawn;

[0193] A deconstruction and reconstructing module, used for deconstructing and reconstructing the image elements contained in the similar image based on the description content to obtain a reference image for the image to be drawn;

[0194] Based on this, the image drawing module 113 may be specifically used to perform image drawing based on the reference image, the drawing features and the drawing weights to obtain a target image.

[0195] Optionally, the image drawing module 113 may include:

[0196] A second matching analysis unit, configured to perform matching analysis on the image elements in the reference image and the drawing features to obtain corresponding matching results;

[0197] an element weight determination unit, configured to determine an element weight corresponding to the image element based on the matching result and the drawing weight;

[0198] The target image rendering unit is used to input at least the reference image and the element weights into the image generation model to perform image rendering to obtain a target image.

[0199] It should be noted that the various modules, units, etc. in the above-mentioned device embodiments can be stored in the memory as program modules, and the processor executes the above-mentioned program modules stored in the memory to implement the corresponding functions. For the functions implemented by each program module and its combination, as well as the technical effects achieved, please refer to the description of the corresponding parts of the above-mentioned method embodiments, which will not be repeated in this embodiment.

[0200] The present application also provides a computer-readable storage medium, on which a computer program can be stored. The computer program can be called and loaded by a processor to implement the various steps of the voice-drawing method described in the above embodiment.

[0201] Finally, it should be noted that, with respect to the above embodiments, unless the context clearly indicates an exception, the words "a", "an", "a kind" and / or "the" do not specifically refer to the singular, but may also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of clearly identified steps and elements, and these steps and elements do not constitute an exclusive list, and the method or device may also include other steps or elements. The elements defined by the sentence "includes a..." do not exclude the existence of other identical elements in the process, method, commodity or device that includes the elements.

[0202] In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0203] The terms such as "first", "second", etc. used in this application are only used for descriptive purposes to distinguish one operation, unit or module from another operation, unit or module, and do not necessarily require or imply any actual relationship or order between these units, operations or modules. They cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0204] In addition, the various embodiments in this specification are described in a progressive or parallel manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the devices and computer equipment disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0205] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A voice mapping method, the method comprising: Obtaining drawing speech for describing the image to be drawn; According to a preset processing rule, image analysis is performed on the drawing speech to obtain drawing features and drawing weights of the drawing features; wherein the drawing features with higher drawing weights have greater influence on the image to be drawn; Inputting at least a plurality of the drawing features and the drawing weights into an image generation model to perform image drawing to obtain a candidate image; A target image is obtained according to the candidate image.

2. The method according to claim 1, wherein the image analysis is performed on the drawing speech according to a preset processing rule to obtain drawing features and drawing weights of the drawing features; comprising: Extracting a plurality of drawing elements for the image to be drawn contained in the drawing speech; Determining a plurality of drawing features and respective drawing weights of the plurality of drawing features based on the state information of the drawing element in the drawing voice; The state information includes one or more combination information of repetition times, tone, description order, grammatical type, and logical rationality; the higher the drawing weight of the drawing feature, the higher the drawing order in the image drawing process.

3. The method according to claim 2, wherein determining a plurality of drawing features and respective drawing weights of the plurality of drawing features based on the state information of the drawing element in the drawing voice comprises: determining a drawing element repeatedly described for the image to be drawn as a first drawing feature, and increasing a first drawing weight of the first drawing feature; and / or, Comparing the tones of the plurality of drawing elements, determining the drawing element corresponding to the accent as a second drawing feature, and increasing a second drawing weight of the second drawing feature; and / or, Determine a corresponding third drawing feature and a third drawing weight of the third drawing feature based on the description order of the plurality of drawing elements in the drawing voice; and / or, Determining a syntax type of each of the plurality of drawing elements; Determining a fourth drawing feature of a corresponding grammar type and a fourth drawing weight of the fourth drawing feature based on weights of different grammar types and the plurality of drawing elements; and / or, Detecting any two drawing elements with unreasonable logical relationships, determining a drawing element with a lower drawing weight among the two drawing elements; A semantic association analysis is performed on the drawing element with a lower drawing weight to obtain a fifth drawing feature for the two drawing elements.

4. The method according to claim 3, wherein the detecting any two drawing elements with unreasonable logical relationship and determining the drawing element with lower drawing weight among the two drawing elements comprises: Determine any two drawing elements having an associated relationship based on the syntax types and description orders of the multiple drawing elements; The relationship between the two drawing elements is not found in the word knowledge graph, and it is determined that the logical relationship between the two drawing elements is unreasonable; Based on the syntax types of the two drawing elements whose logical relationship is unreasonable, a drawing element with a lower drawing weight is determined.

5. The method according to claim 3, wherein the performing semantic association analysis on the drawing element with the lower drawing weight to obtain the fifth drawing feature for the two drawing elements comprises: Querying, from the word knowledge graph, candidate association elements associated with the drawing element having a lower drawing weight; Performing scene matching analysis on the candidate associative element and the corresponding two drawing elements with unreasonable logical relationships to determine a target associative element belonging to the same scene; The two drawing elements with unreasonable logical relationships and the target associative element are used to determine a plurality of corresponding fifth drawing features.

6. The method according to any one of claims 1 to 5, wherein obtaining a target image according to the candidate image comprises: Performing matching analysis on the candidate image and the drawing voice content to obtain a drawing matching degree; If the drawing matching degree is greater than a matching threshold, the candidate image is determined as a target image for output; If the drawing matching degree is less than or equal to the matching threshold, the model parameters of the image generation model are adjusted, and the matching analysis is continued on the new candidate image output by the adjusted image generation model to obtain the target image.

7. The method according to any one of claims 1 to 5, further comprising: Based on the description content of the image to be drawn contained in the drawing voice, an image search is performed on an image library to determine similar images to the image to be drawn; Based on the description content, deconstructing and recombining image elements contained in the similar image to obtain a reference image for the image to be drawn; The performing image drawing at least based on the drawing feature and the drawing weight to obtain a target image includes: Image rendering is performed based on the reference image, the rendering features and the rendering weights to obtain a target image.

8. The method according to claim 7, wherein the performing image rendering based on the reference image, the rendering feature and the rendering weight to obtain the target image comprises: Performing matching analysis on the image elements in the reference image and the drawing features to obtain corresponding matching results; Determining an element weight corresponding to the image element based on the matching result and the drawing weight; At least the reference image and the element weights are input into an image generation model to perform image rendering to obtain a target image.

9. A voice mapping device, comprising: A drawing voice obtaining module, used for obtaining drawing voice for describing the image to be drawn; An analysis module, used for performing image analysis on the drawing speech according to a preset processing rule to obtain drawing features and drawing weights of the drawing features; wherein the drawing features with higher drawing weights have greater influence on the image to be drawn; The image drawing module is used to input at least a plurality of the drawing features and the drawing weights into an image generation model to perform image drawing to obtain a candidate image; and obtain a target image according to the candidate image.

10. A computer device, comprising: Communication interface; A memory, used for storing a program for implementing the voice mapping method according to any one of claims 1 to 8; A processor is used to load and execute the program stored in the memory to implement the voice mapping method as described in any one of claims 1 to 8.