Method and device for drawing split picture, storage medium and electronic equipment

Through the combination of the storyboard language large model and the storyboard image large model, automated storyboard screen creation solves the problem of low efficiency of traditional rendering, achieves efficient and accurate storyboard screen generation, and reduces labor and time costs.

CN118733818APending Publication Date: 2024-10-01BEIJING QIYI CENTURY SCI & TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410849079.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The drawing efficiency of traditional storyboard pictures is low. Professional painters need to discuss repeatedly with the director and director of photography, and it takes several months to complete the drawing.

Method used

Using the storyboard language large model and the storyboard image large model, by obtaining the script and decomposing it into scenes and shots, a precise description of the shot is generated, and then the picture is drawn to realize automated creation.

Benefits of technology

Significantly reduce labor and time costs, quickly generate high-quality storyboards, ensure the consistency and accuracy of descriptions and images, and improve the efficiency of film and television creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733818A_ABST
    Figure CN118733818A_ABST
Patent Text Reader

Abstract

The invention relates to a drawing method and device of a split picture, a storage medium and electronic equipment. The method comprises the following steps: acquiring a target script, and dividing the target script into a plurality of scene contents; the number of shot is set for target scene content, and the target scene content is at least one piece of scene content in the multiple pieces of scene content; inputting the content of the target scene and the number of the lenses into a trained large split language model to perform picture description on each lens of the target scene to obtain fine lens description corresponding to each lens of the target scene; and inputting the lens fine description corresponding to each lens of the target scene into the trained split image large model, so as to perform picture drawing on each lens of the target scene according to the lens fine description corresponding to each lens of the target scene to obtain a first lens picture corresponding to each lens of the target scene. The technical problem of low drawing efficiency of the split picture is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of image processing technology, and in particular to a method, device, storage medium and electronic device for drawing a storyboard. Background Art

[0002] Storyboards are an indispensable part of film and television production. They are a way to express the content of the script in advance of filming through hand-drawn line drawings. In the traditional mode, professional storyboard artists need to discuss and scout locations with directors and photography directors repeatedly, and then spend several months drawing storyboards, so the efficiency of drawing storyboards is low. Summary of the invention

[0003] The present application provides a method, device, storage medium and electronic device for drawing a storyboard screen to solve the technical problem of low drawing efficiency of the storyboard screen.

[0004] In a first aspect, the present application provides a method for drawing a storyboard screen, comprising: obtaining a target script, and dividing the target script into multiple scene contents; setting the number of shots for the target scene content, wherein the target scene content is at least one scene content among the multiple scene contents; inputting the target scene content and the number of shots thereof into a trained storyboard language macromodel, so as to perform a picture description for each shot of the target scene, and obtain a precise shot description corresponding to each shot of the target scene; inputting the precise shot description corresponding to each shot of the target scene into a trained storyboard image macromodel, so as to perform a picture drawing for each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot screen corresponding to each shot of the target scene.

[0005] In a second aspect, the present application provides a device for drawing a storyboard picture, comprising: a first acquisition module, used to acquire a target script and divide the target script into multiple scene contents; a setting module, used to set the number of shots for the target scene content, wherein the target scene content is at least one scene content among the multiple scene contents; a first processing module, used to input the target scene content and the number of shots thereof into a trained storyboard language model, so as to perform a picture description for each shot of the target scene, and obtain a precise shot description corresponding to each shot of the target scene; a second processing module, used to input the precise shot description corresponding to each shot of the target scene into the trained storyboard image model, so as to draw each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene.

[0006] As an optional example, the first processing module includes: a parsing unit, used to parse the target scene content and generate a target number of rough descriptions of shots, wherein the target number is the number of shots, one shot corresponds to one rough description of shot, and the rough description of shot includes character data, environmental data and shot data; a first processing unit, used to take each of all shots as the current shot, and perform the following operations on the current shot: converting the character data and environmental data in the rough description of shot of the current shot into description words to obtain a fine description of shot of the current shot, wherein the fine description of shot of the current shot also includes the environmental data and lens data in the rough description of shot of the current shot.

[0007] As an optional example, the first processing unit is further used to convert the character data and environment data in the rough shot description of the current shot into description words to obtain a fine shot description of the current shot, and then modify the rough shot description of the current shot to obtain a modified rough shot description; and convert the modified rough shot description to obtain a modified fine shot description to update the fine shot description of the current shot.

[0008] As an optional example, the above-mentioned device also includes: a second acquisition module, which is used to obtain the picture style and historical manuscript image data of the above-mentioned target script before inputting the precise shot description corresponding to each shot of the above-mentioned target scene into the trained storyboard image large model, so as to draw the picture of each shot of the above-mentioned target scene according to the precise shot description corresponding to each shot of the above-mentioned target scene, and obtain the first shot picture corresponding to each shot of the above-mentioned target scene; a training module, which is used to train the storyboard image large model based on the above-mentioned picture style and the above-mentioned historical manuscript image data, and obtain the above-mentioned trained storyboard image large model.

[0009] As an optional example, the second processing module includes: a second processing unit, used to take each of all the shots as the current shot, and perform the following operations on the current shot: according to the shot description of the current shot, draw the picture of the current shot to obtain the second shot picture of the current shot; according to the picture style of the target script, stylize the second shot picture to obtain the third shot picture of the current shot; when the third shot picture is a single shot picture, determine the third shot picture as the first shot picture of the current shot; when the third shot picture is multiple shot pictures, determine the target shot picture as the first shot picture of the current shot, wherein the target shot picture is any one shot picture of all the third shot pictures.

[0010] As an optional example, the second processing unit is further used to stylize the second shot picture according to the picture style of the target script to obtain the third shot picture of the current shot, and then modify the shot fine description of the current shot to obtain a modified shot fine description; and regenerate the third shot picture of the current shot according to the modified shot fine description.

[0011] As an optional example, the above-mentioned device also includes: a third processing module, which is used to input the precise shot description corresponding to each shot of the above-mentioned target scene into the trained storyboard image model, so as to draw a picture of each shot of the above-mentioned target scene according to the precise shot description corresponding to each shot of the above-mentioned target scene, and after obtaining the first shot picture corresponding to each shot of the above-mentioned target scene, add a shot identifier to the above-mentioned first shot picture, wherein the above-mentioned shot identifier is used to indicate the shooting trajectory or the character movement trajectory in the above-mentioned first shot picture; a fourth processing module, which is used to regenerate the first shot picture of the above-mentioned current shot according to the above-mentioned shot identifier.

[0012] In a third aspect, the present application provides a storage medium storing a computer program, wherein the computer program executes the above-mentioned method of drawing a storyboard when executed by a processor.

[0013] In a fourth aspect, the present application further provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the above-mentioned method for drawing a storyboard through the above-mentioned computer program.

[0014] In an embodiment of the present application, a method is adopted for obtaining a target script and dividing the target script into a plurality of scene contents; setting the number of shots for the target scene content, wherein the target scene content is at least one scene content among the plurality of scene contents; inputting the target scene content and the number of shots thereof into a trained storyboard language model to describe each shot of the target scene, and obtain a precise shot description corresponding to each shot of the target scene; inputting the precise shot description corresponding to each shot of the target scene into a trained storyboard image model to draw each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene. In the above method, by analyzing the script with the help of the ability of the storyboard language model, key picture information can be quickly extracted, and the script language can be initially converted into precise shot descriptions corresponding to a plurality of shots. Then, the picture is drawn according to the precise description of the shot through the storyboard image large model, and the first shot picture corresponding to each shot that meets the target script storyboard requirements is obtained, thereby achieving the purpose of efficiently obtaining the storyboard picture, saving the manpower cost and labor time of the storyboard artist, accelerating the process of film and television creation, and thus solving the technical problem of low efficiency in drawing the storyboard picture. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] 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.

[0016] 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, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0017] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0018] Figure 1 is a flowchart of an optional method for drawing a storyboard according to an embodiment of the present application;

[0019] Figure 2 It is a shot-precision description generation flow chart of an optional method for drawing a storyboard according to an embodiment of the present application;

[0020] Figure 3It is a shot picture generation flow chart of an optional method for drawing a storyboard picture according to an embodiment of the present application;

[0021] Figure 4 This is an example diagram of a lens picture of an optional method for drawing a storyboard picture according to an embodiment of the present application;

[0022] Figure 5 This is an example diagram of lens identification of an optional method for drawing a storyboard according to an embodiment of the present application;

[0023] Figure 6 is a schematic structural diagram of an optional storyboard drawing device according to an embodiment of the present application;

[0024] Figure 7 is a schematic diagram of an optional electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are 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 making creative work are within the scope of protection of this application.

[0026] The disclosure below provides many different embodiments or examples to realize the different structures of the present application. In order to simplify the disclosure of the present application, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present application. In addition, the present application can repeat reference numbers and / or letters in different examples. This repetition is for the purpose of simplification and clarity, and does not itself indicate the relationship between the various embodiments and / or settings discussed.

[0027] According to a first aspect of an embodiment of the present application, a method for drawing a storyboard is provided. Optionally, as follows: Figure 1 As shown, the above method includes:

[0028] S102, obtaining a target script, and dividing the target script into multiple scene contents;

[0029] S104, setting the number of shots for the target scene content, wherein the target scene content is at least one scene content among the multiple scene contents;

[0030] S106, inputting the target scene content and the number of its shots into the trained storyboard language model to describe each shot of the target scene, thereby obtaining a precise shot description corresponding to each shot of the target scene;

[0031] S108, inputting the precise shot description corresponding to each shot of the target scene into the trained storyboard image model, so as to draw a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtaining a first shot picture corresponding to each shot of the target scene.

[0032] Optionally, in this embodiment, a complete target script is obtained. The target script refers to the complete story text planned for filming, including all scenes, dialogues, actions and descriptions. The target script is divided according to the scene. A complete script usually contains multiple scenes, each of which represents an independent part of the story, usually divided by factors such as location, time and plot changes. At least one target scene is selected, and how many shots are required for it is determined. Each shot represents the shooting of the camera at a certain position and angle, and may include shooting from different perspectives, distances and heights. The selected scene content and the set number of shots are input into the trained storyboard language model. This model is trained to generate detailed shot descriptions, and based on the input scene content and the number of shots, a shot description of each shot is generated. The storyboard language model will give a specific text description of each shot of the target scene and generate a shot fine description, which includes details such as the angle, distance, shooting object, and composition elements of the shot. Next, the generated shot fine description of each shot is input into the trained storyboard image model, which can generate a corresponding visual picture based on the text description. The storyboard image model will generate the corresponding first shot images based on the precise description of each shot. These first shot images will visually display the composition, elements and scenes of each shot. Finally, the first shot images of each shot in the target scene will be obtained, and these images will be presented in the form of images to show the detailed visual effects of the storyboard.

[0033] Optionally, in this embodiment, automated storyboard creation can significantly reduce manpower and time costs and quickly generate high-quality storyboard images. The shot descriptions and images generated by the large model ensure the consistency and accuracy of the descriptions and images, reducing the errors that may be caused by manual creation. Using advanced artificial intelligence technology, the storyboard creation in the film and television production process is made more efficient, accurate, and creative.

[0034] Optionally, in this embodiment, by analyzing the script with the help of the ability of the storyboard language model, key picture information can be quickly extracted, and the script language can be initially converted into precise descriptions of shots corresponding to multiple shots. Then, the picture is drawn according to the precise description of the shots through the storyboard image model to obtain the first shot picture corresponding to each shot that meets the requirements of the target script storyboard, thereby achieving the purpose of efficiently obtaining the storyboard picture, saving the manpower cost and labor time of the storyboard artist, and accelerating the process of film and television creation, thereby solving the technical problem of low efficiency in drawing the storyboard picture.

[0035] As an optional example, the target scene content and the number of its shots are input into the trained storyboard language model to describe each shot of the target scene, and the shot-accurate description corresponding to each shot of the target scene is obtained, including:

[0036] Parsing the target scene content, generating a first number of rough shot descriptions, wherein the first number is the number of shots, one shot corresponds to one rough shot description, and the rough shot description includes character data, environment data, and shot data;

[0037] Take each of all the lenses as the current lens and perform the following operations on the current lens:

[0038] The character data and environment data in the rough shot description of the current shot are converted into description words to obtain a fine shot description of the current shot, wherein the fine shot description of the current shot also includes the environment data and shot data in the rough shot description of the current shot.

[0039] Optionally, in this embodiment, a rough shot description is generated by parsing the scene content, and then converted into a detailed fine shot description for further visual processing. Figure 2The flowchart for generating a fine description of a shot shown in the figure selects a target scene from a script, pre-processes the script first, extracts the core elements therein, including characters, environment, shot data, tone conception, etc., and generates a corresponding number of rough descriptions of shots for the target scene according to the set number of shots. Each rough description of a shot corresponds to a shot and contains the following contents: Character data: information about the characters appearing in the shot, such as the character's actions, emotional state, and position. Environmental data: including environmental elements such as scene background, props, and light. Shot data: describing the technical parameters of the shot, such as the type of shot (close-up, panoramic, etc.), angle, and movement mode. Through the large model of the storyboard language, the character and environment data in the rough description of the shot corresponding to the shot are converted into detailed text descriptions. These descriptive words can more specifically describe the scene and characters in the shot. On the basis of generating detailed character and environment description words, the environmental data and lens data of the current shot are integrated to generate a complete fine description of the shot. This detailed description includes: the specific actions, emotions, and position descriptions of the characters. Environmental details, such as light, weather, background elements, etc. Technical parameters and settings of the lens, such as focal length, angle, and movement mode, etc. Take a shot of the target scene content as an example. For example, the target scene content in the target script is: "The paper is already full of answers to the proofs of geometry problems. The pen tip draws a circular period, going around several times. Zhu Chaoyang was sitting in a middle school classroom. The afterglow of the setting sun sprinkled on Zhu Chaoyang. Zhu Chaoyang looked out the window and breathed a sigh of relief. The day's exam was over. Yang Han, who was sitting behind Zhu Chaoyang, kicked his stool and signaled him to pass the note to boy A in the front row. Zhu Chaoyang wrote his name on the paper, stood up directly, walked to the podium, and passed rows of students who were still answering the papers. Yang Han glared. Ye Chimin in the first row raised his head and glanced at him with disdain. Sitting by the podium was the invigilator, Mr. Wang, who was drowsy. Zhu Chaoyang He put the test paper on the desk and walked out of the classroom. "It is divided into three shots. The rough description of this shot is: "Zhu Chaoyang sits on a stool, the afterglow of the setting sun shines on him, single person, center composition, [Zhu Chaoyang, black T-shirt, 10 years old, medium, lowered head, close-up, answering the test paper, focusing], classroom, interior, afternoon, objective lens, flat shot, flat camera position, standard lens, side soft light, warm color." The fine description of this shot is: "The boy in a black T-shirt lowered his head to write the test paper, single person, center composition, [the boy in a black T-shirt, wearing a black T-shirt, the boy, short hair, medium, lowered head, close-up, answering the test paper, focusing], classroom, interior, afternoon, objective lens, flat shot, flat camera position, standard lens, side soft light, warm color."

[0040] Optionally, in this embodiment, by refining the rough description into a fine description, the description of each shot is ensured to be more detailed and accurate, which is helpful for subsequent visual creation. The detailed shot description can better restore the scene in the script and ensure the accurate presentation of each element during shooting. By gradually refining the shot description, the efficiency and effect of film and television production are improved, and the control over scenes and shots is enhanced, thereby ensuring the quality of the final shot picture.

[0041] As an optional example, after converting the character data and environment data in the rough shot description of the current shot into description words to obtain the fine shot description of the current shot, the method further includes:

[0042] Modify the lens coarse description of the current lens to obtain a modified lens coarse description;

[0043] The modified coarse lens description is converted to obtain a modified fine lens description to update the fine lens description of the current lens.

[0044] Optionally, in this embodiment, after the initial generation of the lens fine description, it can be modified and updated to ensure that the lens fine description of each lens is more accurate and meets the creative needs. Click on any storyboard to view the corresponding lens rough description and lens fine description, which include information such as camera angle, camera position, lens angle of view, focal length, etc. If you are not satisfied, you can modify the lens rough description to regenerate the lens fine description. Through the steps of initial generation and re-modification, it is ensured that the lens description accurately reflects the creativity and actual needs, and the error is reduced. By continuously iterating and optimizing the lens description, it is ensured that the creative expression and technical implementation of each lens can meet high standards, thereby improving the quality and production efficiency of the lens picture of each lens.

[0045] As an optional example, before inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image macro model, rendering each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and obtaining the first shot picture corresponding to each shot of the target scene, the method further includes:

[0046] Obtain the screen style and historical manuscript data of the target script;

[0047] Based on the picture style and historical manuscript image data, the storyboard image large model is trained to obtain a trained storyboard image large model.

[0048] Optionally, in this embodiment, in order to improve the accuracy of the shot images generated by the large model of the storyboard image, an automated training model can be used. This process includes extracting a large number of screenshots from the historical dramas of the target script, automatically organizing the materials according to the specified tags using the target script, annotating the data in combination with algorithms such as face and gesture recognition, and providing it to the target script for training. By extracting screenshots from historical dramas, automatically organizing and annotating the materials, and annotating the data in combination with advanced recognition algorithms, the training effect of the large model of the storyboard image can be significantly improved, thereby generating more accurate and high-quality shot images, and enhancing the effect and efficiency of film and television production.

[0049] As an optional example, the precise shot description corresponding to each shot of the target scene is input into the trained storyboard image model, so that each shot of the target scene is drawn according to the precise shot description corresponding to each shot of the target scene, and the first shot picture corresponding to each shot of the target scene is obtained, including:

[0050] Take each of all the lenses as the current lens and perform the following operations on the current lens:

[0051] According to the precise description of the current lens, the current lens is drawn to obtain a second lens image of the current lens;

[0052] According to the picture style of the target script, the second shot picture is stylized to obtain the third shot picture of the current shot;

[0053] When the third lens picture is a lens picture, the third lens picture is determined as the first lens picture of the current lens;

[0054] In the case that the third lens picture is a plurality of lens pictures, the target lens picture is determined as the first lens picture of the current lens, wherein the target lens picture is any lens picture among all the third lens pictures.

[0055] Optionally, in this embodiment, if Figure 3 As shown in the shot picture generation flow chart, taking a certain shot as an example, the trained storyboard image large model is used to draw the picture according to the detailed information in the shot description of this shot, so as to obtain the preliminary picture of this shot, that is, the second shot picture, and ensure that the storyboard image large model can capture each detail in the description meticulously to generate a preliminary picture that fits the description as closely as possible. According to the overall picture style of the target script (such as black and white, retro, cartoon, realism, etc.), the second shot picture is stylized to generate the stylized third shot picture, and ensure that the style of the shot picture of each shot is consistent with the visual style of the entire script. Figure 4As shown in the example of the lens picture, if there is only one third lens picture generated, it will be directly determined as the first lens picture of this lens, which means that the final picture has met the requirements and does not need to be further screened. If you are not satisfied with the generated third lens picture, you can generate it multiple times to obtain multiple third lens pictures, and select the most satisfactory one as the first lens picture of this lens.

[0056] Optionally, in this embodiment, by drawing a preliminary picture based on the precise description of the shot, the generated picture is ensured to be detailed and accurate, and the scenes and plots in the script are restored to the greatest extent. The stylized processing ensures that all the shots are in line with the overall visual style of the target script, thereby enhancing the audience's viewing experience and the artistry of the film. In the case of multiple shots, selection can be made as needed to ensure that the final shot meets the director's intentions and creative needs. This flexibility allows the best solution to be selected among different visual effects. Automated picture generation and stylized processing reduces the time for manual drawing and adjustment, improves production efficiency, and saves resources.

[0057] As an optional example, after the second shot picture is stylized according to the picture style of the target script to obtain the third shot picture of the current shot, the method further includes:

[0058] Modify the lens fine description of the current lens to obtain the modified lens fine description;

[0059] Regenerate the third lens picture of the current lens according to the modified lens precise description.

[0060] Optionally, in this embodiment, if Figure 3 As shown in the lens picture generation flow chart, if the finally generated first lens pictures are not satisfactory, the lens fine description of this lens can be modified, and at least one first lens picture of this lens can be regenerated according to the modified lens fine description, and the most satisfactory picture can be selected as the final lens picture of this lens.

[0061] As an optional example, after inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image macro model, rendering each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and obtaining the first shot picture corresponding to each shot of the target scene, the method further includes:

[0062] Adding a shot mark to the first shot picture, wherein the shot mark is used to indicate a shooting track or a character movement track in the first shot picture;

[0063] Regenerate the first shot image of the current shot according to the shot identifier.

[0064] Optionally, in this embodiment, if Figure 5 The lens identification example shown in the figure can be manually added based on the satisfactory lens image to indicate the movement trajectory of the camera or character. The lens identification can include push, pull, move down, enter the picture to the right, transition, 3D arrow, etc. If more storyboard images need to be generated in a certain scene, they can be added to the lens list and the new lens description can be manually input to generate the lens image.

[0065] 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 preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0066] According to another aspect of the embodiment of the present application, a device for drawing a storyboard is also provided. Figure 6 As shown, including:

[0067] A first acquisition module 602 is used to acquire a target script and divide the target script into a plurality of scene contents;

[0068] A setting module 604 is used to set the number of shots for a target scene content, wherein the target scene content is at least one scene content among the multiple scene contents;

[0069] The first processing module 606 is used to input the target scene content and the number of its shots into the trained storyboard language model to describe each shot of the target scene, and obtain a shot-accurate description corresponding to each shot of the target scene;

[0070] The second processing module 608 is used to input the precise shot description corresponding to each shot of the target scene into the trained storyboard image model, so as to draw a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene.

[0071] Optionally, in this embodiment, a complete target script is obtained. The target script refers to the complete story text planned for filming, including all scenes, dialogues, actions and descriptions. The target script is divided according to the scene. A complete script usually contains multiple scenes, each of which represents an independent part of the story, usually divided by factors such as location, time and plot changes. At least one target scene is selected, and how many shots are required for it is determined. Each shot represents the shooting of the camera at a certain position and angle, and may include shooting from different perspectives, distances and heights. The selected scene content and the set number of shots are input into the trained storyboard language model. This model is trained to generate detailed shot descriptions, and based on the input scene content and the number of shots, a shot description of each shot is generated. The storyboard language model will give a specific text description of each shot of the target scene and generate a shot fine description, which includes details such as the angle, distance, shooting object, and composition elements of the shot. Next, the generated shot fine description of each shot is input into the trained storyboard image model, which can generate a corresponding visual picture based on the text description. The storyboard image model will generate the corresponding first shot images based on the precise description of each shot. These first shot images will visually display the composition, elements and scenes of each shot. Finally, the first shot images of each shot in the target scene will be obtained, and these images will be presented in the form of images to show the detailed visual effects of the storyboard.

[0072] Optionally, in this embodiment, automated storyboard creation can significantly reduce manpower and time costs and quickly generate high-quality storyboard images. The shot descriptions and images generated by the large model ensure the consistency and accuracy of the descriptions and images, reducing the errors that may be caused by manual creation. Using advanced artificial intelligence technology, the storyboard creation in the film and television production process is made more efficient, accurate, and creative.

[0073] Optionally, in this embodiment, by analyzing the script with the help of the ability of the storyboard language model, key picture information can be quickly extracted, and the script language can be initially converted into precise descriptions of shots corresponding to multiple shots. Then, the picture is drawn according to the precise description of the shots through the storyboard image model to obtain the first shot picture corresponding to each shot that meets the requirements of the target script storyboard, thereby achieving the purpose of efficiently obtaining the storyboard picture, saving the manpower cost and labor time of the storyboard artist, and accelerating the process of film and television creation, thereby solving the technical problem of low efficiency in drawing the storyboard picture.

[0074] As an optional example, the first processing module includes:

[0075] A parsing unit, used to parse the target scene content and generate a target number of shot coarse descriptions, wherein the target number is the number of shots, one shot corresponds to one shot coarse description, and the shot coarse description includes character data, environment data and shot data;

[0076] The first processing unit is used to take each of all the shots as a current shot and perform the following operations on the current shot:

[0077] The character data and environment data in the rough shot description of the current shot are converted into description words to obtain a fine shot description of the current shot, wherein the fine shot description of the current shot also includes the environment data and shot data in the rough shot description of the current shot.

[0078] Optionally, in this embodiment, a rough shot description is generated by parsing the scene content, and then converted into a detailed fine shot description for further visual processing. Figure 2The flowchart for generating a fine description of a shot shown in the figure selects a target scene from a script, pre-processes the script first, extracts the core elements therein, including characters, environment, shot data, tone conception, etc., and generates a corresponding number of rough descriptions of shots for the target scene according to the set number of shots. Each rough description of a shot corresponds to a shot and contains the following contents: Character data: information about the characters appearing in the shot, such as the character's actions, emotional state, and position. Environmental data: including environmental elements such as scene background, props, and light. Shot data: describing the technical parameters of the shot, such as the type of shot (close-up, panoramic, etc.), angle, and movement mode. Through the large model of the storyboard language, the character and environment data in the rough description of the shot corresponding to the shot are converted into detailed text descriptions. These descriptive words can more specifically describe the scene and characters in the shot. On the basis of generating detailed character and environment description words, the environmental data and lens data of the current shot are integrated to generate a complete fine description of the shot. This detailed description includes: the specific actions, emotions, and position descriptions of the characters. Environmental details, such as light, weather, background elements, etc. Technical parameters and settings of the lens, such as focal length, angle, and movement mode, etc. Take a shot of the target scene content as an example. For example, the target scene content in the target script is: "The paper is already full of answers to the proofs of geometry problems. The pen tip draws a circular period, going around several times. Zhu Chaoyang was sitting in a middle school classroom. The afterglow of the setting sun sprinkled on Zhu Chaoyang. Zhu Chaoyang looked out the window and breathed a sigh of relief. The day's exam was over. Yang Han, who was sitting behind Zhu Chaoyang, kicked his stool and signaled him to pass the note to boy A in the front row. Zhu Chaoyang wrote his name on the paper, stood up directly, walked to the podium, and passed rows of students who were still answering the papers. Yang Han glared. Ye Chimin in the first row raised his head and glanced at him with disdain. Sitting by the podium was the invigilator, Mr. Wang, who was drowsy. Zhu Chaoyang He put the test paper on the desk and walked out of the classroom. "It is divided into three shots. The rough description of this shot is: "Zhu Chaoyang sits on a stool, the afterglow of the setting sun shines on him, single person, center composition, [Zhu Chaoyang, black T-shirt, 10 years old, medium, lowered head, close-up, answering the test paper, focusing], classroom, interior, afternoon, objective lens, flat shot, flat camera position, standard lens, side soft light, warm color." The fine description of this shot is: "The boy in a black T-shirt lowered his head to write the test paper, single person, center composition, [the boy in a black T-shirt, wearing a black T-shirt, the boy, short hair, medium, lowered head, close-up, answering the test paper, focusing], classroom, interior, afternoon, objective lens, flat shot, flat camera position, standard lens, side soft light, warm color."

[0079] Optionally, in this embodiment, by refining the rough description into a fine description, the description of each shot is ensured to be more detailed and accurate, which is helpful for subsequent visual creation. The detailed shot description can better restore the scene in the script and ensure the accurate presentation of each element during shooting. By gradually refining the shot description, the efficiency and effect of film and television production are improved, and the control over scenes and shots is enhanced, thereby ensuring the quality of the final shot picture.

[0080] As an optional example, the first processing unit is further configured to, after converting the character data and the environment data in the rough shot description of the current shot into description words to obtain the fine shot description of the current shot, modify the rough shot description of the current shot to obtain a modified rough shot description;

[0081] The modified coarse lens description is converted to obtain a modified fine lens description to update the fine lens description of the current lens.

[0082] Optionally, in this embodiment, after the initial generation of the lens fine description, it can be modified and updated to ensure that the lens fine description of each lens is more accurate and meets the creative needs. Click on any storyboard to view the corresponding lens rough description and lens fine description, which include information such as camera angle, camera position, lens angle of view, focal length, etc. If you are not satisfied, you can modify the lens rough description to regenerate the lens fine description. Through the steps of initial generation and re-modification, it is ensured that the lens description accurately reflects the creativity and actual needs, and the error is reduced. By continuously iterating and optimizing the lens description, it is ensured that the creative expression and technical implementation of each lens can meet high standards, thereby improving the quality and production efficiency of the lens picture of each lens.

[0083] As an optional example, the above device further includes:

[0084] The second acquisition module is used to obtain the picture style and historical manuscript image data of the target script before inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image large model, drawing each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and obtaining the first shot picture corresponding to each shot of the target scene;

[0085] The training module is used to train the storyboard image model based on the picture style and historical manuscript image data to obtain the trained storyboard image model.

[0086] Optionally, in this embodiment, in order to improve the accuracy of the shot images generated by the large model of the storyboard image, an automated training model can be used. This process includes extracting a large number of screenshots from the historical dramas of the target script, automatically organizing the materials according to the specified tags using the target script, annotating the data in combination with algorithms such as face and gesture recognition, and providing it to the target script for training. By extracting screenshots from historical dramas, automatically organizing and annotating the materials, and annotating the data in combination with advanced recognition algorithms, the training effect of the large model of the storyboard image can be significantly improved, thereby generating more accurate and high-quality shot images, and enhancing the effect and efficiency of film and television production.

[0087] As an optional example, the second processing module includes:

[0088] The second processing unit is used to take each of all the shots as a current shot and perform the following operations on the current shot:

[0089] According to the precise description of the current shot, the current shot is drawn to obtain the second shot image of the current shot; according to the image style of the target script, the second shot image is stylized to obtain the third shot image of the current shot;

[0090] When the third lens picture is a lens picture, the third lens picture is determined as the first lens picture of the current lens;

[0091] In the case that the third lens picture is a plurality of lens pictures, the target lens picture is determined as the first lens picture of the current lens, wherein the target lens picture is any lens picture among all the third lens pictures.

[0092] Optionally, in this embodiment, if Figure 3 As shown in the shot picture generation flow chart, taking a certain shot as an example, the trained storyboard image large model is used to draw the picture according to the detailed information in the shot description of this shot, so as to obtain the preliminary picture of this shot, that is, the second shot picture, and ensure that the storyboard image large model can capture each detail in the description meticulously to generate a preliminary picture that fits the description as closely as possible. According to the overall picture style of the target script (such as black and white, retro, cartoon, realism, etc.), the second shot picture is stylized to generate the stylized third shot picture, and ensure that the style of the shot picture of each shot is consistent with the visual style of the entire script. Figure 4 As shown in the example of the lens picture, if there is only one third lens picture generated, it will be directly determined as the first lens picture of this lens, which means that the final picture has met the requirements and does not need to be further screened. If you are not satisfied with the generated third lens picture, you can generate it multiple times to obtain multiple third lens pictures, and select the most satisfactory one as the first lens picture of this lens.

[0093] Optionally, in this embodiment, by drawing a preliminary picture based on the precise description of the shot, the generated picture is ensured to be detailed and accurate, and the scenes and plots in the script are restored to the greatest extent. The stylized processing ensures that all the shots are in line with the overall visual style of the target script, thereby enhancing the audience's viewing experience and the artistry of the film. In the case of multiple shots, selection can be made as needed to ensure that the final shot meets the director's intentions and creative needs. This flexibility allows the best solution to be selected among different visual effects. Automated picture generation and stylized processing reduces the time for manual drawing and adjustment, improves production efficiency, and saves resources.

[0094] As an optional example, the second processing unit is further used to stylize the second shot picture according to the picture style of the target script to obtain the third shot picture of the current shot, and then modify the shot fine description of the current shot to obtain the modified shot fine description;

[0095] Regenerate the third lens picture of the current lens according to the modified lens precise description.

[0096] Optionally, in this embodiment, if Figure 3 As shown in the lens picture generation flow chart, if the finally generated first lens pictures are not satisfactory, the lens fine description of this lens can be modified, and at least one first lens picture of this lens can be regenerated according to the modified lens fine description, and the most satisfactory picture can be selected as the final lens picture of this lens.

[0097] As an optional example, the above device further includes:

[0098] A third processing module is used for inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image large model, so as to draw a picture of each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and after obtaining a first shot picture corresponding to each shot of the target scene, adding a shot identifier to the first shot picture, wherein the shot identifier is used to indicate a shooting trajectory or a character movement trajectory in the first shot picture;

[0099] The fourth processing module is used to regenerate the first shot picture of the current shot according to the shot identifier.

[0100] Optionally, in this embodiment, if Figure 5The lens identification example shown in the figure can be manually added based on the satisfactory lens image to indicate the movement trajectory of the camera or character. The lens identification can include push, pull, move down, enter the picture to the right, transition, 3D arrow, etc. If more storyboard images need to be generated in a certain scene, they can be added to the lens list and the new lens description can be manually input to generate the lens image.

[0101] For other examples of this embodiment, please refer to the above examples and will not be repeated here.

[0102] Figure 7 is a schematic diagram of an optional electronic device according to an embodiment of the present application, such as Figure 7 As shown, it includes a processor 702, a communication interface 704, a memory 706 and a communication bus 708, wherein the processor 702, the communication interface 704 and the memory 706 communicate with each other through the communication bus 708, wherein,

[0103] Memory 706, used to store computer programs;

[0104] The processor 702 is used to implement the following steps when executing the computer program stored in the memory 706:

[0105] Obtain a target script, and divide the target script into multiple scene contents;

[0106] Setting the number of shots for a target scene content, wherein the target scene content is at least one scene content among the multiple scene contents;

[0107] Input the target scene content and the number of its shots into the trained storyboard language model to describe each shot of the target scene, and obtain a precise shot description corresponding to each shot of the target scene;

[0108] The precise shot description corresponding to each shot of the target scene is input into the trained storyboard image model, so as to draw a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene.

[0109] Optionally, in this embodiment, the communication bus may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industrial Standard Architecture) bus. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7The communication interface is used for communication between the above electronic device and other devices.

[0110] The memory may include RAM, or may include non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0111] As an example, the memory 706 may include, but is not limited to, the first acquisition module 602, the setting module 604, the first processing module 606, and the second processing module 608 in the storyboard drawing device. In addition, it may also include, but is not limited to, other module units in the storyboard drawing device, which will not be described in detail in this example.

[0112] The above-mentioned processor can be a general-purpose processor, which can include but not be limited to: CPU (Central Processing Unit), NP (Network Processor), etc.; it can also be DSP (Digital Signal Processing), ASIC (Application Specific Integrated Circuit), FPGA (Field-Programmable Gate Array) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0113] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.

[0114] It can be understood by those skilled in the art that Figure 7 The structure shown is for illustration only, and the device for implementing the above-mentioned storyboard drawing method may be a terminal device, which may be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (Mobile Internet Devices, MID), a PAD, or other terminal devices. Figure 7 The structure of the electronic device is not limited. For example, the electronic device may also include Figure 7 More or fewer components (such as network interfaces, display devices, etc.) shown in, or having Figure 7 Different configurations shown.

[0115] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a computer-readable storage medium, which can include: a flash drive, ROM, RAM, a magnetic disk or an optical disk, etc.

[0116] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program executes the steps in the above-mentioned storyboard drawing method when executed by a processor.

[0117] Optionally, in this embodiment, a person of ordinary skill in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing hardware related to the terminal device through a program, and the program may be stored in a computer-readable storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.

[0118] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0119] If the integrated units in the above embodiments are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer-readable storage medium. 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 storage medium and includes several instructions for enabling one or more computer devices (which may be personal computers, servers, or network devices, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.

[0120] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

[0121] In the several embodiments provided in the present application, it should be understood that the disclosed client can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0122] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0123] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0124] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A method for drawing a storyboard. It is characterized in that include: Obtain a target script, and divide the target script into multiple scene contents; Setting the number of shots for a target scene content, wherein the target scene content is at least one scene content among the multiple scene contents; Inputting the target scene content and the number of its shots into the trained storyboard language model to describe each shot of the target scene, thereby obtaining a precise shot description corresponding to each shot of the target scene; The precise shot description corresponding to each shot of the target scene is input into the trained storyboard image model, so as to draw a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene.

2. The method according to claim 1, It is characterized in that The step of inputting the target scene content and the number of its shots into the trained storyboard language model to describe each shot of the target scene, and obtaining a shot-accurate description corresponding to each shot of the target scene includes: Parsing the target scene content, generating a target number of rough shot descriptions, wherein the target number is the number of shots, one shot corresponds to one rough shot description, and the rough shot description includes character data, environment data, and shot data; Take each of all the lenses as the current lens, and perform the following operations on the current lens: The character data and environment data in the rough shot description of the current shot are converted into description words to obtain a fine shot description of the current shot, wherein the fine shot description of the current shot also includes the environment data and shot data in the rough shot description of the current shot.

3. The method according to claim 2, It is characterized in that After converting the character data and environment data in the rough shot description of the current shot into description words to obtain the fine shot description of the current shot, the method further includes: Modifying the rough shot description of the current shot to obtain a modified rough shot description; The modified shot coarse description is converted to obtain a modified shot fine description to update the shot fine description of the current shot.

4. The method according to claim 1, It is characterized in that Before inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image macro model, and drawing a picture of each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and obtaining a first shot picture corresponding to each shot of the target scene, the method further includes: Acquire the screen style and historical manuscript image data of the target script; Based on the picture style and the historical manuscript image data, the storyboard image large model is trained to obtain the trained storyboard image large model.

5. The method according to claim 1, It is characterized in that The step of inputting the precise shot description corresponding to each shot of the target scene into the trained storyboard image model, drawing a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtaining a first shot picture corresponding to each shot of the target scene includes: Take each of all the lenses as the current lens, and perform the following operations on the current lens: According to the precise description of the current lens, the current lens is drawn to obtain a second lens image of the current lens; Stylizing the second shot picture according to the picture style of the target script to obtain a third shot picture of the current shot; In the case where the third lens picture is a lens picture, determining the third lens picture as the first lens picture of the current lens; In the case that the third lens picture is a plurality of lens pictures, the target lens picture is determined as the first lens picture of the current lens, wherein the target lens picture is any lens picture among all the third lens pictures.

6. The method according to claim 5, It is characterized in that After stylizing the second shot picture according to the picture style of the target script to obtain the third shot picture of the current shot, the method further includes: Modifying the lens precise description of the current lens to obtain a modified lens precise description; The third shot picture of the current shot is regenerated according to the modified shot precise description.

7. The method according to claim 1, It is characterized in that After inputting the shot precise description corresponding to each shot of the target scene into the trained storyboard image macro model, rendering each shot of the target scene according to the shot precise description corresponding to each shot of the target scene, and obtaining a first shot picture corresponding to each shot of the target scene, the method further includes: Adding a lens mark to the first lens picture, wherein the lens mark is used to indicate a shooting trajectory or a character movement trajectory in the first lens picture; The first shot image of the current shot is regenerated according to the shot identifier.

8. A device for drawing a storyboard, It is characterized in that include: A first acquisition module is used to acquire a target script and divide the target script into multiple scene contents; A setting module, used to set the number of shots for a target scene content, wherein the target scene content is at least one scene content among the multiple scene contents; A first processing module is used to input the target scene content and the number of its shots into the trained storyboard language model to perform a picture description on each shot of the target scene, thereby obtaining a shot-accurate description corresponding to each shot of the target scene; The second processing module is used to input the precise shot description corresponding to each shot of the target scene into the trained storyboard image model, so as to draw a picture of each shot of the target scene according to the precise shot description corresponding to each shot of the target scene, and obtain a first shot picture corresponding to each shot of the target scene.

9. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is executed.

10. An electronic device comprising a memory and a processor, It is characterized in that A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • Method and system for automatically generating sequence from script to story board based on deep learning

    CN114610893A

  • Video title generation method and training method of video title generation model

    CN117609550A

  • Text illustration generation method and related device

    CN118052907A

  • Sub-scene copy generating system and method

    CN1940909A

  • Create method of movie continuation automation

    KR102293166B1