System
A system generates customized stories and images based on user input, addressing the challenge of finding appropriate children's content by using large-scale language and image generation AI, offering flexible and economical solutions.
Patent Information
- Application Number
- JP2024131615
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2026-02-20
AI Technical Summary
Parents find it challenging to find stories that address specific emotions and skills appropriate for their children's development, and purchasing multiple picture books can be expensive.
A system that allows users to input a theme and desired emotions and skills, generating a story and images automatically, and displaying them in a picture book format using large-scale language models and image generation AI.
Enables parents to create flexible and economical stories tailored to their children's development, providing visually appealing and customized educational content.
Smart Images

Figure 2026028998000001_ABST
Abstract
Description
[Technical Field]
[0001] The technology of the present disclosure relates to a system. [Background technology]
[0002] Patent document 1 discloses a persona chatbot control method performed by at least one processor, the method including the steps of receiving a user utterance, adding the user utterance to a prompt including an instruction sentence related to a description of the chatbot character, encoding the prompt, and inputting the encoded prompt into a language model to generate a chatbot utterance in response to the user utterance. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2022-180282 Summary of the Invention [Problem to be solved by the invention]
[0004] As children grow, appropriate stories are effective in nurturing specific emotions and interpersonal skills. However, it can be difficult for parents to find stories that address the specific emotions and skills they desire among commercially available picture books. In addition, purchasing many picture books can be expensive. For this reason, there is a need for a flexible and economical way to provide stories that are appropriate for children's development. [Means for solving the problem]
[0005] This invention features a means for inputting a theme and the emotions and skills to be developed, and generating prompts for generating a story based on the input theme and emotions and skills. It also includes a means for generating story text based on prompts generated by a large-scale language model, and a means for generating prompts for image generation based on the story text. It also includes a means for generating images based on the generated prompts, and a means for combining the story text and the generated images into a picture book format. Finally, by providing a means for displaying the data compiled in picture book format, parents can flexibly generate and read stories suitable for their children.
[0006] A "theme" is the central subject or concept of a story, and serves as the basis for content that is appropriate for a child's development.
[0007] "Emotions" refer to the sensations and emotional movements that we want children to learn through novels and stories, and refer to specific emotions such as empathy and cooperation.
[0008] "Skills" are specific abilities and behaviors that we want to develop in children through stories, including interpersonal skills and self-development skills.
[0009] A "prompt" is an instruction statement that large-scale language models and image generation AI use to generate content, and is the key to guiding the desired result.
[0010] "Story text" is a sentence generated based on a prompt, and is text data that expresses the content of the story.
[0011] A "large-scale language model" is an artificial intelligence that is trained based on massive amounts of text data and is capable of language generation, and refers to a model used when generating stories.
[0012] "Image generation AI" is an artificial intelligence that generates images based on prompts, providing visuals that correspond to story scenes.
[0013] The "picture book format" is a format that combines story text with corresponding images to make it easy for children to understand, and includes visual support.
[0014] A "device" is an electronic device for displaying the generated picture book data, and includes tablets, e-book readers, etc.
[0015] An "e-book data format" is a specific data format for displaying picture books on digital devices, and is a format that integrates text and images. [Brief explanation of the drawings]
[0016] [Figure 1] 1 is a conceptual diagram showing an example of the configuration of a data processing system according to a first embodiment. [Figure 2] 1 is a conceptual diagram showing an example of main functions of a data processing device and a smart device according to a first embodiment. [Figure 3] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a second embodiment. [Figure 4] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and smart glasses according to a second embodiment. [Figure 5] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a third embodiment. [Figure 6] FIG. 11 is a conceptual diagram showing an example of main functions of a data processing device and a headset-type terminal according to a third embodiment. [Figure 7] FIG. 10 is a conceptual diagram showing an example of the configuration of a data processing system according to a fourth embodiment. [Figure 8] FIG. 10 is a conceptual diagram showing an example of main functions of a data processing device and a robot according to a fourth embodiment. [Figure 9] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 10] 1 shows an emotion map onto which multiple emotions are mapped. [Figure 11]FIG. 3 is a sequence diagram showing a processing flow of the data processing system according to the first embodiment. [Figure 12] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 1. [Figure 13] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system according to the second embodiment when an emotion engine is combined. [Figure 14] FIG. 10 is a sequence diagram showing the flow of processing in the data processing system in Application Example 2 when an emotion engine is combined. DETAILED DESCRIPTION OF THE INVENTION
[0017] An example of an embodiment of a system according to the technology of the present disclosure will be described below with reference to the accompanying drawings.
[0018] First, the terms used in the following description will be explained.
[0019] In the following embodiments, a coded processor (hereinafter simply referred to as a "processor") may be a single arithmetic device or a combination of multiple arithmetic devices. Furthermore, a processor may be a single type of arithmetic device or a combination of multiple types of arithmetic devices. Examples of arithmetic devices include a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), a GPGPU (General-Purpose computing on Graphics Processing Units), and an APU (Accelerated Processing Unit).
[0020] In the following embodiments, a coded RAM (Random Access Memory) is a memory in which information is temporarily stored and is used as a working memory by a processor.
[0021] In the following embodiments, the coded storage is one or more non-volatile storage devices that store various programs, various parameters, etc. Examples of non-volatile storage devices include flash memory (SSD (Solid State Drive)), magnetic disks (e.g., hard disks), and magnetic tapes.
[0022] In the following embodiments, a communication I / F (Interface) with a symbol is an interface including a communication processor, an antenna, etc. The communication I / F controls communication between multiple computers. Examples of communication standards applied to the communication I / F include wireless communication standards including 5G (5th Generation Mobile Communication System), Wi-Fi (registered trademark), Bluetooth (registered trademark), etc.
[0023] In the following embodiments, "A and / or B" is synonymous with "at least one of A and B." In other words, "A and / or B" means that it may be only A, only B, or a combination of A and B. Furthermore, in this specification, the same concept as "A and / or B" is also applied when three or more things are expressed connected by "and / or."
[0024] [First embodiment]
[0025] FIG. 1 shows an example of the configuration of a data processing system 10 according to the first embodiment.
[0026] 1, a data processing system 10 includes a data processing device 12 and a smart device 14. An example of the data processing device 12 is a server.
[0027] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[0028] The smart device 14 includes a computer 36, a reception device 38, an output device 40, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The reception device 38, the output device 40, and the camera 42 are also connected to the bus 52.
[0029] The reception device 38 includes a touch panel 38A, a microphone 38B, and the like, and receives user input. The touch panel 38A detects contact with an indicator (for example, a pen or a finger) to receive user input by the touch of the indicator. The microphone 38B detects the user's voice to receive user input by voice. The control unit 46A transmits data indicating the user input received by the touch panel 38A and the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the data indicating the user input.
[0030] The output device 40 includes a display 40A and a speaker 40B, and presents data to the user 20 by outputting the data in a form of expression that the user 20 can perceive (for example, audio and / or text). The display 40A displays visible information such as text and images in accordance with instructions from the processor 46. The speaker 40B outputs audio in accordance with instructions from the processor 46. The camera 42 is a compact digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor.
[0031] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 control the exchange of various information between the processor 46 and the processor 28 via the network 54.
[0032] FIG. 2 shows an example of the main functions of the data processing device 12 and the smart device 14.
[0033] 2, in the data processing device 12, a specific process is performed by the processor 28. A specific processing program 56 is stored in the storage 32. The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific process is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[0034] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[0035] In the smart device 14, the processor 46 performs the reception output process. The storage 50 stores a reception output program 60. The reception output program 60 is used in conjunction with the specific processing program 56 by the data processing system 10. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[0036] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0037] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0038] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0039] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions for generating specific narrative text. The large-scale language model (e.g., a model using natural language processing technology) then generates narrative text based on this. For example, a story on the theme of "empathy in friendships" might be generated as follows: "One day, in a small forest..."
[0040] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to the image generation AI, which generates images appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0041] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0042] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0043] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," a story is generated as follows. As part of the story, "One day, in a small forest, Mr. Bear and Mr. Rabbit met... The Rabbit tried to understand Mr. Bear's feelings, and the two became best friends." is generated, and an image of "the meeting of the Bear and the Rabbit" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0044] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0045] The processing flow will be explained below.
[0046] Step 1:
[0047] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device interface. The input data consists of themes and emotion / skill items.
[0048] Step 2:
[0049] The device converts the input data into a request format and sends it to the server over the network. The request is sent to the server as JSON format data.
[0050] Step 3:
[0051] The server analyzes the received request and generates prompts for story generation based on the theme, emotion, and skill. Specifically, it constructs instructions that combine the theme and emotion.
[0052] Step 4:
[0053] The server sends the generated prompts to a large-scale language model (e.g., a model using natural language processing techniques), which generates narrative text based on the prompts and reflects the specified theme and emotion.
[0054] Step 5:
[0055] The server divides the generated narrative text into multiple scenes, for example, dividing the text into sentences or paragraphs to form each scene.
[0056] Step 6:
[0057] The server generates prompts for image generation based on each scene, summarizes the content of each scene, and creates instructions based on that summary.
[0058] Step 7:
[0059] The server sends prompts to an image generation AI (e.g., a machine learning model that generates images) to generate images suitable for each scene. The generated images are temporarily stored.
[0060] Step 8:
[0061] The server combines the story text with the generated images to create picture book-style pages, which are arranged with corresponding text to create a visually comprehensible layout.
[0062] Step 9:
[0063] The server converts the completed pages into e-book data format, which can then be viewed on the device (e.g., EPUB or PDF).
[0064] Step 10:
[0065] The server then sends the generated e-book data to the terminal via the network.
[0066] Step 11:
[0067] The device displays the received e-book data, and the user can browse each page in turn on the device screen and read it to their child.
[0068] In this way, the entire system works together to provide children with original picture books based on a particular theme.
[0069] Example 1
[0070] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0071] In modern education and childcare, there is a demand for individually customized teaching materials to develop children's emotions and skills. Picture books based on specific themes or emotions are particularly effective in developing children's emotions and skills. However, existing teaching materials often have general content, making it difficult to fully meet individual needs. Furthermore, creating handmade teaching materials takes time and effort, making it unrealistic for many parents and educators.
[0072] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[0073] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for dividing the generated story text into a plurality of scenes, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data compiled in the picture book format into an electronic book data format, and means for displaying the data converted into the electronic book data format. This enables users to easily generate customized picture books and use them as effective teaching materials based on specific themes and emotions.
[0074] "Theme" refers to the main theme or central idea of a story.
[0075] "Emotional Skills" refer to specific emotional or technical abilities that users wish to develop.
[0076] "Means for inputting" refers to an interface for a user to input data using a terminal.
[0077] A "prompt" is a text sentence that gives specific instructions or requests to an AI model.
[0078] "Generating means" refers to the capabilities and technologies for creating new data or information based on a specified process.
[0079] "Narrative text" refers to a series of narrative sentences generated based on a prompt.
[0080] An "image generation prompt" refers to instructions for generating a particular image.
[0081] "Image generation AI model" refers to an artificial intelligence model used to generate images based on specified prompts.
[0082] A "scene" refers to a specific situation or setting depicted as part of a story.
[0083] "Picture book format" refers to the combination of narrative text and images in a visually appealing format.
[0084] "E-book data format" refers to the format of a digital book, and the data format for display on a device (e.g., EPUB or PDF).
[0085] "Displaying means" refers to the technology or device used to visually display the generated data on the screen of a terminal.
[0086] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0087] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0088] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions to generate specific story text. The large-scale language model (e.g., GPT-4) then generates the story text based on this. For example, a story on the theme of "empathy in friendships" might be generated as "One day, in a small forest..."
[0089] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to an image generation AI (e.g., DALL-E), which generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0090] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0091] The completed picture book data is converted into an e-book data format (e.g., EPUB or PDF). This data is sent to the device and displayed on the screen. The device displays it in turn, allowing the user to read it aloud to the child.
[0092] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," the following story will be generated. As part of the story, "One day, in a small forest, a bear and a rabbit met... The rabbit tried to understand the bear's feelings, and the two became best friends." is generated, and an image of "the bear and the rabbit meeting" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0093] Examples of prompts include:
[0094] "Write a story about empathy in friendships."
[0095] "Generate an image of a scene where a rabbit and a bear meet."
[0096] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0097] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0098] Step 1:
[0099] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server.
[0100] Input: Theme of the story, emotions and skills you want to develop
[0101] Output: User input data is sent to the server
[0102] Specific operation: The user enters "friendship" and "sympathy" into the input form on the device and presses the "send" button.
[0103] Step 2:
[0104] The server generates prompts for story generation based on the received data. These prompts are passed to a generative AI model (e.g., GPT-4) and serve as instructions for generating specific story text.
[0105] Input: User input data (themes, emotions, and skills)
[0106] Output: prompts for story generation
[0107] Specific operation: The server creates a prompt based on "friendship" and "empathy" and instructs the generative AI model to "write a story with the theme of empathy in friendships."
[0108] Step 3:
[0109] The server sends prompts to the generative AI model, which generates a narrative text based on the theme, such as "One day, in a small forest, a bear and a rabbit met..."
[0110] Input: Narrative generation prompt
[0111] Output: Generated narrative text
[0112] What happens: The server sends the prompt to GPT-4 and retrieves the generated text.
[0113] Step 4:
[0114] The server divides the generated story text into multiple scenes, and for each scene it also creates prompts to generate appropriate images.
[0115] Input: Generated narrative text
[0116] Output: Prompts for generating images corresponding to each scene
[0117] Specific operation: The server divides the story into Scene 1 ("One day, in a small forest..."), Scene 2 ("The rabbit tries to understand the bear's feelings..."), and so on.
[0118] Step 5:
[0119] The server generates prompts for image generation based on each scene and passes them to the image generation AI. The image generation AI then generates an image appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0120] Input: Prompt for generating images corresponding to each scene
[0121] Output: Generated image data
[0122] Specific operation: The server instructs DALL-E to "create an image of a scene where a bear and a rabbit meet in a small forest." The server then retrieves the generated image data.
[0123] Step 6:
[0124] The server combines the generated story text with corresponding images to create picture book style pages, with each page containing a part of the story and its corresponding image.
[0125] Input: Generated narrative text, generated image data
[0126] Output: Picture book format page data
[0127] What it does: The server combines text and images in HTML or PDF format to create e-book pages.
[0128] Step 7:
[0129] The server converts the completed picture book data into an e-book data format and sends it to the terminal.
[0130] Input: Picture book page data
[0131] Output: eBook data (e.g. EPUB or PDF)
[0132] Specific operation: The server exports the generated picture book pages as EPUB or PDF and sends the data to the device.
[0133] Step 8:
[0134] The device displays the received e-book data in order, and the user can use this picture book to read to their child.
[0135] Input: e-book data
[0136] Output: Each page of the book displayed on the device screen
[0137] What it does: The device's e-reader app will open the EPUB or PDF and display them in order.
[0138] (Application example 1)
[0139] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0140] In today's educational environment, it is important for parents and children to develop their emotions and skills while having fun together, but providing individually customized educational content is difficult. Furthermore, existing educational content is uniform and does not adequately support development tailored to children's growth, emotions, and skills. Furthermore, the systems for easily obtaining, purchasing, and downloading content are inadequate, resulting in reduced usability.
[0141] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[0142] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data into an e-book data format and providing an interface for purchase and download, means for carrying out purchase procedures via a payment system, and means for displaying the data compiled in picture book format. This makes it possible to quickly generate individually customized educational content, allowing parents and children to enjoy education together, and providing an environment where content can be easily purchased and downloaded.
[0143] A "theme" is the subject of a story that relates to an emotion or skill the user wants to develop.
[0144] "Emotions and skills to develop" refers to specific emotions and abilities that the user wants their child to learn.
[0145] A "prompt for generating a story" is an instruction for generating a story text, and is a sentence that contains the basic content that a large-scale language model uses to create a story.
[0146] "Generated prompts" are instructions automatically generated based on the input theme and emotion / skill.
[0147] A "narrative text" is a series of sentences created based on the generated prompts, which express the content of the story.
[0148] An "image generation prompt" is an instruction to generate an image appropriate to a scene based on the story text.
[0149] A "combiner" is a process or technique for combining the narrative text with the generated images.
[0150] "Picture book formatting" is the process of composing the generated narrative text and images into a visually appealing picture book.
[0151] The "e-book data format" refers to the generated picture book converted into a digital format that can be viewed on a device.
[0152] The "purchase and download interface" is a user interface that allows users to purchase the generated picture book and download it directly to their device.
[0153] The "means for carrying out payment procedures" refers to an electronic payment system used when a user purchases generated content.
[0154] "Display means" refers to a function on a device for visually displaying the generated picture book data.
[0155] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, displays them in a picture book format, and provides an interface that allows purchase and download. An embodiment of this system will be described in detail below.
[0156] System Configuration
[0157] First, the user uses a device such as a smartphone or tablet to input the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the application's interface. This input data is then sent from the device to the server.
[0158] The server includes the following components:
[0159] 1. A means of creating prompts to generate stories using large-scale language models (e.g., GPT-4).
[0160] 2. A means of generating narrative text based on the generated prompts.
[0161] 3. A means of dividing the narrative text into scenes and creating image generation prompts to generate images corresponding to each scene.
[0162] 4. A means to generate appropriate images for the scene using image generation AI (e.g. DALL-E 2).
[0163] 5. A means of combining the generated story text and images to generate e-book data in picture book format (e.g., EPUB, PDF).
[0164] 6. A means for providing a purchase and download interface that allows users to purchase and download the generated picture book.
[0165] 7. Means of completing purchases via electronic payment systems (e.g. Stripe, PayPal).
[0166] Data processing details
[0167] 1. Entering themes, emotions, and skills: Users enter the themes and the emotions and skills they want to develop through the dedicated application interface.
[0168] 2. Prompt generation: The server generates prompts based on the received themes, emotions, and skills. These prompts are passed to a large-scale language model (e.g., GPT-4).
[0169] 3. Story text generation: Based on the generated prompts, the GPT-4 model generates story text. For example, for a story on the theme of "empathy in friendships," the generated text would be something like "One day, in a small forest..."
[0170] 4. Image generation prompt creation: The narrative text is divided into multiple scenes, and image generation prompts corresponding to each scene are created, allowing an image generation AI such as DALL-E 2 to generate appropriate images.
[0171] 5. Generation of e-book data: The generated narrative text and images are combined and e-book data (EPUB or PDF format) is generated using a tool such as ReportLab.
[0172] 6. Providing a purchase and download interface: Users are provided with an interface that allows them to purchase picture books generated through the application and download them directly to their devices.
[0173] 7. Payment Processing: The user purchases the generated picture book using an electronic payment system (Stripe or PayPal). After successful payment, the user can immediately download and view the generated picture book.
[0174] Examples of specific examples and prompts
[0175] As a concrete example, let's say a parent inputs the theme of "friendship" and the emotion they want to foster, "empathy." Based on this input data, the following prompts are generated:
[0176] Example prompt sentence:
[0177] "Write a story for children about empathy in friendships: 'One day in the forest, a bear and a rabbit met...'"
[0178] By combining the generated story text with images, individually customized picture books are quickly generated for parents and children to enjoy. A highly usable experience is provided through a purchase and download interface.
[0179] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0180] Step 1:
[0181] The user inputs a theme and the emotions and skills they wish to develop. Using the interface of a dedicated application on their smartphone or tablet, the user inputs a theme (e.g., "friendship") and the emotions and skills they wish to develop (e.g., "empathy"). The input data is sent from the device to the server. The input is text data, which is used for subsequent processing.
[0182] Input: Text data of themes, emotions, and skills
[0183] Output: Input data sent to the server
[0184] Step 2:
[0185] The server generates prompts based on themes, emotions, and skills, including prompts tailored to specific conditions and situations, which are then passed to a large-scale language model (e.g., GPT-4).
[0186] Input: Theme, emotion, and skill data submitted by the user
[0187] Output: Prompt sentence passed to the large-scale language model
[0188] Step 3:
[0189] The server generates a narrative text using a large-scale language model. Based on the generated prompts, GPT-4 creates a detailed narrative text. As part of the story, a sentence such as "One day, in a small forest, a bear and a rabbit met..." is generated.
[0190] Input: prompt statement
[0191] Output: Narrative text
[0192] Step 4:
[0193] The server divides the story text into multiple scenes and creates image generation prompts for each scene. This allows for specific image generation for each scene. For example, a prompt for a forest landscape image is generated for the scene "In a small forest."
[0194] Input: Narrative text
[0195] Output: Scene-specific image generation prompt
[0196] Step 5:
[0197] The server uses image generation AI (e.g., DALL-E 2) to generate images that fit each scene. Based on the generated prompts, an image of a specific scene is created.
[0198] Input: Image generation prompt
[0199] Output: Image data for each scene
[0200] Step 6:
[0201] The server combines the generated story text and images to generate an e-book in picture book format, and converts the generated text and images into e-book data (e.g., EPUB, PDF) using a tool such as ReportLab.
[0202] Input: Story text and scene-by-scene image data
[0203] Output: E-book data
[0204] Step 7:
[0205] The server provides an interface for purchasing and downloading the generated e-book data. Users can purchase e-books through the application and download them to their devices.
[0206] Input: E-book data
[0207] Output: Purchase and download interface
[0208] Step 8:
[0209] The server processes the user's purchase through an electronic payment system, such as Stripe or PayPal, and provides a download link for the e-book upon successful payment.
[0210] Input: Purchase Request
[0211] Output: Payment completion notification and download link
[0212] Furthermore, an emotion engine that estimates the user's emotion may be combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59 and perform identification processing using the user's emotion.
[0213] The present invention relates to a system that combines a means for inputting a theme and the emotions and skills to be developed with an emotion engine that recognizes the user's emotions. This system proposes a story theme and the emotions and skills to be developed based on the recognized user emotions, and finally displays the generated story and images in a picture book format. An embodiment of this system will be described in detail below.
[0214] First, the user launches the system via the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time and analyzes their current emotional state. This emotion engine uses facial expression and voice recognition technology to accurately grasp the user's emotions.
[0215] The emotion engine then recognizes the user's emotions and suggests appropriate story themes and emotion skills to develop based on the user's specific emotional state (e.g., joy, anxiety, excitement). The suggested themes and emotion skills can then be confirmed or modified by the user.
[0216] The themes, emotions, and skills confirmed or corrected by the user are sent from the device to the server, which analyzes the received information and generates prompts for narrative generation based on it. These prompts are used in a large-scale language model and form the basis for generating narrative text.
[0217] Based on the prompts, the large-scale language model generates narrative text that reflects the specified theme and emotion. For example, for a story about "empathy in friendships," it might generate text like, "One day, a bear and a rabbit met in a small forest... The rabbit tried to understand the bear's feelings, and the two became best friends."
[0218] The generated story text is divided into multiple scenes. The server creates prompts for image generation for each scene and sends them to the image generation AI. Based on the prompts, the image generation AI generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0219] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0220] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0221] As a concrete example, if the emotion engine detects the user's "anxiety," the system will suggest the theme of "developing courage." If the user accepts this suggestion, a "growth story through courage" will be generated, completing the story of "one day, a timid little rabbit goes on a brave adventure." Images of the "brave adventure" will be generated for each scene, and compiled into a picture book format. The story will then be displayed on the device, allowing the user to read it to their child.
[0222] The processing flow will be explained below.
[0223] Step 1:
[0224] The user activates the system through the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time. The emotion engine analyzes this data and recognizes the user's current emotional state.
[0225] Step 2:
[0226] After the emotion engine recognizes the user's emotions, it suggests story themes and the emotions and skills they want to develop based on those emotions. For example, if the user is feeling "anxiety," the emotion engine will suggest the theme "developing courage." The suggested content will be displayed on the device screen.
[0227] Step 3:
[0228] The user can review the themes, emotions, and skills suggested by the emotion engine and modify them as necessary. After the suggestions are reviewed or modified, this information is sent from the device to the server.
[0229] Step 4:
[0230] The server receives and analyzes the theme, emotion, and skill information sent from the device. Based on the analysis results, it generates prompts for story generation. The prompts consist of specific instructions, such as "a story that will build courage."
[0231] Step 5:
[0232] The server sends the generated prompt to a large-scale language model, which then generates a story text that reflects the specified theme and emotion based on the prompt, such as "A story about a timid little rabbit who goes on a brave adventure."
[0233] Step 6:
[0234] The server divides the generated story text into multiple scenes, dividing the story into sentences and paragraphs to form each scene, allowing for the creation of specific image generation prompts for each scene.
[0235] Step 7:
[0236] The server generates a prompt for each scene, for example, "A scene in which a timid baby rabbit enters the forest" might prompt "Draw a scene in which a baby rabbit enters the forest."
[0237] Step 8:
[0238] The server sends prompts for each scene to the image generation AI, which then generates the corresponding image, which is then temporarily stored for further processing.
[0239] Step 9:
[0240] The server combines the generated story text with images to create picture book-style pages, each of which combines an image corresponding to a specific scene in the story, creating visual storytelling.
[0241] Step 10:
[0242] The server converts the completed pages into an e-book data format, such as EPUB or PDF, which makes them viewable on the device.
[0243] Step 11:
[0244] The server then sends the generated e-book data to the device, and the necessary data is sent to the device via the network, completing the reception.
[0245] Step 12:
[0246] The device displays the received e-book data, and the user can use the device's interface to check each page of the picture book in order and start reading aloud.
[0247] This trend will enable systems incorporating emotion engines to provide optimal stories and visuals according to the user's emotions, effectively supporting the development of children's emotional and interpersonal skills.
[0248] Example 2
[0249] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0250] Conventional story generation systems have difficulty generating appropriate stories based on the user's emotions and state, and have been unable to provide personalized stories based on the user's individual emotional state. This has led to issues with inadequate educational effects and emotional development. Furthermore, the process of compiling a story into a picture book format that integrates the story and corresponding images is complicated, making it difficult to provide a user-friendly format.
[0251] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[0252] In this invention, the server includes means for recognizing emotions by acquiring a user's facial expressions and voice in real time, means for suggesting a theme and emotions and skills to be developed based on the recognized emotions, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for dividing the story text into multiple scenes and generating prompts for image generation, means for generating images based on the generated prompts, means for combining the generated story text and images to create picture book-style pages, means for converting picture book-style data into e-book format, and means for displaying the converted data on a device. This enables the generation of personalized stories and images based on the user's emotional state and their provision in a visually appealing picture book format.
[0253] "User" refers to the person who uses the system and inputs emotions and confirms and modifies themes during the story generation process.
[0254] The "server" is the computer at the core of the system, which analyzes data, generates stories, creates images, and creates picture book format content.
[0255] A "terminal" refers to a device operated by a user, which is responsible for starting the system, entering data, and displaying results.
[0256] "Emotion engine" is a general term for software and hardware that analyzes a user's facial expressions and voice in real time and recognizes their emotional state.
[0257] "Theme" refers to the main theme or central idea of the story and is suggested based on the user's emotions.
[0258] "Emotions and skills to be developed" refers to the specific emotions and abilities that users want to develop through the story.
[0259] A "prompt" refers to instructions or initial text that a large-scale language model or image generation AI uses to generate a story or image.
[0260] "Narrative text" refers to narrative text generated by a generative AI model.
[0261] "Image generation AI" refers to an artificial intelligence system that generates images based on given prompts.
[0262] A "scene" refers to an individual scene separated within the narrative text, and an image corresponding to each scene is generated.
[0263] "Picture book format" refers to a visually integrated format that combines narrative text with corresponding images.
[0264] "Electronic book data format" refers to a data format for electronic books that can be viewed on a digital device.
[0265] The present invention relates to a system that recognizes a user's emotions, generates stories and images based on those emotions, and displays them in the form of a picture book. This system aims to have an educational effect and foster emotions by recognizing the user's emotions in real time and providing personalized stories.
[0266] First, the user starts the system using the device interface. Once the system is started, the device turns on the camera and microphone to capture the user's facial expressions and voice in real time. For example, a standard webcam and condenser microphone can be used for the camera and microphone. OpenCV is used for facial expression recognition, and the Google Speech-to-Text API is used for voice recognition.
[0267] The acquired data is sent by the device to the emotion engine, which analyzes this data and recognizes the current emotional state. This emotion engine uses Microsoft Azure's Emotion API to determine emotions from facial expressions such as smiles and frowns, as well as tone of voice. For example, a smile can be recognized as "joy," and a frown as "anxiety."
[0268] Next, based on the recognized emotions, the server suggests appropriate story themes and the emotions and skills the user wants to develop. For example, if the user feels "anxiety," the system will suggest the theme of "developing courage." The suggested themes and emotions and skills can then be confirmed or revised by the user, and the information is sent from the device to the server.
[0269] With this information, the server creates prompts for story generation, which are then used as instructions for a large-scale language model (e.g., OpenAI's GPT-3). For example, a prompt might include the following sentence:
[0270] "Generate stories of growth through courage"
[0271] Based on these prompts, the large-scale language model generates a story that reflects the specified theme and emotion—for example, "A story about a timid little rabbit who goes on a brave adventure." The story is then further divided into scenes.
[0272] For each scene, the server creates a prompt for image generation. This prompt is sent to an image generation AI (e.g., DALL-E or Stable Diffusion). For example, for the scene "A rabbit's adventure in a small forest," the prompt created is "An illustration of a forest scene and a rabbit."
[0273] Based on the prompts, the image generation AI generates images appropriate for each scene. The generated story text and images are combined by the server to create picture book-style pages. Each page contains an image that corresponds to a part of the story, resulting in a visually appealing picture book.
[0274] Finally, the server converts the completed picture book data into an e-book data format (e.g., ePub format). This converted data is sent to the terminal, which displays it sequentially on the screen. This allows the user to read the generated picture book to their child. As a specific example, an "adventure story that develops courage" is generated, and for each scene, an image of a "brave adventure" is generated and compiled into a picture book. In this way, the data is finally displayed on the terminal, allowing the user to read it to their child.
[0275] Through this system, users can generate personalized stories and images based on their emotional state, and present them in a visually appealing picture book format for enhanced educational impact.
[0276] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0277] Step 1:
[0278] The user activates the system using the device interface. The device then turns on the camera and microphone to capture the user's facial expressions and voice in real time. The inputs are camera video data and voice data, and the output is the captured facial expressions and voice data.
[0279] Step 2:
[0280] The captured facial and voice data is sent by the device to the emotion engine. The emotion engine analyzes this data and recognizes the user's emotional state. Here, facial expression recognition using OpenCV and voice recognition using the Google Speech-to-Text API are used. The input is facial expression and voice data, and the output is the recognized emotional state. For example, if the user's facial expression is smiling, the emotion "joy" is output.
[0281] Step 3:
[0282] The server suggests appropriate story themes and the emotions and skills to develop based on the recognized emotions. The suggestions are based on the results of an emotion recognition model. The input is the recognized emotional state, and the output is the suggested theme and the emotions and skills to develop. For example, the theme "developing courage" is suggested for the emotion "anxiety."
[0283] Step 4:
[0284] The user checks the proposed themes and the emotions and skills they want to develop on the interface and modifies them as necessary. This information is sent from the device to the server. The input is the themes and emotions and skills that the user confirmed or modified, and the output is the submitted themes and emotions and skills.
[0285] Step 5:
[0286] The server creates a prompt for story generation based on the received theme and the emotions and skills to be developed. Here, a prompt is generated for a large-scale language model (e.g., OpenAI's GPT-3). The input is the theme and emotion / skill information, and the output is a prompt for story generation. For example, a generated prompt might be, "Generate a story of growth through courage."
[0287] Step 6:
[0288] The server sends the generated prompts to a large-scale language model to generate a story text. The input is the prompt, and the output is the generated story text. For example, a story like "A story about a timid little rabbit who goes on a brave adventure" is generated.
[0289] Step 7:
[0290] The generated story text is divided into multiple scenes by the server. For each scene, a prompt for image generation is created and sent to the image generation AI. The input is the story text, and the output is an image generation prompt for each scene. For example, a prompt such as "An illustration of a forest landscape and a rabbit" is generated.
[0291] Step 8:
[0292] Image generation AI (such as DALL-E or Stable Diffusion) generates images appropriate for each scene based on prompts. The server receives this. The input is the prompt for each scene, and the output is the generated image. For example, a scene from "A Rabbit's Adventure in a Little Forest" is visually represented.
[0293] Step 9:
[0294] The server combines the generated story text and images to create picture book style pages. Each page contains a part of the story and an image corresponding to it. The input is the story text and the generated images, and the output is picture book style pages.
[0295] Step 10:
[0296] The completed picture book data is converted into an e-book data format (e.g., ePub format) by the server. This data is sent to the terminal and displayed sequentially on the screen. The input is the picture book format pages, and the output is the data converted into e-book data format. In this way, the user can read the generated picture book to their child.
[0297] (Application example 2)
[0298] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart device 14 will be referred to as a "terminal."
[0299] The present invention provides a method for parents and children to more effectively learn about emotions in a brick-and-mortar store. In particular, it aims to solve the problem of providing highly educational entertainment by recognizing children's emotions in real time and providing stories and visuals that best suit those emotions. This effectively develops children's emotions and skills, and provides an environment where parents and children can learn together in a fun way.
[0300] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0301] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for acquiring an image of the user with a camera and analyzing the user's emotional state using emotion recognition technology, and means for suggesting a story theme and emotions and skills to be developed based on the analyzed emotional state. This enables parents and children to generate educational stories tailored to the child's emotional state in a physical store and provide them with visuals.
[0302] A "theme" is a basic concept or subject that constitutes a story and determines the content and direction of the story.
[0303] "Emotions and skills to be developed" refers to specific emotions and abilities that users want to develop in their children through stories, such as courage, empathy, and creativity.
[0304] A "prompt" is a set of instructions that initiates a large-scale language model to generate specific text, and forms the basis of the story or image that is generated.
[0305] "Narrative text" refers to the written portion of a story that is generated based on user input and prompts, and may be divided into multiple scenes.
[0306] An "image generation prompt" is a set of instructions sent to an image generation AI to flesh out a particular scene or story, which is then used to generate the corresponding visuals.
[0307] The "camera" is a device that captures the user's facial expressions and movements in real time and provides the data to emotion recognition technology.
[0308] "Emotion recognition technology" is a technology that analyzes data such as a user's facial expressions and voice to evaluate and identify their current emotional state.
[0309] "Analyzed emotional state" refers to the user's current emotional state obtained through emotion recognition technology, and serves as the basis for determining the theme of the story and the emotions and skills to be developed.
[0310] "E-book data format" refers to the format of data that converts the generated narrative text and images into a digital book format that can be viewed on a device.
[0311] This invention relates to a system that enables parents and children to more effectively engage in emotional education in a physical store. The system aims to recognize users' emotions in real time and provide stories and visuals that best suit those emotions. This provides entertainment with a high educational effect, effectively cultivating children's emotions and skills.
[0312] The system consists of the following main components: a camera, emotion recognition technology, a generative AI model, narrative and image generation prompts, and an e-book data format.
[0313] camera
[0314] The device is equipped with a camera that captures the user's facial expressions and movements in real time, which serves as basic data for analyzing the user's emotions.
[0315] emotion recognition technology
[0316] Image and audio data captured on the device is sent to emotion recognition technology, which uses OpenCV and the Hugging Face transformers library to accurately determine the user's current emotional state.
[0317] Generative AI Models
[0318] The server constructs prompts for generating a story based on the emotional state analyzed by emotion recognition technology, using a large-scale language model (e.g., GPT-3) to generate story text that reflects the specified theme and emotion.
[0319] Narrative and image generation prompts
[0320] The generated story text is divided into multiple scenes, and image generation prompts are created for each scene. Based on this, the image generation AI (e.g., DALL-E) generates images appropriate for each scene.
[0321] E-book data format
[0322] The server combines the generated story text and images to create a picture book. This picture book format data is converted into an e-book data format (e.g., EPUB) and sent to the device. The device displays the data in order, allowing the user to read it aloud to their child.
[0323] Specific examples
[0324] For example, if the camera captures a child's anxious expression, the emotion recognition technology will analyze it and the server will suggest a "story that fosters courage." Based on this suggestion, the story generation AI model will generate a "story of a timid rabbit gaining courage and going on an adventure." Then, for each scene in the story, the prompt sentence will be set as follows:
[0325] "A child bravely going into the forest"
[0326] The generated story text and images are converted into e-book data format, which parents and children can enjoy as entertainment in physical stores.
[0327] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0328] Step 1:
[0329] The device uses a camera to capture the user's image. The input is the real-time video captured by the camera, and the output is the captured image data of the user. This image data is used in the subsequent emotion recognition process. Specifically, the camera captures the user's face and stores it as image data on the device.
[0330] Step 2:
[0331] The device uses emotion recognition technology to analyze the user's emotional state. The input is the image data acquired in step 1, and the output is an estimate of the user's emotional state (e.g., anxiety, joy, excitement, etc.). Specifically, the device uses an image recognition library (e.g., OpenCV) and an emotion analysis library (e.g., transformers) to analyze the user's emotional state from their facial expressions.
[0332] Step 3:
[0333] The server proposes story themes and the emotions and skills to be developed based on the analyzed emotional state. The input is the emotional state data sent from the device, and the output is the proposed story themes and the emotions and skills to be developed. Specifically, it searches a database for themes and skills that correspond to the emotional state and generates suggestions.
[0334] Step 4:
[0335] The server creates a prompt to generate a story based on the theme and emotions / skills. The input is the theme proposed in step 3 and the emotions / skills to be developed, and the output is a prompt for generating the story. Specific operations combine the specified theme and emotion to generate an appropriate prompt (e.g., "An adventure story that develops courage").
[0336] Step 5:
[0337] The server generates a story text based on the generated prompt. The input is the prompt sentence created in step 4, and the output is the story text. Specifically, it uses a generative AI model (e.g., GPT-3) to generate a story based on the prompt. For example, it generates text such as "A child goes bravely into the forest."
[0338] Step 6:
[0339] The server creates image generation prompts for each scene based on the story text. The input is the story text generated in step 5, and the output is an image generation prompt for each scene. Specifically, the server divides the text into scenes and constructs prompts corresponding to each scene.
[0340] Step 7:
[0341] The server generates images based on the generated prompts. The input is the prompt sentence for each scene created in step 6, and the output is an image appropriate for each scene. Specifically, it uses an image generation AI (e.g., DALL-E) to generate visuals corresponding to each prompt.
[0342] Step 8:
[0343] The server combines the story text and the generated images into a picture book format. The input is the story text generated in step 5 and the images generated in step 7, and the output is picture book format data. Specifically, the server lays out the text and images together to create a visually appealing page.
[0344] Step 9:
[0345] The server converts the picture book formatted data into e-book data format. The input is the picture book formatted data created in step 8, and the output is e-book data format (e.g., EPUB). Specifically, the server converts the text and images into the standard format for e-books.
[0346] Step 10:
[0347] The device receives the data converted into e-book data format and displays it on the screen. The input is the e-book data sent from the server, and the output is the story and images displayed on the device. Specifically, the data received by the device is displayed in an e-book reader app or similar, allowing the user to view it.
[0348] The specific processing unit 290 transmits the result of the specific processing to the smart device 14. In the smart device 14, the control unit 46A causes the output device 40 to output the result of the specific processing. The microphone 38B acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 38B to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.
[0349] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[0350] In the above embodiment, an example in which the specific process is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific process may be performed by the smart device 14.
[0351] [Second embodiment]
[0352] FIG. 3 shows an example of the configuration of a data processing system 210 according to the second embodiment.
[0353] 3, the data processing system 210 includes the data processing device 12 and smart glasses 214. An example of the data processing device 12 is a server.
[0354] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[0355] The smart glasses 214 include a computer 36, a microphone 238, a speaker 240, a camera 42, and a communication I / F 44. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, and the camera 42 are also connected to the bus 52.
[0356] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.
[0357] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).
[0358] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.
[0359] Fig. 4 shows an example of the main functions of the data processing device 12 and the smart glasses 214. As shown in Fig. 4, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.
[0360] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[0361] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[0362] In the smart glasses 214, the reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[0363] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as the "server" and the smart glasses 214 will be referred to as the "terminal."
[0364] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0365] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0366] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions for generating specific narrative text. The large-scale language model (e.g., a model using natural language processing technology) then generates narrative text based on this. For example, a story on the theme of "empathy in friendships" might be generated as follows: "One day, in a small forest..."
[0367] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to the image generation AI, which generates images appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0368] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0369] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0370] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," a story is generated as follows. As part of the story, "One day, in a small forest, Mr. Bear and Mr. Rabbit met... The Rabbit tried to understand Mr. Bear's feelings, and the two became best friends." is generated, and an image of "the meeting of the Bear and the Rabbit" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0371] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0372] The processing flow will be explained below.
[0373] Step 1:
[0374] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device interface. The input data consists of themes and emotion / skill items.
[0375] Step 2:
[0376] The device converts the input data into a request format and sends it to the server over the network. The request is sent to the server as JSON format data.
[0377] Step 3:
[0378] The server analyzes the received request and generates prompts for story generation based on the theme, emotion, and skill. Specifically, it constructs instructions that combine the theme and emotion.
[0379] Step 4:
[0380] The server sends the generated prompts to a large-scale language model (e.g., a model using natural language processing techniques), which generates narrative text based on the prompts and reflects the specified theme and emotion.
[0381] Step 5:
[0382] The server divides the generated narrative text into multiple scenes, for example, dividing the text into sentences or paragraphs to form each scene.
[0383] Step 6:
[0384] The server generates prompts for image generation based on each scene, summarizes the content of each scene, and creates instructions based on that summary.
[0385] Step 7:
[0386] The server sends prompts to an image generation AI (e.g., a machine learning model that generates images) to generate images suitable for each scene. The generated images are temporarily stored.
[0387] Step 8:
[0388] The server combines the story text with the generated images to create picture book-style pages, which are arranged with corresponding text to create a visually comprehensible layout.
[0389] Step 9:
[0390] The server converts the completed pages into e-book data format, which can then be viewed on the device (e.g., EPUB or PDF).
[0391] Step 10:
[0392] The server then sends the generated e-book data to the terminal via the network.
[0393] Step 11:
[0394] The device displays the received e-book data, and the user can browse each page in turn on the device screen and read it to their child.
[0395] In this way, the entire system works together to provide children with original picture books based on a particular theme.
[0396] Example 1
[0397] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[0398] In modern education and childcare, there is a demand for individually customized teaching materials to develop children's emotions and skills. Picture books based on specific themes or emotions are particularly effective in developing children's emotions and skills. However, existing teaching materials often have general content, making it difficult to fully meet individual needs. Furthermore, creating handmade teaching materials takes time and effort, making it unrealistic for many parents and educators.
[0399] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[0400] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for dividing the generated story text into a plurality of scenes, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data compiled in the picture book format into an electronic book data format, and means for displaying the data converted into the electronic book data format. This enables users to easily generate customized picture books and use them as effective teaching materials based on specific themes and emotions.
[0401] "Theme" refers to the main theme or central idea of a story.
[0402] "Emotional Skills" refer to specific emotional or technical abilities that users wish to develop.
[0403] "Means for inputting" refers to an interface for a user to input data using a terminal.
[0404] A "prompt" is a text sentence that gives specific instructions or requests to an AI model.
[0405] "Generating means" refers to the capabilities and technologies for creating new data or information based on a specified process.
[0406] "Narrative text" refers to a series of narrative sentences generated based on a prompt.
[0407] An "image generation prompt" refers to instructions for generating a particular image.
[0408] "Image generation AI model" refers to an artificial intelligence model used to generate images based on specified prompts.
[0409] A "scene" refers to a specific situation or setting depicted as part of a story.
[0410] "Picture book format" refers to the combination of narrative text and images in a visually appealing format.
[0411] "E-book data format" refers to the format of a digital book, and the data format for display on a device (e.g., EPUB or PDF).
[0412] "Displaying means" refers to the technology or device used to visually display the generated data on the screen of a terminal.
[0413] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0414] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0415] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions to generate specific story text. The large-scale language model (e.g., GPT-4) then generates the story text based on this. For example, a story on the theme of "empathy in friendships" might be generated as "One day, in a small forest..."
[0416] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to an image generation AI (e.g., DALL-E), which generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0417] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0418] The completed picture book data is converted into an e-book data format (e.g., EPUB or PDF). This data is sent to the device and displayed on the screen. The device displays it in turn, allowing the user to read it aloud to the child.
[0419] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," the following story will be generated. As part of the story, "One day, in a small forest, a bear and a rabbit met... The rabbit tried to understand the bear's feelings, and the two became best friends." is generated, and an image of "the bear and the rabbit meeting" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0420] Examples of prompts include:
[0421] "Write a story about empathy in friendships."
[0422] "Generate an image of a scene where a rabbit and a bear meet."
[0423] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0424] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0425] Step 1:
[0426] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server.
[0427] Input: Theme of the story, emotions and skills you want to develop
[0428] Output: User input data is sent to the server
[0429] Specific operation: The user enters "friendship" and "sympathy" into the input form on the device and presses the "send" button.
[0430] Step 2:
[0431] The server generates prompts for story generation based on the received data. These prompts are passed to a generative AI model (e.g., GPT-4) and serve as instructions for generating specific story text.
[0432] Input: User input data (themes, emotions, and skills)
[0433] Output: prompts for story generation
[0434] Specific operation: The server creates a prompt based on "friendship" and "empathy" and instructs the generative AI model to "write a story with the theme of empathy in friendships."
[0435] Step 3:
[0436] The server sends prompts to the generative AI model, which generates a narrative text based on the theme, such as "One day, in a small forest, a bear and a rabbit met..."
[0437] Input: Narrative generation prompt
[0438] Output: Generated narrative text
[0439] What happens: The server sends the prompt to GPT-4 and retrieves the generated text.
[0440] Step 4:
[0441] The server divides the generated story text into multiple scenes, and for each scene it also creates prompts to generate appropriate images.
[0442] Input: Generated narrative text
[0443] Output: Prompts for generating images corresponding to each scene
[0444] Specific operation: The server divides the story into Scene 1 ("One day, in a small forest..."), Scene 2 ("The rabbit tries to understand the bear's feelings..."), and so on.
[0445] Step 5:
[0446] The server generates prompts for image generation based on each scene and passes them to the image generation AI. The image generation AI then generates an image appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0447] Input: Prompt for generating images corresponding to each scene
[0448] Output: Generated image data
[0449] Specific operation: The server instructs DALL-E to "create an image of a scene where a bear and a rabbit meet in a small forest." The server then retrieves the generated image data.
[0450] Step 6:
[0451] The server combines the generated story text with corresponding images to create picture book style pages, with each page containing a part of the story and its corresponding image.
[0452] Input: Generated narrative text, generated image data
[0453] Output: Picture book format page data
[0454] What it does: The server combines text and images in HTML or PDF format to create e-book pages.
[0455] Step 7:
[0456] The server converts the completed picture book data into an e-book data format and sends it to the terminal.
[0457] Input: Picture book page data
[0458] Output: eBook data (e.g. EPUB or PDF)
[0459] Specific operation: The server exports the generated picture book pages as EPUB or PDF and sends the data to the device.
[0460] Step 8:
[0461] The device displays the received e-book data in order, and the user can use this picture book to read to their child.
[0462] Input: e-book data
[0463] Output: Each page of the book displayed on the device screen
[0464] What it does: The device's e-reader app will open the EPUB or PDF and display them in order.
[0465] (Application example 1)
[0466] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[0467] In today's educational environment, it is important for parents and children to develop their emotions and skills while having fun together, but providing individually customized educational content is difficult. Furthermore, existing educational content is uniform and does not adequately support development tailored to children's growth, emotions, and skills. Furthermore, the systems for easily obtaining, purchasing, and downloading content are inadequate, resulting in reduced usability.
[0468] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[0469] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data into an e-book data format and providing an interface for purchase and download, means for carrying out purchase procedures via a payment system, and means for displaying the data compiled in picture book format. This makes it possible to quickly generate individually customized educational content, allowing parents and children to enjoy education together, and providing an environment where content can be easily purchased and downloaded.
[0470] A "theme" is the subject of a story that relates to an emotion or skill the user wants to develop.
[0471] "Emotions and skills to develop" refers to specific emotions and abilities that the user wants their child to learn.
[0472] A "prompt for generating a story" is an instruction for generating a story text, and is a sentence that contains the basic content that a large-scale language model uses to create a story.
[0473] "Generated prompts" are instructions automatically generated based on the input theme and emotion / skill.
[0474] A "narrative text" is a series of sentences created based on the generated prompts, which express the content of the story.
[0475] An "image generation prompt" is an instruction to generate an image appropriate to a scene based on the story text.
[0476] A "combiner" is a process or technique for combining the narrative text with the generated images.
[0477] "Picture book formatting" is the process of composing the generated narrative text and images into a visually appealing picture book.
[0478] The "e-book data format" refers to the generated picture book converted into a digital format that can be viewed on a device.
[0479] The "purchase and download interface" is a user interface that allows users to purchase the generated picture book and download it directly to their device.
[0480] The "means for carrying out payment procedures" refers to an electronic payment system used when a user purchases generated content.
[0481] "Display means" refers to a function on a device for visually displaying the generated picture book data.
[0482] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, displays them in a picture book format, and provides an interface that allows purchase and download. An embodiment of this system will be described in detail below.
[0483] System Configuration
[0484] First, the user uses a device such as a smartphone or tablet to input the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the application's interface. This input data is then sent from the device to the server.
[0485] The server includes the following components:
[0486] 1. A means of creating prompts to generate stories using large-scale language models (e.g., GPT-4).
[0487] 2. A means of generating narrative text based on the generated prompts.
[0488] 3. A means of dividing the narrative text into scenes and creating image generation prompts to generate images corresponding to each scene.
[0489] 4. A means to generate appropriate images for the scene using image generation AI (e.g. DALL-E 2).
[0490] 5. A means of combining the generated story text and images to generate e-book data in picture book format (e.g., EPUB, PDF).
[0491] 6. A means for providing a purchase and download interface that allows users to purchase and download the generated picture book.
[0492] 7. Means of completing purchases via electronic payment systems (e.g. Stripe, PayPal).
[0493] Data processing details
[0494] 1. Entering themes, emotions, and skills: Users enter the themes and the emotions and skills they want to develop through the dedicated application interface.
[0495] 2. Prompt generation: The server generates prompts based on the received themes, emotions, and skills. These prompts are passed to a large-scale language model (e.g., GPT-4).
[0496] 3. Story text generation: Based on the generated prompts, the GPT-4 model generates story text. For example, for a story on the theme of "empathy in friendships," the generated text would be something like "One day, in a small forest..."
[0497] 4. Image generation prompt creation: The narrative text is divided into multiple scenes, and image generation prompts corresponding to each scene are created, allowing an image generation AI such as DALL-E 2 to generate appropriate images.
[0498] 5. Generation of e-book data: The generated narrative text and images are combined and e-book data (EPUB or PDF format) is generated using a tool such as ReportLab.
[0499] 6. Providing a purchase and download interface: Users are provided with an interface that allows them to purchase picture books generated through the application and download them directly to their devices.
[0500] 7. Payment Processing: The user purchases the generated picture book using an electronic payment system (Stripe or PayPal). After successful payment, the user can immediately download and view the generated picture book.
[0501] Examples of specific examples and prompts
[0502] As a concrete example, let's say a parent inputs the theme of "friendship" and the emotion they want to foster, "empathy." Based on this input data, the following prompts are generated:
[0503] Example prompt sentence:
[0504] "Write a story for children about empathy in friendships: 'One day in the forest, a bear and a rabbit met...'"
[0505] By combining the generated story text with images, individually customized picture books are quickly generated for parents and children to enjoy. A highly usable experience is provided through a purchase and download interface.
[0506] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0507] Step 1:
[0508] The user inputs a theme and the emotions and skills they wish to develop. Using the interface of a dedicated application on their smartphone or tablet, the user inputs a theme (e.g., "friendship") and the emotions and skills they wish to develop (e.g., "empathy"). The input data is sent from the device to the server. The input is text data, which is used for subsequent processing.
[0509] Input: Text data of themes, emotions, and skills
[0510] Output: Input data sent to the server
[0511] Step 2:
[0512] The server generates prompts based on themes, emotions, and skills, including prompts tailored to specific conditions and situations, which are then passed to a large-scale language model (e.g., GPT-4).
[0513] Input: Theme, emotion, and skill data submitted by the user
[0514] Output: Prompt sentence passed to the large-scale language model
[0515] Step 3:
[0516] The server generates a narrative text using a large-scale language model. Based on the generated prompts, GPT-4 creates a detailed narrative text. As part of the story, a sentence such as "One day, in a small forest, a bear and a rabbit met..." is generated.
[0517] Input: prompt statement
[0518] Output: Narrative text
[0519] Step 4:
[0520] The server divides the story text into multiple scenes and creates image generation prompts for each scene. This allows for specific image generation for each scene. For example, a prompt for a forest landscape image is generated for the scene "In a small forest."
[0521] Input: Narrative text
[0522] Output: Scene-specific image generation prompt
[0523] Step 5:
[0524] The server uses image generation AI (e.g., DALL-E 2) to generate images that fit each scene. Based on the generated prompts, an image of a specific scene is created.
[0525] Input: Image generation prompt
[0526] Output: Image data for each scene
[0527] Step 6:
[0528] The server combines the generated story text and images to generate an e-book in picture book format, and converts the generated text and images into e-book data (e.g., EPUB, PDF) using a tool such as ReportLab.
[0529] Input: Story text and scene-by-scene image data
[0530] Output: E-book data
[0531] Step 7:
[0532] The server provides an interface for purchasing and downloading the generated e-book data. Users can purchase e-books through the application and download them to their devices.
[0533] Input: E-book data
[0534] Output: Purchase and download interface
[0535] Step 8:
[0536] The server processes the user's purchase through an electronic payment system, such as Stripe or PayPal, and provides a download link for the e-book upon successful payment.
[0537] Input: Purchase Request
[0538] Output: Payment completion notification and download link
[0539] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.
[0540] The present invention relates to a system that combines a means for inputting a theme and the emotions and skills to be developed with an emotion engine that recognizes the user's emotions. This system proposes a story theme and the emotions and skills to be developed based on the recognized user emotions, and finally displays the generated story and images in a picture book format. An embodiment of this system will be described in detail below.
[0541] First, the user launches the system via the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time and analyzes their current emotional state. This emotion engine uses facial expression and voice recognition technology to accurately grasp the user's emotions.
[0542] The emotion engine then recognizes the user's emotions and suggests appropriate story themes and emotion skills to develop based on the user's specific emotional state (e.g., joy, anxiety, excitement). The suggested themes and emotion skills can then be confirmed or modified by the user.
[0543] The themes, emotions, and skills confirmed or corrected by the user are sent from the device to the server, which analyzes the received information and generates prompts for narrative generation based on it. These prompts are used in a large-scale language model and form the basis for generating narrative text.
[0544] Based on the prompts, the large-scale language model generates narrative text that reflects the specified theme and emotion. For example, for a story about "empathy in friendships," it might generate text like, "One day, a bear and a rabbit met in a small forest... The rabbit tried to understand the bear's feelings, and the two became best friends."
[0545] The generated story text is divided into multiple scenes. The server creates prompts for image generation for each scene and sends them to the image generation AI. Based on the prompts, the image generation AI generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0546] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0547] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0548] As a concrete example, if the emotion engine detects the user's "anxiety," the system will suggest the theme of "developing courage." If the user accepts this suggestion, a "growth story through courage" will be generated, completing the story of "one day, a timid little rabbit goes on a brave adventure." Images of the "brave adventure" will be generated for each scene, and compiled into a picture book format. This will then be displayed on the device, allowing the user to read it aloud to their child.
[0549] The processing flow will be explained below.
[0550] Step 1:
[0551] The user activates the system through the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time. The emotion engine analyzes this data and recognizes the user's current emotional state.
[0552] Step 2:
[0553] After the emotion engine recognizes the user's emotions, it suggests story themes and the emotions and skills they want to develop based on those emotions. For example, if the user is feeling "anxiety," the emotion engine will suggest the theme "developing courage." The suggested content will be displayed on the device screen.
[0554] Step 3:
[0555] The user can review the themes, emotions, and skills suggested by the emotion engine and modify them as necessary. After the suggestions are reviewed or modified, this information is sent from the device to the server.
[0556] Step 4:
[0557] The server receives and analyzes the theme, emotion, and skill information sent from the device. Based on the analysis results, it generates prompts for story generation. The prompts consist of specific instructions, such as "a story that will build courage."
[0558] Step 5:
[0559] The server sends the generated prompt to a large-scale language model, which then generates a story text that reflects the specified theme and emotion based on the prompt, such as "A story about a timid little rabbit who goes on a brave adventure."
[0560] Step 6:
[0561] The server divides the generated story text into multiple scenes, dividing the story into sentences and paragraphs to form each scene, allowing for the creation of specific image generation prompts for each scene.
[0562] Step 7:
[0563] The server generates a prompt for each scene, for example, "A scene in which a timid baby rabbit enters the forest" might prompt "Draw a scene in which a baby rabbit enters the forest."
[0564] Step 8:
[0565] The server sends prompts for each scene to the image generation AI, which then generates the corresponding image, which is then temporarily stored for further processing.
[0566] Step 9:
[0567] The server combines the generated story text with images to create picture book-style pages, each of which combines an image corresponding to a specific scene in the story, creating visual storytelling.
[0568] Step 10:
[0569] The server converts the completed pages into e-book data formats, such as EPUB or PDF, which make them viewable on the device.
[0570] Step 11:
[0571] The server then sends the generated e-book data to the device, and the necessary data is sent to the device via the network, completing the reception.
[0572] Step 12:
[0573] The device displays the received e-book data, and the user can use the device's interface to check each page of the picture book in order and start reading aloud.
[0574] This trend will enable systems incorporating emotion engines to provide optimal stories and visuals according to the user's emotions, effectively supporting the development of children's emotional and interpersonal skills.
[0575] Example 2
[0576] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[0577] Conventional story generation systems have difficulty generating appropriate stories based on the user's emotions and state, and have been unable to provide personalized stories based on the user's individual emotional state. This has led to issues with inadequate educational effects and emotional development. Furthermore, the process of compiling a story into a picture book format that integrates the story and corresponding images is complicated, making it difficult to provide a user-friendly format.
[0578] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[0579] In this invention, the server includes means for recognizing emotions by acquiring a user's facial expressions and voice in real time, means for suggesting a theme and emotions and skills to be developed based on the recognized emotions, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for dividing the story text into multiple scenes and generating prompts for image generation, means for generating images based on the generated prompts, means for combining the generated story text and images to create picture book-style pages, means for converting picture book-style data into e-book format, and means for displaying the converted data on a device. This enables the generation of personalized stories and images based on the user's emotional state and their provision in a visually appealing picture book format.
[0580] "User" refers to the person who uses the system and inputs emotions and confirms and modifies themes during the story generation process.
[0581] The "server" is the computer at the core of the system, which analyzes data, generates stories, creates images, and creates picture book format content.
[0582] A "terminal" refers to a device operated by a user, which is responsible for starting the system, entering data, and displaying results.
[0583] "Emotion engine" is a general term for software and hardware that analyzes a user's facial expressions and voice in real time and recognizes their emotional state.
[0584] "Theme" refers to the main theme or central idea of the story and is suggested based on the user's emotions.
[0585] "Emotions and skills to be developed" refers to the specific emotions and abilities that users want to develop through the story.
[0586] A "prompt" refers to instructions or initial text that a large-scale language model or image generation AI uses to generate a story or image.
[0587] "Narrative text" refers to narrative text generated by a generative AI model.
[0588] "Image generation AI" refers to an artificial intelligence system that generates images based on given prompts.
[0589] A "scene" refers to an individual scene separated within the narrative text, and an image corresponding to each scene is generated.
[0590] "Picture book format" refers to a visually integrated format that combines narrative text with corresponding images.
[0591] "Electronic book data format" refers to a data format for electronic books that can be viewed on a digital device.
[0592] The present invention relates to a system that recognizes a user's emotions, generates stories and images based on those emotions, and displays them in the form of a picture book. This system aims to have an educational effect and foster emotions by recognizing the user's emotions in real time and providing personalized stories.
[0593] First, the user starts the system using the device interface. Once the system is started, the device turns on the camera and microphone to capture the user's facial expressions and voice in real time. For example, a standard webcam and condenser microphone can be used for the camera and microphone. OpenCV is used for facial expression recognition, and the Google Speech-to-Text API is used for voice recognition.
[0594] The acquired data is sent by the device to the emotion engine, which analyzes this data and recognizes the current emotional state. This emotion engine uses Microsoft Azure's Emotion API to determine emotions from facial expressions such as smiles and frowns, as well as tone of voice. For example, a smile can be recognized as "joy," and a frown as "anxiety."
[0595] Next, based on the recognized emotions, the server suggests appropriate story themes and the emotions and skills the user wants to develop. For example, if the user feels "anxiety," the system will suggest the theme of "developing courage." The suggested themes and emotions and skills can then be confirmed or revised by the user, and the information is sent from the device to the server.
[0596] With this information, the server creates prompts for story generation, which are then used as instructions for a large-scale language model (e.g., OpenAI's GPT-3). For example, a prompt might include the following sentence:
[0597] "Generate stories of growth through courage"
[0598] Based on these prompts, the large-scale language model generates a story that reflects the specified theme and emotion—for example, "A story about a timid little rabbit who goes on a brave adventure." The story is then further divided into scenes.
[0599] For each scene, the server creates a prompt for image generation. This prompt is sent to an image generation AI (e.g., DALL-E or Stable Diffusion). For example, for the scene "A rabbit's adventure in a small forest," the prompt created is "An illustration of a forest scene and a rabbit."
[0600] Based on the prompts, the image generation AI generates images appropriate for each scene. The generated story text and images are combined by the server to create picture book-style pages. Each page contains an image that corresponds to a part of the story, resulting in a visually appealing picture book.
[0601] Finally, the server converts the completed picture book data into an e-book data format (e.g., ePub format). This converted data is sent to the terminal, which displays it sequentially on the screen. This allows the user to read the generated picture book to their child. As a specific example, an "adventure story that develops courage" is generated, and for each scene, an image of a "brave adventure" is generated and compiled into a picture book. In this way, the data is finally displayed on the terminal, allowing the user to read it to their child.
[0602] Through this system, users can generate personalized stories and images based on their emotional state, and present them in a visually appealing picture book format for enhanced educational impact.
[0603] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0604] Step 1:
[0605] The user activates the system using the device interface. The device then turns on the camera and microphone to capture the user's facial expressions and voice in real time. The inputs are camera video data and voice data, and the output is the captured facial expressions and voice data.
[0606] Step 2:
[0607] The captured facial and voice data is sent by the device to the emotion engine. The emotion engine analyzes this data and recognizes the user's emotional state. Here, facial expression recognition using OpenCV and voice recognition using the Google Speech-to-Text API are used. The input is facial expression and voice data, and the output is the recognized emotional state. For example, if the user's facial expression is smiling, the emotion "joy" is output.
[0608] Step 3:
[0609] The server suggests appropriate story themes and the emotions and skills to develop based on the recognized emotions. The suggestions are based on the results of an emotion recognition model. The input is the recognized emotional state, and the output is the suggested theme and the emotions and skills to develop. For example, the theme "developing courage" is suggested for the emotion "anxiety."
[0610] Step 4:
[0611] The user checks the proposed themes and the emotions and skills they want to develop on the interface and modifies them as necessary. This information is sent from the device to the server. The input is the themes and emotions and skills that the user confirmed or modified, and the output is the submitted themes and emotions and skills.
[0612] Step 5:
[0613] The server creates a prompt for story generation based on the received theme and the emotions and skills to be developed. Here, a prompt is generated for a large-scale language model (e.g., OpenAI's GPT-3). The input is the theme and emotion / skill information, and the output is a prompt for story generation. For example, a generated prompt might be, "Generate a story of growth through courage."
[0614] Step 6:
[0615] The server sends the generated prompts to a large-scale language model to generate a story text. The input is the prompt, and the output is the generated story text. For example, a story like "A story about a timid little rabbit who goes on a brave adventure" is generated.
[0616] Step 7:
[0617] The generated story text is divided into multiple scenes by the server. For each scene, a prompt for image generation is created and sent to the image generation AI. The input is the story text, and the output is an image generation prompt for each scene. For example, a prompt such as "An illustration of a forest landscape and a rabbit" is generated.
[0618] Step 8:
[0619] Image generation AI (such as DALL-E or Stable Diffusion) generates images appropriate for each scene based on prompts. The server receives this. The input is the prompt for each scene, and the output is the generated image. For example, a scene from "A Rabbit's Adventure in a Little Forest" is visually represented.
[0620] Step 9:
[0621] The server combines the generated story text and images to create picture book style pages. Each page contains a part of the story and an image corresponding to it. The input is the story text and the generated images, and the output is picture book style pages.
[0622] Step 10:
[0623] The completed picture book data is converted into an e-book data format (e.g., ePub format) by the server. This data is sent to the terminal and displayed sequentially on the screen. The input is the picture book format pages, and the output is the data converted into e-book data format. In this way, the user can read the generated picture book to their child.
[0624] (Application example 2)
[0625] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the smart glasses 214 will be referred to as a "terminal."
[0626] The present invention provides a method for parents and children to more effectively learn about emotions in a brick-and-mortar store. In particular, it aims to solve the problem of providing highly educational entertainment by recognizing children's emotions in real time and providing stories and visuals that best suit those emotions. This effectively develops children's emotions and skills, and provides an environment where parents and children can learn together in a fun way.
[0627] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0628] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for acquiring an image of the user with a camera and analyzing the user's emotional state using emotion recognition technology, and means for suggesting a story theme and emotions and skills to be developed based on the analyzed emotional state. This enables parents and children to generate educational stories tailored to the child's emotional state in a physical store and provide them with visuals.
[0629] A "theme" is a basic concept or subject that constitutes a story and determines the content and direction of the story.
[0630] "Emotions and skills to be developed" refers to specific emotions and abilities that users want to develop in their children through stories, such as courage, empathy, and creativity.
[0631] A "prompt" is a set of instructions that initiates a large-scale language model to generate specific text, and forms the basis of the story or image that is generated.
[0632] "Narrative text" refers to the written portion of a story that is generated based on user input and prompts, and may be divided into multiple scenes.
[0633] An "image generation prompt" is a set of instructions sent to an image generation AI to flesh out a particular scene or story, which is then used to generate the corresponding visuals.
[0634] The "camera" is a device that captures the user's facial expressions and movements in real time and provides the data to emotion recognition technology.
[0635] "Emotion recognition technology" is a technology that analyzes data such as a user's facial expressions and voice to evaluate and identify their current emotional state.
[0636] "Analyzed emotional state" refers to the user's current emotional state obtained through emotion recognition technology, and serves as the basis for determining the theme of the story and the emotions and skills to be developed.
[0637] "E-book data format" refers to the format of data that converts the generated narrative text and images into a digital book format that can be viewed on a device.
[0638] This invention relates to a system that enables parents and children to more effectively engage in emotional education in a physical store. The system aims to recognize users' emotions in real time and provide stories and visuals that best suit those emotions. This provides entertainment with a high educational effect, effectively cultivating children's emotions and skills.
[0639] The system consists of the following main components: a camera, emotion recognition technology, a generative AI model, narrative and image generation prompts, and an e-book data format.
[0640] camera
[0641] The device is equipped with a camera that captures the user's facial expressions and movements in real time, which serves as basic data for analyzing the user's emotions.
[0642] emotion recognition technology
[0643] Image and audio data captured on the device is sent to emotion recognition technology, which uses OpenCV and the Hugging Face transformers library to accurately determine the user's current emotional state.
[0644] Generative AI Models
[0645] The server constructs prompts for generating a story based on the emotional state analyzed by emotion recognition technology, using a large-scale language model (e.g., GPT-3) to generate story text that reflects the specified theme and emotion.
[0646] Narrative and image generation prompts
[0647] The generated story text is divided into multiple scenes, and image generation prompts are created for each scene. Based on this, the image generation AI (e.g., DALL-E) generates images appropriate for each scene.
[0648] E-book data format
[0649] The server combines the generated story text and images to create a picture book. This picture book format data is converted into an e-book data format (e.g., EPUB) and sent to the device. The device displays the data in order, allowing the user to read it aloud to their child.
[0650] Specific examples
[0651] For example, if the camera captures a child's anxious expression, the emotion recognition technology will analyze it and the server will suggest a "story that fosters courage." Based on this suggestion, the story generation AI model will generate a "story of a timid rabbit gaining courage and going on an adventure." Then, for each scene in the story, the prompt sentence will be set as follows:
[0652] "A child bravely going into the forest"
[0653] The generated story text and images are converted into e-book data format, which parents and children can enjoy as entertainment in physical stores.
[0654] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0655] Step 1:
[0656] The device uses a camera to capture the user's image. The input is the real-time video captured by the camera, and the output is the captured image data of the user. This image data is used in the subsequent emotion recognition process. Specifically, the camera captures the user's face and stores it as image data on the device.
[0657] Step 2:
[0658] The device uses emotion recognition technology to analyze the user's emotional state. The input is the image data acquired in step 1, and the output is an estimate of the user's emotional state (e.g., anxiety, joy, excitement, etc.). Specifically, the device uses an image recognition library (e.g., OpenCV) and an emotion analysis library (e.g., transformers) to analyze the user's emotional state from their facial expressions.
[0659] Step 3:
[0660] The server proposes story themes and the emotions and skills to be developed based on the analyzed emotional state. The input is the emotional state data sent from the device, and the output is the proposed story themes and the emotions and skills to be developed. Specifically, it searches a database for themes and skills that correspond to the emotional state and generates suggestions.
[0661] Step 4:
[0662] The server creates a prompt to generate a story based on the theme and emotions / skills. The input is the theme proposed in step 3 and the emotions / skills to be developed, and the output is a prompt for generating the story. Specific operations combine the specified theme and emotion to generate an appropriate prompt (e.g., "An adventure story that develops courage").
[0663] Step 5:
[0664] The server generates a story text based on the generated prompt. The input is the prompt sentence created in step 4, and the output is the story text. Specifically, it uses a generative AI model (e.g., GPT-3) to generate a story based on the prompt. For example, it generates text such as "A child goes bravely into the forest."
[0665] Step 6:
[0666] The server creates image generation prompts for each scene based on the story text. The input is the story text generated in step 5, and the output is an image generation prompt for each scene. Specifically, the server divides the text into scenes and constructs prompts corresponding to each scene.
[0667] Step 7:
[0668] The server generates images based on the generated prompts. The input is the prompt sentence for each scene created in step 6, and the output is an image appropriate for each scene. Specifically, it uses an image generation AI (e.g., DALL-E) to generate visuals corresponding to each prompt.
[0669] Step 8:
[0670] The server combines the story text and the generated images into a picture book format. The input is the story text generated in step 5 and the images generated in step 7, and the output is picture book format data. Specifically, the server lays out the text and images together to create a visually appealing page.
[0671] Step 9:
[0672] The server converts the picture book formatted data into e-book data format. The input is the picture book formatted data created in step 8, and the output is e-book data format (e.g., EPUB). Specifically, the server converts the text and images into the standard format for e-books.
[0673] Step 10:
[0674] The device receives the data converted into e-book data format and displays it on the screen. The input is the e-book data sent from the server, and the output is the story and images displayed on the device. Specifically, the data received by the device is displayed in an e-book reader app or similar, allowing the user to view it.
[0675] The specific processing unit 290 transmits the result of the specific processing to the smart glasses 214. In the smart glasses 214, the control unit 46A causes the speaker 240 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.
[0676] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[0677] In the above embodiment, an example in which the specific processing is performed by the data processing device 12 has been given, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the smart glasses 214.
[0678] [Third embodiment]
[0679] FIG. 5 shows an example of the configuration of a data processing system 310 according to the third embodiment.
[0680] 5, the data processing system 310 includes the data processing device 12 and a headset type terminal 314. An example of the data processing device 12 is a server.
[0681] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[0682] The headset type terminal 314 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a display 343. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the display 343 are also connected to the bus 52.
[0683] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.
[0684] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).
[0685] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.
[0686] Fig. 6 shows an example of the main functions of the data processing device 12 and the headset type terminal 314. As shown in Fig. 6, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.
[0687] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[0688] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[0689] In the headset type terminal 314, a reception output process is performed by the processor 46. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[0690] Next, a description will be given of the identification process performed by the identification processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as the "server" and the headset type terminal 314 will be referred to as the "terminal."
[0691] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0692] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0693] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions for generating specific narrative text. The large-scale language model (e.g., a model using natural language processing technology) then generates narrative text based on this. For example, a story on the theme of "empathy in friendships" might be generated as follows: "One day, in a small forest..."
[0694] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to the image generation AI, which generates images appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0695] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0696] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0697] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," a story is generated as follows. As part of the story, "One day, in a small forest, Mr. Bear and Mr. Rabbit met... The Rabbit tried to understand Mr. Bear's feelings, and the two became best friends." is generated, and an image of "the meeting of the Bear and the Rabbit" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0698] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0699] The processing flow will be explained below.
[0700] Step 1:
[0701] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device interface. The input data consists of themes and emotion / skill items.
[0702] Step 2:
[0703] The device converts the input data into a request format and sends it to the server over the network. The request is sent to the server as JSON format data.
[0704] Step 3:
[0705] The server analyzes the received request and generates prompts for story generation based on the theme, emotion, and skill. Specifically, it constructs instructions that combine the theme and emotion.
[0706] Step 4:
[0707] The server sends the generated prompts to a large-scale language model (e.g., a model using natural language processing techniques), which generates narrative text based on the prompts and reflects the specified theme and emotion.
[0708] Step 5:
[0709] The server divides the generated narrative text into multiple scenes, for example, dividing the text into sentences or paragraphs to form each scene.
[0710] Step 6:
[0711] The server generates prompts for image generation based on each scene, summarizes the content of each scene, and creates instructions based on that summary.
[0712] Step 7:
[0713] The server sends prompts to an image generation AI (e.g., a machine learning model that generates images) to generate images suitable for each scene. The generated images are temporarily stored.
[0714] Step 8:
[0715] The server combines the story text with the generated images to create picture book-style pages, which are arranged with corresponding text to create a visually comprehensible layout.
[0716] Step 9:
[0717] The server converts the completed pages into e-book data format, which can then be viewed on the device (e.g., EPUB or PDF).
[0718] Step 10:
[0719] The server then sends the generated e-book data to the terminal via the network.
[0720] Step 11:
[0721] The device displays the received e-book data, and the user can browse each page in turn on the device screen and read it to their child.
[0722] In this way, the entire system works together to provide children with original picture books based on a particular theme.
[0723] Example 1
[0724] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[0725] In modern education and childcare, there is a demand for individually customized teaching materials to develop children's emotions and skills. Picture books based on specific themes or emotions are particularly effective in developing children's emotions and skills. However, existing teaching materials often have general content, making it difficult to fully meet individual needs. Furthermore, creating handmade teaching materials takes time and effort, making it unrealistic for many parents and educators.
[0726] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[0727] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for dividing the generated story text into a plurality of scenes, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data compiled in the picture book format into an electronic book data format, and means for displaying the data converted into the electronic book data format. This enables users to easily generate customized picture books and use them as effective teaching materials based on specific themes and emotions.
[0728] "Theme" refers to the main theme or central idea of a story.
[0729] "Emotional Skills" refer to specific emotional or technical abilities that users wish to develop.
[0730] "Means for inputting" refers to an interface for a user to input data using a terminal.
[0731] A "prompt" is a text sentence that gives specific instructions or requests to an AI model.
[0732] "Generating means" refers to the capabilities and technologies for creating new data or information based on a specified process.
[0733] "Narrative text" refers to a series of narrative sentences generated based on a prompt.
[0734] An "image generation prompt" refers to instructions for generating a particular image.
[0735] "Image generation AI model" refers to an artificial intelligence model used to generate images based on specified prompts.
[0736] A "scene" refers to a specific situation or setting depicted as part of a story.
[0737] "Picture book format" refers to the combination of narrative text and images in a visually appealing format.
[0738] "E-book data format" refers to the format of a digital book, and the data format for display on a device (e.g., EPUB or PDF).
[0739] "Displaying means" refers to the technology or device used to visually display the generated data on the screen of a terminal.
[0740] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[0741] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[0742] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions to generate specific story text. The large-scale language model (e.g., GPT-4) then generates the story text based on this. For example, a story on the theme of "empathy in friendships" might be generated as "One day, in a small forest..."
[0743] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to an image generation AI (e.g., DALL-E), which generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0744] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0745] The completed picture book data is converted into an e-book data format (e.g., EPUB or PDF). This data is sent to the device and displayed on the screen. The device displays it in turn, allowing the user to read it aloud to the child.
[0746] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," the following story will be generated. As part of the story, "One day, in a small forest, a bear and a rabbit met... The rabbit tried to understand the bear's feelings, and the two became best friends." is generated, and an image of "the bear and the rabbit meeting" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[0747] Examples of prompts include:
[0748] "Write a story about empathy in friendships."
[0749] "Generate an image of a scene where a rabbit and a bear meet."
[0750] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[0751] The flow of the identification process in the first embodiment will be described with reference to FIG.
[0752] Step 1:
[0753] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server.
[0754] Input: Theme of the story, emotions and skills you want to develop
[0755] Output: User input data is sent to the server
[0756] Specific operation: The user enters "friendship" and "sympathy" into the input form on the device and presses the "send" button.
[0757] Step 2:
[0758] The server generates prompts for story generation based on the received data. These prompts are passed to a generative AI model (e.g., GPT-4) and serve as instructions for generating specific story text.
[0759] Input: User input data (themes, emotions, and skills)
[0760] Output: prompts for story generation
[0761] Specific operation: The server creates a prompt based on "friendship" and "empathy" and instructs the generative AI model to "write a story with the theme of empathy in friendships."
[0762] Step 3:
[0763] The server sends prompts to the generative AI model, which generates a narrative text based on the theme, such as "One day, in a small forest, a bear and a rabbit met..."
[0764] Input: Narrative generation prompt
[0765] Output: Generated narrative text
[0766] What happens: The server sends the prompt to GPT-4 and retrieves the generated text.
[0767] Step 4:
[0768] The server divides the generated story text into multiple scenes, and for each scene it also creates prompts to generate appropriate images.
[0769] Input: Generated narrative text
[0770] Output: Prompts for generating images corresponding to each scene
[0771] Specific operation: The server divides the story into Scene 1 ("One day, in a small forest..."), Scene 2 ("The rabbit tries to understand the bear's feelings..."), and so on.
[0772] Step 5:
[0773] The server generates prompts for image generation based on each scene and passes them to the image generation AI. The image generation AI then generates an image appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[0774] Input: Prompt for generating images corresponding to each scene
[0775] Output: Generated image data
[0776] Specific operation: The server instructs DALL-E to "create an image of a scene where a bear and a rabbit meet in a small forest." The server then retrieves the generated image data.
[0777] Step 6:
[0778] The server combines the generated story text with corresponding images to create picture book style pages, with each page containing a part of the story and its corresponding image.
[0779] Input: Generated narrative text, generated image data
[0780] Output: Picture book format page data
[0781] What it does: The server combines text and images in HTML or PDF format to create e-book pages.
[0782] Step 7:
[0783] The server converts the completed picture book data into an e-book data format and sends it to the terminal.
[0784] Input: Picture book page data
[0785] Output: eBook data (e.g. EPUB or PDF)
[0786] Specific operation: The server exports the generated picture book pages as EPUB or PDF and sends the data to the device.
[0787] Step 8:
[0788] The device displays the received e-book data in order, and the user can use this picture book to read to their child.
[0789] Input: e-book data
[0790] Output: Each page of the book displayed on the device screen
[0791] What it does: The device's e-reader app will open the EPUB or PDF and display them in order.
[0792] (Application example 1)
[0793] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[0794] In today's educational environment, it is important for parents and children to develop their emotions and skills while having fun together, but providing individually customized educational content is difficult. Furthermore, existing educational content is uniform and does not adequately support development tailored to children's growth, emotions, and skills. Furthermore, the systems for easily obtaining, purchasing, and downloading content are inadequate, resulting in reduced usability.
[0795] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[0796] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data into an e-book data format and providing an interface for purchase and download, means for carrying out purchase procedures via a payment system, and means for displaying the data compiled in picture book format. This makes it possible to quickly generate individually customized educational content, allowing parents and children to enjoy education together, and providing an environment where content can be easily purchased and downloaded.
[0797] A "theme" is the subject of a story that relates to an emotion or skill the user wants to develop.
[0798] "Emotions and skills to develop" refers to specific emotions and abilities that the user wants their child to learn.
[0799] A "prompt for generating a story" is an instruction for generating a story text, and is a sentence that contains the basic content that a large-scale language model uses to create a story.
[0800] "Generated prompts" are instructions automatically generated based on the input theme and emotion / skill.
[0801] A "narrative text" is a series of sentences created based on the generated prompts, which express the content of the story.
[0802] An "image generation prompt" is an instruction to generate an image appropriate to a scene based on the story text.
[0803] A "combiner" is a process or technique for combining the narrative text with the generated images.
[0804] "Picture book formatting" is the process of composing the generated narrative text and images into a visually appealing picture book.
[0805] The "e-book data format" refers to the generated picture book converted into a digital format that can be viewed on a device.
[0806] The "purchase and download interface" is a user interface that allows users to purchase the generated picture book and download it directly to their device.
[0807] The "means for carrying out payment procedures" refers to an electronic payment system used when a user purchases generated content.
[0808] "Display means" refers to a function on a device for visually displaying the generated picture book data.
[0809] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, displays them in a picture book format, and provides an interface that allows purchase and download. An embodiment of this system will be described in detail below.
[0810] System Configuration
[0811] First, the user uses a device such as a smartphone or tablet to input the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the application's interface. This input data is then sent from the device to the server.
[0812] The server includes the following components:
[0813] 1. A means of creating prompts to generate stories using large-scale language models (e.g., GPT-4).
[0814] 2. A means of generating narrative text based on the generated prompts.
[0815] 3. A means of dividing the narrative text into scenes and creating image generation prompts to generate images corresponding to each scene.
[0816] 4. A means to generate appropriate images for the scene using image generation AI (e.g. DALL-E 2).
[0817] 5. A means of combining the generated story text and images to generate e-book data in picture book format (e.g., EPUB, PDF).
[0818] 6. A means for providing a purchase and download interface that allows users to purchase and download the generated picture book.
[0819] 7. Means of completing purchases via electronic payment systems (e.g. Stripe, PayPal).
[0820] Data processing details
[0821] 1. Entering themes, emotions, and skills: Users enter the themes and the emotions and skills they want to develop through the dedicated application interface.
[0822] 2. Prompt generation: The server generates prompts based on the received themes, emotions, and skills. These prompts are passed to a large-scale language model (e.g., GPT-4).
[0823] 3. Story text generation: Based on the generated prompts, the GPT-4 model generates story text. For example, for a story on the theme of "empathy in friendships," the generated text would be something like "One day, in a small forest..."
[0824] 4. Image generation prompt creation: The narrative text is divided into multiple scenes, and image generation prompts corresponding to each scene are created, allowing an image generation AI such as DALL-E 2 to generate appropriate images.
[0825] 5. Generation of e-book data: The generated narrative text and images are combined and e-book data (EPUB or PDF format) is generated using a tool such as ReportLab.
[0826] 6. Providing a purchase and download interface: Users are provided with an interface that allows them to purchase picture books generated through the application and download them directly to their devices.
[0827] 7. Payment Processing: The user purchases the generated picture book using an electronic payment system (Stripe or PayPal). After successful payment, the user can immediately download and view the generated picture book.
[0828] Examples of specific examples and prompts
[0829] As a concrete example, let's say a parent inputs the theme of "friendship" and the emotion they want to foster, "empathy." Based on this input data, the following prompts are generated:
[0830] Example prompt sentence:
[0831] "Write a story for children about empathy in friendships: 'One day in the forest, a bear and a rabbit met...'"
[0832] By combining the generated story text with images, individually customized picture books are quickly generated for parents and children to enjoy. A highly usable experience is provided through a purchase and download interface.
[0833] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[0834] Step 1:
[0835] The user inputs a theme and the emotions and skills they wish to develop. Using the interface of a dedicated application on their smartphone or tablet, the user inputs a theme (e.g., "friendship") and the emotions and skills they wish to develop (e.g., "empathy"). The input data is sent from the device to the server. The input is text data, which is used for subsequent processing.
[0836] Input: Text data of themes, emotions, and skills
[0837] Output: Input data sent to the server
[0838] Step 2:
[0839] The server generates prompts based on themes, emotions, and skills, including prompts tailored to specific conditions and situations, which are then passed to a large-scale language model (e.g., GPT-4).
[0840] Input: Theme, emotion, and skill data submitted by the user
[0841] Output: Prompt sentence passed to the large-scale language model
[0842] Step 3:
[0843] The server generates a narrative text using a large-scale language model. Based on the generated prompts, GPT-4 creates a detailed narrative text. As part of the story, a sentence such as "One day, in a small forest, a bear and a rabbit met..." is generated.
[0844] Input: prompt statement
[0845] Output: Narrative text
[0846] Step 4:
[0847] The server divides the story text into multiple scenes and creates image generation prompts for each scene. This allows for specific image generation for each scene. For example, a prompt for a forest landscape image is generated for the scene "In a small forest."
[0848] Input: Narrative text
[0849] Output: Scene-specific image generation prompt
[0850] Step 5:
[0851] The server uses image generation AI (e.g., DALL-E 2) to generate images that fit each scene. Based on the generated prompts, an image of a specific scene is created.
[0852] Input: Image generation prompt
[0853] Output: Image data for each scene
[0854] Step 6:
[0855] The server combines the generated story text and images to generate an e-book in picture book format, and converts the generated text and images into e-book data (e.g., EPUB, PDF) using a program such as ReportLab.
[0856] Input: Story text and scene-by-scene image data
[0857] Output: E-book data
[0858] Step 7:
[0859] The server provides an interface for purchasing and downloading the generated e-book data. Users can purchase e-books through the application and download them to their devices.
[0860] Input: E-book data
[0861] Output: Purchase and download interface
[0862] Step 8:
[0863] The server processes the user's purchase through an electronic payment system, such as Stripe or PayPal, and provides a download link for the e-book upon successful payment.
[0864] Input: Purchase Request
[0865] Output: Payment completion notification and download link
[0866] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.
[0867] The present invention relates to a system that combines a means for inputting a theme and the emotions and skills to be developed with an emotion engine that recognizes the user's emotions. This system proposes a story theme and the emotions and skills to be developed based on the recognized user emotions, and finally displays the generated story and images in a picture book format. An embodiment of this system will be described in detail below.
[0868] First, the user launches the system via the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time and analyzes their current emotional state. This emotion engine uses facial expression and voice recognition technology to accurately grasp the user's emotions.
[0869] The emotion engine then recognizes the user's emotions and suggests appropriate story themes and emotion skills to develop based on the user's specific emotional state (e.g., joy, anxiety, excitement). The suggested themes and emotion skills can then be confirmed or modified by the user.
[0870] The themes, emotions, and skills confirmed or corrected by the user are sent from the device to the server, which analyzes the received information and generates prompts for narrative generation based on it. These prompts are used in a large-scale language model and form the basis for generating narrative text.
[0871] Based on the prompts, the large-scale language model generates narrative text that reflects the specified theme and emotion. For example, for a story about "empathy in friendships," it might generate text like, "One day, a bear and a rabbit met in a small forest... The rabbit tried to understand the bear's feelings, and the two became best friends."
[0872] The generated story text is divided into multiple scenes. The server creates prompts for image generation for each scene and sends them to the image generation AI. Based on the prompts, the image generation AI generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[0873] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[0874] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[0875] As a concrete example, if the emotion engine detects the user's "anxiety," the system will suggest the theme of "developing courage." If the user accepts this suggestion, a "growth story through courage" will be generated, completing the story of "one day, a timid little rabbit goes on a brave adventure." Images of the "brave adventure" will be generated for each scene, and compiled into a picture book format. This will then be displayed on the device, allowing the user to read it aloud to their child.
[0876] The processing flow will be explained below.
[0877] Step 1:
[0878] The user activates the system through the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time. The emotion engine analyzes this data and recognizes the user's current emotional state.
[0879] Step 2:
[0880] After the emotion engine recognizes the user's emotions, it suggests story themes and the emotions and skills they want to develop based on those emotions. For example, if the user is feeling "anxiety," the emotion engine will suggest the theme "developing courage." The suggested content will be displayed on the device screen.
[0881] Step 3:
[0882] The user can review the themes, emotions, and skills suggested by the emotion engine and modify them as necessary. After the suggestions are reviewed or modified, this information is sent from the device to the server.
[0883] Step 4:
[0884] The server receives and analyzes the theme, emotion, and skill information sent from the device. Based on the analysis results, it generates prompts for story generation. The prompts consist of specific instructions, such as "a story that will build courage."
[0885] Step 5:
[0886] The server sends the generated prompt to a large-scale language model, which then generates a story text that reflects the specified theme and emotion based on the prompt, such as "A story about a timid little rabbit who goes on a brave adventure."
[0887] Step 6:
[0888] The server divides the generated story text into multiple scenes, dividing the story into sentences and paragraphs to form each scene, allowing for the creation of specific image generation prompts for each scene.
[0889] Step 7:
[0890] The server generates a prompt for each scene, for example, "A scene in which a timid baby rabbit enters the forest" might prompt "Draw a scene in which a baby rabbit enters the forest."
[0891] Step 8:
[0892] The server sends prompts for each scene to the image generation AI, which then generates the corresponding image, which is then temporarily stored for further processing.
[0893] Step 9:
[0894] The server combines the generated story text with images to create picture book-style pages, each of which combines an image corresponding to a specific scene in the story, creating visual storytelling.
[0895] Step 10:
[0896] The server converts the completed pages into an e-book data format, such as EPUB or PDF, which makes them viewable on the device.
[0897] Step 11:
[0898] The server then sends the generated e-book data to the device, and the necessary data is sent to the device via the network, completing the reception.
[0899] Step 12:
[0900] The device displays the received e-book data, and the user can use the device's interface to check each page of the picture book in order and start reading aloud.
[0901] This trend will enable systems incorporating emotion engines to provide optimal stories and visuals according to the user's emotions, effectively supporting the development of children's emotional and interpersonal skills.
[0902] Example 2
[0903] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[0904] Conventional story generation systems have difficulty generating appropriate stories based on the user's emotions and state, and have been unable to provide personalized stories based on the user's individual emotional state. This has led to issues with inadequate educational effects and emotional development. Furthermore, the process of compiling a story into a picture book format that integrates the story and corresponding images is complicated, making it difficult to provide a user-friendly format.
[0905] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[0906] In this invention, the server includes means for recognizing emotions by acquiring a user's facial expressions and voice in real time, means for suggesting a theme and emotions and skills to be developed based on the recognized emotions, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for dividing the story text into multiple scenes and generating prompts for image generation, means for generating images based on the generated prompts, means for combining the generated story text and images to create picture book-style pages, means for converting picture book-style data into e-book format, and means for displaying the converted data on a device. This enables the generation of personalized stories and images based on the user's emotional state and their provision in a visually appealing picture book format.
[0907] "User" refers to the person who uses the system and inputs emotions and confirms and modifies themes during the story generation process.
[0908] The "server" is the computer at the core of the system, which analyzes data, generates stories, creates images, and creates picture book format content.
[0909] A "terminal" refers to a device operated by a user, which is responsible for starting the system, entering data, and displaying results.
[0910] "Emotion engine" is a general term for software and hardware that analyzes a user's facial expressions and voice in real time and recognizes their emotional state.
[0911] "Theme" refers to the main theme or central idea of the story and is suggested based on the user's emotions.
[0912] "Emotions and skills to be developed" refers to the specific emotions and abilities that users want to develop through the story.
[0913] A "prompt" refers to instructions or initial text that a large-scale language model or image generation AI uses to generate a story or image.
[0914] "Narrative text" refers to narrative text generated by a generative AI model.
[0915] "Image generation AI" refers to an artificial intelligence system that generates images based on given prompts.
[0916] A "scene" refers to an individual scene separated within the narrative text, and an image corresponding to each scene is generated.
[0917] "Picture book format" refers to a visually integrated format that combines narrative text with corresponding images.
[0918] "Electronic book data format" refers to a data format for electronic books that can be viewed on a digital device.
[0919] The present invention relates to a system that recognizes a user's emotions, generates stories and images based on those emotions, and displays them in the form of a picture book. This system aims to have an educational effect and foster emotions by recognizing the user's emotions in real time and providing personalized stories.
[0920] First, the user starts the system using the device interface. Once the system is started, the device turns on the camera and microphone to capture the user's facial expressions and voice in real time. For example, a standard webcam and condenser microphone can be used for the camera and microphone. OpenCV is used for facial recognition, and the Google Speech-to-Text API is used for voice recognition.
[0921] The acquired data is sent by the device to the emotion engine, which analyzes this data and recognizes the current emotional state. This emotion engine uses Microsoft Azure's Emotion API to determine emotions from facial expressions such as smiles and frowns, as well as tone of voice. For example, a smile can be recognized as "joy," and a frown as "anxiety."
[0922] Next, based on the recognized emotions, the server suggests appropriate story themes and the emotions and skills the user wants to develop. For example, if the user feels "anxiety," the system will suggest the theme of "developing courage." The suggested themes and emotions and skills can then be confirmed or revised by the user, and the information is sent from the device to the server.
[0923] With this information, the server creates prompts for story generation, which are then used as instructions for a large-scale language model (e.g., OpenAI's GPT-3). For example, a prompt might include the following sentence:
[0924] "Generate stories of growth through courage"
[0925] Based on these prompts, the large-scale language model generates a story that reflects the specified theme and emotion—for example, "A story about a timid little rabbit who goes on a brave adventure." The story is then further divided into scenes.
[0926] For each scene, the server creates a prompt for image generation. This prompt is sent to an image generation AI (e.g., DALL-E or Stable Diffusion). For example, for the scene "A rabbit's adventure in a small forest," the prompt created is "An illustration of a forest scene and a rabbit."
[0927] Based on the prompts, the image generation AI generates images appropriate for each scene. The generated story text and images are combined by the server to create picture book-style pages. Each page contains an image that corresponds to a part of the story, resulting in a visually appealing picture book.
[0928] Finally, the server converts the completed picture book data into an e-book data format (e.g., ePub format). This converted data is sent to the device, which displays it sequentially on the screen. This allows the user to read the generated picture book to their child. As a specific example, an "adventure story that develops courage" is generated, and for each scene, an image of a "brave adventure" is generated and compiled into a picture book. In this way, the data is finally displayed on the device, allowing the user to read it to their child.
[0929] Through this system, users can generate personalized stories and images based on their emotional state, and present them in a visually appealing picture book format for enhanced educational impact.
[0930] The flow of the identification process in the second embodiment will be described with reference to FIG.
[0931] Step 1:
[0932] The user activates the system using the device interface. The device then turns on the camera and microphone to capture the user's facial expressions and voice in real time. The inputs are camera video data and voice data, and the output is the captured facial expressions and voice data.
[0933] Step 2:
[0934] The captured facial and voice data is sent by the device to the emotion engine. The emotion engine analyzes this data and recognizes the user's emotional state. Here, facial expression recognition using OpenCV and voice recognition using the Google Speech-to-Text API are used. The input is facial expression and voice data, and the output is the recognized emotional state. For example, if the user's facial expression is smiling, the emotion "joy" is output.
[0935] Step 3:
[0936] The server suggests appropriate story themes and the emotions and skills to develop based on the recognized emotions. The suggestions are based on the results of an emotion recognition model. The input is the recognized emotional state, and the output is the suggested theme and the emotions and skills to develop. For example, the theme "developing courage" is suggested for the emotion "anxiety."
[0937] Step 4:
[0938] The user checks the proposed themes and the emotions and skills they want to develop on the interface and modifies them as necessary. This information is sent from the device to the server. The input is the themes and emotions and skills that the user confirmed or modified, and the output is the submitted themes and emotions and skills.
[0939] Step 5:
[0940] The server creates a prompt for story generation based on the received theme and the emotions and skills to be developed. Here, a prompt is generated for a large-scale language model (e.g., OpenAI's GPT-3). The input is the theme and emotion / skill information, and the output is a prompt for story generation. For example, a generated prompt might be, "Generate a story of growth through courage."
[0941] Step 6:
[0942] The server sends the generated prompts to a large-scale language model to generate a story text. The input is the prompt, and the output is the generated story text. For example, a story like "A story about a timid little rabbit who goes on a brave adventure" is generated.
[0943] Step 7:
[0944] The generated story text is divided into multiple scenes by the server. For each scene, a prompt for image generation is created and sent to the image generation AI. The input is the story text, and the output is an image generation prompt for each scene. For example, a prompt such as "An illustration of a forest landscape and a rabbit" is generated.
[0945] Step 8:
[0946] Image generation AI (such as DALL-E or Stable Diffusion) generates images appropriate for each scene based on prompts. The server receives this. The input is the prompt for each scene, and the output is the generated image. For example, a scene from "A Rabbit's Adventure in a Little Forest" is visually represented.
[0947] Step 9:
[0948] The server combines the generated story text and images to create picture book style pages. Each page contains a part of the story and an image corresponding to it. The input is the story text and the generated images, and the output is picture book style pages.
[0949] Step 10:
[0950] The completed picture book data is converted into an e-book data format (e.g., ePub format) by the server. This data is sent to the terminal and displayed sequentially on the screen. The input is the picture book format pages, and the output is the data converted into e-book data format. In this way, the user can read the generated picture book to their child.
[0951] (Application example 2)
[0952] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the headset type terminal 314 will be referred to as a "terminal."
[0953] The present invention provides a method for parents and children to more effectively learn about emotions in a brick-and-mortar store. In particular, it aims to solve the problem of providing highly educational entertainment by recognizing children's emotions in real time and providing stories and visuals that best suit those emotions. This effectively develops children's emotions and skills, and provides an environment where parents and children can learn together in a fun way.
[0954] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[0955] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for acquiring an image of the user with a camera and analyzing the user's emotional state using emotion recognition technology, and means for suggesting a story theme and emotions and skills to be developed based on the analyzed emotional state. This enables parents and children to generate educational stories tailored to the child's emotional state in a physical store and provide them with visuals.
[0956] A "theme" is a basic concept or subject that constitutes a story and determines the content and direction of the story.
[0957] "Emotions and skills to be developed" refers to specific emotions and abilities that users want to develop in their children through stories, such as courage, empathy, and creativity.
[0958] A "prompt" is a set of instructions that initiates a large-scale language model to generate specific text, and forms the basis of the story or image that is generated.
[0959] "Narrative text" refers to the written portion of a story that is generated based on user input and prompts, and may be divided into multiple scenes.
[0960] An "image generation prompt" is a set of instructions sent to an image generation AI to flesh out a particular scene or story, which is then used to generate the corresponding visuals.
[0961] The "camera" is a device that captures the user's facial expressions and movements in real time and provides the data to emotion recognition technology.
[0962] "Emotion recognition technology" is a technology that analyzes data such as a user's facial expressions and voice to evaluate and identify their current emotional state.
[0963] "Analyzed emotional state" refers to the user's current emotional state obtained through emotion recognition technology, and serves as the basis for determining the theme of the story and the emotions and skills to be developed.
[0964] "E-book data format" refers to the format of data that converts the generated narrative text and images into a digital book format that can be viewed on a device.
[0965] This invention relates to a system that enables parents and children to more effectively engage in emotional education in a physical store. The system aims to recognize users' emotions in real time and provide stories and visuals that best suit those emotions. This provides entertainment with a high educational effect, effectively cultivating children's emotions and skills.
[0966] The system consists of the following main components: a camera, emotion recognition technology, a generative AI model, narrative and image generation prompts, and an e-book data format.
[0967] camera
[0968] The device is equipped with a camera that captures the user's facial expressions and movements in real time, which serves as basic data for analyzing the user's emotions.
[0969] emotion recognition technology
[0970] Image and audio data captured on the device is sent to emotion recognition technology, which uses OpenCV and the Hugging Face transformers library to accurately determine the user's current emotional state.
[0971] Generative AI Models
[0972] The server constructs prompts for generating a story based on the emotional state analyzed by emotion recognition technology, using a large-scale language model (e.g., GPT-3) to generate story text that reflects the specified theme and emotion.
[0973] Narrative and image generation prompts
[0974] The generated story text is divided into multiple scenes, and image generation prompts are created for each scene. Based on this, the image generation AI (e.g., DALL-E) generates images appropriate for each scene.
[0975] E-book data format
[0976] The server combines the generated story text and images to create a picture book. This picture book format data is converted into an e-book data format (e.g., EPUB) and sent to the device. The device displays the data in order, allowing the user to read it aloud to their child.
[0977] Specific examples
[0978] For example, if the camera captures a child's anxious expression, the emotion recognition technology will analyze it and the server will suggest a "story that fosters courage." Based on this suggestion, the story generation AI model will generate a "story of a timid rabbit gaining courage and going on an adventure." Then, for each scene in the story, the prompt sentence will be set as follows:
[0979] "A child bravely going into the forest"
[0980] The generated story text and images are converted into e-book data format, which parents and children can enjoy as entertainment in physical stores.
[0981] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[0982] Step 1:
[0983] The device uses a camera to capture the user's image. The input is the real-time video captured by the camera, and the output is the captured image data of the user. This image data is used in the subsequent emotion recognition process. Specifically, the camera captures the user's face and stores it as image data on the device.
[0984] Step 2:
[0985] The device uses emotion recognition technology to analyze the user's emotional state. The input is the image data acquired in step 1, and the output is an estimate of the user's emotional state (e.g., anxiety, joy, excitement, etc.). Specifically, the device uses an image recognition library (e.g., OpenCV) and an emotion analysis library (e.g., transformers) to analyze the user's emotional state from their facial expressions.
[0986] Step 3:
[0987] The server proposes story themes and the emotions and skills to be developed based on the analyzed emotional state. The input is the emotional state data sent from the device, and the output is the proposed story themes and the emotions and skills to be developed. Specifically, it searches a database for themes and skills that correspond to the emotional state and generates suggestions.
[0988] Step 4:
[0989] The server creates a prompt to generate a story based on the theme and emotions / skills. The input is the theme proposed in step 3 and the emotions / skills to be developed, and the output is a prompt for generating the story. Specific operations combine the specified theme and emotion to generate an appropriate prompt (e.g., "An adventure story that develops courage").
[0990] Step 5:
[0991] The server generates a story text based on the generated prompt. The input is the prompt sentence created in step 4, and the output is the story text. Specifically, it uses a generative AI model (e.g., GPT-3) to generate a story based on the prompt. For example, it generates text such as "A child goes bravely into the forest."
[0992] Step 6:
[0993] The server creates image generation prompts for each scene based on the story text. The input is the story text generated in step 5, and the output is an image generation prompt for each scene. Specifically, the server divides the text into scenes and constructs prompts corresponding to each scene.
[0994] Step 7:
[0995] The server generates images based on the generated prompts. The input is the prompt sentence for each scene created in step 6, and the output is an image appropriate for each scene. Specifically, it uses an image generation AI (e.g., DALL-E) to generate visuals corresponding to each prompt.
[0996] Step 8:
[0997] The server combines the story text and the generated images into a picture book format. The input is the story text generated in step 5 and the images generated in step 7, and the output is picture book format data. Specifically, the server lays out the text and images together to create a visually appealing page.
[0998] Step 9:
[0999] The server converts the picture book formatted data into e-book data format. The input is the picture book formatted data created in step 8, and the output is e-book data format (e.g., EPUB). Specifically, the server converts the text and images into the standard format for e-books.
[1000] Step 10:
[1001] The device receives the data converted into e-book data format and displays it on the screen. The input is the e-book data sent from the server, and the output is the story and images displayed on the device. Specifically, the data received by the device is displayed in an e-book reader app or similar, allowing the user to view it.
[1002] The specific processing unit 290 transmits the result of the specific processing to the headset type terminal 314. In the headset type terminal 314, the control unit 46A causes the speaker 240 and the display 343 to output the result of the specific processing. The microphone 238 acquires audio indicating a user input regarding the result of the specific processing. The control unit 46A transmits audio data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the audio data.
[1003] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[1004] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the headset type terminal 314.
[1005] [Fourth embodiment]
[1006] FIG. 7 shows an example of the configuration of a data processing system 410 according to the fourth embodiment.
[1007] 7, a data processing system 410 includes a data processing device 12 and a robot 414. An example of the data processing device 12 is a server.
[1008] The data processing device 12 includes a computer 22, a database 24, and a communication I / F 26. The computer 22 is an example of a "computer" according to the technology of the present disclosure. The computer 22 includes a processor 28, a RAM 30, and a storage 32. The processor 28, the RAM 30, and the storage 32 are connected to a bus 34. The database 24 and the communication I / F 26 are also connected to the bus 34. The communication I / F 26 is connected to a network 54. Examples of the network 54 include a WAN (Wide Area Network) and / or a LAN (Local Area Network).
[1009] The robot 414 includes a computer 36, a microphone 238, a speaker 240, a camera 42, a communication I / F 44, and a control target 443. The computer 36 includes a processor 46, a RAM 48, and a storage 50. The processor 46, the RAM 48, and the storage 50 are connected to a bus 52. The microphone 238, the speaker 240, the camera 42, and the control target 443 are also connected to the bus 52.
[1010] The microphone 238 receives instructions and the like from the user 20 by receiving voice uttered by the user 20. The microphone 238 captures the voice uttered by the user 20, converts the captured voice into audio data, and outputs it to the processor 46. The speaker 240 outputs audio in accordance with instructions from the processor 46.
[1011] Camera 42 is a small digital camera equipped with an optical system including a lens, aperture, and shutter, and an imaging element such as a CMOS (Complementary Metal-Oxide-Semiconductor) image sensor or a CCD (Charge Coupled Device) image sensor, and captures images of the surroundings of user 20 (for example, an imaging range defined by an angle of view equivalent to the field of vision of a typical healthy person).
[1012] The communication I / F 44 is connected to a network 54. The communication I / Fs 44 and 26 are responsible for the exchange of various information between the processor 46 and the processor 28 via the network 54. The exchange of various information between the processor 46 and the processor 28 using the communication I / Fs 44 and 26 is carried out in a secure state.
[1013] The control object 443 includes a display device, LEDs in the eyes, and motors for driving the arms, hands, and feet. The posture and gestures of the robot 414 are controlled by controlling the motors of the arms, hands, and feet. Some of the emotions of the robot 414 can be expressed by controlling these motors. In addition, the facial expressions of the robot 414 can also be expressed by controlling the light emission state of the LEDs in the eyes of the robot 414.
[1014] Fig. 8 shows an example of the main functions of the data processing device 12 and the robot 414. As shown in Fig. 8, in the data processing device 12, a specific process is performed by the processor 28. A specific process program 56 is stored in the storage 32.
[1015] The specific processing program 56 is an example of a "program" according to the technology of the present disclosure. The processor 28 reads the specific processing program 56 from the storage 32 and executes the read specific processing program 56 on the RAM 30. The specific processing is realized by the processor 28 operating as a specific processing unit 290 in accordance with the specific processing program 56 executed on the RAM 30.
[1016] The storage 32 stores a data generation model 58 and an emotion identification model 59. The data generation model 58 and the emotion identification model 59 are used by the identification processing unit 290.
[1017] In the robot 414, the processor 46 performs the reception output process. A reception output program 60 is stored in the storage 50. The processor 46 reads the reception output program 60 from the storage 50 and executes the read reception output program 60 on the RAM 48. The reception output process is realized by the processor 46 operating as the control unit 46A in accordance with the reception output program 60 executed on the RAM 48.
[1018] Next, a description will be given of the specific processing performed by the specific processing unit 290 of the data processing device 12. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."
[1019] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[1020] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[1021] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions for generating specific narrative text. The large-scale language model (e.g., a model using natural language processing technology) then generates narrative text based on this. For example, a story on the theme of "empathy in friendships" might be generated as follows: "One day, in a small forest..."
[1022] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to the image generation AI, which generates images appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[1023] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[1024] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[1025] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," a story is generated as follows. As part of the story, "One day, in a small forest, Mr. Bear and Mr. Rabbit met... The Rabbit tried to understand Mr. Bear's feelings, and the two became best friends." is generated, and an image of "the meeting of the Bear and the Rabbit" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[1026] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[1027] The processing flow will be explained below.
[1028] Step 1:
[1029] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device interface. The input data consists of themes and emotion / skill items.
[1030] Step 2:
[1031] The device converts the input data into a request format and sends it to the server over the network. The request is sent to the server as JSON format data.
[1032] Step 3:
[1033] The server analyzes the received request and generates prompts for story generation based on the theme, emotion, and skill. Specifically, it constructs instructions that combine the theme and emotion.
[1034] Step 4:
[1035] The server sends the generated prompts to a large-scale language model (e.g., a model using natural language processing techniques), which generates narrative text based on the prompts and reflects the specified theme and emotion.
[1036] Step 5:
[1037] The server divides the generated narrative text into multiple scenes, for example, dividing the text into sentences or paragraphs to form each scene.
[1038] Step 6:
[1039] The server generates prompts for image generation based on each scene, summarizes the content of each scene, and creates instructions based on that summary.
[1040] Step 7:
[1041] The server sends prompts to an image generation AI (e.g., a machine learning model that generates images) to generate images suitable for each scene. The generated images are temporarily stored.
[1042] Step 8:
[1043] The server combines the story text with the generated images to create picture book-style pages, which are arranged with corresponding text to create a visually comprehensible layout.
[1044] Step 9:
[1045] The server converts the completed pages into e-book data format, which can then be viewed on the device (e.g., EPUB or PDF).
[1046] Step 10:
[1047] The server then sends the generated e-book data to the terminal via the network.
[1048] Step 11:
[1049] The device displays the received e-book data, and the user can browse each page in turn on the device screen and read it to their child.
[1050] In this way, the entire system works together to provide children with original picture books based on a particular theme.
[1051] Example 1
[1052] Next, a description will be given of Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."
[1053] In modern education and childcare, there is a demand for individually customized teaching materials to develop children's emotions and skills. Picture books based on specific themes or emotions are particularly effective in developing children's emotions and skills. However, existing teaching materials often have general content, making it difficult to fully meet individual needs. Furthermore, creating handmade teaching materials takes time and effort, making it unrealistic for many parents and educators.
[1054] The specific processing by the specific processing unit 290 of the data processing device 12 in the first embodiment is realized by the following means.
[1055] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for dividing the generated story text into a plurality of scenes, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data compiled in the picture book format into an electronic book data format, and means for displaying the data converted into the electronic book data format. This enables users to easily generate customized picture books and use them as effective teaching materials based on specific themes and emotions.
[1056] "Theme" refers to the main theme or central idea of a story.
[1057] "Emotional Skills" refer to specific emotional or technical abilities that users wish to develop.
[1058] "Means for inputting" refers to an interface for a user to input data using a terminal.
[1059] A "prompt" is a text sentence that gives specific instructions or requests to an AI model.
[1060] "Generating means" refers to the capabilities and technologies for creating new data or information based on a specified process.
[1061] "Narrative text" refers to a series of narrative sentences generated based on a prompt.
[1062] An "image generation prompt" refers to instructions for generating a particular image.
[1063] "Image generation AI model" refers to an artificial intelligence model used to generate images based on specified prompts.
[1064] A "scene" refers to a specific situation or setting depicted as part of a story.
[1065] "Picture book format" refers to the combination of narrative text and images in a visually appealing format.
[1066] "E-book data format" refers to the format of a digital book, and the data format for display on a device (e.g., EPUB or PDF).
[1067] "Displaying means" refers to the technology or device used to visually display the generated data on the screen of a terminal.
[1068] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, and displays them in a picture book format. An embodiment of this system will be described in detail below.
[1069] First, the user inputs the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server. The input data can also include specific challenges or situations.
[1070] The server then generates a prompt based on the received theme, emotions, and skills. This prompt is passed to a large-scale language model, which then uses it as instructions to generate specific story text. The large-scale language model (e.g., GPT-4) then generates the story text based on this. For example, a story on the theme of "empathy in friendships" might be generated as "One day, in a small forest..."
[1071] The generated story text is divided into multiple scenes. The server creates image generation prompts based on each scene. These prompts are passed to an image generation AI (e.g., DALL-E), which generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[1072] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[1073] The completed picture book data is converted into an e-book data format (e.g., EPUB or PDF). This data is sent to the device and displayed on the screen. The device displays it in turn, allowing the user to read it aloud to the child.
[1074] As a specific example, if the theme is "friendship" and the emotion to be cultivated is "empathy," the following story will be generated. As part of the story, "One day, in a small forest, a bear and a rabbit met... The rabbit tried to understand the bear's feelings, and the two became best friends." is generated, and an image of "the bear and the rabbit meeting" is generated for this scene. These are combined into pages of a picture book and displayed on the device in e-book format.
[1075] Examples of prompts include:
[1076] "Write a story about empathy in friendships."
[1077] "Generate an image of a scene where a rabbit and a bear meet."
[1078] In this way, parents can easily create original picture books based on a theme and help develop emotions and skills appropriate for their child's development.
[1079] The flow of the identification process in the first embodiment will be described with reference to FIG.
[1080] Step 1:
[1081] The user inputs the theme of the story (e.g., "friendship") and the emotions and skills they want to develop (e.g., "empathy") through the device's interface. This input data is sent from the device to the server.
[1082] Input: Theme of the story, emotions and skills you want to develop
[1083] Output: User input data is sent to the server
[1084] Specific operation: The user enters "friendship" and "sympathy" into the input form on the device and presses the "send" button.
[1085] Step 2:
[1086] The server generates prompts for story generation based on the received data. These prompts are passed to a generative AI model (e.g., GPT-4) and serve as instructions for generating specific story text.
[1087] Input: User input data (themes, emotions, and skills)
[1088] Output: prompts for story generation
[1089] Specific operation: The server creates a prompt based on "friendship" and "empathy" and instructs the generative AI model to "write a story with the theme of empathy in friendships."
[1090] Step 3:
[1091] The server sends prompts to the generative AI model, which generates a narrative text based on the theme, such as "One day, in a small forest, a bear and a rabbit met..."
[1092] Input: Narrative generation prompt
[1093] Output: Generated narrative text
[1094] What happens: The server sends the prompt to GPT-4 and retrieves the generated text.
[1095] Step 4:
[1096] The server divides the generated story text into multiple scenes, and for each scene it also creates prompts to generate appropriate images.
[1097] Input: Generated narrative text
[1098] Output: Prompts for generating images corresponding to each scene
[1099] Specific operation: The server divides the story into Scene 1 ("One day, in a small forest..."), Scene 2 ("The rabbit tries to understand the bear's feelings..."), and so on.
[1100] Step 5:
[1101] The server generates prompts for image generation based on each scene and passes them to the image generation AI. The image generation AI then generates an image appropriate for each scene. For example, a forest landscape image is generated for the "In a Small Forest" scene.
[1102] Input: Prompt for generating images corresponding to each scene
[1103] Output: Generated image data
[1104] Specific operation: The server instructs DALL-E to "create an image of a scene where a bear and a rabbit meet in a small forest." The server then retrieves the generated image data.
[1105] Step 6:
[1106] The server combines the generated story text with corresponding images to create picture book style pages, with each page containing a part of the story and its corresponding image.
[1107] Input: Generated narrative text, generated image data
[1108] Output: Picture book format page data
[1109] What it does: The server combines text and images in HTML or PDF format to create e-book pages.
[1110] Step 7:
[1111] The server converts the completed picture book data into an e-book data format and sends it to the terminal.
[1112] Input: Picture book page data
[1113] Output: eBook data (e.g. EPUB or PDF)
[1114] Specific operation: The server exports the generated picture book pages as EPUB or PDF and sends the data to the device.
[1115] Step 8:
[1116] The device displays the received e-book data in order, and the user can use this picture book to read to their child.
[1117] Input: e-book data
[1118] Output: Each page of the book displayed on the device screen
[1119] What it does: The device's e-reader app will open the EPUB or PDF and display them in order.
[1120] (Application example 1)
[1121] Next, a description will be given of Application Example 1. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."
[1122] In today's educational environment, it is important for parents and children to develop their emotions and skills while having fun together, but providing individually customized educational content is difficult. Furthermore, existing educational content is uniform and does not adequately support development tailored to children's growth, emotions, and skills. Furthermore, the systems for easily obtaining, purchasing, and downloading content are inadequate, resulting in reduced usability.
[1123] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 1 is realized by the following means.
[1124] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for generating image generation prompts based on the story text, means for generating images based on the generated prompts, means for combining the story text and the generated images and compiling them into a picture book format, means for converting the data into an e-book data format and providing an interface for purchase and download, means for carrying out purchase procedures via a payment system, and means for displaying the data compiled in picture book format. This makes it possible to quickly generate individually customized educational content, allowing parents and children to enjoy education together, and providing an environment where content can be easily purchased and downloaded.
[1125] A "theme" is the subject of a story that relates to an emotion or skill the user wants to develop.
[1126] "Emotions and skills to develop" refers to specific emotions and abilities that the user wants their child to learn.
[1127] A "prompt for generating a story" is an instruction for generating a story text, and is a sentence that contains the basic content that a large-scale language model uses to create a story.
[1128] "Generated prompts" are instructions automatically generated based on the input theme and emotion / skill.
[1129] A "narrative text" is a series of sentences created based on the generated prompts, which express the content of the story.
[1130] An "image generation prompt" is an instruction to generate an image appropriate to a scene based on the story text.
[1131] A "combiner" is a process or technique for combining the narrative text with the generated images.
[1132] "Picture book formatting" is the process of composing the generated narrative text and images into a visually appealing picture book.
[1133] The "e-book data format" refers to the generated picture book converted into a digital format that can be viewed on a device.
[1134] The "purchase and download interface" is a user interface that allows users to purchase the generated picture book and download it directly to their device.
[1135] The "means for carrying out payment procedures" refers to an electronic payment system used when a user purchases generated content.
[1136] "Display means" refers to a function on a device for visually displaying the generated picture book data.
[1137] The present invention relates to a system that allows users to input a theme and the emotions and skills they want to develop, automatically generates a story and images based on the input, displays them in a picture book format, and provides an interface that allows purchase and download. An embodiment of this system will be described in detail below.
[1138] System Configuration
[1139] First, the user uses a device such as a smartphone or tablet to input the theme of the story (e.g., "friendship") and the emotions or skills they want to develop (e.g., "empathy") through the application's interface. This input data is then sent from the device to the server.
[1140] The server includes the following components:
[1141] 1. A means of creating prompts to generate stories using large-scale language models (e.g., GPT-4).
[1142] 2. A means of generating narrative text based on the generated prompts.
[1143] 3. A means of dividing the narrative text into scenes and creating image generation prompts to generate images corresponding to each scene.
[1144] 4. A means to generate appropriate images for the scene using image generation AI (e.g. DALL-E 2).
[1145] 5. A means of combining the generated story text and images to generate e-book data in picture book format (e.g., EPUB, PDF).
[1146] 6. A means for providing a purchase and download interface that allows users to purchase and download the generated picture book.
[1147] 7. Means of completing purchases via electronic payment systems (e.g. Stripe, PayPal).
[1148] Data processing details
[1149] 1. Entering themes, emotions, and skills: Users enter the themes and the emotions and skills they want to develop through the dedicated application interface.
[1150] 2. Prompt generation: The server generates prompts based on the received themes, emotions, and skills. These prompts are passed to a large-scale language model (e.g., GPT-4).
[1151] 3. Story text generation: Based on the generated prompts, the GPT-4 model generates story text. For example, for a story on the theme of "empathy in friendships," the generated text would be something like "One day, in a small forest..."
[1152] 4. Image generation prompt creation: The narrative text is divided into multiple scenes, and image generation prompts corresponding to each scene are created, allowing an image generation AI such as DALL-E 2 to generate appropriate images.
[1153] 5. Generation of e-book data: The generated narrative text and images are combined and e-book data (EPUB or PDF format) is generated using a tool such as ReportLab.
[1154] 6. Providing a purchase and download interface: Users are provided with an interface that allows them to purchase picture books generated through the application and download them directly to their devices.
[1155] 7. Payment Processing: The user purchases the generated picture book using an electronic payment system (Stripe or PayPal). After successful payment, the user can immediately download and view the generated picture book.
[1156] Examples of specific examples and prompts
[1157] As a concrete example, let's say a parent inputs the theme of "friendship" and the emotion they want to foster, "empathy." Based on this input data, the following prompts are generated:
[1158] Example prompt sentence:
[1159] "Write a story for children about empathy in friendships: 'One day in the forest, a bear and a rabbit met...'"
[1160] By combining the generated story text with images, individually customized picture books are quickly generated for parents and children to enjoy. A highly usable experience is provided through a purchase and download interface.
[1161] The flow of the specific processing in the application example 1 will be described with reference to FIG.
[1162] Step 1:
[1163] The user inputs a theme and the emotions and skills they wish to develop. Using the interface of a dedicated application on their smartphone or tablet, the user inputs a theme (e.g., "friendship") and the emotions and skills they wish to develop (e.g., "empathy"). The input data is sent from the device to the server. The input is text data, which is used for subsequent processing.
[1164] Input: Text data of themes, emotions, and skills
[1165] Output: Input data sent to the server
[1166] Step 2:
[1167] The server generates prompts based on themes, emotions, and skills, including prompts tailored to specific conditions and situations, which are then passed to a large-scale language model (e.g., GPT-4).
[1168] Input: Theme, emotion, and skill data submitted by the user
[1169] Output: Prompt sentence passed to the large-scale language model
[1170] Step 3:
[1171] The server generates a narrative text using a large-scale language model. Based on the generated prompts, GPT-4 creates a detailed narrative text. As part of the story, a sentence such as "One day, in a small forest, a bear and a rabbit met..." is generated.
[1172] Input: prompt statement
[1173] Output: Narrative text
[1174] Step 4:
[1175] The server divides the story text into multiple scenes and creates image generation prompts for each scene. This allows for specific image generation for each scene. For example, a prompt for a forest landscape image is generated for the scene "In a small forest."
[1176] Input: Narrative text
[1177] Output: Scene-specific image generation prompt
[1178] Step 5:
[1179] The server uses image generation AI (e.g., DALL-E 2) to generate images that fit each scene. Based on the generated prompts, an image of a specific scene is created.
[1180] Input: Image generation prompt
[1181] Output: Image data for each scene
[1182] Step 6:
[1183] The server combines the generated story text and images to generate an e-book in picture book format, and converts the generated text and images into e-book data (e.g., EPUB, PDF) using a program such as ReportLab.
[1184] Input: Story text and scene-by-scene image data
[1185] Output: E-book data
[1186] Step 7:
[1187] The server provides an interface for purchasing and downloading the generated e-book data. Users can purchase e-books through the application and download them to their devices.
[1188] Input: E-book data
[1189] Output: Purchase and download interface
[1190] Step 8:
[1191] The server processes the user's purchase through an electronic payment system, such as Stripe or PayPal, and provides a download link for the e-book upon successful payment.
[1192] Input: Purchase Request
[1193] Output: Payment completion notification and download link
[1194] Furthermore, an emotion engine that estimates the user's emotion may be further combined. That is, the identification processing unit 290 may estimate the user's emotion using the emotion identification model 59, and perform identification processing using the user's emotion.
[1195] The present invention relates to a system that combines a means for inputting a theme and the emotions and skills to be developed with an emotion engine that recognizes the user's emotions. This system proposes a story theme and the emotions and skills to be developed based on the recognized user emotions, and finally displays the generated story and images in a picture book format. An embodiment of this system will be described in detail below.
[1196] First, the user launches the system via the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time and analyzes their current emotional state. This emotion engine uses facial expression and voice recognition technology to accurately grasp the user's emotions.
[1197] The emotion engine then recognizes the user's emotions and suggests appropriate story themes and emotion skills to develop based on the user's specific emotional state (e.g., joy, anxiety, excitement). The suggested themes and emotion skills can then be confirmed or modified by the user.
[1198] The themes, emotions, and skills confirmed or corrected by the user are sent from the device to the server, which analyzes the received information and generates prompts for narrative generation based on it. These prompts are used in a large-scale language model and form the basis for generating narrative text.
[1199] Based on the prompts, the large-scale language model generates narrative text that reflects the specified theme and emotion. For example, for a story about "empathy in friendships," it might generate text like, "One day, a bear and a rabbit met in a small forest... The rabbit tried to understand the bear's feelings, and the two became best friends."
[1200] The generated story text is divided into multiple scenes. The server creates prompts for image generation for each scene and sends them to the image generation AI. Based on the prompts, the image generation AI generates images appropriate for each scene. For example, a forest landscape image is generated for the scene "In a small forest."
[1201] The server then combines the generated story text with the images to create picture book-style pages, each containing an image that corresponds to a part of the story, creating a visually appealing story.
[1202] The completed picture book data is converted into an e-book data format. This data is sent to the device and displayed on the screen. The device displays the data in order, allowing the user to read it aloud to their child.
[1203] As a concrete example, if the emotion engine detects the user's "anxiety," the system will suggest the theme of "developing courage." If the user accepts this suggestion, a "growth story through courage" will be generated, completing the story of "one day, a timid little rabbit goes on a brave adventure." Images of the "brave adventure" will be generated for each scene, and compiled into a picture book format. The story will then be displayed on the device, allowing the user to read it to their child.
[1204] The processing flow will be explained below.
[1205] Step 1:
[1206] The user activates the system through the device interface. The system is equipped with an emotion engine that captures the user's facial expressions and voice in real time. The emotion engine analyzes this data and recognizes the user's current emotional state.
[1207] Step 2:
[1208] After the emotion engine recognizes the user's emotions, it suggests story themes and the emotions and skills they want to develop based on those emotions. For example, if the user is feeling "anxiety," the emotion engine will suggest the theme "developing courage." The suggested content will be displayed on the device screen.
[1209] Step 3:
[1210] The user can review the themes, emotions, and skills suggested by the emotion engine and modify them as necessary. After the suggestions are reviewed or modified, this information is sent from the device to the server.
[1211] Step 4:
[1212] The server receives and analyzes the theme, emotion, and skill information sent from the device. Based on the analysis results, it generates prompts for story generation. The prompts consist of specific instructions, such as "a story that will build courage."
[1213] Step 5:
[1214] The server sends the generated prompt to a large-scale language model, which then generates a story text that reflects the specified theme and emotion based on the prompt, such as "A story about a timid little rabbit who goes on a brave adventure."
[1215] Step 6:
[1216] The server divides the generated story text into multiple scenes, dividing the story into sentences and paragraphs to form each scene, allowing for the creation of specific image generation prompts for each scene.
[1217] Step 7:
[1218] The server generates a prompt for each scene, for example, "A scene in which a timid baby rabbit enters the forest" might prompt "Draw a scene in which a baby rabbit enters the forest."
[1219] Step 8:
[1220] The server sends prompts for each scene to the image generation AI, which then generates the corresponding image, which is then temporarily stored for further processing.
[1221] Step 9:
[1222] The server combines the generated story text with images to create picture book-style pages, each of which combines an image corresponding to a specific scene in the story, creating visual storytelling.
[1223] Step 10:
[1224] The server converts the completed pages into an e-book data format, such as EPUB or PDF, which makes them viewable on the device.
[1225] Step 11:
[1226] The server then sends the generated e-book data to the device, and the necessary data is sent to the device via the network, completing the reception.
[1227] Step 12:
[1228] The device displays the received e-book data, and the user can use the device's interface to check each page of the picture book in order and start reading aloud.
[1229] This trend will enable systems incorporating emotion engines to provide optimal stories and visuals according to the user's emotions, effectively supporting the development of children's emotional and interpersonal skills.
[1230] Example 2
[1231] Next, a description will be given of Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."
[1232] Conventional story generation systems have difficulty generating appropriate stories based on the user's emotions and state, and have been unable to provide personalized stories based on the user's individual emotional state. This has led to issues with inadequate educational effects and emotional development. Furthermore, the process of compiling a story into a picture book format that integrates the story and corresponding images is complicated, making it difficult to provide a user-friendly format.
[1233] The specific processing by the specific processing unit 290 of the data processing device 12 in the second embodiment is realized by the following means.
[1234] In this invention, the server includes means for recognizing emotions by acquiring a user's facial expressions and voice in real time, means for suggesting a theme and emotions and skills to be developed based on the recognized emotions, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for dividing the story text into multiple scenes and generating prompts for image generation, means for generating images based on the generated prompts, means for combining the generated story text and images to create picture book-style pages, means for converting picture book-style data into e-book format, and means for displaying the converted data on a device. This enables the generation of personalized stories and images based on the user's emotional state and their provision in a visually appealing picture book format.
[1235] "User" refers to the person who uses the system and inputs emotions and confirms and modifies themes during the story generation process.
[1236] The "server" is the computer at the core of the system, which analyzes data, generates stories, creates images, and creates picture book format content.
[1237] A "terminal" refers to a device operated by a user, which is responsible for starting the system, entering data, and displaying results.
[1238] "Emotion engine" is a general term for software and hardware that analyzes a user's facial expressions and voice in real time and recognizes their emotional state.
[1239] "Theme" refers to the main theme or central idea of the story and is suggested based on the user's emotions.
[1240] "Emotions and skills to be developed" refers to the specific emotions and abilities that users want to develop through the story.
[1241] A "prompt" refers to instructions or initial text that a large-scale language model or image generation AI uses to generate a story or image.
[1242] "Narrative text" refers to narrative text generated by a generative AI model.
[1243] "Image generation AI" refers to an artificial intelligence system that generates images based on given prompts.
[1244] A "scene" refers to an individual scene separated within the narrative text, and an image corresponding to each scene is generated.
[1245] "Picture book format" refers to a visually integrated format that combines narrative text with corresponding images.
[1246] "Electronic book data format" refers to a data format for electronic books that can be viewed on a digital device.
[1247] The present invention relates to a system that recognizes a user's emotions, generates stories and images based on those emotions, and displays them in the form of a picture book. This system aims to have an educational effect and foster emotions by recognizing the user's emotions in real time and providing personalized stories.
[1248] First, the user starts the system using the device interface. Once the system is started, the device turns on the camera and microphone to capture the user's facial expressions and voice in real time. For example, a standard webcam and condenser microphone can be used for the camera and microphone. OpenCV is used for facial expression recognition, and the Google Speech-to-Text API is used for voice recognition.
[1249] The acquired data is sent by the device to the emotion engine, which analyzes this data and recognizes the current emotional state. This emotion engine uses Microsoft Azure's Emotion API to determine emotions from facial expressions such as smiles and frowns, as well as tone of voice. For example, a smile can be recognized as "joy," and a frown as "anxiety."
[1250] Next, based on the recognized emotions, the server suggests appropriate story themes and the emotions and skills the user wants to develop. For example, if the user feels "anxiety," the system will suggest the theme of "developing courage." The suggested themes and emotions and skills can then be confirmed or revised by the user, and the information is sent from the device to the server.
[1251] With this information, the server creates prompts for story generation, which are then used as instructions for a large-scale language model (e.g., OpenAI's GPT-3). For example, a prompt might include the following sentence:
[1252] "Generate stories of growth through courage"
[1253] Based on these prompts, the large-scale language model generates a story that reflects the specified theme and emotion—for example, "A story about a timid little rabbit who goes on a brave adventure." The story is then further divided into scenes.
[1254] For each scene, the server creates a prompt for image generation. This prompt is sent to an image generation AI (e.g., DALL-E or Stable Diffusion). For example, for the scene "A rabbit's adventure in a small forest," the prompt created is "An illustration of a forest scene and a rabbit."
[1255] Based on the prompts, the image generation AI generates images appropriate for each scene. The generated story text and images are combined by the server to create picture book-style pages. Each page contains an image that corresponds to a part of the story, resulting in a visually appealing picture book.
[1256] Finally, the server converts the completed picture book data into an e-book data format (e.g., ePub format). This converted data is sent to the device, which displays it sequentially on the screen. This allows the user to read the generated picture book to their child. As a specific example, an "adventure story that develops courage" is generated, and for each scene, an image of a "brave adventure" is generated and compiled into a picture book. In this way, the data is finally displayed on the device, allowing the user to read it to their child.
[1257] Through this system, users can generate personalized stories and images based on their emotional state, and present them in a visually appealing picture book format for enhanced educational impact.
[1258] The flow of the identification process in the second embodiment will be described with reference to FIG.
[1259] Step 1:
[1260] The user activates the system using the device interface. The device then turns on the camera and microphone to capture the user's facial expressions and voice in real time. The inputs are camera video data and voice data, and the output is the captured facial expressions and voice data.
[1261] Step 2:
[1262] The captured facial and voice data is sent by the device to the emotion engine. The emotion engine analyzes this data and recognizes the user's emotional state. Here, facial expression recognition using OpenCV and voice recognition using the Google Speech-to-Text API are used. The input is facial expression and voice data, and the output is the recognized emotional state. For example, if the user's facial expression is smiling, the emotion "joy" is output.
[1263] Step 3:
[1264] The server suggests appropriate story themes and the emotions and skills to develop based on the recognized emotions. The suggestions are based on the results of an emotion recognition model. The input is the recognized emotional state, and the output is the suggested theme and the emotions and skills to develop. For example, the theme "developing courage" is suggested for the emotion "anxiety."
[1265] Step 4:
[1266] The user checks the proposed themes and the emotions and skills they want to develop on the interface and modifies them as necessary. This information is sent from the device to the server. The input is the themes and emotions and skills that the user confirmed or modified, and the output is the submitted themes and emotions and skills.
[1267] Step 5:
[1268] The server creates a prompt for story generation based on the received theme and the emotions and skills to be developed. Here, a prompt is generated for a large-scale language model (e.g., OpenAI's GPT-3). The input is the theme and emotion / skill information, and the output is a prompt for story generation. For example, a generated prompt might be, "Generate a story of growth through courage."
[1269] Step 6:
[1270] The server sends the generated prompts to a large-scale language model to generate a story text. The input is the prompt, and the output is the generated story text. For example, a story like "A story about a timid little rabbit who goes on a brave adventure" is generated.
[1271] Step 7:
[1272] The generated story text is divided into multiple scenes by the server. For each scene, a prompt for image generation is created and sent to the image generation AI. The input is the story text, and the output is an image generation prompt for each scene. For example, a prompt such as "An illustration of a forest landscape and a rabbit" is generated.
[1273] Step 8:
[1274] Image generation AI (such as DALL-E or Stable Diffusion) generates images appropriate for each scene based on prompts. The server receives this. The input is the prompt for each scene, and the output is the generated image. For example, a scene from "A Rabbit's Adventure in a Little Forest" is visually represented.
[1275] Step 9:
[1276] The server combines the generated story text and images to create picture book style pages. Each page contains a part of the story and an image corresponding to it. The input is the story text and the generated images, and the output is picture book style pages.
[1277] Step 10:
[1278] The completed picture book data is converted into an e-book data format (e.g., ePub format) by the server. This data is sent to the terminal and displayed sequentially on the screen. The input is the picture book format pages, and the output is the data converted into e-book data format. In this way, the user can read the generated picture book to their child.
[1279] (Application example 2)
[1280] Next, a description will be given of Application Example 2. In the following description, the data processing device 12 will be referred to as a "server" and the robot 414 will be referred to as a "terminal."
[1281] The present invention provides a method for parents and children to more effectively learn about emotions in a brick-and-mortar store. In particular, it aims to solve the problem of providing highly educational entertainment by recognizing children's emotions in real time and providing stories and visuals that best suit those emotions. This effectively develops children's emotions and skills, and provides an environment where parents and children can learn together in a fun way.
[1282] The specific processing by the specific processing unit 290 of the data processing device 12 in the application example 2 is realized by the following means.
[1283] In this invention, the server includes means for inputting a theme and emotions and skills to be developed, means for generating prompts for generating a story based on the theme and emotions and skills, means for generating story text based on the generated prompts, means for acquiring an image of the user with a camera and analyzing the user's emotional state using emotion recognition technology, and means for suggesting a story theme and emotions and skills to be developed based on the analyzed emotional state. This enables parents and children to generate educational stories tailored to the child's emotional state in a physical store and provide them with visuals.
[1284] A "theme" is a basic concept or subject that constitutes a story and determines the content and direction of the story.
[1285] "Emotions and skills to be developed" refers to specific emotions and abilities that users want to develop in their children through stories, such as courage, empathy, and creativity.
[1286] A "prompt" is a set of instructions that initiates a large-scale language model to generate specific text, and forms the basis of the story or image that is generated.
[1287] "Narrative text" refers to the written portion of a story that is generated based on user input and prompts, and may be divided into multiple scenes.
[1288] An "image generation prompt" is a set of instructions sent to an image generation AI to flesh out a particular scene or story, which is then used to generate the corresponding visuals.
[1289] The "camera" is a device that captures the user's facial expressions and movements in real time and provides the data to emotion recognition technology.
[1290] "Emotion recognition technology" is a technology that analyzes data such as a user's facial expressions and voice to evaluate and identify their current emotional state.
[1291] "Analyzed emotional state" refers to the user's current emotional state obtained through emotion recognition technology, and serves as the basis for determining the theme of the story and the emotions and skills to be developed.
[1292] "E-book data format" refers to the format of data that converts the generated narrative text and images into a digital book format that can be viewed on a device.
[1293] This invention relates to a system that enables parents and children to more effectively engage in emotional education in a physical store. The system aims to recognize users' emotions in real time and provide stories and visuals that best suit those emotions. This provides entertainment with a high educational effect, effectively cultivating children's emotions and skills.
[1294] The system consists of the following main components: a camera, emotion recognition technology, a generative AI model, narrative and image generation prompts, and an e-book data format.
[1295] camera
[1296] The device is equipped with a camera that captures the user's facial expressions and movements in real time, which serves as basic data for analyzing the user's emotions.
[1297] emotion recognition technology
[1298] Image and audio data captured on the device is sent to emotion recognition technology, which uses OpenCV and the Hugging Face transformers library to accurately determine the user's current emotional state.
[1299] Generative AI Models
[1300] The server constructs prompts for generating a story based on the emotional state analyzed by emotion recognition technology, using a large-scale language model (e.g., GPT-3) to generate story text that reflects the specified theme and emotion.
[1301] Narrative and image generation prompts
[1302] The generated story text is divided into multiple scenes, and image generation prompts are created for each scene. Based on this, the image generation AI (e.g., DALL-E) generates images appropriate for each scene.
[1303] E-book data format
[1304] The server combines the generated story text and images to create a picture book. This picture book format data is converted into an e-book data format (e.g., EPUB) and sent to the device. The device displays the data in order, allowing the user to read it aloud to their child.
[1305] Specific examples
[1306] For example, if the camera captures a child's anxious expression, the emotion recognition technology will analyze it and the server will suggest a "story that fosters courage." Based on this suggestion, the story generation AI model will generate a "story of a timid rabbit gaining courage and going on an adventure." Then, for each scene in the story, the prompt sentence will be set as follows:
[1307] "A child bravely going into the forest"
[1308] The generated story text and images are converted into e-book data format, which parents and children can enjoy as entertainment in physical stores.
[1309] The flow of the specific processing in the application example 2 will be described with reference to FIG.
[1310] Step 1:
[1311] The device uses a camera to capture the user's image. The input is the real-time video captured by the camera, and the output is the captured image data of the user. This image data is used in the subsequent emotion recognition process. Specifically, the camera captures the user's face and stores it as image data on the device.
[1312] Step 2:
[1313] The device uses emotion recognition technology to analyze the user's emotional state. The input is the image data acquired in step 1, and the output is an estimate of the user's emotional state (e.g., anxiety, joy, excitement, etc.). Specifically, the device uses an image recognition library (e.g., OpenCV) and an emotion analysis library (e.g., transformers) to analyze the user's emotional state from their facial expressions.
[1314] Step 3:
[1315] The server proposes story themes and the emotions and skills to be developed based on the analyzed emotional state. The input is the emotional state data sent from the device, and the output is the proposed story themes and the emotions and skills to be developed. Specifically, it searches a database for themes and skills that correspond to the emotional state and generates suggestions.
[1316] Step 4:
[1317] The server creates a prompt to generate a story based on the theme and emotions / skills. The input is the theme proposed in step 3 and the emotions / skills to be developed, and the output is a prompt for generating the story. Specific operations combine the specified theme and emotion to generate an appropriate prompt (e.g., "An adventure story that develops courage").
[1318] Step 5:
[1319] The server generates a story text based on the generated prompt. The input is the prompt sentence created in step 4, and the output is the story text. Specifically, it uses a generative AI model (e.g., GPT-3) to generate a story based on the prompt. For example, it generates text such as "A child goes bravely into the forest."
[1320] Step 6:
[1321] The server creates image generation prompts for each scene based on the story text. The input is the story text generated in step 5, and the output is an image generation prompt for each scene. Specifically, the server divides the text into scenes and constructs prompts corresponding to each scene.
[1322] Step 7:
[1323] The server generates images based on the generated prompts. The input is the prompt sentence for each scene created in step 6, and the output is an image appropriate for each scene. Specifically, it uses an image generation AI (e.g., DALL-E) to generate visuals corresponding to each prompt.
[1324] Step 8:
[1325] The server combines the story text and the generated images into a picture book format. The input is the story text generated in step 5 and the images generated in step 7, and the output is picture book format data. Specifically, the server lays out the text and images together to create a visually appealing page.
[1326] Step 9:
[1327] The server converts the picture book formatted data into e-book data format. The input is the picture book formatted data created in step 8, and the output is e-book data format (e.g., EPUB). Specifically, the server converts the text and images into the standard format for e-books.
[1328] Step 10:
[1329] The device receives the data converted into e-book data format and displays it on the screen. The input is the e-book data sent from the server, and the output is the story and images displayed on the device. Specifically, the data received by the device is displayed in an e-book reader app or similar, allowing the user to view it.
[1330] The specific processing unit 290 transmits the result of the specific processing to the robot 414. In the robot 414, the control unit 46A causes the speaker 240 and the control target 443 to output the result of the specific processing. The microphone 238 acquires voice indicating a user input regarding the result of the specific processing. The control unit 46A transmits voice data indicating the user input acquired by the microphone 238 to the data processing device 12. In the data processing device 12, the specific processing unit 290 acquires the voice data.
[1331] The data generation model 58 is a so-called generative AI (Artificial Intelligence). An example of the data generation model 58 is ChatGPT (Internet Search<URL: https: / / openai.com / blog / chatgpt> ), Gemini (Internet search <url: https: gemini.google.com ?hl="ja">) and other generation AIs. The data generation model 58 is obtained by performing deep learning on a neural network. A prompt including an instruction is input to the data generation model 58, and inference data such as voice data indicating voice, text data indicating text, and image data indicating an image is also input. The data generation model 58 performs inference on the input inference data in accordance with the instruction indicated by the prompt, and outputs the inference result in a data format such as voice data and text data. Here, inference refers to, for example, analysis, classification, prediction, and / or summarization.
[1332] In the above embodiment, an example was given in which the specific processing is performed by the data processing device 12, but the technology of the present disclosure is not limited to this, and the specific processing may be performed by the robot 414.
[1333] The emotion identification model 59 as an emotion engine may determine the user's emotion according to a specific mapping. Specifically, the emotion identification model 59 may determine the user's emotion according to an emotion map (see FIG. 9), which is a specific mapping. Similarly, the emotion identification model 59 may determine the robot's emotion, and the identification processing unit 290 may perform identification processing using the robot's emotion.
[1334] FIG. 9 is a diagram illustrating an emotion map 400 on which multiple emotions are mapped. In the emotion map 400, emotions are arranged in concentric circles radiating from the center. Emotions closer to the center of the concentric circles are more primitive. Emotions representing states and actions arising from a state of mind are arranged on the outer edges of the concentric circles. The concept of emotion includes both affect and mental states. Emotions generally generated from reactions occurring in the brain are arranged on the left side of the concentric circles. Emotions generally induced by situational judgment are arranged on the right side of the concentric circles. Emotions generally generated from reactions occurring in the brain and induced by situational judgment are arranged on the upper and lower sides of the concentric circles. Furthermore, the emotion of "pleasure" is arranged on the upper side of the concentric circles, and the emotion of "discomfort" is arranged on the lower side. In this way, in the emotion map 400, multiple emotions are mapped based on the structure by which emotions are generated, and emotions that tend to occur simultaneously are mapped close to each other.
[1335] These emotions are distributed in the 3 o'clock direction on emotion map 400, and typically fluctuate between relief and anxiety. In the right half of emotion map 400, situational awareness dominates over internal sensations, resulting in a sense of calm.
[1336] The inside of emotion map 400 represents what is going on in the mind, and the outside of emotion map 400 represents behavior, so the further you go outside emotion map 400, the more visible the emotions become (the more they are expressed in behavior).
[1337] Human emotions are based on various balances, such as posture and blood sugar levels. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. Emotions can also be created for robots, automobiles, and motorcycles, based on various balances, such as posture and remaining battery life. When these balances deviate from the ideal, a state of discomfort is indicated, and when they approach the ideal, a state of pleasure is indicated. An emotion map can be generated, for example, based on Dr. Mitsuyoshi's emotion map (Research on Voice Emotion Recognition and Emotional Brain Physiological Signal Analysis Systems, Tokushima University, Doctoral Dissertation: https: / / ci.nii.ac.jp / naid / 500000375379). The left half of the emotion map lists emotions belonging to the "reaction" domain, where sensation is dominant. The right half of the emotion map lists emotions belonging to the "situation" domain, where situational awareness is dominant.
[1338] The emotion map defines two emotions that promote learning. One is a negative emotion on the situation side, around the middle of "repentance" or "reflection." In other words, this occurs when the robot experiences negative emotions such as "I never want to feel this way again" or "I don't want to be scolded again." The other is a positive emotion on the response side, around "desire." In other words, this occurs when the robot experiences positive feelings such as "I want more" or "I want to know more."
[1339] The emotion identification model 59 inputs user input into a pre-trained neural network, obtains emotion values indicating each emotion shown in the emotion map 400, and determines the user's emotion. This neural network is pre-trained based on multiple pieces of training data that are combinations of user input and emotion values indicating each emotion shown in the emotion map 400. Furthermore, this neural network is trained so that emotions that are located close to each other have similar values, as in the emotion map 900 shown in FIG. 10. FIG. 10 shows an example in which multiple emotions, "relieved," "calm," and "reassuring," have similar emotion values.
[1340] The system according to the present disclosure has been described above mainly with respect to the functions of the data processing device 12, but the system according to the present disclosure is not necessarily implemented on a server. The system according to the present disclosure may be implemented as a general information processing system. The present disclosure may be implemented, for example, as a software program running on a personal computer or an application running on a smartphone, etc. The method according to the present disclosure may be provided to users in the form of SaaS (Software as a Service).
[1341] In the above embodiment, an example was given in which the specific processing is performed by one computer 22, but the technology of the present disclosure is not limited to this, and the specific processing may be distributed and performed by a plurality of computers including the computer 22. For example, the data generation model 58 may be provided in an external device of the data processing device 12, and data may be generated in the external device in accordance with input data.
[1342] In the above embodiment, an example in which the specific processing program 56 is stored in the storage 32 has been described, but the technology of the present disclosure is not limited to this. For example, the specific processing program 56 may be stored in a portable, computer-readable, non-transitory storage medium such as a USB (Universal Serial Bus) memory. The specific processing program 56 stored in the non-transitory storage medium is installed in the computer 22 of the data processing device 12. The processor 28 executes the specific processing in accordance with the specific processing program 56.
[1343] Alternatively, the specific processing program 56 may be stored in a storage device such as a server connected to the data processing device 12 via the network 54, and the specific processing program 56 may be downloaded and installed on the computer 22 in response to a request from the data processing device 12.
[1344] It is not necessary to store all of the specific processing program 56 in a storage device such as a server connected to the data processing device 12 via the network 54, or to store all of the specific processing program 56 in the storage 32; only a portion of the specific processing program 56 may be stored.
[1345] The hardware resource for executing a specific process can be any of the following processors: An example of a processor is a CPU, which is a general-purpose processor that functions as a hardware resource for executing a specific process by executing software, i.e., a program. Another example of a processor is a dedicated electrical circuit, such as an FPGA (Field-Programmable Gate Array), a PLD (Programmable Logic Device), or an ASIC (Application Specific Integrated Circuit), which is a processor with a circuit configuration designed specifically for executing a specific process. Each processor has built-in or connected memory, and each processor uses the memory to execute the specific process.
[1346] The hardware resource that executes the specific processing may be configured with one of these various processors, or may be configured with a combination of two or more processors of the same or different types (for example, a combination of multiple FPGAs, or a combination of a CPU and an FPGA). Also, the hardware resource that executes the specific processing may be a single processor.
[1347] As an example of a system configured with a single processor, first, one processor is configured by combining one or more CPUs and software, and this processor functions as a hardware resource that executes a specific process. Second, there is a system that uses a processor that realizes the functions of an entire system including multiple hardware resources that execute a specific process on a single IC chip, as typified by SoC (System-on-a-chip). In this way, a specific process is realized using one or more of the above-mentioned various processors as hardware resources.
[1348] Furthermore, the hardware structure of these various processors can be, more specifically, an electric circuit that combines circuit elements such as semiconductor devices. The specific processing described above is merely an example. Therefore, it goes without saying that unnecessary steps may be deleted, new steps may be added, or the processing order may be rearranged, without departing from the spirit of the invention.
[1349] The above-described description and illustrations are a detailed explanation of the parts related to the technology of the present disclosure and are merely an example of the technology of the present disclosure. For example, the above description of the configuration, functions, actions, and effects is an explanation of an example of the configuration, functions, actions, and effects of the parts related to the technology of the present disclosure. Therefore, it goes without saying that unnecessary parts may be deleted, new elements may be added, or replacements may be made to the above-described description and illustrations within the scope of the gist of the technology of the present disclosure. Furthermore, to avoid confusion and facilitate understanding of the parts related to the technology of the present disclosure, the above-described description and illustrations omit explanations of common technical knowledge that do not require particular explanation to enable the implementation of the technology of the present disclosure.
[1350] All publications, patent applications, and technical standards mentioned in this specification are herein incorporated by reference to the same extent as if each individual publication, patent application, or technical standard was specifically and individually indicated to be incorporated by reference.
[1351] The following is further disclosed regarding the above embodiment.
[1352] (Claim 1)
[1353] A way to input the theme and the emotions and skills you want to develop,
[1354] A means of generating prompts for generating stories based on themes and emotional skills;
[1355] a means for generating a narrative text based on the generated prompts;
[1356] means for generating image generation prompts based on the narrative text;
[1357] means for generating an image based on the generated prompt;
[1358] A means to combine the story text with the generated images and compile them into a picture book format;
[1359] a means for displaying the data organized in a picture book format;
[1360] A system including:
[1361] (Claim 2)
[1362] 10. The system of claim 1, further comprising means for dividing the narrative text into a plurality of scenes and generating an image for each scene.
[1363] (Claim 3)
[1364] 10. The system of claim 1, further comprising means for converting the generated narrative text and images into an electronic book data format for display on a device.
[1365] "Example 1"
[1366] (Claim 1)
[1367] A way to input the theme and the emotions and skills you want to develop,
[1368] A means of generating prompts for generating stories based on themes and emotional skills;
[1369] a means for generating a narrative text based on the generated prompts;
[1370] means for generating image generation prompts based on the narrative text;
[1371] means for generating an image based on the generated prompt;
[1372] A means for dividing the generated narrative text into a plurality of scenes;
[1373] A means to combine the story text with the generated images and compile them into a picture book format;
[1374] A means for converting data compiled in picture book format into e-book data format;
[1375] a means for displaying the data converted into an e-book data format;
[1376] A system including:
[1377] (Claim 2)
[1378] 10. The system of claim 1, further comprising means for visually adjusting the generated narrative text and images to optimize them for a picture book format.
[1379] (Claim 3)
[1380] The system of claim 1, further comprising means for creating an image generation prompt appropriate for each scene and sending it to the image generation AI model.
[1381] "Application Example 1"
[1382] (Claim 1)
[1383] A way to input the theme and the emotions and skills you want to develop,
[1384] A means of generating prompts for generating stories based on themes and emotional skills;
[1385] a means for generating a narrative text based on the generated prompts;
[1386] means for generating image generation prompts based on the narrative text;
[1387] means for generating an image based on the generated prompt;
[1388] A means to combine the story text with the generated images and compile them into a picture book format;
[1389] A means of converting the data into an e-book format and providing an interface for purchasing and downloading the data;
[1390] a means for completing a purchase through a payment system;
[1391] a means for displaying the data organized in a picture book format;
[1392] A system including:
[1393] (Claim 2)
[1394] 10. The system of claim 1, further comprising means for dividing the narrative text into a plurality of scenes and generating an image for each scene.
[1395] (Claim 3)
[1396] 10. The system of claim 1, further comprising means for converting the generated narrative text and images into an electronic book data format for display on a device.
[1397] (Claim 4)
[1398] 2. The system according to claim 1, further comprising means for enabling the electronic book data to be downloaded to the user's device immediately after payment.
[1399] "Example 2: Combining Emotion Engines"
[1400] (Claim 1)
[1401] A means for acquiring a user's facial expressions and voice in real time and recognizing emotions;
[1402] Based on the recognized emotions, a method to suggest themes and emotions / skills to be developed,
[1403] A way to input and edit themes and the emotions and skills you want to develop,
[1404] A means of generating prompts for generating stories based on themes and emotional skills;
[1405] a means for generating a narrative text based on the generated prompts;
[1406] a means for dividing the narrative text into scenes and generating prompts for image generation;
[1407] means for generating an image based on the generated prompt;
[1408] A means to combine the generated story text with images to create picture book style pages;
[1409] A means for converting picture book format data into e-book format;
[1410] means for displaying the converted data on the device;
[1411] A system including:
[1412] (Claim 2)
[1413] 10. The system of claim 1, further comprising means for generating generated images scene by scene based on the narrative text.
[1414] (Claim 3)
[1415] 10. The system of claim 1, further comprising means for converting the generated narrative text and images into an electronic book data format for display on a device.
[1416] "Application example 2 when combining emotion engines"
[1417] (Claim 1)
[1418] A way to input the theme and the emotions and skills you want to develop,
[1419] A means of generating prompts for generating stories based on themes and emotional skills;
[1420] a means for generating a narrative text based on the generated prompts;
[1421] means for generating image generation prompts based on the narrative text;
[1422] means for generating an image based on the generated prompt;
[1423] A means to combine the story text with the generated images and compile them into a picture book format;
[1424] a means for displaying the data organized in a picture book format;
[1425] means for capturing an image of the user by a camera and analyzing the emotional state of the user using emotion recognition technology;
[1426] Based on the analyzed emotional state, we propose a story theme and the emotions and skills you want to develop.
[1427] A system including:
[1428] (Claim 2)
[1429] 10. The system of claim 1, further comprising means for dividing the narrative text into a plurality of scenes and generating an image for each scene.
[1430] (Claim 3)
[1431] 10. The system of claim 1, further comprising means for converting the generated narrative text and images into an electronic book data format for display on a device. [Explanation of symbols]
[1432] 10, 210, 310, 410 Data Processing Systems 12 Data Processing Device 14 Smart Devices 214 Smart Glasses 314 Headset-type terminal 414 Robot< / url:> < / url:> < / url:> < / url:>
Claims
1. A way to input the theme and the emotions and skills you want to develop, A means of generating prompts for generating stories based on themes and emotions / skills; a means for generating a narrative text based on the generated prompts; means for generating image generation prompts based on the narrative text; means for generating an image based on the generated prompt; A means to combine the story text with the generated images and compile them into a picture book format; a means for displaying the data organized in a picture book format; A system including:
2. 10. The system of claim 1, further comprising means for dividing the narrative text into a plurality of scenes and generating an image for each scene.
3. The system of claim 1 , further comprising means for converting the generated narrative text and images into an electronic book data format for display on a device.
Citation Information
Patent Citations
Persona chatbot control method and system
JP2022180282A