Travel scenario video generation method and computer program
By acquiring travel-themed video scripts, selecting suitable travel scene images for character integration, and identifying target virtual characters, the effectiveness and efficiency issues of travel scene video generation on travel transaction service platforms have been resolved, achieving more natural character integration and more efficient video generation.
Patent Information
- Application Number
- CN202611316706.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-27
- Publication Date
- 2026-11-27
AI Technical Summary
When travel transaction service platforms generate travel scene videos, existing AI-based video generation technologies suffer from poor video presentation and low generation efficiency.
By obtaining a travel-themed video script, selecting travel scene images that match the script content and are suitable for incorporating characters, determining the target virtual character based on the target travel scene image, and finally incorporating it into the image to generate a travel scene video.
It improves the presentation and generation efficiency of travel scene videos, reduces reliance on manual operation, and ensures a reasonable integration and natural presentation of people and scenes.
Smart Images

Figure CN123185299A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer and internet technology, specifically to a method and computer program for generating travel scene videos. Background Technology
[0002] With the development of AI (Artificial Intelligence) technology, AI-based video generation technology is gradually being applied to the field of content production. Currently, AI-based video generation technology can generate videos based on text and / or images. Specifically, users can manually select or upload images and provide prompts describing the video content, allowing AI to generate a video based on the user's selected or uploaded images and the corresponding prompts.
[0003] For travel transaction service platforms, there is a need to showcase and recommend travel products such as hotel accommodations and scenic spot tours. Therefore, these platforms have a demand for AI-generated travel scene videos. These travel scene videos refer to videos related to travel scenarios, such as videos of hotel accommodations or scenic spot tours, used to showcase, introduce, or recommend travel products. Examples of travel transaction service platforms include OTP (Online Travel Platform) and OTA (Online Travel Agency) platforms.
[0004] However, if travel transaction service platforms use existing AI-based video generation technology to generate travel scene videos, there is a problem of poor video presentation quality, and further, there is a problem of low generation efficiency of travel scene videos.
[0005] Therefore, how to provide a method for generating travel scene videos for travel transaction service platforms to improve the presentation effect of travel scene videos and further improve the generation efficiency of travel scene videos has become a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention
[0006] In view of this, embodiments of this application provide a method and computer program for generating travel scene videos to improve the presentation effect of travel scene videos and further improve the generation efficiency of travel scene videos.
[0007] To achieve the above objectives, the embodiments of this application provide the following technical solutions.
[0008] In a first aspect, embodiments of this application provide a method for generating travel scene videos, applied to a travel transaction service platform, the method comprising: Obtain the travel theme corresponding to the travel scene video to be generated; Generate a video script based on the travel theme; Candidate travel scene images are identified from the travel scene images that match the script content of the video script and are at least suitable for merging characters; and target travel scene images are determined based on the candidate travel scene images; wherein, the travel scene images suitable for merging characters have a character merging area; Based on the character selection information corresponding to the target travel scene image and / or the video script, the target virtual character to be merged is determined, and based on the character fusion method information corresponding to the target travel scene image, the target virtual character is merged into the character fusion area in the target travel scene image to obtain a character-fused travel scene image. Travel scene videos are generated by merging images of people into travel scene images.
[0009] Secondly, embodiments of this application provide a computer program product, including computer execution instructions, which, when executed by a processor, implement the travel scene video generation method described in the first aspect above.
[0010] The travel scene video generation method provided in this application can determine the travel theme corresponding to the travel scene video to be generated, generate a video script based on the travel theme, and determine candidate travel scene images from the travel scene images that match the script content of the video script and are at least suitable for merging characters. Therefore, when determining candidate travel scene images, this application not only considers the matching between the travel scene image and the script content of the video script, but also considers whether the travel scene image is suitable for merging characters, so that the determined candidate travel scene images can both match the script content of the video script and meet the needs of subsequent character merging, thereby taking into account both the content presentation requirements and the character merging requirements of the travel scene video. Furthermore, this application can also reduce the situation where selecting travel scene images solely based on script content results in selected travel scene images that, although matching the script content, are not suitable for merging characters, requiring reselection or adjustment of the travel scene images.
[0011] Then, in this embodiment of the application, a target travel scene image can be determined based on candidate travel scene images. Since the candidate travel scene images match the script content of the video script and are at least suitable for character fusion, and the travel scene images suitable for character fusion have character fusion areas, determining the target travel scene image based on the candidate travel scene images allows the target travel scene image to meet the conditions for subsequent character fusion, based on its match with the script content of the video script, thus providing a foundation for the subsequent fusion of the target virtual character and the target travel scene image.
[0012] After determining the target travel scene image, this embodiment can determine the target virtual character to be merged based on the character selection information and / or video script corresponding to the target travel scene image. Based on the character fusion method information corresponding to the target travel scene image, the target virtual character is merged into the character fusion area of the target travel scene image to obtain a character-fused travel scene image. Furthermore, this embodiment can generate a travel scene video based on the character-fused travel scene image. Therefore, this embodiment can determine the target virtual character to be merged by combining the character selection information and / or video script corresponding to the target travel scene image, ensuring that the determination of the target virtual character corresponds to the character selection information and / or video script corresponding to the target travel scene image. Moreover, based on the character fusion method information corresponding to the target travel scene image, the target virtual character can be merged within the character fusion area of the target travel scene image, rather than arbitrarily merging the target virtual character into the travel scene image, thereby improving the fusion effect between the target virtual character and the target travel scene image, making the character presentation in the merged character-fused travel scene image more reasonable and natural.
[0013] Through the above methods, this embodiment of the application enables the video content of the final generated travel scene video to correspond with the script content of the video script, and allows the target virtual character to be merged according to the character fusion method corresponding to the target travel scene image, thereby improving the presentation effect of the character in the travel scene video. Furthermore, the steps of determining the target travel scene image, determining the target virtual character, merging the target virtual character, and generating the travel scene video can be automatically linked and executed, thereby reducing reliance on manual operation and improving the generation efficiency of travel scene videos. Attached Figure Description
[0014] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0015] Figure 1 A diagram of a travel transaction service platform.
[0016] Figure 2 A flowchart illustrating the method for generating travel scene videos provided in this application embodiment.
[0017] Figure 3 Example diagram of a strategy for generating scripts for travel scenarios.
[0018] Figure 4 This is an example image of a travel scene.
[0019] Figure 5 This is an example diagram showing the composition of a character fusion scheme for a travel scene image.
[0020] Figure 6 This is an example diagram showing the composition of image tag information for travel scene images.
[0021] Figure 7A , Figure 7B and Figure 7C for Figure 4 Example image showing the content of image tag information for the travel scene picture shown.
[0022] Figure 8 This is a flowchart illustrating the process of determining a target travel scene image as provided in an embodiment of this application.
[0023] Figure 9A An example diagram of the character matrix of the virtual character library provided in the embodiments of this application.
[0024] Figure 9B Example diagram of a virtual character profile provided in this application embodiment.
[0025] Figure 10 This is an example diagram illustrating the composition of virtual camera movement information.
[0026] Figure 11 Example diagram for generating travel scene videos. Detailed Implementation
[0027] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0028] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation entry points are provided for users to choose to authorize or refuse.
[0029] For travel transaction service platforms, there is a large number of rich and diverse travel scene images, and a need to continuously generate travel scene videos for scenarios such as hotel accommodations and scenic spot visits. When using AI to generate travel scene videos that incorporate people, the presentation effect of the video is related to factors such as the selection of travel scene images, the selection of people, and how the people are presented in the travel scene. If the selection and setting of travel scene images, people, and the way the people are presented mainly rely on human experience, it is easily affected by subjective human judgment, thus impacting the presentation effect of the travel scene video.
[0030] On the other hand, existing AI can generate videos that blend people based on image materials, people materials, and / or prompts. However, in the context of generating travel scene videos that blend people, there may be issues such as unreasonable spatial relationships between people and travel scenes, and unnatural presentation of people, which may affect the overall presentation of the travel scene video.
[0031] Furthermore, if a travel transaction service platform has a large number of travel scene images and needs to continuously generate travel scene videos, relying mainly on manual labor to select images for video generation from a large number of travel scene images, and to select people and set the way people are presented, it will require a lot of labor costs and affect the efficiency of travel scene video generation.
[0032] Based on this, embodiments of this application provide a method for generating travel scene videos to improve the presentation effect of travel scene videos and further improve the generation efficiency of travel scene videos.
[0033] As an optional implementation, the travel scene video generation method provided in this application embodiment can be applied to a travel transaction service platform. For ease of understanding, Figure 1 An exemplary block diagram of a travel transaction service platform is shown. Figure 1 As shown, the travel transaction service platform 110 may include a travel transaction service backend server 111, an internal platform client 112, and a travel transaction service client 113.
[0034] The travel transaction service backend server 111 provides backend processing services for the travel transaction service platform, responsible for processing and managing relevant data, and can perform processing such as generating travel scene videos. The travel transaction service backend server 111 can be deployed on the travel transaction service platform's servers, server clusters, or cloud computing platforms.
[0035] The platform's internal client 112 is a client used by internal staff of the travel transaction service platform to interact with the travel transaction service backend server 111. For example, platform staff can use the internal client 112 to initiate travel scene video generation tasks, set relevant information required for travel scene video generation, or view the results of travel scene video generation. The internal client 112 may include, but is not limited to, applications or web pages loaded on devices such as computers.
[0036] Travel transaction service client 113 can be a client provided by the travel transaction service platform to users, used to provide users with travel-related services. Travel transaction service client 113 may include, but is not limited to, applications, web pages, mini-programs, etc. provided by the travel transaction service platform, and can be loaded onto user devices such as smartphones, tablets, and personal computers.
[0037] The travel scene video generation method provided in this application embodiment can be executed by the travel transaction service backend server 111 and can be triggered in various ways. For example, the travel transaction service backend server 111 can generate the travel scene video based on the internal processing flow of the travel transaction service platform, preset tasks, or calls to other backend services; the travel transaction service backend server 111 can also respond to a travel scene video generation request sent by the platform's internal client 112 and execute the generation of the travel scene video; the travel transaction service backend server 111 can also respond to a travel scene video generation request sent by the travel transaction service client 113 and execute the generation processing of the travel scene video. This application embodiment does not limit the triggering method for generating the travel scene video.
[0038] As an optional implementation Figure 2 An exemplary flowchart of an optional travel scene video generation method provided in this application embodiment is shown. This method can be applied to travel transaction service platforms, such as OTP and OTA platforms. (Refer to...) Figure 2 The method may include the following steps.
[0039] Step S210: Obtain the travel theme corresponding to the travel scene video to be generated.
[0040] As an optional implementation, a travel theme can be used to represent the travel content surrounding the travel scene video to be generated. The travel theme can include one or more travel-related elements, which can describe the travel content represented by the travel theme from different perspectives. For example, travel-related elements may include travel destinations, travel product information, travel activities, travel demographics, and travel times.
[0041] Specifically, travel destinations can be used to represent the geographical location involved in the travel content, such as cities, regions, and destinations; travel product information can be used to describe the specific travel products involved in the travel content, such as hotel names, hotel brands, and scenic spot names; travel activities can be used to represent the travel behaviors or activities involved in the travel content, such as accommodation, exploring shops, sightseeing, skiing, and flower viewing; the travel audience can be used to represent the target or involved group of people in the travel content, such as families, couples, and households; and travel time can be used to represent the time period involved in the travel content, such as travel seasons, months, and holidays.
[0042] In optional implementations, the number of travel-related elements included in a travel theme can affect the level of specificity of the travel content represented by the theme. Specifically, the more travel-related elements a travel theme includes, the more specific the travel content it represents. For example, a travel theme like "Hotel Expert Reviews" could include travel product information such as the hotel name and brand, as well as travel activities like hotel reviews. This allows the specific hotel involved in the travel theme to be clearly identified through information like the hotel name and brand, making the theme represent relatively specific travel content. Conversely, a travel theme like "Skiing" could primarily include the activity of skiing, thus representing a more generalized travel theme.
[0043] In optional implementations, based on the specificity of the travel content represented by the travel theme, embodiments of this application can divide travel themes into explicit themes and generalized themes. Explicit themes can define specific travel locations and / or specific travel products. For example, a travel theme like "Hotel Expert Review" can clearly define a specific hotel through travel product information such as hotel name and brand, thus belonging to an explicit theme. Similarly, travel themes such as "Visiting a Scenic Spot," which can define specific travel locations or specific travel products, can also be considered explicit themes. Generalized themes can define the scope or direction of travel content but do not limit specific travel locations or specific travel products. For example, "skiing," "flower viewing," "family trip," and "island tourism" can be considered generalized themes.
[0044] It should be noted that the embodiments of this application can generate travel scene videos based on a specific theme, or they can be generated based on a generalized theme. The embodiments of this application do not limit the type, number, or specificity of travel-related elements included in the travel theme.
[0045] In an optional implementation, embodiments of this application can obtain travel themes corresponding to travel hotspot information from travel transaction service platforms and / or social networking platforms. Specifically, embodiments of this application can obtain travel hotspot information from travel transaction service platforms and / or from social networking platforms, and by analyzing the travel hotspot information, determine the corresponding travel themes to generate corresponding travel scene videos based on the travel hotspots.
[0046] In other optional implementations, embodiments of this application can also obtain travel themes provided by internal personnel of the travel transaction service platform. These internal personnel may include, for example, platform operators, content editors, and marketing personnel. They can input travel themes through an internal client, allowing the travel transaction service backend server to generate corresponding travel scene videos based on those themes. In another possible implementation, embodiments of this application can also obtain travel themes provided by users of the travel transaction service platform. For example, embodiments of this application can support users of the travel transaction service platform inputting travel themes through a travel transaction service client, allowing the travel transaction service backend server to generate corresponding travel scene videos based on those themes.
[0047] In a further optional implementation, the travel theme can also correspond to the content positioning of pages or channels within the travel transaction service platform. Specifically, the travel transaction service platform can have pages or channels with different content positioning. These pages or channels can be used to host and display different types of travel products. For example, hotel-related pages or channels on the travel transaction service platform can be used to host and display travel products related to hotel accommodation, while scenic spot-related pages or channels can be used to host and display travel products related to visiting scenic spots.
[0048] Based on this, when the content positioning of a travel transaction service platform's page or channel corresponds to a travel theme, this application embodiment can display or place travel scene videos generated based on the travel theme on the corresponding page or channel, thereby supporting the display and recommendation of the travel transaction service platform on different pages or channels. For example, hotel-related pages or channels in the travel transaction service platform can correspond to travel themes such as hotel accommodation and hotel reviews. Travel scene videos around hotels generated based on the travel theme can be displayed or placed on the corresponding hotel-related pages or channels.
[0049] Step S220: Generate a video script based on the travel theme.
[0050] As an optional implementation, embodiments of this application can invoke AI to generate video scripts based on travel themes. The video script can be used to describe the content organization and presentation of the travel scene video to be generated, providing a content basis for subsequent generation of the travel scene video. For example, the video script may include at least one of the following: at least one travel content to be presented, the organizational order of each travel content, a scene description corresponding to each travel content, video narration content, narration subtitle content, shot descriptions, etc. Embodiments of this application do not limit the specific content and presentation format of the video script.
[0051] In the optional implementation, different travel themes can correspond to different video scripts, thus enabling the subsequently generated travel scene videos to present travel content that matches the travel theme. For example, if the travel theme is "Hotel Influencer Review," the video script can be organized around content such as the hotel exterior, guest rooms, public facilities, dining, and special services; if the travel theme is "Skiing," the video script can be organized around content such as skiing-related travel scenes and experiences.
[0052] As an optional implementation, when the travel theme corresponds to a specific travel product, this embodiment of the application can also obtain the travel product association information of the travel product when generating the video script, and then call AI to generate the video script based on the travel theme and the travel product association information. The travel product association information can be related to the travel product and used to describe or reflect the travel product. For example, the travel product association information may include at least one of the following: basic travel product information, travel product highlight information, user review information, travel sharing content, etc.
[0053] The basic information of a travel product can be used to describe the basic details of the travel product. For example, if the travel product is hotel accommodation, the basic information could include the hotel name, hotel brand, hotel location, room type, and hotel facilities; if the travel product is a visit to a scenic spot, the basic information could include the scenic spot name, location, opening hours, main attractions, and activities.
[0054] Travel product highlight information can be used to describe the unique features or content value of a travel product. For example, if the travel product is a hotel stay, the highlight information could include the hotel's unique room types, scenic views, facilities, and dining options; if the travel product is a scenic area visit, the highlight information could include unique attractions, activities, and seasonal features.
[0055] User reviews can be information posted by users regarding travel products, such as comments, ratings, and experience feedback. For example, for a hotel stay, this embodiment of the application can obtain reviews from guests regarding the hotel environment, rooms, dining, services, location, etc., thus reflecting the actual experience of the travel product from a user experience perspective.
[0056] Travel sharing content can be content shared by content creators around travel products, such as experience sharing, store reviews, travel notes, and travel guides. For example, for a hotel stay, this application embodiment can obtain content such as store reviews and stay experiences published by content creators for that hotel; for a scenic spot visit, this application embodiment can obtain content such as visit experiences, attraction recommendations, and travel guides published by content creators for that scenic spot.
[0057] Furthermore, in an optional implementation, embodiments of this application can provide travel theme and travel product association information corresponding to the travel theme to AI, and the AI can determine content that matches the travel theme from the travel product association information, and generate a video script based on the determined content that matches the travel theme.
[0058] For example, in the case of a travel theme of "expert review of a hotel", this application embodiment can obtain travel product related information of the hotel. Then, AI can analyze the travel product related information of the hotel in combination with the travel theme, determine the hotel environment, rooms, facilities, catering, services, special experiences and other content suitable for presentation around the travel theme, and generate a matching video script based on the determined content.
[0059] As can be seen, the embodiments of this application can provide content basis for video scripts by using the travel product association information of specific travel products when the travel theme corresponds to specific travel products. This allows the generated video scripts to be organized around the actual situation, features, and user experience of the specific travel products, rather than simply generating video scripts based on the travel theme. This provides a foundation for the subsequent generation of travel scene videos that match the travel theme and specific travel products.
[0060] In other optional implementations, this application embodiment can also obtain a travel scene script generation strategy when calling the AI to generate a video script, and then call the AI to generate a video script based on the travel theme and the travel scene script generation strategy. The travel scene script generation strategy can be used to indicate the script content generation strategy adopted when generating a video script for specific scene characteristics under a specific travel scenario, so that the AI-generated video script is adapted to the travel scenario in terms of content organization and presentation.
[0061] In an optional implementation, embodiments of this application can pre-configure corresponding travel scenario script generation strategies for different scenario characteristics under different travel scenarios. For example, Figure 3 An example diagram illustrating a travel scenario script generation strategy is shown, combined with... Figure 3 As shown, travel scenarios can include, for example, hotels and vacations. For hotel scenarios, the characteristic types of these scenarios can include at least one of the following: trendy swimming pools, luxury hotels, island / resort hotels, boutique / design hotels, camping / luxury wilderness hotels, family / themed hotels, budget / express chains, etc. For vacation scenarios, the characteristic types of these scenarios can include at least one of the following: cultural exploration, skiing / outdoor adventure, wellness / rehabilitation, etc. This application does not limit the specific methods for classifying travel scenarios and their characteristic types.
[0062] In specific examples, for specific scene characteristics under specific travel scenarios, the travel scene script generation strategy may include at least one of the following: content presentation purpose information, target age group information, visual emotion information, composition and character action information, clothing information, core scene information, environmental facilities or props information, and lighting and atmosphere information.
[0063] The content presentation purpose information can be used to indicate the key content objectives that travel scene videos need to express or convey. For example, for hotel scenes with different characteristics, the focus can be on different content presentation purposes such as social display, relaxing vacation, distinctive taste, family time, and convenient accommodation. AI can determine the key travel content that the video script needs to present and the corresponding organizational direction based on the content presentation purpose information.
[0064] Target age group information can be used to characterize the age group of the target audience for travel scene videos. AI can combine this target age group information to adjust the content selection and presentation in the video script, making the generated video script suitable for the corresponding target audience.
[0065] Visual emotion information can be used to characterize the emotions or feelings that travel scene videos need to convey. For example, visual emotion information can include visual emotions or keywords such as trendy, unique, tranquil, free, passionate, healing, warm, joyful, clean, and relaxed. AI can determine the emotions that need to be conveyed in the video script's visual descriptions, shot descriptions, and other content based on visual emotion information.
[0066] Composition and character movement information can be used to indicate the appropriate composition and character movements for travel scene videos. For example, composition methods can include high-angle shots, framed compositions, wide-angle compositions, low-angle compositions, etc., and character movements can include walking, leaning, interacting, running, etc. AI can combine composition and character movement information to generate corresponding scene descriptions and / or shot descriptions, so that the video footage described in the video script matches the visual characteristics of the corresponding travel scene.
[0067] Clothing information can be used to indicate suitable clothing for people incorporated into travel scene videos, such as clothing color scheme, style, or overall look. AI can use this clothing information as a reference when generating character-related descriptions in video scripts.
[0068] Core scene information can be used to indicate the key scenes to be presented in travel scene videos, such as infinity pools, hotel lobbies, themed rooms, private beaches, overwater bungalow terraces, and children's playgrounds. AI can determine the corresponding scene descriptions in the video script based on the core scene information. Furthermore, since travel scene images can be filtered based on the content of the video script, the core scene information can also provide content basis for subsequent travel scene image selection through the corresponding script content in the video script.
[0069] Information about environmental facilities or props can be used to indicate the environmental facilities or props presented in travel scene videos, such as pool-related facilities, hotel facilities, and outdoor facilities. AI can combine this information to generate corresponding visual descriptions, enabling the video script to include relevant environmental facilities or props, and further providing a basis for selecting travel scene images based on the video script.
[0070] Lighting and atmosphere information can be used to indicate the appropriate lighting and overall atmosphere for travel scene videos. AI can combine lighting and atmosphere information to generate corresponding scene descriptions and / or shot descriptions, so that the video footage described in the video script has a visual atmosphere that is appropriate for the corresponding travel scene.
[0071] Furthermore, embodiments of this application can provide the AI with a travel theme and a travel scene script generation strategy. The AI determines the travel content surrounding the video script based on the travel theme, and combines one or more pieces of information indicated by the travel scene script generation strategy, such as the content presentation purpose, target age group, emotional tone of the scene, composition and character actions, clothing, core scenes, environmental facilities or props, and lighting and atmosphere, to determine the content organization and presentation method of the video script, thereby generating the video script. For example, if the travel theme involves an island resort hotel, a travel scene script generation strategy matching the island / resort can be determined so that the AI can generate the corresponding video script.
[0072] Furthermore, when the travel theme corresponds to a specific travel product, this embodiment of the application can also combine the travel theme, travel product association information, and travel scene script generation strategy to call AI to generate a video script. The travel product association information can provide the video script with content related to the specific travel product, and the travel scene script generation strategy can provide the video script with content organization and presentation adapted to the corresponding travel scene.
[0073] For example, if the travel theme is a hotel review by a travel expert, and the hotel is an island / resort type, AI can determine the hotel's actual features, such as unique rooms, scenic views, dining, facilities, and services, based on the hotel's basic travel product information, travel product highlights, user reviews, and travel sharing content. Furthermore, it can determine the presentation purpose, target age group, emotional tone, composition, character actions, clothing, core scenes, environmental facilities or props, and lighting and atmosphere of the corresponding video content, based on a travel scene script generation strategy that matches the island / resort type. This allows AI to organize and present the hotel's travel content, generating a video script that matches the travel theme, specific travel products, and the characteristics of the corresponding travel scene.
[0074] Back Figure 2 As shown, in step S230, candidate travel scene images that match the script content of the video script and are at least suitable for merging characters are determined from the travel scene images, and a target travel scene image is determined based on the candidate travel scene images; wherein, the travel scene image suitable for merging characters has a character merging area.
[0075] As an optional implementation, travel scene images can be images depicting travel scenes. This application embodiment can pre-build a material image library for storing travel scene images, and these images can be categorized and stored according to travel-related information such as travel product type, travel location, and travel activities. For example, when the travel theme involves a specific travel product, this application embodiment can filter images from travel scene images associated with that specific travel product; when the travel theme does not limit a specific travel product but only involves a certain type of travel product, this application embodiment can filter images from travel scene images corresponding to that specific travel product type.
[0076] For example, when the travel theme involves hotels, this embodiment of the application can obtain travel scene images corresponding to the hotel from a stock image library as travel scene images for image filtering. For instance, travel scene images corresponding to hotels may include images of the hotel exterior, hotel rooms, hotel restaurants, hotel swimming pools, hotel public areas, hotel distinctive architecture, and hotel unique facilities. As another example, when the travel theme involves scenic spots, this embodiment of the application can filter images from travel scene images corresponding to the scenic spots.
[0077] As an optional implementation, after obtaining the video script, this embodiment of the application can determine candidate travel scene images from the travel scene images that match the script content of the video script and are at least suitable for blending people. The travel scene image being suitable for blending people can be defined as follows: the travel scene image contains an image area for setting up people, and setting up people in this image area creates a harmonious visual relationship with the original scene of the travel scene image. For travel scene images suitable for blending people, this embodiment of the application can refer to the image area in the travel scene image used for setting up people as the person blending area.
[0078] In practical implementation, the suitability of a travel scene image for incorporating people can be represented by a "people incorporation score" corresponding to the travel scene image. Optionally, the people incorporation score of a travel scene image can be positively correlated with the suitability of the travel scene image for incorporating people; that is, the higher the people incorporation score of a travel scene image, the more suitable the travel scene image is for incorporating people.
[0079] Furthermore, as an optional implementation for determining candidate travel scene images, embodiments of this application can identify initial screening travel scene images whose image content matches the script content of the video script; for the initial screening travel scene images, candidate travel scene images are determined from the initial screening travel scene images based at least on the character fusion score corresponding to the initial screening travel scene images. For example, embodiments of this application can determine initial screening travel scene images whose character fusion score reaches a preset character fusion score threshold as candidate travel scene images, or determine a preset number of initial screening travel scene images with the highest character fusion score ranking as candidate travel scene images.
[0080] In an optional implementation, the character fusion score corresponding to the travel scene image can be determined based on at least one of the following: the white space information of the travel scene image, the perspective guidance information, and the proportion reference requirement information.
[0081] Among these features, the white space information can be used to characterize the spatial size of different image regions, the distribution of scene content, and occlusion in travel scene images, in order to determine whether there are image regions in the travel scene images suitable for setting up people. For example, when there are continuous image regions in a travel scene image with an area sufficient for setting up people, and these continuous image regions do not have occlusions that would affect the setting up of people, it can be determined that these continuous image regions can be used to set up people, and can be regarded as image regions used to set up people.
[0082] For example, a travel scene image showcasing the hotel's distinctive mushroom-shaped architectural complex is used. Figure 4 An example image of a travel scene is shown, combined with... Figure 4 The travel scene image shown has a relatively wide road area in the middle of the image, and the road area does not obstruct the character settings. Therefore, based on the white space information of the travel scene image, it can be determined that the road area in the middle of the image can be used to set the character.
[0083] After determining that there is an image area in the travel scene image that can be used to set a person, the embodiments of this application can further evaluate whether setting a person in the image area conforms to the original perspective relationship and visual guidance of the travel scene image based on the perspective guidance information of the travel scene image.
[0084] Specifically, perspective guidance information can be used to characterize the perspective relationship formed by the scene content in a travel scene image and the visual guidance formed on the viewer's line of sight, so as to determine whether setting a person in the image area used to set a person conforms to the original perspective relationship and visual guidance relationship of the travel scene image.
[0085] For example, combining Figure 4 The travel scene image shown has a road that extends from the foreground to the background. The scene content on both sides of the road forms a visual guide, causing the viewer's eye to naturally tend to the corresponding position in the image. If the position is located in the aforementioned image area that can be used to set up a person, then setting up a person at that position is consistent with the original perspective and visual guidance of the travel scene image.
[0086] Furthermore, embodiments of this application can also evaluate, based on the proportional reference requirements of travel scene images, whether setting a person in the image area used for setting a person can provide a proportional reference for the scene content in the travel scene image, thereby enhancing the scale representation of the scene content.
[0087] Specifically, the need for proportional reference information can be used to determine whether there is a need to provide proportional reference by adding people to the scene content in travel scene images. For example, when a travel scene image mainly presents large-scale buildings, landscapes, or facilities, but lacks a reference object that can intuitively reflect the scale of the scene content, it can be determined that the travel scene image has a need for proportional reference. In this case, placing people in the image area intended for them can utilize the visual proportional relationship between the people and the scene content, making the people a proportional reference for the scene content, thereby enhancing the visual effect.
[0088] Example, combination Figure 4 The travel scene image shown features a wide, continuous road in the center with no obvious obstructions. Therefore, based on the white space in the image, this road area can be used to place figures. The road edges on both sides create clear visual guidance, naturally drawing the viewer's eye to the middle ground. Therefore, placing figures in the road area corresponding to the middle ground aligns with the original perspective and visual guidance of the image. Furthermore, the image primarily presents large-scale mushroom-shaped buildings without a corresponding proportional reference. Therefore, placing figures in the aforementioned road area allows them to serve as a proportional reference for the mushroom buildings, thus visually representing their scale through the proportional relationship between the figures and the mushroom buildings, enhancing the visual impact.
[0089] It should be noted that suitability for incorporating people can be considered as a minimum evaluation dimension when determining candidate travel scene images. In a further optional implementation, for the initial screening of travel scene images whose image content matches the script content of the video script, this embodiment of the application, in addition to evaluating the initial screening of travel scene images based on suitability for incorporating people, can also evaluate the initial screening of travel scene images based on the presentation of iconic content (e.g., iconic buildings) and / or content attractiveness, and then determine candidate travel scene images from the initial screening of travel scene images based on the evaluation results of multiple dimensions.
[0090] In a specific optional implementation, travel scene images, in addition to a people-integration score, also have a landmark content score and / or a content attractiveness score. The landmark content score can be used to quantify the degree to which the travel scene image presents landmark content; optionally, the landmark content score and the degree to which the travel scene image presents landmark content can be positively correlated, meaning that the higher the landmark content score, the better the travel scene image highlights the landmark content. The content attractiveness score can be used to quantify the content attractiveness of the travel scene image; optionally, the content attractiveness score and the content attractiveness of the travel scene image can be positively correlated, meaning that the higher the content attractiveness score, the higher the content attractiveness of the travel scene image.
[0091] Furthermore, for the initial screening of travel scene images, this application embodiment can determine the comprehensive score corresponding to the initial screening travel scene image based on the person fusion score, the iconic content score and / or the content attractiveness score, and determine the candidate travel scene images from the initial screening travel scene images based on the comprehensive score corresponding to the initial screening travel scene images.
[0092] Furthermore, after determining the candidate travel scene images, this embodiment can determine the target travel scene image based on the candidate travel scene images. In an optional implementation, this embodiment can further filter the candidate travel scene images according to the visual presentation requirements corresponding to the video script, in order to determine the target travel scene image from the candidate travel scene images. The visual presentation requirements corresponding to the video script may include shot scene requirements and / or scene emotion requirements. Shot scene requirements can be used to indicate the shot presentation requirements of the video scenes corresponding to the script content of the video script, and scene emotion requirements can be used to indicate the emotion presentation requirements of the video scenes corresponding to the script content of the video script. In other possible implementations, this embodiment can also directly use the candidate travel scene images as the target travel scene image.
[0093] Step S240: Based on the character selection information corresponding to the target travel scene image and / or the video script, determine the target virtual character to be merged, and based on the character fusion method information corresponding to the target travel scene image, merge the target virtual character into the character fusion area in the target travel scene image to obtain a character-fused travel scene image.
[0094] As an optional implementation, the travel transaction service platform can build and maintain a virtual character library. This library contains multiple virtual characters, each with corresponding virtual character information. Therefore, in this embodiment, the virtual character information corresponding to a virtual character in the library can be matched based on the character selection information corresponding to the target travel scene image and / or the travel scene described in the video script, and the target virtual character can be determined based on the matching result. For example, the virtual character library can be a virtual MCN (Multi-Channel Network) influencer library, and the virtual characters in the library can be presented as digital character images.
[0095] In an optional implementation, the virtual character information corresponding to the virtual character may include at least one of the following: character identity information, character characteristic information, virtual travel footprint information, character realism information, and audience acceptance information.
[0096] The information includes: Character Identity Information (representing the pre-defined identity of the virtual character); Character Feature Information (representing the character's characteristics, such as consumption patterns and appearance); Consumption Features (representing the character's spending level or preferences, and Appearance Features (representing clothing and appearance); Virtual Travel Footprint Information (representing the character's historical virtual travel records, such as historical travel locations and products at different times, continuously updated as the character participates in new travel scenarios); Character Realism Information (representing the degree of realism presented in the digital image of the virtual character); and Audience Acceptance Information (representing the degree to which the virtual character is accepted by viewers).
[0097] In a further optional implementation, the embodiments of this application can also maintain the character attributes of the virtual character, which are divided into static attributes, dynamic attributes and memory attributes.
[0098] Static attributes can be relatively stable attributes after the virtual character is set, including at least one of the following: appearance, voice or voiceprint, clothing style, etc.
[0099] Dynamic attributes can be attributes used to characterize the current state of a virtual character and can be dynamically updated, including at least one of the following: character personality, language expression habits, character relationships, etc. Among them, the character relationships of virtual characters can include family relationships and social relationships; family relationships can be pre-set relatively stable character relationships, such as the parent-child relationship between a child virtual character and their father virtual character and mother virtual character; social relationships can be character relationships that can be dynamically updated, such as friendship relationships, travel companion relationships, etc.
[0100] Memory attributes can be attributes recorded or accumulated as virtual characters participate in the generation of travel scene videos, including at least one of the following: virtual travel footprints, growth trajectory, etc. The growth trajectory can be used to characterize the growth status and changes of the virtual character at different stages as travel scene videos containing the virtual character are continuously generated, such as character level, experience data, and historical update records of character level and / or experience data. For example, after generating a new travel scene video containing a virtual character, this application embodiment can update the virtual character's experience data and / or character level based on the virtual character's newly added travel experiences and / or the number of travel scene videos already generated, and record the corresponding update results to form the virtual character's growth trajectory information.
[0101] By continuously maintaining the dynamic and memory attributes of virtual characters, the embodiments of this application can update or accumulate the character status, social relationships, and historical experiences of virtual characters as travel scene videos are continuously generated. This allows the same virtual character to have continuous character settings and experience associations across different travel scene videos, providing a foundation for generating a series of travel scene videos with content continuity and character relationship continuity.
[0102] Based on the maintenance of virtual characters in the virtual character library, this application embodiment, when determining the target virtual character to be fused, can determine the target virtual character from the virtual character library according to the character selection information and / or video script corresponding to the target travel scene image. That is to say, the character selection information and video script can be used as the basis for determining the target virtual character separately, or they can be used in combination.
[0103] The character selection information corresponding to the target travel scene image can be used to determine the target virtual characters to be merged. In an optional implementation, the character selection information may include at least one of the following: number of characters, character type, and recommended clothing. Specifically, the number of characters can indicate the number of characters to be merged, such as a single person or multiple people. The character type can indicate the recommended character type, such as female, male, or a family group. The recommended clothing can indicate the recommended clothing, such as recommended color scheme and / or recommended style.
[0104] As an optional implementation, when determining the target virtual character based on the character selection information corresponding to the target travel scene image, the number of characters can be used to determine the number of target virtual characters, and / or the character type can be used to select virtual characters that match the corresponding character type, and / or the recommended clothing can be used to select virtual characters that match the recommended clothing. For example, the number of target virtual characters to be selected can be determined based on the number of characters; virtual characters that match the corresponding character type can be determined based on the matching between the character type and the virtual character's identity information and / or character feature information; and virtual characters suitable for the recommended clothing can be determined based on the matching between the recommended clothing and the character image features represented by the virtual character's feature information.
[0105] As an optional implementation, when determining the target virtual character based on the video script, this embodiment of the application can match the character identity information, and / or character feature information, and / or virtual travel footprint information in the virtual character information corresponding to the virtual character in the virtual character database according to the travel scene described in the video script, and determine the target virtual character based on the matching result.
[0106] The travel scenarios described in the video script can be determined based on the script's content and are used to represent the travel-related scenes that the corresponding video footage needs to present. For example, if the video script involves specific hotel accommodations or scenic spot visits, the travel scenarios described in the video script can be the corresponding hotel accommodation scenarios or scenic spot visit scenarios.
[0107] In an optional implementation, embodiments of this application can determine the degree of matching between the virtual character and the travel scene based on whether the virtual character's identity information meets the identity requirements of the travel scene described in the video script. For example, if the virtual character's identity meets the identity requirements of the corresponding travel scene, the degree of matching between the virtual character and the travel scene can be improved.
[0108] In an optional implementation, embodiments of this application can determine the degree of matching between the virtual character and the travel scene based on whether the virtual character's features meet the requirements for character features in the travel scene described in the video script. For example, if the virtual character's features meet the requirements for character features in the travel scene, the degree of matching between the virtual character and the travel scene can be improved.
[0109] For example, when the travel scenario described in the video script involves a travel product with a specific product positioning, the degree of matching between the virtual character and the travel scenario can be determined based on whether the virtual character's characteristics match that product positioning. For instance, when the travel scenario described in the video script involves a hotel with a specific consumer positioning, the degree of matching between the virtual character and the travel scenario can be determined based on whether the virtual character's consumption characteristics match the hotel's consumer positioning.
[0110] In an optional implementation, embodiments of this application can determine the degree of matching between a virtual character and a travel scene based on the association between the virtual character's virtual travel footprint information and the travel scene described in the video script. For example, if the virtual character's virtual travel footprint information is associated with a travel scene, the degree of matching between the virtual character and the travel scene can be improved. Specifically, associating the virtual character's virtual travel footprint information with a travel scene can include at least one of the following: the virtual character's historical virtual travel records contain travel locations or travel products involved in the travel scene; the virtual character's historical virtual travel records contain associated travel locations or travel products associated with the travel locations or travel products involved in the travel scene.
[0111] For example, if the travel scenario described in the video script involves a target hotel, the matching degree between the virtual character and the corresponding travel scenario can be improved if the target hotel is included in the virtual character's historical virtual travel records.
[0112] In a further optional implementation, if the virtual character's historical virtual travel records do not directly contain the travel destinations or travel products involved in the travel scenario, the degree of matching between the virtual character and the travel scenario can be determined based on the association between other travel destinations or travel products contained in the historical virtual travel records and the travel destinations or travel products involved in the current travel scenario.
[0113] For example, suppose a virtual character's historical virtual travel history includes a first hotel, while the travel scene described in the video script involves a second hotel. If a predefined association exists between the first and second hotels, the matching degree between the virtual character and the travel scene can be improved. Similarly, if the virtual character's historical virtual travel history includes a first hotel, and the travel scene involves a specific scenic spot associated with that first hotel, the matching degree between the virtual character and the travel scene can also be improved.
[0114] In an optional implementation, the association between travel destinations or travel products can be determined based on users' historical behavioral data regarding travel destinations or travel products on the travel transaction service platform. For example, if users' historical behavioral data indicates that a user who has arrived at or stayed at the first hotel also has the behavior of arriving at or staying at the second hotel, or also has the behavior of visiting a specific scenic spot, it can be determined that there is an association between the first hotel and the second hotel or the specific scenic spot.
[0115] As a more specific alternative implementation of determining target virtual characters based on video scripts, embodiments of this application can determine the degree of matching between a virtual character and the travel scene described in the video script based on one or more of the virtual character's identity information, character feature information, and virtual travel footprint information. For example, a matching score can be used to represent the corresponding degree of matching; the higher the matching score, the higher the degree of matching between the virtual character and the travel scene. Furthermore, virtual characters can be sorted according to their matching scores, and the virtual characters ranked higher can be selected; alternatively, virtual characters whose matching scores reach a preset matching threshold can be selected.
[0116] In one optional implementation of determining a target virtual character based on the character selection information and video script corresponding to the target travel scene image, this application embodiment can determine the degree of matching between the virtual character and the travel scene based on the travel scene described in the video script, as well as one or more of the character identity information, character feature information, and virtual travel footprint information corresponding to the virtual character, so as to filter virtual characters that meet the matching degree requirements; furthermore, based on one or more of the number of characters, character type, and recommended clothing indicated by the character selection information, virtual characters that meet the matching degree requirements are selected, thereby determining the target virtual character that simultaneously meets the video script and character selection information.
[0117] It should be noted that the above-mentioned method of first matching based on the video script and then selecting based on the character selection information is only one optional implementation. In other optional implementations, the embodiments of this application may also separately determine the matching situation between the virtual character and the travel scene described in the video script, and the matching situation between the virtual character and the character selection information, and combine the matching situations to determine the target virtual character.
[0118] In a further optional implementation, embodiments of this application may further filter virtual characters determined based on video scripts and / or character selection information by combining the character realism information and / or audience acceptance information. Specifically, character realism information and / or audience acceptance information can be used to further filter virtual characters when multiple virtual characters matching video scripts and / or character selection information exist.
[0119] Specifically, character realism information reflects how closely a virtual character resembles a real person in terms of appearance, texture, and other visual aspects. When multiple virtual characters exist that match video scripts and / or character selection information, they can be further filtered based on character realism information to identify the target virtual character from those with higher realism, reducing the likelihood of the target virtual character appearing obviously artificially generated when blended into the target travel scene image.
[0120] Similarly, when multiple virtual characters satisfy the video script and / or character selection information, embodiments of this application can further filter the virtual characters based on audience acceptance levels and determine the target virtual character from those with higher audience acceptance. In an optional implementation, audience acceptance information can be determined based on the virtual character's historical online performance data and / or commercial performance data. For example, the audience acceptance level of a virtual character can be determined based on one or more of the virtual character's historical user feedback information, content dissemination performance information, and commercial conversion performance information.
[0121] Furthermore, after determining the target virtual character, this embodiment of the application can merge the target virtual character into the character fusion area in the target travel scene image based on the character fusion method information corresponding to the target travel scene image.
[0122] As an optional implementation, the character blending method information corresponding to the target travel scene image can be used to indicate the character blending method used when blending the target virtual character into the target travel scene image. In the optional implementation, the character blending method information may include at least one of the following: recommended character setting position, recommended character size, and recommended character action.
[0123] Specifically, the recommended character position setting can be used to indicate the recommended position for character blending. For example, the recommended character position setting can be represented by the character's position in the frame, such as slightly behind in the middle ground or slightly in the center in the foreground; it can also be represented by the character's position coordinates in the image or its position ratio relative to the image size, such as using the horizontal and vertical position ratios corresponding to the character's feet.
[0124] Recommended character dimensions can be used to indicate the recommended character image dimensions when merging characters. For example, it can be represented by the ratio of character height to image height, the ratio of character width to image width, and / or the proportion of the character in the image.
[0125] Recommended character actions can be used to indicate the recommended character actions after character merging. For example, recommended character actions may include walking into the depths of the scene with one's back or side to the screen, looking up at the scene, pointing at the scene, multiple people holding hands while walking, running and interacting, etc.
[0126] In a further optional implementation, the character selection information and character fusion method information of the travel scene image can be included in the character setting information, and the character setting information can be further included in the character fusion scheme corresponding to the travel scene image. For ease of understanding, Figure 5 An example diagram illustrating the composition of a character fusion scheme corresponding to a travel scene image is provided. Combined with... Figure 5 As shown, a person blending scheme may include at least one of the following: visual presentation style, applicable display scenarios, and person setting information. The visual presentation style can be used to characterize the overall style of the image formed after blending a person into a travel scene image according to the corresponding person blending scheme; the applicable display scenarios can be used to characterize the display scenarios where the corresponding person blending scheme is suitable for application; the person setting information can be used to indicate the recommended person setting method when blending people according to the corresponding person blending scheme, and may include person selection information and person blending method information.
[0127] Furthermore, after determining the target travel scene image, this embodiment of the application can obtain the character fusion scheme corresponding to the target travel scene image, and obtain character selection information and character fusion method information from the character fusion scheme. The character selection information can be used to determine the target virtual character, and the character fusion method information can be used to fuse the target virtual character with the target travel scene image.
[0128] In an optional implementation, embodiments of this application may determine the presentation method of the target virtual character in the target travel scene image based on at least one of the character recommendation setting position, character recommendation size, and character recommendation action indicated by the character fusion method information corresponding to the target travel scene image, and merge the target virtual character into the character fusion area in the target travel scene image according to the corresponding character presentation method.
[0129] As a further optional implementation, during the generation of travel scene videos, to ensure that the recommended actions are further translated into specific actions actually performed by the target virtual character, this embodiment of the application can pre-build a character action library. The character action library can include multiple specific character actions used for virtual character presentation. It should be noted that the recommended actions in the character fusion method information can be used to indicate the recommended action postures for the target virtual character during fusion; the specific character actions in the character action library can be used to specifically implement the recommended actions indicated by the character fusion method information.
[0130] For example, a recommended character action could indicate walking deeper into the scene. The character action library could include multiple specific character actions for walking deeper into the scene, and different specific character actions could have different body postures, limb positions, or movement forms. Another example is a recommended character action that indicates looking up at the scene content. The character action library could include multiple specific looking-up actions with different head angles, upper limb movements, or body postures.
[0131] In an optional implementation, the character action library can be constructed and maintained according to a travel scene character synthesis strategy. This strategy can be used to characterize the correspondence between different travel scenes and specific character actions, indicating the appropriate specific character actions to use in different travel scenes. Therefore, embodiments of this application can, based on the travel scene described in the video script and the recommended character actions indicated by the character fusion method information, determine specific character actions from the character action library that are suitable for the travel scene and the recommended character actions, according to the travel scene character synthesis strategy.
[0132] For example, if the recommended action for a person is walking, and the travel scenario described in the video script is a hotel accommodation scenario, then the specific walking action corresponding to the hotel accommodation scenario and walking can be determined from the person action library; if the travel scenario described in the video script is a scenic spot travel scenario, then the specific walking action corresponding to the scenic spot travel scenario and walking can be determined. Thus, even if the recommended actions for a person are the same, the embodiments of this application can adopt different specific person actions for different travel scenarios.
[0133] Furthermore, the same travel scene can also include different specific scene contents. The travel scene character synthesis strategy can also establish the correspondence between different specific scene contents and specific character actions within the travel scene. For example, for a hotel scene, based on the specific scene contents described in the video script, such as hotel roads, hotel rooms, and hotel public areas, specific character actions that are appropriate for the corresponding specific scene contents and recommended character actions can be determined from the character action library.
[0134] For example, when the recommended character action instructs a virtual character to walk with their back or side to the camera towards the depths of the scene, a specific walking action suitable for that specific travel scenario can be determined from multiple walking actions in the character action library, based on the specific travel scenario described in the video script. Similarly, when the recommended character action instructs multiple characters to walk hand-in-hand or run interactively, specific character actions that enable the corresponding interaction and are suitable for the travel scenario can be determined from the character action library, based on the corresponding travel scenario.
[0135] In a more specific optional implementation, embodiments of this application can construct and maintain a character action library and corresponding travel scene character synthesis strategies based on the actions of real people in different travel scenarios. For example, the actual actions of real people in different travel scenarios such as hotels and scenic spots can be referenced to store the corresponding specific character actions in the character action library, and a correspondence between travel scenarios and specific character actions can be established. Furthermore, based on the actions of real people in different travel scenarios, the specific character actions in the character action library and the corresponding correspondence can be added, deleted, or adjusted to make the specific character actions in the character action library more consistent with the actions of real people in travel scenarios.
[0136] Furthermore, when multiple target virtual characters need to be merged, this embodiment can determine the number of target virtual characters to be merged based on the number of characters in the character selection information, and determine the corresponding specific character actions for each target virtual character. For example, for a target travel scene image presenting a hotel's characteristic mushroom-shaped building complex, if the character fusion method information indicates that the recommended character setting position is in the middle ground to the rear of the image in the depth direction, the recommended character size is a relatively small image size, and the recommended character action is walking towards the depth of the scene with the back or side of the image, this embodiment can determine a specific walking action suitable for the corresponding travel scene from the character action library based on the travel scene described in the video script and the recommended character action, so that the target virtual character can perform specific actions in the travel scene video according to the specific walking action. For example, if the character selection information indicates that the number of characters is multiple, the character type is a family group, and the character fusion method information indicates that the recommended character setting position is a close-up of the lower center of the screen, the recommended character size is a relatively large screen size, and the recommended character action is multiple people holding hands and walking or running together, then based on the corresponding travel scene and the recommended character action, specific character actions suitable for multiple characters to hold hands, walk or run together can be determined from the character action library, so that multiple target virtual characters can perform specific character interactions in the travel scene video according to the corresponding specific character actions.
[0137] Through the above methods, embodiments of this application can determine a target virtual character suitable for the corresponding travel scene and character presentation requirements based on the character selection information and / or video script corresponding to the target travel scene image; and determine the recommended setting position, recommended size, and recommended actions of the target virtual character in the target travel scene image based on the character fusion method information corresponding to the target travel scene image, thereby merging the target virtual character into the target travel scene image. Furthermore, when using a character action library, the specific character actions used to implement the recommended actions can be determined from the character action library by combining the travel scene described in the video script and the recommended character actions, so that the target virtual character can perform specific actions in the travel scene video, thereby improving the coordination between the target virtual character and the travel scene and the naturalness of the character action presentation.
[0138] Step S250: Generate a travel scene video based on the fusion of people and travel scene images.
[0139] After obtaining images of people merging into a travel scene, this embodiment of the application can generate corresponding video clips based on these images. The video clips are then organized according to the presentation order of the video content indicated by the video script, thereby generating the video content of the travel scene video. For example, if there are multiple images of people merging into a travel scene, this embodiment of the application can generate video clips using an image-to-video method for different images, and combine the multiple video clips according to the presentation order of the video content indicated by the video script.
[0140] In an optional implementation, to make the travel scene video suitable for display as a short video, this embodiment can divide the travel scene video to be generated into one or more video segments according to the video script, and control the duration of each video segment. For example, the duration of a single video segment can be set to within 5 seconds. It should be noted that the duration of the video segments and the number of images used to generate a single travel scene video can be set according to specific video presentation requirements, and this embodiment does not impose any limitations on this.
[0141] In a further optional implementation, the travel scenarios described in the video script may include distinctive scene content that needs to be highlighted. This distinctive scene content can be scene content that showcases the unique features of the travel destination and / or travel products, and which needs to be emphasized. For example, in a hotel accommodation scenario, distinctive scene content could include features such as a unique swimming pool, distinctive architecture, distinctive guest rooms, distinctive scenery, and distinctive facilities; in a scenic area travel scenario, distinctive scene content could include distinctive scenery, distinctive architecture, and distinctive attractions.
[0142] To enhance the display effect of distinctive scene content, this application embodiment can generate multiple images of characters blended into the travel scene from different camera angles, based on images of characters blended into the travel scene that present the corresponding distinctive scene content. This allows the distinctive scene content to be presented from different camera angles while maintaining the integration of the target virtual character with the travel scene. Furthermore, this application embodiment can generate corresponding video clips based on multiple images of characters blended into the travel scene from different camera angles, allowing the corresponding video clips to present the distinctive scene content and the target virtual character from different perspectives.
[0143] In optional implementations, different camera angles can be formed by changing at least one of the observation direction, observation position, and image range. Specifically, embodiments of this application can take a single image of a travel scene with characters blended together, presenting distinctive scene content, as a base, and expand it by changing at least one of the observation direction, observation position, and image range through image generation methods to generate multiple images of the travel scene with characters blended together, corresponding to different camera angles. The expanded images of the travel scene with characters blended together can further include the target virtual character and corresponding distinctive scene content, and establish a corresponding visual presentation relationship between the target virtual character and the distinctive scene content from different camera angles. In this way, embodiments of this application can expand a single image of a travel scene with characters blended together into multiple images of the same distinctive scene content and target virtual character presented from different perspectives.
[0144] For example, if the video script indicates that the hotel pool needs to be highlighted, the hotel pool can be used as a featured scene. Therefore, this embodiment can generate multiple images of the combined travel scene of the target virtual character and the hotel pool from different camera angles, based on images of the combined travel scene of the target virtual character and the hotel pool. These images can present the target virtual character and the hotel pool from different viewing directions, viewing positions, and / or screen ranges. Furthermore, corresponding video clips can be generated based on these multiple images of the combined travel scene, so that the hotel pool and the target virtual character are presented from different perspectives in the video clips.
[0145] Therefore, for travel scene images of people blending together that do not require multi-camera angle display, this application embodiment can directly generate video clips based on the corresponding travel scene images of people blending together together; for special scene content that requires multi-camera angle display, this application embodiment can generate video clips for displaying the special scene content based on multiple travel scene images of people blending together together from different camera angles generated for the corresponding special scene content; furthermore, each video clip can be organized according to the presentation order of the video content indicated by the video script to obtain the video content of the travel scene video.
[0146] For example, a video script can sequentially include script content such as the hotel exterior, hotel rooms, hotel swimming pool, and hotel restaurant. This embodiment can generate corresponding video clips for each of the aforementioned script contents and combine them according to the presentation order determined by the video script. Specifically, if the hotel swimming pool is a featured scene that needs to be highlighted, multiple images of the combined virtual character and the hotel swimming pool from different virtual camera angles can be generated based on the combined travel scene image of the target virtual character and the hotel swimming pool. These images can then be further used to generate corresponding video clips, presenting the hotel swimming pool and the target virtual character from different perspectives.
[0147] In a further optional implementation, for adjacent video segments, the embodiments of this application can set corresponding video transitions to switch between different video segments according to the video transition method. Specifically, the embodiments of this application can pre-set one or more video transition editing templates. The video transition editing templates can be used to indicate the arrangement, editing method, and / or the transition method between adjacent video segments. Then, the embodiments of this application can determine the corresponding video transition editing template according to the video presentation requirements indicated by the video script, and edit and combine multiple video segments according to the determined transition editing template to obtain the video content of the travel scene video.
[0148] Furthermore, after obtaining the video footage of the travel scene, this embodiment of the application can also synthesize the video footage of the travel scene with other video content to obtain a travel scene video. The other video content may include at least one of the following: subtitle content, narration content, background music, etc.
[0149] As an optional implementation, embodiments of this application can determine subtitle content and / or narration content corresponding to the video screen content based on the video script. The subtitle content can be added to the corresponding video screen content; for the narration content, corresponding narration audio can be generated or obtained based on narration-related information in the video script, and the narration audio can be time-aligned with the corresponding video screen content according to the content correspondence indicated by the video script, so that the corresponding narration audio is played synchronously when the corresponding video screen content is played. Furthermore, embodiments of this application can also determine the background music corresponding to the travel scene video and synthesize the background music with the corresponding video segment.
[0150] As can be seen, this embodiment of the application is based on a video script generated according to a travel theme. It determines candidate travel scene images from travel scene images that match the script content and are at least suitable for character fusion. Then, it determines a target travel scene image based on these candidate images. Further, it determines a target virtual character based on the character selection information and / or video script corresponding to the target travel scene image. Finally, based on the character fusion method information corresponding to the target travel scene image, it fuses the target virtual character into the character fusion area of the target travel scene image. Therefore, this embodiment of the application can make the video content of the final generated travel scene video correspond to the script content of the video script, and make the target virtual character fused according to the character fusion method corresponding to the target travel scene image, thereby improving the character presentation effect in the travel scene video. Furthermore, the determination of the target travel scene image, the determination of the target virtual character, the fusion of the target virtual character, and the generation of the travel scene video can be automatically linked and executed, thereby reducing reliance on manual operation and improving the generation efficiency of the travel scene video.
[0151] In an optional implementation, to facilitate the identification of target travel scene images from a large number of travel scene images held by the travel transaction service platform, this embodiment of the application can set corresponding image tag information for the travel scene images and store the image tag information and travel scene images in a material image library. The image tag information can be used to describe or evaluate travel scene images from different perspectives and can serve as a basis for subsequently identifying target travel scene images.
[0152] As an optional implementation Figure 6 An example diagram illustrating the composition of image tag information for travel scene images is provided, combined with... Figure 6 As shown, the image tag information for travel scene images may include at least one of the following: basic tag information, image content description information, character integration evaluation information, iconic content evaluation information, content attractiveness evaluation information, shot scene information, and scene emotion information.
[0153] The basic tag information can be used to represent the basic information corresponding to travel scene images in the form of tags. For example, the basic tag information may include at least one of the following: geographical location or POI (Point of Interest) information, scene classification information, visual content tags, and image clarity information.
[0154] Specifically, geographic location or POI information can be used to characterize the geographic location, travel destination, or specific travel product corresponding to a travel scene image. For example, geographic location or POI information can include information such as country or region, province, city, associated scenic spot, and specific POI.
[0155] Scene classification information can be used to characterize the travel scene category corresponding to a travel scene image. For example, travel scene images can be classified according to different classification levels. For instance, for travel scene images related to hotel accommodation, the first-level scene classification could be "accommodation" or "hotel," and the second-level scene classification could be "boutique homestay," "family-friendly resort hotel," etc.
[0156] Visual content tags can be used to describe the visual content presented in travel scene images in the form of tags. For example, visual content tags can include at least one of the following: core subject tags, environmental element tags, and style tags. Among them, core subject tags can be used to represent the main content in travel scene images, such as mushroom houses, oddly shaped buildings, etc.; environmental element tags can be used to represent the environmental content in travel scene images, such as colorful roads, snail decorations, plants, cloudy days, etc.; style tags can be used to represent the visual style presented in travel scene images, such as magical, childlike, forest-themed, quirky, etc.
[0157] Image sharpness information can be used to characterize the clarity of travel scene images. For example, image sharpness information can be expressed in the form of sharpness grades or sharpness scores.
[0158] Image content description information can be used to describe the content presented in travel scene images in text form. Compared to the visual content tags in basic tagging information, which represent some visual content in travel scene images in a relatively discrete tagging form, image content description information can provide a more complete description of the scene content presented in travel scene images. Specifically, image content description information can describe at least one of the following: the main content of the travel scene image, environmental content, the positional relationship between various contents, composition, lighting, color, and overall scene presentation.
[0159] For example, with Figure 4 Taking the travel scene image showing a hotel's distinctive mushroom-shaped building complex as an example, the image description information can be as follows: This travel scene image shows a group of mushroom-shaped buildings in a hotel or scenic area. Multiple mushroom-shaped buildings are distributed on both sides of the road, which extends from the foreground to the background. The image also includes plants, distinctive decorations, and other environmental elements. The image uses a vertical composition, with the road providing visual guidance. The weather is sunny, and the lighting is relatively soft, giving the overall image a whimsical and fantastical feel.
[0160] In an optional implementation, the image content description information can be obtained by analyzing travel scene images using an artificial intelligence model with image understanding capabilities.
[0161] Furthermore, in the aforementioned process of determining travel scene images that match the script content of the video script from travel scene images based on the video script, this application embodiment can match the basic tag information and / or image content description information corresponding to the travel scene images with the script content of the video script to determine whether the image content presented by the travel scene images matches the script content of the video script.
[0162] The people fusion evaluation information can be used to assess how well travel scene images are suitable for people fusion. In an optional implementation, the people fusion evaluation information may include a people fusion score, as well as the criteria for people fusion evaluation and / or a people fusion scheme.
[0163] The criteria for evaluating character blendability can be the same as those for a character blendability score, specifically the image features of the travel scene image on which the character blendability score is based. In optional implementations, the criteria for evaluating character blendability can include at least one of the following: image white space information, perspective guidance information, and proportion reference requirements.
[0164] Furthermore, in the process of evaluating the fusionability of people in travel scene images, this embodiment of the application can also determine one or more person fusion schemes for the travel scene images. The person fusion scheme can include at least one of the following: image presentation style, applicable content display scene, and person setting information. Specifically, the person setting information can include person selection information and person fusion method information; the person selection information can include at least one of the following: number of people, person type, recommended clothing, etc.; the person fusion method information can include at least one of the following: recommended person setting position, recommended person size, recommended person action, etc.
[0165] For example, with Figure 4 Taking the travel scene image showing a hotel's distinctive mushroom-shaped architectural complex as an example, this application embodiment can determine a first character fusion scheme corresponding to the Alice in Wonderland style. This first character fusion scheme is suitable for travel content display or recommendation scenarios on social media, such as travel content recommendation scenarios. The number of characters corresponding to the first character fusion scheme can be a single person, and the character type can be female; the recommended character setting position can be in the middle ground or slightly behind in the depth direction of the image; the recommended character size can allow the character to have a relatively small proportion in the image; the recommended character clothing can include clothing colors such as white and light yellow, as well as clothing styles such as dresses and forest-style clothing; the recommended character actions can include walking with their back or side to the image, looking up at the scene content, raising their hand to point at the scene content, etc.
[0166] For example, with Figure 4Taking the travel scene image showing a hotel's distinctive mushroom-shaped architectural complex as an example, this application embodiment can also determine a second character integration scheme corresponding to a warm family vacation style. This second character integration scheme is suitable for family hotel display or promotional scenarios on travel transaction service platforms. The number of characters corresponding to the second character integration scheme can be multiple, and the character type can be a family group; the recommended character placement position can be a near-center position at the bottom of the image; the recommended character size can ensure that the characters occupy a relatively large proportion of the image; the recommended character clothing can include brightly colored clothing and casual vacation styles, family outfits, etc.; the recommended character actions can include family members walking hand in hand, children running and interacting with other characters, etc.
[0167] As can be seen, the character fusion evaluation information can characterize the degree to which a travel scene image is suitable for character fusion through a character fusion score, and can record information such as white space, perspective guidance, and proportion reference requirements used to determine the character fusion score. Furthermore, the character fusion evaluation information can also include one or more character fusion schemes determined for the travel scene image. Different character fusion schemes can correspond to different image presentation styles and / or applicable display scenarios, and can indicate the corresponding character setting information. Therefore, after a travel scene image is determined as the target travel scene image, this embodiment can obtain character selection information and character fusion method information from the character fusion scheme corresponding to the target travel scene image. This allows the character selection information to be used to determine the target virtual character to be fused, and the character fusion method information to indicate the character fusion method used when fusing the target virtual character into the target travel scene image.
[0168] Iconic content evaluation information can be used to assess how well travel scene images present the iconic content of a travel destination. Iconic content can be scene elements that highlight the characteristics of the travel destination and have a certain degree of recognizability, such as iconic buildings, distinctive landscapes, unique facilities, and distinctive decorations. When the travel scene involves hotel accommodation, iconic content could be, for example, the hotel's distinctive architecture; when the travel scene involves visiting scenic spots, iconic content could be, for example, the scenic spot's iconic landscapes or buildings.
[0169] In an optional implementation, the iconic content evaluation information may include an iconic content score and an iconic content evaluation criterion. The iconic content evaluation criterion is the basis for evaluating the iconic content score of travel scene images, and may include at least one of the following: iconic element identification information, the degree of recognizability of iconic elements, and the visual presentation of iconic content. Specifically, iconic element identification information can be used to characterize whether scene elements reflecting the characteristics of the travel destination are identified from the travel scene image; the degree of recognizability of iconic elements can be used to characterize the degree to which the identified scene elements are recognizable of the travel destination, for example, through corresponding recognition scores or recognition confidence levels; and the visual presentation of iconic content can be used to characterize the proportion and / or visual salience of the identified scene elements in the travel scene image.
[0170] For example, with Figure 4 Taking a travel scene image depicting a hotel's distinctive mushroom-shaped architecture as an example, we can identify scene elements that reflect the characteristics of the travel destination, such as giant, colorful mushroom-shaped buildings, unique snail decorations, specific exterior wall textures, and building color schemes. This allows us to obtain corresponding identifying information about these iconic elements. Furthermore, we can determine the degree of recognizability of these identified scene elements for the corresponding travel destination; for example, we can determine the recognition score or confidence level of each scene element. We can also determine the proportion and / or visual salience of these identified scene elements in the travel scene image. Therefore, if multiple scene elements with high recognizability reflecting the characteristics of the travel destination are identified, and these scene elements have a large proportion and / or high visual salience in the travel scene image, the travel scene image can be determined to have a high score for iconic content.
[0171] In conjunction with the aforementioned process of determining candidate travel scene images, this application embodiment can use the iconic content score as an optional evaluation dimension when determining candidate travel scene images, so that the determined candidate travel scene images can present the characteristics of the corresponding travel destination.
[0172] Content attractiveness evaluation information can be used to assess the attractiveness of travel scene images. In an optional implementation, this information may include a content attractiveness score and evaluation criteria. In another optional implementation, the evaluation criteria may be the basis for the content attractiveness score of the travel scene image, and may include at least one of the following: visual scarcity information, composition and immersion information, atmosphere and color information, and target audience matching information. Specifically, visual scarcity information can be used to characterize the uniqueness of the scene content presented in the travel scene image compared to common travel scenes. For example, when a travel scene image presents architectural forms, landscapes, or other distinctive content that are relatively rare in common travel scenes, it can be determined that the travel scene image has high visual scarcity.
[0173] Composition and immersion information can be used to characterize the degree to which the composition of travel scene images visually guides the viewer and immerses them in the scene. For example, when the roads, buildings, and other elements in a travel scene image create a clear sense of depth or visual guidance, allowing the viewer to perceive the spatial extension of the travel scene along the corresponding elements, a higher evaluation of composition and immersion can be obtained.
[0174] Atmosphere and color information can be used to characterize the performance of travel scene images in terms of color matching, and / or lighting, and / or overall visual atmosphere. For example, evaluations can be determined based on the color matching between different scene elements, the tonal gradation of the image, and the representation of natural light in a travel scene image.
[0175] Target audience matching information can be used to characterize the degree of match between the content presented in travel scene images and the corresponding target audience. For example, the same travel scene image may have different levels of appeal to different groups such as families traveling with children, young travelers, and business travelers. Therefore, target audience matching information can be determined based on the target audience corresponding to the travel scene image and the degree of appeal of the image content to the corresponding target audience.
[0176] For example, with Figure 4Taking the travel scene image depicting a hotel's distinctive mushroom-shaped architectural complex as an example, the unique architectural style compared to common hotel buildings earns a high rating for visual scarcity. The road extending along the depth of the image contributes to its composition and immersive feel. Furthermore, the color scheme of the buildings, plants, and roads, along with the weather and lighting, can be used to determine the atmosphere and color aspects. Additionally, the image's appeal to different demographics, such as families and young travelers, can be used to determine the target audience matching rating. Finally, by combining one or more of these evaluations, the content attractiveness score of the travel scene image can be determined.
[0177] In one specific implementation, the aforementioned content attractiveness score can be expressed as an image recommendation score corresponding to a travel scene image. Combining this with the aforementioned process of determining candidate travel scene images, this embodiment of the application can use the content attractiveness score as an optional evaluation dimension when determining candidate travel scene images, thereby further considering the content attractiveness of the travel scene images when determining candidate travel scene images.
[0178] In an optional implementation, embodiments of this application can perform lens scene recognition on travel scene images to obtain lens scene information corresponding to the travel scene images. Lens scene information may include at least one of the following: framing information, shooting angle information, lens feature information, composition information, depth of field information, and lighting information.
[0179] Among these, shot type information can be used to characterize the range of scene content presented in a travel scene image. For example, shot type can include long shot, full shot, medium shot, close-up, extreme close-up, etc. When a travel scene image can present the relationship between buildings, roads, and the surrounding environment relatively completely, the shot type of the travel scene image can be identified as full shot and / or long shot.
[0180] Shooting perspective information can be used to characterize the viewing angle corresponding to a travel scene image, such as eye-level, overhead, or upward-looking. For example, when the scene content such as buildings in a travel scene image is presented at a height close to that of normal human vision, the corresponding shooting perspective can be identified as eye-level.
[0181] Lens feature information can be used to characterize the field of view and / or perspective features presented in travel scene images, such as wide-angle lens features and standard lens features. When a travel scene image has a large field of view and there is a significant spatial scale difference between the foreground and background scenes, the travel scene image can be identified as having corresponding wide-angle lens features.
[0182] Compositional information can be used to characterize the composition of a scene in a travel scene image, such as central perspective, leading lines, and framing. For example, when a road in a travel scene image extends from the foreground to the background and guides the viewer's eye along the road towards the depth of the image, the image can be identified as having leading lines composition.
[0183] Depth of field information can be used to characterize the range of sharpness of scene content at different distances in a travel scene image, such as large depth of field and shallow depth of field. For example, when the foreground, middle ground, and background scene content in a travel scene image are all relatively sharp, it can be identified as having a large depth of field feature.
[0184] Light and shadow information can be used to characterize the type of light and / or the light and shadow effects in travel scene images, such as natural light, soft light, and diffused light. For example, when there is no obvious direct light in a travel scene image and the lighting is relatively uniform, the corresponding light and shadow information can be identified as soft light or diffused light.
[0185] In optional implementations, one or more of the aforementioned scene information recognition results may also have corresponding recognition confidence levels. For example, for a travel scene image, the following can be obtained: panoramic / distant view recognition results and confidence levels, eye-level shooting angle recognition results and confidence levels, wide-angle lens feature recognition results and confidence levels, and composition recognition results and confidence levels such as center perspective / leading line composition.
[0186] Based on the aforementioned process of determining the target travel scene image from candidate travel scene images, when the video script has corresponding shot scene requirements, this embodiment of the application can match the shot scene requirements corresponding to the video script with the shot scene information corresponding to the candidate travel scene images, and determine the target travel scene image from the candidate travel scene images according to the degree of matching. For example, when the video script requires a panoramic view of the overall hotel environment, a candidate travel scene image with a panoramic shot can be selected.
[0187] In an optional implementation, embodiments of this application can perform scene emotion recognition on travel scene images based on one or more of the scene content, environmental conditions, colors, lighting, and other visual elements presented in the images, thereby determining the corresponding scene emotion information. Specifically, a single travel scene image can correspond to one or more scene emotions, such as fantasy, healing, childlike innocence, dreamlike quality, tranquility, or mystery. Different scene emotions can be represented using corresponding scene emotion tags, and can further have corresponding recognition scores or recognition confidence levels.
[0188] In an optional implementation, the scene emotion information may include overall scene emotion information and / or at least one (or more) subdivided scene emotion information. The overall scene emotion information can be used to characterize the main emotion presented by the travel scene image as a whole; the subdivided scene emotion information can be used to describe the scene emotion presented by the travel scene image from at least one subdivision level, such as different content or different environmental representations in the travel scene image.
[0189] For example, with Figure 4 Taking the travel scene image depicting a large mushroom-shaped architectural complex as an example, the mushroom buildings in the image have a visual form that differs from conventional buildings. Combined with the surrounding elements such as roads, plants, and soft lighting, the overall mood of the travel scene image can be determined to be fantastical and healing. Furthermore, based on the mushroom buildings, distinctive decorations, and colors, the travel scene image can be further identified as having sub-moods of childlike wonder and fantasy. The relatively quiet roads, plants, and soft ambient lighting suggest a tranquil mood. Finally, the road extending into the depths of the image and the corresponding environmental elements further suggest a sense of mystery.
[0190] In an optional implementation, for each scene emotion, such as the overall scene emotion and / or the subdivided scene emotion, the embodiments of this application can determine the corresponding recognition score or recognition confidence level of the scene emotion respectively.
[0191] Based on the aforementioned process of determining the target travel scene image from candidate travel scene images, when the video script has corresponding scene emotion requirements, this embodiment of the application can match the scene emotion requirements corresponding to the video script with the scene emotion information of the candidate travel scene images, and determine the target travel scene image from the candidate travel scene images according to the degree of matching. For example, when the video script needs to present a childlike or fantastical scene emotion, candidate travel scene images whose scene emotion information includes childlike and / or fantastical elements can be selected.
[0192] To facilitate further understanding, Figure 4 The image shown here depicts a travel scene featuring the hotel's distinctive mushroom-shaped architecture. Figure 7A , Figure 7B and Figure 7C Combined with illustration Figure 4 The example image tag information for the travel scene picture shown can be used as a reference.
[0193] It should be noted that image tag information can be represented in different data formats. For example, it can be represented in one or more formats such as category tags, keywords, descriptive text, evaluation scores, and recognition confidence levels. This application embodiment does not set any limitations in this regard.
[0194] In an optional implementation, at least some of the image tag information can be obtained by image analysis of travel scene images. For example, embodiments of this application can perform basic image quality filtering on travel scene images stored in the image library or travel scene images provided in real time to filter out travel scene images that do not meet the preset basic image quality requirements, such as those that are blurry or underexposed. For travel scene images that pass the basic image quality filtering, a multimodal scoring model can be further used for multidimensional analysis to obtain at least one of the following information corresponding to the travel scene image: character fusion score, iconic content score, content attractiveness score, shot scene recognition result, and scene emotion recognition result.
[0195] The multimodal scoring model can be considered an artificial intelligence model for multidimensional image understanding, scoring, and recognition of travel scene images. The multimodal scoring model can output analysis results in different forms. Specifically, for evaluation dimensions such as the degree of character integration, the degree of presentation of iconic content, and the attractiveness of content, it can output corresponding evaluation scores; for recognition dimensions such as scene composition and scene emotion, it can output corresponding recognition results, and further output corresponding recognition scores or recognition confidence levels. In other words, the multimodal scoring model in this embodiment is not limited to outputting only evaluation scores; it can also perform corresponding content recognition on travel scene images.
[0196] In its implementation, the multimodal scoring model can utilize text recognition and / or object recognition to determine whether travel scene images contain iconic buildings, distinctive landscapes, or unique facilities of the travel destination, and determine the score for iconic content based on the presentation of these iconic elements. The multimodal scoring model can also determine the content attractiveness score based on the visual presentation of travel scene images, such as color, lighting, and composition. Furthermore, it can determine whether there are suitable image regions for people to stand, sit, or lie down in travel scene images based on depth information and / or semantic segmentation results, and can use these image regions as the basis for determining the fusion region for people, as well as determining the fusion score for people based on the corresponding analysis results. Finally, the multimodal scoring model can also identify the scene type of travel scene images, obtaining results for long shots, full shots, medium shots, and close-ups, and can identify the scene emotions presented in travel scene images, obtaining results for relaxed or childlike scene emotions.
[0197] In optional implementations, the multimodal scoring model can process travel scene images stored in the image library offline, and / or process travel scene images provided in real time in real-time. Correspondingly, the image tag information corresponding to the travel scene images can be obtained through offline and / or real-time calculation. For example, for travel scene images pre-stored in the image library, this embodiment can pre-perform image recognition, image understanding, and / or evaluation of the travel scene images to obtain the corresponding image tag information, and store the image tag information associated with the travel scene images. Thus, when filtering travel scene images subsequently, this embodiment can directly obtain the corresponding image tag information of the travel scene images. As another example, if the travel scene images are provided in real-time by platform personnel or platform users during the travel scene video generation process, and the provided travel scene images do not yet have corresponding image tag information, this embodiment can analyze the travel scene images in real-time after obtaining them to determine the corresponding image tag information, and then filter the travel scene images based on the determined image tag information.
[0198] In a further optional implementation, Figure 8 An exemplary flowchart illustrating an optional process for determining a target travel scene image according to an embodiment of this application is shown below. Figure 8 The process may include the following steps.
[0199] Step S810: Based on the script content of the video script, as well as the basic tag information and / or image content description information of the travel scene images, identify the initial screening travel scene images that match the script content from the travel scene images.
[0200] As an optional implementation, embodiments of this application can analyze the script content of the video script, determine the content information involved in the script content, and match the content information with the basic tag information and / or image content description information corresponding to the travel scene images, thereby determining the initial screening of travel scene images that match the script content from the travel scene images.
[0201] In an optional implementation, this embodiment of the application can retrieve travel scene images stored in the image library based on basic tag information, and retrieve travel scene images whose basic tag information matches the script content to narrow down the image selection range. For example, when the script content involves a specific hotel, travel scene images related to that hotel can be obtained based on the geographical location or POI information, scene classification information, etc., corresponding to the travel scene images. Furthermore, for the retrieved travel scene images whose basic tag information matches the script content, this embodiment of the application can match the keywords and / or semantic information corresponding to the script content with the image content description information corresponding to the travel scene images to determine the degree of matching between the image content presented by the travel scene images and the script content, and determine the initial screening of travel scene images based on the matching results. For example, this embodiment of the application can sort the travel scene images based on the keyword matching results and / or semantic matching degree, and determine the travel scene images that meet the sorting conditions as the initial screening of travel scene images.
[0202] Step S811: Based on the character fusion score of the initial screening travel scene images, as well as the iconic content score and / or content attractiveness score, candidate travel scene images are determined from the initial screening travel scene images.
[0203] In an optional implementation, for the initial screening of travel scene images, this application embodiment can determine the comprehensive score corresponding to the initial screening travel scene image based on the person fusionability score, the iconic content score and / or content attractiveness score, and determine the candidate travel scene images from the initial screening travel scene images based on the comprehensive score corresponding to the initial screening travel scene images.
[0204] Specifically, in this embodiment, corresponding weights can be set for the person fusionability score, the iconic content score, and the content attractiveness score, respectively. The weight of each score can represent its proportion in determining the overall score. Therefore, this embodiment can determine the overall score for the initially screened travel scene images based on the person fusionability score, the iconic content score, and / or the content attractiveness score, combined with the weights corresponding to each score. For example, the person fusionability score, the iconic content score, and / or the content attractiveness score for the initially screened travel scene images can be weighted with the weights corresponding to each score to obtain the overall score for the initially screened travel scene images.
[0205] For example, when determining the comprehensive score based on the person fusion score and the iconic content score, this embodiment of the application can determine the comprehensive score of the initially screened travel scene images based on the person fusion score and its corresponding weight, as well as the iconic content score and its corresponding weight; when determining the comprehensive score based on the person fusion score and the content attractiveness score, this embodiment of the application can determine the comprehensive score of the initially screened travel scene images based on the person fusion score and its corresponding weight, as well as the content attractiveness score and its corresponding weight; when determining the comprehensive score based on the person fusion score, the iconic content score, and the content attractiveness score, this embodiment of the application can determine the comprehensive score of the initially screened travel scene images based on the person fusion score and its corresponding weight, the iconic content score and its corresponding weight, and the content attractiveness score and its corresponding weight.
[0206] Furthermore, after obtaining the comprehensive score of each initially screened travel scene image, this embodiment of the application can determine candidate travel scene images from the initially screened travel scene images based on the comprehensive score. For example, the initially screened travel scene images are sorted according to the comprehensive score, and a predetermined number of the top-ranked initially screened travel scene images are determined as candidate travel scene images.
[0207] Furthermore, since the candidate travel scene images are at least suitable for incorporating people, when determining the candidate travel scene images based on the aforementioned comprehensive score, corresponding filtering conditions can be set for the people incorporability score. For example, embodiments of this application may require that the people incorporability score of the candidate travel scene images reach a preset people incorporability score threshold, thereby ensuring that the determined candidate travel scene images are at least suitable for incorporating people, taking into account the degree of people incorporability, the degree of presentation of iconic content, and / or the attractiveness of the content.
[0208] In the optional implementation, the weights corresponding to the character fusion score, the iconic content score, and the content attractiveness score can be set according to the specific video generation scenario. For example, if the video script focuses on presenting iconic content of the travel destination, the weight corresponding to the iconic content score can be increased; if the video script focuses on showcasing or recommending travel content, the weight corresponding to the content attractiveness score can be increased; and if there are high requirements for the fusion effect of the characters, the weight corresponding to the character fusion score can be increased.
[0209] Furthermore, the weights corresponding to the character fusion score, iconic content score, and content appeal score can be pre-set by the travel transaction service platform, or they can be set by the platform operators according to specific operational scenarios. For example, platform operators can adjust the weights of each score according to the content operation needs of videos in different travel scenarios, so that different operational scenarios adopt score weights that are suitable for the corresponding content presentation needs.
[0210] Step S812: Match the shot scene requirements corresponding to the video script with the shot scene information corresponding to the candidate travel scene images, and / or match the scene emotion requirements corresponding to the video script with the scene emotion information corresponding to the candidate travel scene images, and determine the target travel scene image from the candidate travel scene images based on the matching results.
[0211] In an optional implementation, this embodiment of the application can obtain one or more candidate travel scene images through step S811. Different candidate travel scene images may differ in terms of shot presentation characteristics and scene mood. To further ensure that the selected travel scene images meet the video script's requirements for the presentation of the travel scene video, this embodiment of the application can further filter the candidate travel scene images according to the presentation requirements corresponding to the video script to determine the target travel scene image.
[0212] In an optional implementation, the visual presentation requirements corresponding to the video script may include at least one of shot scene requirements and scene emotion requirements. Accordingly, embodiments of this application may match the shot scene requirements corresponding to the video script with the shot scene information corresponding to the candidate travel scene images, and / or match the scene emotion requirements corresponding to the video script with the scene emotion information corresponding to the candidate travel scene images, and determine the target travel scene image from the candidate travel scene images based on the corresponding matching results.
[0213] For example, if the video script requires a shot or scene that presents the hotel's overall architecture or environment through a long shot or a panoramic view, this embodiment can determine a travel scene image from the candidate travel scene images that matches the long shot or panoramic view based on the shot scene information corresponding to the candidate travel scene images. As another example, if the video script requires a scene with a childlike or fantastical mood, this embodiment can determine a travel scene image from the candidate travel scene images that matches the childlike or fantastical mood based on the scene mood information corresponding to the candidate travel scene images.
[0214] In a further optional implementation, embodiments of this application may determine the matching result of the candidate travel scene image based on the degree of matching between the lens scene information corresponding to the candidate travel scene image and the lens scene requirements, and / or based on the degree of matching between the scene emotion information corresponding to the candidate travel scene image and the scene emotion requirements, and sort the candidate travel scene images according to the matching result, thereby selecting a preset number of candidate travel scene images with the highest ranking as the target travel scene image.
[0215] Furthermore, in this embodiment of the application, based on the candidate travel scene images determined by the character fusion score, the iconic content score and / or the content attractiveness score, step S812 further combines the visual presentation requirements of the video script to match the shot scenes and / or scene emotions of the candidate travel scene images, thereby determining the target travel scene images suitable for visual presentation.
[0216] In a further optional implementation, to facilitate a better understanding of the virtual character library maintained by the travel transaction service platform, Figure 9A An exemplary diagram of the character matrix of the virtual character library provided in this application embodiment is shown for reference. It should be noted that, in conjunction with... Figure 9A As shown, the virtual character library can include single virtual characters, such as child characters, male characters, female characters, etc., or it can include groups of virtual characters, such as family groups, couple groups, etc.
[0217] When determining target virtual characters, if the character selection information indicates a family character combination, this application embodiment can determine multiple virtual characters with corresponding family relationships from the virtual character library based on the established relationships between virtual characters, rather than arbitrarily combining multiple independent virtual characters. For example, the father and mother virtual characters corresponding to a certain child virtual character can be predetermined to form a family character combination. Thus, when this family character combination needs to be presented in different travel scene videos, multiple virtual characters with corresponding fixed family relationships can appear together to maintain the consistency of the relationships between multiple virtual characters.
[0218] Furthermore, Figure 9B An example diagram of a virtual character profile provided in an embodiment of this application is shown. Figure 9B The main example illustrates that, for virtual characters in a virtual character library, this application embodiment can establish corresponding character profiles for virtual characters, and maintain the corresponding virtual character information and related resources through the character profiles.
[0219] like Figure 9BAs shown, a virtual character's profile may include at least one of the following: basic character profile information, commercial value and scene matching information, language expression information, personality and behavior information, AI-generated image reference resources, speech synthesis information, character clothing information, and virtual travel footprint information.
[0220] The basic character profile information can be used to describe the basic character settings of a virtual character. For example, the basic character profile information may include at least one of the following: the virtual character's avatar, name, nickname, age / birthday, MBTI (Myers-Briggs Type Indicator) / zodiac sign, physical characteristics, and identity / positioning. Among these, MBTI can be used to characterize the virtual character's personality tendencies.
[0221] Commercial value and scenario matching information can be used to record the suitability of virtual characters for target audiences, travel scenarios, and travel content. For example, commercial value and scenario matching information may include core audience information, scenario adaptability information, and scenario function information. In optional implementations, the above information can be determined based on the virtual character's identity information, characteristic information, and corresponding historical performance information. For example, the scenario adaptability between the virtual character and different travel scenarios can be pre-determined based on the character's identity information and / or characteristic information, and recorded using matching scores, matching levels, etc., for subsequent matching and selection of virtual characters according to the travel scenarios described in the video script.
[0222] Furthermore, commercial value and scenario matching information can also be linked to data performance information corresponding to virtual characters. For example, it can be linked to historical user feedback information, content dissemination performance information, and / or commercial conversion performance information of virtual characters. When the relevant information can reflect the degree to which the virtual character is accepted by viewers, it can be further used to determine the aforementioned audience acceptance information.
[0223] Language expression information can be used to describe the characteristics of a virtual character in terms of language expression, such as voice style, catchphrases, speaking habits, and prohibited words, or one or more of these. Furthermore, embodiments of this application can ensure that the language expression of the virtual character is consistent with pre-defined character characteristics when generating narration, dialogue, and other content related to the virtual character.
[0224] Personality and behavioral information can be used to describe the pre-defined personality traits and behavioral characteristics of virtual characters. For example, embodiments of this application can describe the personality traits of virtual characters through one or more personality tags, and can record the corresponding strengths, weaknesses, mottos, signature actions, interactive reactions when interacting with other characters (e.g., reactions when praised, reactions when criticized), walking posture, etc.
[0225] AI-generated image reference resources can be used to provide corresponding character image references when generating or synthesizing virtual character images using AI. For example, full-body image reference resources (e.g., full-body photos), upper-body image reference resources (e.g., upper-body photos and corresponding upper-body texture and material details), and facial close-up reference resources (e.g., facial photos) can be maintained for the same virtual character. Furthermore, AI-generated image reference resources can also be associated with parameters and / or prompts used in generating virtual character images.
[0226] It should be noted that AI-generated image reference resources can be used as character resources associated with and maintained for virtual characters, to constrain or preserve the character's appearance. The aforementioned character realism information is used to characterize the degree of realism presented by the digital character image; for example, character realism information can be evaluated based on the digital character image formed using corresponding character resources.
[0227] Speech synthesis information can be used to describe information related to the speech generation of virtual characters. Specifically, speech synthesis information may include one or more of the following: speech synthesis configuration corresponding to the virtual character, acoustic feature information, and audio samples. The speech synthesis configuration can be used to configure or indicate the speech synthesis method used when generating the virtual character's speech. The acoustic feature information can be used to describe or configure the characteristics of the virtual character's speech in terms of sound presentation. For example, the acoustic feature information may include multiple configurable acoustic feature dimensions, such as prosody, texture, jitter, and pauses. Furthermore, embodiments of this application can also associate corresponding audio samples with the virtual character. The audio samples can be used to record or characterize the sound effects set for the virtual character and can serve as a sound reference when generating the corresponding virtual character's speech.
[0228] Character clothing information can include clothing attribute information and / or clothing resources corresponding to the virtual character. Clothing attribute information can describe clothing color scheme, style, and design; clothing resources can be maintained as character resources associated with the virtual character, used to generate virtual characters wearing the corresponding clothing. When determining a target virtual character, if the character selection information includes recommended clothing, the recommended clothing can be matched with the character clothing information corresponding to the virtual character. Furthermore, after determining the target virtual character, the clothing worn by the target virtual character can be determined from the clothing resources associated with that character.
[0229] Virtual travel footprint information can be used to record the historical virtual travel records of virtual characters. For example, it can record information such as the travel locations of virtual characters at different times in chronological order, and can associate the travel content generated by that virtual character with the corresponding historical virtual travel records.
[0230] In an optional implementation, the virtual travel footprint information can be continuously updated as the virtual character participates in new travel scene videos. For example, after generating a travel scene video involving a target hotel, target scenic spot, or target destination based on a certain virtual character, the target hotel, target scenic spot, or target destination, along with the corresponding time, can be recorded in the virtual character's virtual travel footprint. This allows the virtual character to gradually form a historical virtual travel record arranged chronologically as they continuously participate in travel scene videos. Furthermore, when determining the target virtual character based on the video script, embodiments of this application can match the virtual character based on the association between the virtual character's virtual travel footprint information and the travel scene described in the video script.
[0231] In a further optional implementation, when generating a travel scene video based on a person-integrated travel scene image, this embodiment of the application can generate corresponding video segments based on the person-integrated travel scene image using an AI video generation model. During the generation of video segments, this embodiment of the application can determine the virtual camera movement information corresponding to the video segment according to the video script, and generate the video segment based on the person-integrated travel scene image and the virtual camera movement information. That is, when generating video segments corresponding to person-integrated travel scene images, this embodiment of the application can also obtain the virtual camera movement information corresponding to the video segment, so as to generate corresponding video segments based on the person-integrated travel scene image and the virtual camera movement information; wherein, the virtual camera movement information can be used to indicate the simulated virtual camera movement mode when generating the video segment.
[0232] In an optional implementation, the shot description in the video script can be used to describe how the corresponding video content is presented in shots, and can also be used to determine the virtual camera movement information used when generating the corresponding video clip. For example, Figure 10 An example diagram illustrating the composition of virtual camera movement information is shown below. For example... Figure 10 As shown, virtual camera movement information may include at least one of the following: camera position movement information, movement direction information, camera position angle information, movement speed or amplitude information, lens style information, and simulation equipment information.
[0233] Among them, camera motion information can be used to indicate the motion form adopted by the virtual camera, such as fixed, zoom in, zoom out, pan, pan, follow, and circle; motion direction information can be used to indicate the motion direction of the virtual camera, such as forward, backward, left, right, up, or down; camera angle information can be used to indicate the viewing angle of the virtual camera relative to the video screen, such as eye level, low angle, high overhead view, bird's-eye view, subjective view, or Dutch angle.
[0234] Motion speed or amplitude information can be used to indicate the speed and / or amplitude of motion used when a virtual camera moves. For example, it can indicate fast or slow motion, or rotational motion with amplitudes such as 30 degrees, 90 degrees, 180 degrees, or 360 degrees.
[0235] Shot style information can be used to indicate the specific shot rendering techniques used in a video clip, such as single-point perspective, Hitchcock zoom, fast zoom, bullet time, slow motion, etc. Simulation equipment information can be used to indicate the simulated camera equipment or the corresponding camera movement characteristics, such as FPV (First Person View), aerial equipment, handheld equipment, crane arm, robotic arm, etc.
[0236] Furthermore, in this embodiment of the application, the AI video generation model can be controlled to generate video clips with corresponding camera motion effects based on the virtual camera movement information corresponding to the corresponding shot in the video script and the fusion of people and travel scene images.
[0237] It should be noted that multi-camera angle expansion and virtual camera movement can be used for different processing in the process of generating travel scene videos. The aforementioned multi-camera angle expansion can be used to generate multiple images of people blended into a travel scene from different camera angles by changing the viewing direction, viewing position, and / or the field of view, based on a single image of people blended into a travel scene; virtual camera movement is used to instruct the movement of the simulated virtual camera during the process of generating video clips based on images of people blended into a travel scene.
[0238] To facilitate a further understanding of the travel scene video generation method provided in this application, the following describes an implementation example of generating travel scene videos based on the travel scene video generation method provided in this application.
[0239] For example, taking a hotel accommodation scenario as an example, Figure 11 An exemplary implementation diagram for generating travel scene videos is shown below. Combined with... Figure 11 As shown, taking a hotel stay as an example, the travel theme can include travel product information such as the hotel name and travel activities such as accommodation, so that the travel scene video to be generated can be presented around the hotel accommodation scene.
[0240] After obtaining the travel theme, this embodiment of the application can call AI to generate a video script based on the travel theme. When the travel theme corresponds to a specific hotel, the video script can be generated by combining the travel product association information corresponding to that hotel, or it can be further generated by combining a travel scenario script generation strategy.
[0241] After obtaining the video script, this embodiment of the application can perform an initial screening of hotel scene images from the hotel's corresponding hotel material library based on the video script. The hotel material library can pre-store a large number of hotel scene images, such as images of different content including guest rooms, hotel interior spaces, hotel exterior environments, window views, balconies, and hotel facilities. For example, the hotel material library may include more than 500 hotel scene images.
[0242] For travel content to be presented in a video script, this embodiment of the application can retrieve hotel scene images matching the script content from a hotel resource library based on the travel content and corresponding screen descriptions, shot descriptions, and other script content, thereby obtaining a preliminary selection of hotel scene images. For example, based on the basic tag information and / or image content description information of the hotel scene images, hotel scene images matching the script content can be retrieved from the hotel resource library. For instance, if the video script needs to present guest rooms and views outside the windows, hotel scene images showing guest room spaces and views outside the windows can be selected from the hotel resource library; if the video script needs to present the interior space of the hotel, hotel scene images showing the interior environment of the hotel can be selected accordingly.
[0243] After initial screening of hotel scene images, this embodiment of the application can further evaluate the screened hotel scene images in multiple dimensions and determine target hotel scene images based on the evaluation results. For example, candidate hotel scene images can be determined from the initial screened hotel scene images based on the character integration score, the iconic content score, and / or the content attractiveness score. Furthermore, the candidate hotel scene images can be further screened by combining the visual presentation requirements corresponding to the video script, as well as the shot scene information and / or scene emotion information corresponding to the candidate hotel scene images, thereby obtaining the target hotel scene images. For example, the above screening process can determine 10 target hotel scene images from the hotel material library.
[0244] After determining the target hotel scene image, this embodiment of the application can further determine the target virtual character to be fused. For example, the target virtual character can be determined from the virtual character library according to the aforementioned method for determining the target virtual character, based on the character selection information and / or video script corresponding to the target hotel scene image.
[0245] After determining the target hotel scene image and the target virtual character, this embodiment of the application can further perform character fusion. Specifically, based on the character fusion method information corresponding to the target hotel scene image, the target virtual character can be fused into the character fusion area of the target hotel scene image to obtain a character-fused hotel scene image. For example, for the script content corresponding to hotel scene content such as hotel rooms, hotel views, and hotel facilities in a video script, character fusion can be performed based on the target hotel scene image corresponding to the script content, thereby obtaining a character-fused hotel scene image used to present the corresponding hotel scene content and the target virtual character.
[0246] Furthermore, for key scene content that needs to be highlighted in the video script, this embodiment can also, according to the aforementioned multi-camera angle expansion method, generate multiple images of the person blending into the hotel scene from different camera angles, based on the image of the person blending into the hotel scene corresponding to the key scene content. For example, for key scene content such as distinctive landscapes and facilities in a hotel accommodation scene, the observation direction, observation position, and / or screen range when presenting the corresponding key scene content can be changed. Based on an image of the person blending into the hotel scene presenting the target virtual character and the corresponding key scene content, multiple images of the person blending into the hotel scene from different camera angles can be generated.
[0247] After obtaining the images of people integrated into the hotel scene, this embodiment of the application can further perform image-to-video processing to generate corresponding video clips. Specifically, for hotel scene content that does not require multi-camera angle display, video clips can be directly generated based on the corresponding images of people integrated into the hotel scene; for special scene content that requires multi-camera angle display, video clips can be generated based on multiple images of people integrated into the hotel scene corresponding to different camera angles, which are extended for the corresponding special scene content.
[0248] After obtaining the video clips, this embodiment of the application can arrange and combine multiple video clips according to the video content presentation order indicated by the video script, thereby forming the video content of a travel scene video corresponding to a hotel accommodation scene. Furthermore, this embodiment of the application can also set corresponding video transitions for adjacent video clips.
[0249] Furthermore, after obtaining the video footage of the travel scene, this embodiment of the application can also synthesize the video footage with other video content such as subtitles, narration, and background music to obtain a travel scene video corresponding to the hotel accommodation scene.
[0250] In practical applications, as mentioned earlier, when a travel theme corresponds to a page or channel on a travel transaction service platform, the travel scene video generated based on the corresponding travel theme can be used for display or placement on that page or channel. Furthermore, the generated travel scene video can also be used for content display or placement channels outside the travel transaction service platform, thus supporting the application of travel scene videos in different display or placement scenarios both within and outside the platform.
[0251] In a further optional implementation, this application embodiment also provides a storage medium, which, for example, includes but is not limited to, a read-only memory, a random access memory, a hard disk, a solid-state drive, a USB flash drive, a memory card, an optical disk, etc. The storage medium stores computer-executable instructions, which, when executed (e.g., when executed by a processor), implement the travel scene video generation method provided in this application embodiment.
[0252] In a further optional implementation, this application embodiment also provides a computer program. For example, the computer program may exist in the form of source code, object code, or executable files, and may be encapsulated as a software module, application program, plug-in program, etc. The computer program includes computer execution instructions, which, when executed (e.g., when executed by a processor), implement the travel scene video generation method provided in this application embodiment.
[0253] The foregoing describes multiple embodiment schemes provided by the embodiments of this application. The optional methods described in each embodiment scheme can be combined and cross-referenced with each other without conflict, thereby extending to a variety of possible embodiment schemes. These can all be considered as the embodiment schemes disclosed and published by the embodiments of this application.
[0254] While the embodiments disclosed above are described in this application, this application is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of this application; therefore, the scope of protection of this application should be determined by the scope defined in the claims.
Claims
1. A method for generating travel scene videos, characterized in that, Applied to a travel transaction service platform, the method includes: Obtain the travel theme corresponding to the travel scene video to be generated; Generate a video script based on the travel theme; Candidate travel scene images are identified from the travel scene images that match the script content of the video script and are at least suitable for merging characters; and target travel scene images are determined based on the candidate travel scene images; wherein, the travel scene images suitable for merging characters have a character merging area; Based on the character selection information corresponding to the target travel scene image and / or the video script, the target virtual character to be merged is determined, and based on the character fusion method information corresponding to the target travel scene image, the target virtual character is merged into the character fusion area in the target travel scene image to obtain a character-fused travel scene image. Travel scene videos are generated by merging images of people into travel scene images.
2. The method according to claim 1, characterized in that, The travel scene image is suitable for blending with people as follows: the travel scene image contains an image area for setting people, and the people set in the image area form a harmonious visual relationship with the original scene of the travel scene image; wherein, the degree to which the travel scene image is suitable for blending with people is represented by the blendability score of the corresponding people in the travel scene image; The process of identifying candidate travel scene images from the travel scene images that match the script content of the video script and are at least suitable for integrating characters includes: Initial screening of travel scene images to ensure the content of the images matches the content of the video script; Candidate travel scene images are determined from the initial screening of travel scene images based on the scores of the people who can be integrated with the images.
3. The method according to claim 2, characterized in that, The character fusion score corresponding to the travel scene image is determined based on at least one of the following: the white space information, perspective guidance information, and proportion reference requirements of the travel scene image; The white space information is used to characterize the spatial size of different image areas, the distribution of scene content, and the occlusion situation in travel scene images, so as to determine whether there are image areas in travel scene images used to set people. The perspective guidance information is used to characterize the perspective relationship formed by the scene content in the travel scene picture and the visual guidance formed on the viewing line, so as to determine whether setting a person in the image area used to set a person conforms to the original perspective relationship and visual guidance relationship of the travel scene picture. The proportional reference requirement information is used to determine whether there is a need to provide proportional reference by adding people to the scene content in the travel scene image.
4. The method according to claim 2 or 3, characterized in that, In addition to a people-integration score, the travel scene images also have a landmark content score and / or a content attractiveness score; the landmark content score of the travel scene images is used to quantify the degree to which the travel scene images present landmark content; the content attractiveness score of the travel scene images is used to quantify the degree to which the content of the travel scene images is attractive. The process of determining candidate travel scene images from the initial screening of travel scene images, based at least on the character fusion score corresponding to the initial screening travel scene images, includes: Based on the character integration score, the iconic content score and / or content attractiveness score of the initial screening travel scene images, the comprehensive score of the initial screening travel scene images is determined, and candidate travel scene images are determined from the initial screening travel scene images based on the comprehensive score of the initial screening travel scene images. And / or, The process of determining the target travel scene image based on candidate travel scene images includes: Match the scene requirements corresponding to the video script with the scene information corresponding to the candidate travel scene images, and / or match the scene emotion requirements corresponding to the video script with the scene emotion information corresponding to the candidate travel scene images, and determine the target travel scene image from the candidate travel scene images based on the matching results. Among them, the shot scene requirements corresponding to the video script are used to indicate the shot presentation requirements of the video screen corresponding to the script content of the video script; the scene emotion requirements corresponding to the video script are used to indicate the emotion presentation requirements of the video screen corresponding to the script content of the video script; the shot scene information corresponding to the travel scene image is used to characterize the shot presentation characteristics of the travel scene image; and the scene emotion information corresponding to the travel scene image is used to characterize the scene emotion presented by the travel scene image.
5. The method according to claim 4, characterized in that, The travel scene images have corresponding image tag information, which serves as the basis for identifying the target travel scene image; the image tag information of the travel scene images is obtained through offline calculation or through real-time calculation; The image tag information includes at least one of the following: Basic tag information is used to represent the basic information corresponding to travel scene images in the form of tags, including at least one of the following: geographical location or point of interest information, scene classification information, visual content tags, and image clarity information; Image content description information is used to describe the content of travel scene images in text form; The character blending evaluation information is used to assess the suitability of travel scene images for blending characters, including a character blending score, evaluation criteria, and / or character blending schemes. The character blending evaluation criteria are the same as those used for the character blending score, and include at least one of the following: white space information, perspective guidance information, and proportion reference requirements. The character blending scheme includes at least one of the following: image presentation style, applicable content display scenarios, and character setting information. The image presentation style characterizes the overall style of the image formed after blending characters into the travel scene image according to the corresponding character blending scheme. The applicable display scenarios characterize the display scenarios where the corresponding character blending scheme is suitable for application. The character setting information indicates the recommended character setting method when blending characters according to the corresponding character blending scheme, including character selection information and character blending method information. The iconic content evaluation information is used to evaluate the degree to which travel scene images present iconic content of travel destinations, including iconic content scores and the criteria for iconic content evaluation. The criteria for iconic content evaluation are the evaluation criteria for iconic content scores, including at least one of the following: iconic element identification information, the degree of recognition of iconic elements, and the visual presentation of iconic content. Iconic element identification information is used to characterize whether specific scene elements that embody the characteristics of the travel destination can be identified from the travel scene images. The degree of recognition of iconic elements is used to characterize the degree to which the identified scene elements are recognizable of the travel destination. The visual presentation of iconic content is used to characterize the proportion and / or visual salience of the identified scene elements in the travel scene images. Content attractiveness evaluation information is used to assess the attractiveness of travel scene images, including a content attractiveness score and the evaluation criteria. The content attractiveness evaluation criteria are the same as those used for the content attractiveness score, and include at least one of the following: visual scarcity information, composition and immersion information, atmosphere and color information, and target audience matching information. Visual scarcity information characterizes the uniqueness of the scene content presented in the travel scene image compared to common travel scenes. Composition and immersion information characterizes the degree to which the composition of the travel scene image visually guides the viewer and creates a sense of immersion. Atmosphere and color information characterizes the color matching, and / or lighting, and / or overall visual atmosphere of the travel scene image. Target audience matching information characterizes the degree of matching between the content presented in the travel scene image and the corresponding target audience. Scene information includes at least one of the following: framing information, shooting angle information, lens feature information, composition information, depth of field information, and lighting information; framing information is used to characterize the range of scene content presented in a travel scene image; shooting angle information is used to characterize the observation angle corresponding to the travel scene image; lens feature information is used to characterize the lens field of view and / or perspective features presented in the travel scene image; composition information is used to characterize the composition of the scene content in the travel scene image; depth of field information is used to characterize the range of sharpness presented by scene content at different distances in the travel scene image; lighting information is used to characterize the type of light and / or the lighting and shadow performance of the image corresponding to the travel scene image. Scene emotion information includes overall scene emotion information and / or subdivided scene emotion information; overall scene emotion information is used to characterize the main emotion presented by the travel scene image as a whole; subdivided scene emotion information is used to describe the scene emotion presented by the travel scene image from at least one subdivided level.
6. The method according to claim 1, characterized in that, The travel transaction service platform maintains a virtual character database, which contains multiple virtual characters, and each virtual character has corresponding virtual character information; the virtual character information includes at least one of the following: character identity information, character characteristic information, virtual travel footprint information, character realism information, and audience acceptance information; Among them, character identity information is used to represent the pre-set character identity of the virtual character; character feature information is used to represent the character features of the virtual character; virtual travel footprint information is used to represent the historical virtual travel records of the virtual character, and the virtual travel footprint information is continuously updated as the virtual character participates in new travel scene videos; character realism information is used to represent the degree of realism presented by the digital character image of the virtual character; audience acceptance information is used to represent the degree to which the virtual character is accepted by the viewers. The travel transaction service platform also maintains the character attributes of virtual characters, which are divided into static attributes, dynamic attributes, and memory attributes. Static attributes are attributes that remain stable after the virtual character is set, including at least one of the following: appearance, voice or voiceprint, and clothing style; dynamic attributes are attributes used to characterize the current state of the virtual character and are allowed to be dynamically updated, including at least one of the following: personality, language expression habits, and character relationships; wherein, the virtual character's character relationships include family relationships and social relationships, and social relationships are allowed to be dynamically updated; memory attributes are attributes that are recorded or accumulated as the virtual character participates in the generation of travel scene videos, including at least one of the following: virtual travel footprints and growth process; wherein, the growth process is used to characterize the growth status and changes of the virtual character at different stages as travel scene videos containing the virtual character are continuously generated; And / or, The step of determining the target virtual character to be merged based on the character selection information corresponding to the target travel scene image and / or the video script includes: Based on the character selection information corresponding to the target travel scene image and / or the travel scene described in the video script, the virtual character information corresponding to the virtual character in the virtual character library is matched, and the target virtual character is determined according to the matching result; the character selection information includes at least one of the following: number of characters, character type, and recommended clothing for the character; Among them, when determining the target virtual character based on the character selection information, the number of characters is used to determine the number of target virtual characters, and / or, the character type is used to select virtual characters that match the corresponding character type, and / or, the recommended character clothing is used to select virtual characters that match the recommended character clothing. When determining the target virtual character based on the travel scene described in the video script, if the virtual character's identity meets the identity requirements of the travel scene, the matching degree between the virtual character and the travel scene is increased, and / or, if the virtual character's characteristics meet the requirements of the travel scene for character characteristics, the matching degree between the virtual character and the travel scene is increased, and / or, if the virtual character's virtual travel footprint information is associated with the travel scene, the matching degree between the virtual character and the travel scene is increased. The virtual travel footprint information of the virtual character is associated with the travel scene, including at least one of the following: the virtual character's historical virtual travel record contains the travel destinations or travel products involved in the travel scene; the virtual character's historical virtual travel record contains associated travel destinations or travel products associated with the travel destinations or travel products involved in the travel scene. Among them, the information on the realism of the characters and / or the audience's acceptance is used to further filter the virtual characters when there are multiple virtual characters that match the video script and / or the character selection information.
7. The method according to claim 1, characterized in that, The step of fusing the target virtual character into the character fusion area of the target travel scene image based on the character fusion method information corresponding to the target travel scene image, to obtain a character-fused travel scene image, includes: Based on at least one of the character recommendation setting position, character recommendation size, and character recommendation action indicated by the character fusion method information corresponding to the target travel scene image, determine the character presentation method of the target virtual character in the target travel scene image, and merge the target virtual character into the character fusion area in the target travel scene image according to the corresponding character presentation method; The specific actions used by the target virtual character are determined from a character action library based on the recommended actions indicated by the travel scene described in the video script and the character fusion method information. The character action library includes multiple specific actions used for virtual character presentation, and the specific actions in the character action library are used to implement the recommended actions indicated by the character fusion method information. The character action library is constructed and maintained according to the travel scene character synthesis strategy, which is used to represent the correspondence between different travel scenes and specific character actions. And / or, The method of generating travel scene videos based on people-integrated travel scene images includes: For the featured scenes that need to be highlighted in the video script, multiple images of the characters blending into the travel scene are generated based on the images of the characters blending into the travel scene. This ensures that the featured scenes are presented from different camera angles while maintaining the integration of the target virtual character with the travel scene. For images of people merging into travel scenes that do not require multi-camera angle display, video clips are generated based on the corresponding images. For special scene content that requires multi-camera angle display, multiple images of people merging into travel scenes with different camera angles are generated for the corresponding special scene content, and video clips are generated to display the special scene content. Organize the video clips according to the order in which the video content is presented as indicated by the video script to obtain the video content of the travel scene video; The video footage of the travel scene is combined with other video content to obtain the travel scene video. The other video content includes at least one of the following: subtitles, narration, and background music.
8. The method according to claim 2, characterized in that, The initial screening of travel scene images that match the content of the image with the content of the video script includes: Based on the script content of the video script, as well as the basic tag information and / or image content description information of the travel scene images, identify the initial screening of travel scene images that match the script content from the travel scene images; And / or, The process of generating a video script based on the travel theme includes: When a travel theme corresponds to a specific travel product, an AI-generated video script is invoked based on the travel theme and the travel product's associated information. The associated travel product information includes at least one of the following: basic travel product information, travel product highlight information, user reviews, and travel sharing content. Basic travel product information describes the basic features of the travel product; travel product highlight information describes the unique features or content-showcasing value of the travel product; user reviews are user evaluations of the travel product; and travel sharing content is content shared by content creators related to the travel product. And / or, obtain the travel scene script generation strategy, and call AI to generate video scripts based on the travel theme and the travel scene script generation strategy; wherein, the travel scene script generation strategy is used to indicate the script content generation strategy adopted when generating video scripts for specific scene characteristics in specific travel scenarios, including at least one of the following: content presentation purpose information, target age group information, picture emotion information, composition and character action information, clothing information, core scene information, environmental facilities or props information, and lighting and atmosphere information; And / or, The travel themes corresponding to the travel scene videos to be generated include: The travel topics are obtained from travel hotspots on travel transaction service platforms and / or social networking platforms; and / or, travel topics are obtained from internal staff of travel transaction service platforms; and / or, travel topics are obtained from users of travel transaction service platforms. Travel topics are divided into specific topics and generalized topics. Specific topics limit specific travel locations and / or specific travel products, while generalized topics limit the scope or direction of travel content, but do not limit specific travel locations and specific travel products.
9. The method according to claim 1, characterized in that, Also includes: Establish corresponding character profiles for virtual characters, and maintain the corresponding virtual character information and related resources through the character profiles; the character profiles include at least one of the following: basic character profile information, commercial value and scene matching information, language expression information, personality and behavior information, AI raw image reference resources, speech synthesis information, character clothing information, and virtual travel footprint information; And / or, When the content positioning of the page or channel of the travel transaction service platform corresponds to the travel theme, travel scene videos generated based on the travel theme will be displayed or placed on the corresponding page or channel; And / or, Basic image quality filtering is performed on travel scene images stored in the image library or travel scene images provided in real time to filter out travel scene images that do not meet the preset basic image quality requirements. For travel scene images that pass the basic image quality filtering, a multimodal scoring model is used for multidimensional analysis to obtain at least one of the following information corresponding to the travel scene image: character fusion score, iconic content score, content attractiveness score, shot scene recognition result, and scene emotion recognition result. Among them, the multimodal scoring model is an artificial intelligence model used for multidimensional image understanding, scoring, and recognition of travel scene images. The multimodal scoring model processes travel scene images stored in the image library in an offline calculation manner, and / or processes travel scene images provided in real time in a real-time calculation manner. And / or, When generating video clips corresponding to images of people blending into travel scenes, the corresponding virtual camera movement information is obtained so that video clips corresponding to images of people blending into travel scenes can be generated based on the images of people blending into travel scenes and the virtual camera movement information. The shot description in the video script describes the shot presentation method of the corresponding video content and is used to determine the virtual camera movement information used when generating the corresponding video clip. The virtual camera movement information is used to indicate the virtual camera movement method simulated when generating the video clip, including at least one of the following: camera position movement information, movement direction information, camera position angle information, movement speed or amplitude information, shot style information, and simulation equipment information.
10. A computer program product, characterized in that, It includes computer execution instructions, which, when executed by a processor, implement the travel scene video generation method as described in any one of claims 1-9.
