CN-121980048-A - Display method and device and electronic equipment
Abstract
The disclosure provides a display method, a display device and electronic equipment, and relates to the technical fields of computer vision, image processing and the like. The method comprises the steps of determining a representative image from an original image of a first object according to a target display template selected by the first object, generating first display content according to the representative image by adopting the target display template, generating second display content according to the target representative image displayed by the first display content, wherein the second display content is used for displaying content extraction information of the target representative image, and displaying the first display content and the second display content.
Inventors
- CHEN SI
- NIU MUCHEN
- YANG LIU
Assignees
- 北京百度网讯科技有限公司
Dates
- Publication Date
- 20260505
- Application Date
- 20251219
Claims (19)
- 1. A display method, the method comprising: determining a representative image from an original image of a first object according to a target display template selected by the first object; generating first display content by adopting the target display template according to the representative image; Generating second display content according to the target representative image displayed by the first display content, wherein the second display content is used for displaying content extraction information of the target representative image; And displaying the first display content and the second display content.
- 2. The method of claim 1, wherein the generating a second presentation content from the target representative image presented by the first presentation content comprises: determining first content refinement information related to an object according to a second object existing in the target representative image or an object tag of the target representative image; determining second content extraction information related to scene support according to the first content extraction information and the association relation between a preset object and the scene support information; determining third content refinement information associated with the location based on the location tag of the target representative image; Generating the second presentation content according to at least one of the first content refinement information, the second content refinement information, and the third content refinement information.
- 3. The method of claim 2, wherein the determining the first content refinement information related to the object based on the second object present in the target representative image or the object tag of the target representative image comprises: Determining a third object from the second objects present in the target representative image in response to the second objects present in the target representative image; generating the first content refinement information according to the target representative image of the third object existing in the target representative image; determining a target object label according to the object label of the target representative image and setting an object label display order in response to the second object not being present in the target representative image; and generating the first content extraction information according to the first object and the object matched with the target object label.
- 4. A method according to claim 3, wherein said determining a third object from the second objects present in the target representative image comprises: Determining a first set number of second objects with highest occurrence frequency as the third object according to the occurrence frequency of the second objects in the target representative image, or And randomly selecting the first set number of second objects from the second objects existing in the target representative image as the third objects.
- 5. A method according to claim 3, wherein the first content refinement information comprises an object field and field content of the object field, the field content of the object field comprising any one of: A target representative image of the third object is present in the target representative image; and generating object description text based on the first object and the object matched with the target object label.
- 6. The method of claim 2, wherein the determining the second content refinement information related to the scene support according to the first content refinement information and the association relationship between the preset object and the scene support information comprises: determining target scene support information associated with the object indicated by the first content extraction information according to an association relation between a preset object and the scene support information; and generating the second content extraction information according to the target scene support information.
- 7. The method of claim 6, wherein the second content refinement information comprises a scene support field and field content of the scene support field, the field content of the scene support field comprising the target scene support information.
- 8. The method of claim 2, wherein the determining third content refinement information related to a location from a location tag of the target representative image comprises: performing aggregation processing on the places indicated by the place labels of the target representative images to obtain a place result list; and generating the third content extraction information according to the place result list.
- 9. The method of claim 8, wherein the third content refinement information includes a place field and field content of the place field, the field content of the place field including any of: The target places are determined based on the place result list, wherein the target places comprise a second set number of places with highest occurrence frequency indicated by the place result list or the second set number of places randomly selected from the place result list; and generating place description text based on the place result list.
- 10. The method of claim 1, wherein the determining a representative image from the original image of the first object according to the target presentation template selected by the first object comprises: Extracting features of an original image of the first object to obtain a feature tag of the original image; Determining a representative score of the original image according to the characteristic label of the original image and label weight setting information corresponding to the target display template; and determining a representative image from the original image according to the representative score of the original image.
- 11. The method of claim 1, wherein the generating a first presentation from the representative image using the target presentation template comprises: and filling the representative image into a corresponding position in the target display template to generate the first display content.
- 12. The method of any one of claims 1-11, wherein the method further comprises: Displaying a preset display template to the first object, wherein the display template comprises a template description keyword and a template example graph; And acquiring a target display template selected by the first object from the preset display templates.
- 13. The method of any one of claims 1-11, wherein the method further comprises: determining a target original image with a characteristic tag comprising a target tag from the original image; Generating video display content according to the target original image; And displaying the video display content.
- 14. The method of any one of claims 1-11, wherein the method further comprises: storing the content to be stored indicated by the storing operation to a target storage space in response to the storing operation of the first object, wherein the content to be stored comprises at least part of the first display content and/or the second display content, and the target storage space is the storage space indicated by the storing operation; The method comprises the steps of responding to sharing operation of a first object, and storing content to be shared indicated by the sharing operation to a target application, wherein the content to be shared comprises at least part of the first display content and/or the second display content, and the target application is the application indicated by the sharing operation; And replacing the replacement image in the first display content saved by the save operation or shared by the sharing operation by adopting the target image indicated by the image replacement operation in response to the image replacement operation executed by the first object in the save operation execution process or the sharing operation execution process.
- 15. The method of any one of claims 1-11, wherein the method further comprises: Selecting at least part of the original images from the original images for display, and/or, Determining a matched target entry template from a preset entry template library according to the characteristic label of the original image, and filling the content to be filled in the target entry template to generate corresponding entry information; And displaying the entry information.
- 16. A display device, the device comprising: The first determining module is used for determining a representative image from an original image of a first object according to a target display template selected by the first object; The first generation module is used for generating first display content by adopting the target display template according to the representative image; The second generation module is used for generating second display content according to the target representative image displayed by the first display content, wherein the second display content is used for displaying content extraction information of the target representative image; and the first display module is used for displaying the first display content and the second display content.
- 17. An electronic device, comprising: at least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-15.
- 18. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-15.
- 19. A computer program product comprising computer programs/instructions which, when executed by a processor, implement the method of any of claims 1-15.
Description
Display method and device and electronic equipment Technical Field The disclosure relates to the technical fields of computer vision, image processing and the like, and in particular relates to a display method, a display device and electronic equipment. Background In the related art, an album or cloud storage application cannot generate a personalized annual review from annual images stored by a user. The method and the system lead users to be difficult to trace back the annual images conveniently and efficiently, meanwhile, the display content with emotion resonance value and social propagation attribute can not be generated based on the personal images accumulated by the users, and further the requirements of the users on the integrated review and social sharing of the individual annual memories can not be met. Disclosure of Invention The disclosure provides a display method, a display device and electronic equipment. According to one aspect of the disclosure, a display method is provided, and the method comprises the steps of determining a representative image from an original image of a first object according to a target display template selected by the first object, generating first display content according to the representative image by adopting the target display template, generating second display content according to a target representative image displayed by the first display content, wherein the second display content is used for displaying content extraction information of the target representative image, and displaying the first display content and the second display content. According to another aspect of the disclosure, a display device is provided, and the device comprises a first determining module, a first generating module, a second generating module and a first display module, wherein the first determining module is used for determining a representative image from an original image of a first object according to a target display template selected by the first object, the first generating module is used for generating first display content according to the representative image by adopting the target display template, the second generating module is used for generating second display content according to the target representative image displayed by the first display content, the second display content is used for displaying content extraction information of the target representative image, and the first display module is used for displaying the first display content and the second display content. According to another aspect of the present disclosure, there is provided an electronic device comprising at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the presentation method set forth above in the present disclosure. According to another aspect of the present disclosure, there is provided a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the presentation method set forth above in the present disclosure. According to another aspect of the present disclosure, there is provided a computer program product comprising a computer program/instruction which, when executed by a processor, implements the presentation method set forth above in the present disclosure. It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification. Drawings The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein: fig. 1 is a schematic flow chart of a display method according to an embodiment of the disclosure; FIG. 2 (a) is a schematic diagram of a display template according to an embodiment of the present disclosure; FIG. 2 (b) is a schematic diagram of a second display provided by an embodiment of the present disclosure; Fig. 3 is a flow chart of another display method according to an embodiment of the disclosure; fig. 4 is a flow chart of another display method according to an embodiment of the disclosure; Fig. 5 is a schematic structural diagram of a display device according to an embodiment of the disclosure; fig. 6 illustrates a schematic block diagram of an example electronic device 600 that may be used to implement embodiments of the present disclosure. Detailed Description Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one