Method and terminal for generating a specific party scene album
By collecting and identifying party scene information, the system automatically selects templates to generate commemorative albums for specific party scenes, solving the inefficiency problem of user-initiated uploading and editing in existing technologies, and achieving fast and efficient commemorative album generation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-29
- Publication Date
- 2026-04-10
AI Technical Summary
Current technologies require users to actively upload photos and edit text to create commemorative albums for specific party scenes, which has a high barrier to entry and is inefficient as it needs to be manually generated after the party ends.
By collecting information on the venue, meeting time, users, and behaviors, the system uses scene recognition algorithms to automatically identify the meeting scene and select the corresponding preset template to generate a commemorative album, thereby reducing user engagement.
It enables the rapid and efficient generation of commemorative albums for specific party scenes without the user's awareness, lowering the production threshold and improving the accuracy and efficiency of generation.
Smart Images

Figure CN114820896B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of picture and text data processing, and particularly relates to a specific party scene album generation method and terminal. BACKGROUND
[0002] Generating a video based on picture and text information can greatly improve the display effect of information, such as wedding invitations, birthday MVs and related album making, and in the prior art, users often need to actively upload pictures and edit scripts, then select templates and music, and the production threshold is high, and after the process of entertainment ends, the user manually generates an album or a video according to the party scene. SUMMARY
[0003] The technical problem to be solved by the present application is to provide a specific party scene album generation method and terminal, which can quickly and efficiently generate a specific party scene album.
[0004] To solve the above technical problems, one technical solution adopted by the present application is:
[0005] A specific party scene album generation method, comprising the steps of:
[0006] Collecting place information, party time information, user information, consumption information and behavior information;
[0007] Using a scene recognition algorithm to recognize the place information, party time information, user information, consumption information and behavior information to obtain a party scene;
[0008] Selecting a target preset template corresponding to the party scene;
[0009] Generating a party album based on the place information, party time information, user information, consumption information and behavior information and the target preset template.
[0010] To solve the above technical problems, another technical solution adopted by the present application is:
[0011] A specific party scene album generation terminal, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the following steps:
[0012] Collecting place information, party time information, user information, consumption information and behavior information;
[0013] Using a scene recognition algorithm to recognize the place information, party time information, user information, consumption information and behavior information to obtain a party scene;
[0014] select a target preset template corresponding to the gathering scene;
[0015] generate a gathering album based on the place information, gathering time information, user information, consumption information and behavior information and the target preset template.
[0016] The present application has the beneficial effect that: according to the collected place information, gathering time information, user information, consumption information and behavior information, a scene recognition algorithm is used for recognition to obtain a gathering scene, a target preset template corresponding to the gathering scene is selected, and a gathering album is generated based on the place information, gathering time information, user information, consumption information and behavior information and the target preset template, realizing automatic recognition of the gathering scene, and under the condition that the user is not aware, a specific gathering scene album is quickly and efficiently generated according to the gathering scene and the information collected during the gathering process, and the production threshold of the album is reduced. BRIEF DESCRIPTION OF DRAWINGS
[0017] Figure 1 A step flow chart of a specific gathering scene album generation method according to an embodiment of the present application;
[0018] Figure 2 A structural schematic diagram of a specific gathering scene album generation terminal according to an embodiment of the present application. DETAILED DESCRIPTION
[0019] To explain the technical content, the achieved purposes and effects of the present application in detail, the following will be explained in combination with the embodiments and the drawings.
[0020] Please refer to Figure 1 The embodiment of the present application provides a specific gathering scene album generation method, which comprises the following steps:
[0021] collecting place information, gathering time information, user information, consumption information and behavior information;
[0022] recognition is performed according to the place information, gathering time information, user information, consumption information and behavior information using a scene recognition algorithm to obtain a gathering scene;
[0023] selecting a target preset template corresponding to the gathering scene;
[0024] generating a gathering album based on the place information, gathering time information, user information, consumption information and behavior information and the target preset template.
[0025] From the above description, the beneficial effects of the present application are that: according to the collected place information, gathering time information, user information, consumption information and behavior information, the scene recognition algorithm is used for recognition, the gathering scene is obtained, the target preset template corresponding to the gathering scene is selected, and the gathering album is generated based on the place information, gathering time information, user information, consumption information and behavior information and the target preset template, the automatic identification of the gathering scene is realized, and in the case that the user is not aware, the specific gathering scene album is quickly and efficiently generated according to the gathering scene and the information collected in the gathering process, and the production threshold of the album is reduced.
[0026] Further, the user information includes age and user pictures;
[0027] The consumption information includes liquor purchase information, VIP purchase information and virtual payment behavior information;
[0028] The place information includes box type;
[0029] The behavior information includes text information, song ordering information and song information;
[0030] The gathering scene includes birthday party, class reunion and business meeting;
[0031] The gathering scene is obtained by using the scene recognition algorithm according to the place information, gathering time information, user information, consumption information and behavior information, including:
[0032] Determine whether the place information, user pictures and song information contain birthday elements, if yes, identify as the birthday party;
[0033] Determine the consumption capacity according to the liquor purchase information, VIP purchase information and virtual payment behavior information;
[0034] Determine whether the consumption capacity exceeds the preset threshold, whether the age meets the preset age range and whether the gathering time information meets the preset time range, if all are yes, identify as the class reunion;
[0035] Determine whether the box type is a business box, whether the consumption capacity exceeds the preset threshold, whether there is a preset title in the text information and whether the song ordering information meets the auxiliary song ordering, if all are yes, identify as the business meeting.
[0036] From the above description, different gathering scenes are identified by different place information, gathering time information, user information, consumption information and behavior information, including birthday party, class reunion and business meeting, the gathering scene is accurately and efficiently identified, so that the corresponding album is generated for the specific gathering scene in the subsequent, and the accuracy of generating the specific gathering scene album is improved.
[0037] Further, the generating the party album based on the place information, the party time information, the user information, the consumption information and the behavior information and the target preset template comprises:
[0038] determining an element corresponding to the party scene;
[0039] screening target behavior information related to the element from the behavior information;
[0040] determining a preset sentence related to the element from a preset database;
[0041] generating the party album according to the target behavior information, the preset sentence and the target preset template.
[0042] As can be seen from the above description, the element corresponding to the party scene is determined, the target behavior information related to the element is screened from the behavior information, the preset sentence related to the element is determined from the preset database, and the party album is generated according to the target behavior information, the preset sentence and the target preset template, so that the information collected in the party process is utilized to quickly generate the album conforming to the party scene, the preset sentence related to the element is added, and the content of the party album is more abundant.
[0043] Further, the collecting the place information, the party time information, the user information, the consumption information and the behavior information comprises:
[0044] receiving a preset template generation request;
[0045] generating a plurality of preset templates using a canvas animation or an animation command of a white egret engine according to the preset template generation request;
[0046] The generating the party album based on the target behavior information, the preset sentence and the target preset template comprises:
[0047] filling the target behavior information and the preset sentence into animation elements in the target preset template to obtain the party album.
[0048] As can be seen from the above description, the preset template is generated using the canvas animation or the animation command of the white egret engine, the target behavior information and the preset sentence are filled into the animation elements in the target preset template to obtain the party album, and the album has better animation effect.
[0049] Further, the element comprises a birthday element;
[0050] The preset sentence comprises a first preset sentence;
[0051] The selecting the target preset template corresponding to the gathering scene comprises:
[0052] The first target preset template corresponding to the birthday party is selected.
[0053] The filtering the target behavior information related to the element from the behavior information comprises:
[0054] The first target graphic information and the first target song information related to the birthday element are filtered from the graphic information and the song information.
[0055] The generating the gathering memorial album according to the target behavior information, the preset sentence and the target preset template comprises:
[0056] The birthday gathering memorial album is generated according to the first target graphic information, the first target song information, the first target preset template and the first preset sentence.
[0057] From the above description, when it is a birthday party, the information related to the birthday element can be automatically filtered from the graphic information and the song information, and the birthday gathering memorial album is generated according to the filtered information, the preset sentence and the selected template, without being manually generated by the user after the party, so that the birthday gathering memorial album is quickly generated.
[0058] Further, the element comprises a campus element.
[0059] The preset sentence comprises a second preset sentence.
[0060] The selecting the target preset template corresponding to the gathering scene comprises:
[0061] The second target preset template corresponding to the classmate gathering is selected.
[0062] The filtering the target behavior information related to the element from the behavior information comprises:
[0063] The second target graphic information and the second target song information related to the campus element are filtered from the graphic information and the song information.
[0064] The generating the gathering memorial album according to the target behavior information, the preset sentence and the target preset template comprises:
[0065] The classmate gathering memorial album is generated according to the second target graphic information, the second target song information, the second target preset template and the second preset sentence.
[0066] From the above description, in addition to the birthday party album, when a class reunion is identified, a class reunion album can also be automatically generated according to the screened information related to the campus element, the target preset template and the preset sentence, so as to quickly and efficiently generate a specific party scene album.
[0067] Further, the element includes a business element;
[0068] The preset sentence includes a third preset sentence;
[0069] The selecting a target preset template corresponding to the party scene includes:
[0070] Selecting a third target preset template corresponding to the business party;
[0071] The screening target behavior information related to the element from the behavior information includes:
[0072] Screening third target text information and third target song information related to the business element from the text information and the song information, and screening target consumption information related to the business element from the consumption information;
[0073] The generating a party album according to the target behavior information, the preset sentence and the target preset template includes:
[0074] Generating a business party album according to the third target text information, the third target song information, the target consumption information, the third target preset template and the third preset sentence.
[0075] From the above description, when a business party is identified, a business party album can also be generated according to the third target text information, the third target song information, the target consumption information, the third target preset template and the third preset sentence, so as to realize the automatic generation of the business party album.
[0076] Further, the generating a party album based on the place information, the party time information, the user information, the consumption information and the behavior information and the target preset template includes:
[0077] Sending the party album to the user end;
[0078] Obtaining party scene modification information corresponding to the user end;
[0079] Optimizing the scene recognition algorithm according to the party scene modification information to obtain an optimized scene recognition algorithm.
[0080] According to the above description, after generating the party album, the party album is sent to the user end and displayed to the user. If the user thinks that the party scene is wrong, the user can change the scene, obtain the party scene modification information corresponding to the user end, and optimize the scene recognition algorithm according to the party scene modification information. The scene recognition algorithm can be continuously improved to improve the accuracy of scene recognition and the accuracy of the generated specific party scene album.
[0081] Further, the optimizing the scene recognition algorithm according to the party scene modification information comprises:
[0082] According to the party scene modification information, the scene recognition algorithm is marked as a scene recognition failure;
[0083] Obtaining missing information corresponding to the scene recognition failure, and optimizing the scene recognition algorithm according to the missing information to obtain an optimized scene recognition algorithm.
[0084] According to the above description, the scene recognition algorithm is marked as a scene recognition failure according to the party scene modification information, the missing information corresponding to the scene recognition failure is obtained, and the scene recognition algorithm is optimized according to the missing information, so as to achieve better optimization effect.
[0085] Please refer to Figure 2 Another embodiment of the present application provides a specific party scene album generation terminal, which comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, each step of the specific party scene album generation method is implemented.
[0086] The specific party scene album generation method and terminal described above can be applied to specific party scenes, such as birthday parties, class reunions, and business meetings. The following will be described through specific embodiments:
[0087] Embodiment one
[0088] Please refer to Figure 1 The specific party scene album generation method of the present embodiment comprises the following steps:
[0089] S01, receiving a preset template generation request;
[0090] S02, generating a plurality of preset templates according to the preset template generation request using canvas animation or animation commands of White Egret Engine;
[0091] Among the plurality of preset templates, the elements of the animation command operation are left empty;
[0092] S1, collecting venue information, gathering time information, user information, consumption information and behavior information;
[0093] The user information includes age and user pictures;
[0094] The consumption information includes beverage purchase information, VIP purchase information and virtual payment behavior information;
[0095] The venue information includes box type;
[0096] The behavior information includes text information, song ordering information and song information;
[0097] The gathering scene includes birthday party, class reunion and business gathering;
[0098] Specifically, when a user rents a box, the user scans a two-dimensional code on a television screen or a set-top box using a mobile terminal (such as a mobile phone) or an application (such as WeChat) on the mobile terminal to complete box binding, and the venue information, gathering time information, user information, consumption information and behavior information collected during the entire gathering process are bound to the user;
[0099] S2, using a scene recognition algorithm to recognize the venue information, gathering time information, user information, consumption information and behavior information to obtain a gathering scene, specifically including:
[0100] S21, determining whether the venue information, user pictures and song information contain birthday elements, and if so, recognizing the gathering as a birthday party;
[0101] The birthday elements include cake elements, candle elements or birthday elements;
[0102] Specifically, determining whether the box type is the birthday element, whether the user pictures contain the cake element, candle element or birthday element, and whether the song information contains the birthday element, and if all are yes, recognizing the gathering as a birthday party;
[0103] For example, when the box type is a birthday theme, the user pictures contain a cake, a candle or birthday text, and the song label in the song information contains a birthday label, the gathering is recognized as a birthday party. In an optional embodiment, a picture recognition algorithm can be used to determine whether the user pictures contain the cake element, candle element or birthday element;
[0104] S22, determining consumption ability according to the beverage purchase information, VIP purchase information and virtual payment behavior information. In an optional embodiment, the virtual payment behavior information is screen-dominating blessing;
[0105] S23, judging whether the consumption ability is not more than a preset threshold, whether the age is in a preset age range, and whether the gathering time information is in a preset time period, and if all are, identifying as the class reunion;
[0106] The preset threshold is a preset high consumption ability threshold, and the preset time period is a weekend daytime time period.
[0107] For example, when the consumption ability is not more than the preset high consumption ability threshold, the age is in the preset age range, and the gathering time information is in the weekend daytime time period, the class reunion is identified.
[0108] In an optional implementation, it is further judged whether the user picture contains class information or score information, and if all are, the class reunion is identified.
[0109] S24, judging whether the box type is a business box, whether the consumption ability is more than a preset threshold, whether a preset title exists in the graphic text information, and whether the song ordering information is in auxiliary song ordering, and if all are, identifying as the business gathering;
[0110] The preset title is a business title.
[0111] For example, when the box type is a business box, the consumption ability is more than the preset threshold, the business title exists in the graphic text information, and the song ordering is assisted by others, the business gathering is identified.
[0112] In another optional implementation, the song ordering information further includes a song ordering number, and the S21 further includes S20, judging whether the song ordering number is greater than or equal to a preset number, and if yes, the S21 is executed, and if no, it is determined that the current is not a gathering scene; the preset number is 1.
[0113] S3, selecting a target preset template corresponding to the gathering scene, specifically including:
[0114] S31, selecting a first target preset template corresponding to the birthday gathering;
[0115] S32, selecting a second target preset template corresponding to the class reunion;
[0116] S33, selecting a third target preset template corresponding to the business gathering;
[0117] S4, generating a gathering commemorative album based on the place information, gathering time information, user information, consumption information and behavior information, and the target preset template, specifically including:
[0118] S41, determining an element corresponding to the gathering scene;
[0119] The elements include a birthday element, a campus element, and a business element;
[0120] For example, when it is a birthday party, the birthday element is determined, when it is a class reunion, the campus element is determined, and when it is a business element, the business element is determined;
[0121] S42, screening target behavior information related to the element from the behavior information, specifically including:
[0122] S421, screening first target text information and first target song information related to the birthday element from the text information and the song information;
[0123] For example, the text information including the birthday element and the song information with the birthday label are screened from the text information and the song information;
[0124] S422, screening second target text information and second target song information related to the campus element from the text information and the song information;
[0125] For example, the text information containing the campus or friendship and the song information with the campus or friendship label are screened from the text information and the song information;
[0126] S423, screening third target text information and third target song information related to the business element from the text information and the song information, and screening target consumption information related to the business element from the consumption information;
[0127] For example, the text information and song information related to wealth, blessing or work are screened from the text information and the song information, and the consumption information showing the consumption ability is screened;
[0128] S43, determining a preset sentence related to the element from a preset database;
[0129] The preset sentence includes a first preset sentence, a second preset sentence, and a third preset sentence; the first preset sentence is a birthday blessing, the second preset sentence is a friendship blessing, and the third preset sentence is a success or wealth blessing;
[0130] S44, generating a party album according to the target behavior information, the preset sentence, and the target preset template;
[0131] Specifically, the target behavior information and the preset sentence are filled into the animation element in the target preset template to obtain the party album, specifically including:
[0132] S441, generating a birthday party album according to the first target graphic information, the first target song information, the first target preset template and the first preset sentence;
[0133] S442, generating a class reunion album according to the second target graphic information, the second target song information, the second target preset template and the second preset sentence;
[0134] S443, generating a business party album according to the third target graphic information, the third target song information, the target consumption information, the third target preset template and the third preset sentence;
[0135] In another optional implementation, a business party album is generated according to the third target graphic information, the third target song information, the target consumption information, the third target preset template, the third preset sentence and a preset business animation, wherein the business animation includes a shopping mall celebration success animation.
[0136] S5, sending the party album to a user end;
[0137] S6, obtaining party scene modification information corresponding to the user end;
[0138] S7, optimizing the scene recognition algorithm according to the party scene modification information to obtain an optimized scene recognition algorithm, and the optimization specifically includes:
[0139] S71, marking the scene recognition algorithm as scene recognition failure according to the party scene modification information;
[0140] S72, obtaining missing information corresponding to the scene recognition failure, and optimizing the scene recognition algorithm according to the missing information to obtain an optimized scene recognition algorithm;
[0141] Specifically, the missing information corresponding to the scene recognition failure is obtained by manually intervening in the scene recognition, if the missing information can be obtained by user research if the manual intervention fails to determine, and the scene recognition algorithm is optimized according to the missing information to obtain an optimized scene recognition algorithm.
[0142] Embodiment Two
[0143] Please refer to Figure 2 The specific party scene album generation terminal of the embodiment includes a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements each step in the specific party scene album generation method of Embodiment One when executing the computer program.
[0144] In summary, the application provides a specific gathering scene album generation method and terminal, collects place information, gathering time information, user information, consumption information and behavior information; according to the place information, gathering time information, user information, consumption information and behavior information, a scene recognition algorithm is used for recognition to obtain a gathering scene, different gathering scenes are identified by different place information, gathering time information, user information, consumption information and behavior information, including birthday party, class reunion and business meeting, accurate and efficient identification of the gathering scene is realized; a target preset template corresponding to the gathering scene is selected; when generating a gathering album, an element corresponding to the gathering scene is determined; target behavior information related to the element is screened from the behavior information; a preset statement related to the element is determined from a preset database; a gathering album is generated according to the target behavior information, the preset statement and the target preset template, a gathering scene-compliant album is quickly generated, the preset statement related to the element is added, the content of the gathering album is more abundant; after generating the gathering album, the gathering album is sent to the user end and displayed to the user, if the user thinks that the gathering scene is wrong, the scene can be changed, gathering scene modification information corresponding to the user end is obtained, the scene recognition algorithm is optimized according to the gathering scene modification information, the scene recognition algorithm can be continuously improved, the accuracy of scene recognition is improved, and the accuracy of the specific gathering scene album generated is improved, so that the specific gathering scene album is quickly and efficiently generated.
[0145] The above is only an embodiment of the application, and does not limit the patent scope of the application, and any equivalent transformation or direct or indirect application in the related technical field using the content of the specification and drawings is also included in the patent protection scope of the application.
Claims
1. A method for generating a specific gathering scene album, characterized by, The method comprises the steps of: collecting venue information, gathering time information, user information, consumption information and behavior information; identifying a gathering scenario according to the venue information, gathering time information, user information, consumption information and behavior information using a scene recognition algorithm; selecting a target preset template corresponding to the gathering scenario; generating a gathering album based on the venue information, gathering time information, user information, consumption information and behavior information and the target preset template; the user information includes age and user pictures; the consumption information includes beverage purchase information, VIP purchase information and virtual payment behavior information; the venue information includes box type; the behavior information includes text and picture information, song ordering information and song information; the gathering scenario includes birthday party, class reunion and business gathering; the identification of the gathering scenario according to the venue information, gathering time information, user information, consumption information and behavior information includes: determining whether the venue information, user pictures and song information contain birthday elements, and if so, identifying the birthday party; determining the consumption capacity according to the beverage purchase information, VIP purchase information and virtual payment behavior information; determining whether the consumption capacity does not exceed a preset threshold, the age meets a preset age range and the gathering time information meets a preset time range, and if so, identifying the class reunion; determining whether the box type is a business box, the consumption capacity exceeds a preset threshold, a preset title exists in the text and picture information and the song ordering information meets auxiliary song ordering, and if so, identifying the business gathering; the generation of the gathering album based on the venue information, gathering time information, user information, consumption information and behavior information and the target preset template includes: determining an element corresponding to the gathering scenario; screening target behavior information related to the element from the behavior information; determining a preset statement related to the element from a preset database; generating a gathering album according to the target behavior information, the preset statement and the target preset template; the collection of the venue information, gathering time information, user information, consumption information and behavior information includes: receiving a preset template generation request; generating a plurality of preset templates using canvas animation or animation commands of White Egret Engine according to the preset template generation request; the generation of the gathering album according to the target behavior information, the preset statement and the target preset template includes: filling the target behavior information and the preset statement into animation elements in the target preset template to obtain a gathering album.
2. The method of claim 1, wherein, the element includes a birthday element; the preset statement includes a first preset statement; the selection of the target preset template corresponding to the gathering scenario includes: selecting a first target preset template corresponding to the birthday party; the screening of the target behavior information related to the element from the behavior information includes: screening first target text and picture information and first target song information related to the birthday element from the text and picture information and the song information. The generating the reunion memorial album according to the target behavior information, the preset sentence and the target preset template comprises: The generating the birthday reunion memorial album according to the first target graphic information, the first target song information, the first target preset template and the first preset sentence.
3. The method of claim 1, wherein the specific gathering scene album is generated by: The element comprises a campus element; The preset sentence comprises a second preset sentence; The selecting the target preset template corresponding to the reunion scene comprises: The selecting the second target preset template corresponding to the classmate reunion; The screening the target behavior information related to the element from the behavior information comprises: The screening the second target graphic information and the second target song information related to the campus element from the graphic information and the song information; The generating the reunion memorial album according to the target behavior information, the preset sentence and the target preset template comprises: The generating the classmate reunion memorial album according to the second target graphic information, the second target song information, the second target preset template and the second preset sentence.
4. The method of claim 1, wherein the specific gathering scene album is generated by a specific gathering scene album generation server. The element comprises a business element; The preset sentence comprises a third preset sentence; The selecting the target preset template corresponding to the reunion scene comprises: The selecting the third target preset template corresponding to the business reunion; The screening the target behavior information related to the element from the behavior information comprises: The screening the third target graphic information and the third target song information related to the business element from the graphic information and the song information, and the screening the target consumption information related to the business element from the consumption information; The generating the reunion memorial album according to the target behavior information, the preset sentence and the target preset template comprises: The generating the business reunion memorial album according to the third target graphic information, the third target song information, the target consumption information, the third target preset template and the third preset sentence.
5. The method of claim 1, wherein the specific gathering scene album is generated by a method comprising: The generating the reunion memorial album based on the place information, reunion time information, user information, consumption information and behavior information and the target preset template comprises: The sending the reunion memorial album to the user end; The obtaining the reunion scene modification information corresponding to the user end; The optimizing the scene recognition algorithm according to the reunion scene modification information to obtain an optimized scene recognition algorithm.
6. The method of claim 5, wherein, The optimizing the scene recognition algorithm according to the reunion scene modification information to obtain an optimized scene recognition algorithm comprises: The marking the scene recognition algorithm as a scene recognition failure according to the reunion scene modification information; The obtaining the missing information corresponding to the scene recognition failure, and the optimizing the scene recognition algorithm according to the missing information to obtain an optimized scene recognition algorithm.
7. A specific gathering scene album generation terminal comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the computer program to realize each step in the generating method of a specific reunion scene memorial album in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and device for generating photo album
CN105528444A
Travel journal generation method and mobile terminal
CN107291959A
System and method for intelligently recording daily traces
CN109829080A
Personalized video-on-demand system, method and device
CN110401856A