CN111462279A - Image display method, device, equipment and readable storage medium - Google Patents

Image display method, device, equipment and readable storage medium Download PDF

Info

Publication number
CN111462279A
CN111462279A CN201910049729.0A CN201910049729A CN111462279A CN 111462279 A CN111462279 A CN 111462279A CN 201910049729 A CN201910049729 A CN 201910049729A CN 111462279 A CN111462279 A CN 111462279A
Authority
CN
China
Prior art keywords
display
image
target
configuration information
target object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910049729.0A
Other languages
Chinese (zh)
Other versions
CN111462279B (en
Inventor
原英虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910049729.0A priority Critical patent/CN111462279B/en
Publication of CN111462279A publication Critical patent/CN111462279A/en
Application granted granted Critical
Publication of CN111462279B publication Critical patent/CN111462279B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Abstract

The invention discloses an image display method, an image display device, image display equipment and a readable storage medium. The method comprises the following steps: acquiring display configuration information for configuring display of a target object; acquiring an original image including a target object; and configuring the original image according to the display configuration information to acquire a corresponding target image so as to display the target object which accords with the display configuration information through the target image.

Description

Image display method, device, equipment and readable storage medium
Technical Field
The present invention relates to the field of image processing technologies, and in particular, to an image display method, an image display apparatus, an image display device, and a readable storage medium.
Background
With the rapid development of image processing technology and the popularization of device intelligence, an image shooting function for shooting pictures and videos becomes a basic function of electronic devices such as mobile phones and tablet computers which are used by people in daily life, and people can record drops of work and life through the image shooting function of the electronic devices and check the drops through the image display function of the electronic devices at any time and any place.
At present, some application programs providing an image shooting function also provide an image display function for displaying a shot image after beautifying the shot image, so as to make up for the disadvantage that the display effect of a user on the shot image is not good, but cannot actually meet the personalized requirements of different users on image display.
Disclosure of Invention
It is an object of the present invention to provide a new solution for displaying images.
According to a first aspect of the present invention, there is provided an image display method, comprising:
acquiring display configuration information for configuring display of a target object;
wherein the display configuration information includes at least display content displayed by the target object;
acquiring an original image including the target object;
and configuring the original image according to the display configuration information to acquire a corresponding target image so as to display the target object which accords with the display configuration information through the target image.
Optionally, the step of configuring the original image according to the display configuration information to obtain a corresponding target image includes:
identifying an object contour in the original image corresponding to the target object;
and according to the display configuration information, configuring the image part corresponding to the object outline in the original image to acquire the target image.
Optionally, the display configuration information further includes display style information of the display content;
the step of configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image includes:
and adding the display content in the image part corresponding to the object outline in the original image according to the display style information to obtain the target image.
Optionally, the display configuration information further includes an object display position at which the display content is displayed by the target object;
the step of configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image includes:
and identifying a content adding position corresponding to the object display position in an image part corresponding to the object outline in the original image, and acquiring the target image by adding the display content in the content adding position.
Optionally, the step of obtaining display configuration information for configuring display of the target object includes:
and providing a display configuration interface, which is used for receiving display configuration operation implemented on the display configuration interface and acquiring the display configuration information corresponding to the display configuration operation.
Optionally, the display configuration information further includes an object display state when the target content is displayed by the target object;
the step of acquiring an original image including the target object includes:
and when the image including the target object is acquired and the object display state of the target object is identified to be in accordance with the object display state included in the display configuration information, taking the image including the target object as the original image.
Optionally, the method comprises:
when a plurality of target objects exist, respectively acquiring display configuration information of each target object, acquiring the original image comprising the target objects, configuring the original image according to the display configuration information of each target object, and acquiring the corresponding target image, so as to display the target objects according with the corresponding display configuration information through the target images.
Optionally, the display content at least comprises one of characters, images and videos;
and/or the presence of a gas in the gas,
the original image is a real-time image photographed in real time or a history image acquired in advance.
Alternatively, according to a second aspect of the present invention, there is provided an image display device, comprising:
a configuration acquisition unit configured to acquire display configuration information for configuring display of a target object;
wherein the display configuration information includes at least display content displayed by the target object;
an image acquisition unit configured to acquire an original image including the target object;
and the configuration display unit is used for configuring the original image according to the display configuration information to acquire a corresponding target image so as to display the target object which accords with the display configuration information through the target image.
According to a third aspect of the present invention, there is provided an image display apparatus comprising:
a display device;
a memory for storing executable instructions;
a processor for operating the image display device to perform the image display method according to the first aspect of the present invention, according to the control of the executable instructions.
According to a fourth aspect of the present invention, there is provided a readable storage medium storing a computer program readable and executable by a computer, the computer program being for performing the image display method according to the first aspect of the present invention when executed by the computer.
According to one embodiment of the disclosure, display configuration information for configuring display of a target object is acquired, the acquired original image including the target object is configured according to the display configuration information, a corresponding target image is acquired, the target object which meets the display configuration information is displayed through the target image, and the flexible configuration of the image for displaying aiming at different display requirements is realized, so that personalized display requirements of different users are actually met, and brand new image display experience of the users is provided.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram showing an example of a hardware configuration of an electronic apparatus 1000 that can be used to implement an embodiment of the present invention.
Fig. 2 shows a flowchart of an image display method of an embodiment of the present invention.
FIG. 3 is a schematic diagram showing an example of a configuration interface.
Fig. 4 is a diagram illustrating an example of configuration display configuration information.
Fig. 5 is a schematic diagram of an example of an original image.
Fig. 6 is a schematic diagram of an example of a target image.
Fig. 7 shows a block diagram of the image display apparatus 3000 of the embodiment of the present invention.
Fig. 8 shows a block diagram of an image display apparatus 4000 of an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a block diagram showing a hardware configuration of an electronic apparatus 1000 that can implement an embodiment of the present invention.
The electronic device 1000 may be a laptop, desktop, cell phone, tablet, etc. As shown in fig. 1, the electronic device 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
The electronic device shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its application, or uses. In an embodiment of the present invention, the memory 1200 of the electronic device 1000 is used for storing instructions for controlling the processor 1100 to operate so as to execute any one of the image display methods provided in the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
The general concept of the embodiment of the invention is to provide a new technical scheme for displaying images, which is characterized in that display configuration information for configuring display of a target object is obtained, the obtained original image comprising the target object is configured according to the display configuration information, a corresponding target image is obtained, the target object which meets the display configuration information is displayed through the target image, the flexible configuration of the image for displaying aiming at different display requirements is realized, the individual display requirements of different users are actually met, and brand new image display experience of the users is provided.
< example >
In the present embodiment, an image display method is provided. The image may be a two-dimensional or three-dimensional picture, a single-frame or multi-frame image played in a video, an image processed by screen-capturing a display screen, or the like.
As shown in fig. 2, the image display method includes: steps S2100-S2300.
In step S2100, display configuration information for configuring display of the target object is acquired.
In this embodiment, the target object may be any object displayed by an image, for example, the target object may be a person, a scene, or other objects that can be displayed, or the target object may be a part of a person, a scene, or other objects that can be displayed, for example, the target object may be a human face.
The target configuration information is configuration information for configuring display of the target object. In the present embodiment, the target configuration information includes at least display contents displayed by the target object. The display content is content that is desired to be displayed in association with the target object when displayed.
In one example, the display content may include at least one of text, images, or video. For example, the display content may be a prop image, a sticker image, a motion picture, or the like having an image display requirement that satisfies the user, and the video may be a short video having an image display requirement that satisfies the user, or a video including audio information, or the like.
The specific content of the display content can be set according to the actual image display requirement. For example, where the display content is text, the particular text content may be the user's actual image display requirement setting.
The display configuration information may also include other information depending on the actual application scenario or application requirements.
For example, the display configuration information may further include display style information of the display content. The display style information is information related to a style in which the display content is displayed, and may include a display layout, a display color, a display shape, a display order, and information related to a specific content type of the display content when the display content is displayed by the target object. For example, when the display content is text, the display style information may include the font size, font, color, line number of the displayed text, the maximum number of the displayed text in each line, or the word segmentation display enabled for the text, and when the display content is multiple copies of text, the display style information may further include the display sequence of each copy of text, and the like.
Alternatively, the display configuration information may further include an object display position at which the display content is displayed by the target object. The object display position is an associated display position on the target object when the display content is displayed by the target object. The object display position may be set according to a specific target object and a specific image display requirement. For example, when the target object is a human face, the object display position may be a position in the human face such as an eye, a nose, a mouth, and an eyebrow, or when the target object is a mountain peak, the object display position may be a position in the mountain peak such as a mountain top, a mountain waist, or a mountain foot, and the like.
Alternatively, the display position information may further include an object display state in which the display content is displayed by the target object. The object display state is a display state in which the target object is when the display content is displayed by the target object. For example, when the target object is a human face, the object display state may be mouth opening, eye closing, head bending, or the like.
In this embodiment, the display configuration information may be acquired in various ways, for example, by reading display configuration information already stored in a local storage, or by receiving display configuration information indicated in external configuration information, and the like.
In one example, the step of obtaining display configuration information for configuring the display of the target object may include:
and providing a display configuration interface for receiving the display configuration operation implemented on the display configuration interface and acquiring display configuration information corresponding to the display configuration operation.
In this example, the display configuration interface is a human-machine interface that can receive operations performed by a user and provide corresponding responses. The display configuration operation is an operation performed by a user on the display configuration interface to provide display configuration information, and may be an input operation of inputting display configuration information to an input box provided on the display configuration interface, a selection operation of pointing, clicking, or the like, a selection operation of displaying configuration items displayed on the display configuration interface, a voice input operation of inputting display configuration information by voice to a microphone provided on the display configuration interface, or the like.
The display configuration interface receives the display configuration operation implemented by the user, acquires the display configuration information corresponding to the display configuration operation, can provide the display configuration information which is quickly and conveniently configured by the user and meets the personalized image display requirement, and improves the image display efficiency.
In step S2100, by obtaining display configuration information for configuring display of the target object, the obtained original image including the target object may be configured according to the display configuration information in combination with the subsequent steps, and a corresponding target image is obtained, so that the target object conforming to the display configuration information is displayed through the target image, and thus, the image is flexibly configured to be displayed according to different display requirements, so as to actually meet personalized display requirements of different users, and provide a brand new image display experience for the user.
In step S2200, an original image including a target object is acquired.
The original image is an image including the target object, and in the present embodiment, the original image may be acquired by real-time shooting, or may be acquired by reading an image already saved in a local storage.
The original image may be a real-time image for which photographing is performed or a history image acquired in advance. The real-time image may be an image acquired in real time at the time of a video call, a live video or a shooting. The historical images may be pre-captured images, captured images in a played video or captured images in a video call, a live video, etc.
In one example, the display configuration information further includes an object display state when the target content is displayed by the target object. The object display state is a display state of the target object when the display content is displayed by the target object, and related content is described in the foregoing, and is not described herein again. In this example, the step of acquiring an original image including the target object includes:
and when the image including the target object is acquired and the object display state of the target object is identified to be in accordance with the object display state included in the display configuration information, taking the image including the target object as an original image.
The display configuration information is configuration information set for the image display requirement of the user. The object display state included in the display configuration information is a state which meets the image display requirement of the user and is supposed to be in when the target object is displayed through the image, the image of the target object which meets the object display state included in the display configuration information is obtained and used as an original image, and the personalized image display requirement of the user can be met more accurately by combining with the subsequent steps.
For example, the target object is a human face, the object display state is set to open mouth, correspondingly, the acquired original image is an image including the human face in the open mouth state, and other acquired images including the human face are excluded from being used as the original image, so that the display of the target object is not in line with the actual image display requirement.
It should be understood that, in this example, whether or not the target object is included in the acquired image and whether or not the target object is in the object display state included in the display configuration information may be identified by various image recognition methods that perform image recognition by training image samples based on a convolutional neural network, a machine learning model, or the like. Taking the target object as a Face and the object display state as an open mouth as an example, the Face recognition algorithms such as DAN (Deep Alignment Network, which performs Face keypoint extraction using Deep learning), TCNN (threaded conditional Neural Networks, which performs Face keypoint extraction using Convolutional Neural Networks), DCNN (Deep Convolutional Network, which positions Face keypoints based on a Deep Convolutional Neural Network), TCDCN (Tasks-Constrained conditional critical Network, which monitors Face keypoints based on a task-Constrained depth Convolutional Network), Face + + and the like can be used to recognize whether a Face is included in an image and a Face keypoint such as a mouth and determine whether the state of the mouth is in a open-mouth state, and similarly, when the target object is another object, whether the image of the object is included in the image and to recognize a keypoint position related to the object display state displayed in the image of the object can be determined by a similar image recognition algorithm, and determining whether the display state of the key point position is in the object display state, which is not listed herein.
In step S2200, by acquiring the original image including the target object, the original image may be configured according to the display configuration information in combination with the subsequent steps, and a corresponding target image is acquired, so as to display the target object meeting the display configuration information through the target image, thereby flexibly configuring the image for display according to different display requirements, so as to actually meet the personalized display requirements of different users, and provide a brand new image display experience for the user.
Step S2300, configuring the original image according to the display configuration information to obtain a corresponding target image, so as to display the target object according with the display configuration information through the target image.
In this embodiment, the display configuration information is used to configure the display of the target object, and corresponds to the actual image display requirement of the user, and the original image is configured according to the display configuration information to obtain the corresponding target image, so that the target object displayed by the target object meets the display configuration information, and the flexible configuration of the image for display according to different display requirements is realized, so as to actually meet the personalized display requirements of different users, and provide a brand new image display experience for the user.
In one example, the step of displaying the configuration information to configure the original image to acquire the corresponding target image may include: step S2310-step S2320.
In step S2310, an object contour corresponding to the target object in the original image is identified.
The original image is an image including a target object, and in this example, an object contour corresponding to the target object in the original image may be recognized and acquired by various image recognition methods for performing image recognition based on training image samples such as a convolutional neural network and a machine learning model.
Taking the target object as a Face as an example, the Face contour corresponding to the Face in the original image can be identified and obtained through Face recognition algorithms such as DAN (Deep Alignment Network, which uses Deep learning to extract Face key points), TCNN (Convolutional Neural Networks, which uses Convolutional Neural Networks to extract Face key points), DCNN (Deep Convolutional Network, which locates Face key points based on a Deep Convolutional Neural Network), TCDCN (Tasks-Constrained Deep Convolutional Network, which monitors Face key points based on a task-Constrained Deep Convolutional Network), Face, and the like.
Step S2320, according to the display configuration information, the image part corresponding to the object outline in the original image is configured, and the target image is obtained.
In this example, a corresponding configuration processing step is performed on an image portion corresponding to an object contour in the original image according to specific content included in the display configuration information, so that the target object displayed in the acquired target image conforms to the corresponding display configuration information, and personalized image display requirements of the user are met more accurately.
For example, the display configuration information includes at least the display content displayed by the target object as described above, and also includes display style information of the display content. The display style information is information related to a style in which the display content is displayed, and has been described in detail above, and is not described herein again. Correspondingly, step S2320 includes:
and adding display content in the image part corresponding to the object outline in the original image according to the display style information to acquire the target image.
For example, assuming that the display content is a plurality of segments of characters, the display style information includes the display sequence of each segment of characters, the word segmentation display of each segment of characters, the font size, the color and the like of character display, the target object is a human face, the image part corresponding to the object outline is the image part included by the face outline of the original image human face, the plurality of segments of characters conforming to the display style information can be added one by one in the image part included by the face outline of the original image and the human face, a plurality of target images with the display sequence are correspondingly obtained, and the corresponding plurality of segments of characters are displayed on the human face; in this example, the characters may be added in segments at a default position in the face, for example, at the position of the mouth, so as to generate a plurality of target images with the display effect of characters spitted out by the face, display a plurality of segments of characters of the display content one by one, and so on.
Similarly, when the display content is other types of content, the display content can be added to the image part corresponding to the object outline in the original image according to the corresponding display style information to obtain the target image, so that the personalized image display requirement of the user can be met more accurately.
In another example, the display configuration information includes at least the display content displayed by the target object as described above, and also includes an object display position at which the display content is displayed by the target object. The object display position is an associated display position on the target object when the display content is displayed by the target object, and is described in detail above, and is not described herein again. Correspondingly, step S2320 includes:
in an image portion corresponding to the contour of the object in the original image, a content addition position corresponding to the display position of the object is identified, and the target image is acquired by adding the display content in the content addition position.
In this example, the content addition position corresponding to the object display position in the image portion corresponding to the object contour in the original image can be identified and determined by various image identification methods for performing image identification based on training image samples such as a convolutional neural network, a machine learning model, and the like.
Taking an example in which the target object is a Face and the object display position is a mouth, the content addition position may be obtained by, for example, DAN (Deep alignment Network, which performs Face keypoint extraction using Deep learning), TCNN (threaded connected neural Networks, which performs Face keypoint extraction using Convolutional neural Networks), DCNN (Deep Convolutional Network, which positions Face keypoints based on a Deep Convolutional neural Network), TCDCN (Tasks-constrained depth probabilistic Network, which monitors Face keypoints based on a task-constrained depth Convolutional Network), Face recognition algorithms such as Face + + and the like, by which a Face keypoint of a mouth in an image portion of a Face contour corresponding to the Face in the original image is recognized, and a position of the mouth in an image portion of the Face contour corresponding to the Face is determined. Similarly, when the target object is another object, the content addition position corresponding to the object display position in the image portion of the object outline corresponding to the object in the original image may be identified by a similar image identification algorithm, which is not listed here.
After the content adding position is identified, the target image is obtained by adding the display content in the content adding position, and the personalized image display requirement of the user can be met more accurately.
By taking the target object as a face and the object display position as a mouth as an example, assuming that the display content is characters and the content adding position is a position corresponding to the mouth in the image part included by the face outline of the face in the original image, the characters can be added to the content adding position, so that the target image has the display effect that the face spits the characters in the mouth, and the interesting requirement of the user on the image display is met.
In a specific example, the target object may not be only one object, but may be a plurality of objects, and correspondingly, the image display method provided in this embodiment may further include:
when a plurality of target objects exist, the display configuration information of each target object is respectively acquired, an original image comprising the target objects is acquired, the original image is configured according to the display configuration information of each target object, a corresponding target image is acquired, and the target objects which accord with the corresponding display configuration information are displayed through the target images.
When a plurality of target objects are provided, the corresponding display configuration information is respectively obtained for each target object, the image display requirement can be further refined, and the obtained original image comprising the target objects is used for obtaining the target image according to the display configuration information of each target object, so that the target objects displayed by the target image respectively accord with the corresponding display configuration information, and the personalized and diversified image display requirement of a user can be met flexibly and accurately.
In this example, to distinguish each target object, object indication information may be further included in the display configuration information of each target object, where the object indication information may be a unique object identifier of the target object, a position of an object displayed in the original image, an order of the object, or other object characteristic information that can distinguish other target objects, and so on. For example, when the target object is a human face, the object indication information of each target object may be an object position (for example, the middle, the left side, the right side, and the like) or an object order (for example, the first few faces from the left and the like) of the human face displayed in the original image.
In this example, the steps of specifically acquiring the display configuration information of each target object, acquiring an original image including a plurality of target objects, and configuring the original image according to the display configuration information of each target object to acquire a corresponding target image may be similar to the above steps S2100 to S2300, but may be adapted to a plurality of target objects, and will not be further described in detail herein.
Taking the target object as a face, the display configuration information includes display content, an object display position and display style information as an example, for an original image including a plurality of faces, the original image can be configured according to the acquired display configuration information of each face to obtain a target image, each face is displayed by the target image to accord with corresponding display configuration information, for example, the original image includes three faces, for the left face, a prop image of glasses is added at the eye position according to the corresponding display configuration information to form a display effect of interesting special effect glasses, for the middle face, a display effect of characters spitting out of mouth is added at the mouth position according to the corresponding display configuration information, for the right face, a sticker image of pinocao is added at the nose position according to the corresponding display configuration information to form a display effect of interesting long nose, therefore, different display effects for different faces are displayed through the target image, and the refinement requirement of the user on image display is met more accurately.
< example >
The image display method provided in the present embodiment will be further illustrated below with reference to fig. 3 to 6.
In this example, the target object is a human face, the target content included in the display configuration information is text, the object display position is a mouth, and the object display state is open mouth.
In this example, the image display method includes: steps S201-S203.
Step S201, providing a display configuration interface for a user to operate and input display configuration information meeting the personalized image display requirement.
In this example, a target content input interface may be provided to input text content desired to be presented by a human face as shown in fig. 3, assuming that a user inputs a plurality of pieces of text content desired to be presented as shown in fig. 4.
Fig. 3 and 4 are only examples of how to configure target content, the configuration object display position and the object display state may also be similar to those in fig. 3 and 4, and the default object display position and the default object display state may also be obtained in advance and stored in the local storage for reading, and the examples are not repeated here.
In step S202, an original image including a target object conforming to the object display state is acquired.
In this example, an image including a human face in a wide-mouth state may be directly photographed in real time as an original image, for example, in live broadcasting, a video call, or calling an image pickup apparatus, as shown in fig. 5. In the implementation of shooting, when the face is not in the open-mouth state in the shot and acquired image including the face, the user can be prompted to shoot the image including the face in the open-mouth state through prompting sounds, prompting information and other forms.
And step S203, configuring the original image to obtain a target image according to the display configuration information.
In this example, according to step S2300 in this embodiment, the text content input by the user may be added to the mouth position of the face in the original image, and in the actual application, the image portion occupied by the text content is determined according to the actual content, and is not necessarily limited to the image portion corresponding to the face, and the image portion occupied by the text content display may be adjusted according to the display aesthetics, so as to correspondingly generate the target image with the display effect of spitting characters on the mouth of the face, as shown in fig. 6.
The text contents in the later display order may be sequentially added to the mouth position of the face in the original image in the steps similar to those in fig. 6 according to the display order, so as to correspondingly generate a plurality of target images for displaying, and the examples are not repeated here.
In the embodiment, a display configuration interface is provided for a user to operate and configure the text content meeting the image display requirement of the user, when the image of the user with the face in the mouth-opening state is obtained, the text content can be added to the mouth position of the face in the original image, a target image with the display effect of the face spitting characters in the mouth is generated, the user is provided with interesting and brand-new image display experience, and the personalized image display requirement is accurately met.
< image display apparatus >
In the present embodiment, there is also provided an image display device 3000, as shown in fig. 7, including: the configuration acquiring unit 3100, the image acquiring unit 3200, and the configuration displaying unit 3300 are used to implement the image displaying method in this embodiment, and are not described herein again.
A configuration acquiring unit 3100 is configured to acquire display configuration information for configuring display of the target object.
Optionally, the configuration acquisition unit 3100 is further configured to:
and providing a display configuration interface, which is used for receiving display configuration operation implemented on the display configuration interface and acquiring the display configuration information corresponding to the display configuration operation.
An image obtaining unit 3200 for obtaining an original image including the target object.
Optionally, the display configuration information further includes an object display state when the target content is displayed by the target object;
the image acquisition unit 3200 is further configured to:
and when the image including the target object is acquired and the object display state of the target object is identified to be in accordance with the object display state included in the display configuration information, taking the image including the target object as the original image.
A configuration display unit 3300, configured to configure the original image to obtain a corresponding target image according to the display configuration information, so as to display the target object according with the display configuration information through the target image.
Optionally, configuring the display unit 3300 includes:
means for identifying an object contour in the original image corresponding to the target object;
and the device is used for configuring the image part corresponding to the object outline in the original image according to the display configuration information to acquire the target image.
Optionally, the display configuration information further includes display style information of the display content;
the device for configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image, is further configured to:
and adding the display content in the image part corresponding to the object outline in the original image according to the display style information to obtain the target image.
Optionally, the display configuration information further includes an object display position at which the display content is displayed by the target object;
the device for configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image, is further configured to:
and identifying a content adding position corresponding to the object display position in an image part corresponding to the object outline in the original image, and acquiring the target image by adding the display content in the content adding position.
Optionally, the image display device 3000 is further configured to:
when a plurality of target objects exist, respectively acquiring display configuration information of each target object, acquiring the original image comprising the target objects, configuring the original image according to the display configuration information of each target object, and acquiring the corresponding target image, so as to display the target objects according with the corresponding display configuration information through the target images.
Alternatively,
the display content at least comprises one of characters, images and videos;
and/or the presence of a gas in the gas,
the original image is a real-time image photographed in real time or a history image acquired in advance.
It will be apparent to those skilled in the art that the image display device 3000 may be implemented in various ways. For example, the image display apparatus 3000 may be realized by an instruction configuration processor. For example, the image display apparatus 3000 may be implemented by storing instructions in a ROM and reading the instructions from the ROM into a programmable device when starting up the device. For example, the image display device 3000 may be cured into a dedicated device (e.g., ASIC). The image display device 3000 may be divided into units independent of each other, or may be implemented by combining them together. The image display device 3000 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
In the present embodiment, the image display apparatus 3000 may have various device forms, for example, the image display apparatus 3000 may be any software product or application program providing an image display function, such as a camera application providing an image capturing function, a social application, and the like, and the image display apparatus 3000 may also be an insert, a plug-in, a patch, a built-in function module, and the like of the software product or application program providing the image display function.
< image display apparatus >
In the present embodiment, there is also provided an image display apparatus 4000, as shown in fig. 8, including:
a display device 4100;
a memory 4200 for storing executable instructions;
a processor 4300, configured to operate the image display apparatus to perform the image display method as provided in this embodiment according to the control of the executable instructions.
In this embodiment, the image display device 4000 may be an electronic device such as a mobile phone, a palm computer, a tablet computer, a notebook computer, and a desktop computer. The image display apparatus 4000 may be, for example, the electronic apparatus 1000 shown in fig. 1. In a specific example, the image display device 4000 may be a mobile phone in which an application program for implementing the image presentation method according to the present embodiment is installed.
The image display apparatus 4000 may further include other devices, for example, an electronic apparatus 1000 as shown in fig. 1, and may further include an input device and the like.
< readable storage Medium >
In the present embodiment, there is also provided a readable storage medium 5000, and the readable storage medium 5000 stores a computer program that can be read and executed by a computer, and the computer program is used for executing the image display method according to the present embodiment when the computer runs.
In this embodiment, the readable storage medium 5000 may be a tangible device that can hold and store instructions for use by an instruction execution device. Readable storage medium 5000 may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of readable storage medium 5000 include: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Readable storage medium 5000 as used herein is not to be interpreted as a transitory signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or an electrical signal transmitted through an electrical wire.
The embodiments of the present invention have been described above with reference to the drawings, according to the present embodiment, by acquiring display configuration information for configuring display of a target object, configuring an acquired original image including the target object according to the display configuration information, and acquiring a corresponding target image, so as to display the target object conforming to the display configuration information through the target image, implement flexible configuration of images for display aiming at different display requirements, so as to actually meet personalized display requirements of different users, and provide a brand new image display experience for the user.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
Computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including AN object oriented programming language such as Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" language or similar programming languages.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (11)

1. An image display method, comprising:
acquiring display configuration information for configuring display of a target object;
wherein the display configuration information includes at least display content displayed by the target object;
acquiring an original image including the target object;
and configuring the original image according to the display configuration information to acquire a corresponding target image so as to display the target object which accords with the display configuration information through the target image.
2. The method of claim 1, wherein,
the step of configuring the original image according to the display configuration information to obtain the corresponding target image comprises the following steps:
identifying an object contour in the original image corresponding to the target object;
and according to the display configuration information, configuring the image part corresponding to the object outline in the original image to acquire the target image.
3. The method of claim 2, wherein,
the display configuration information further includes display style information of the display content;
the step of configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image includes:
and adding the display content in the image part corresponding to the object outline in the original image according to the display style information to obtain the target image.
4. The method of claim 2, wherein,
the display configuration information further comprises an object display position where the display content is displayed through the target object;
the step of configuring, according to the display configuration information, an image portion corresponding to the object contour in the original image, and acquiring the target image includes:
and identifying a content adding position corresponding to the object display position in an image part corresponding to the object outline in the original image, and acquiring the target image by adding the display content in the content adding position.
5. The method of claim 1, wherein the step of obtaining display configuration information for configuring a target object display comprises:
and providing a display configuration interface, which is used for receiving display configuration operation implemented on the display configuration interface and acquiring the display configuration information corresponding to the display configuration operation.
6. The method of claim 1, wherein,
the display configuration information further includes an object display state when the target content is displayed by the target object;
the step of acquiring an original image including the target object includes:
and when the image including the target object is acquired and the object display state of the target object is identified to be in accordance with the object display state included in the display configuration information, taking the image including the target object as the original image.
7. The method of claim 1, further comprising:
when a plurality of target objects exist, respectively acquiring display configuration information of each target object, acquiring the original image comprising the target objects, configuring the original image according to the display configuration information of each target object, and acquiring the corresponding target image, so as to display the target objects according with the corresponding display configuration information through the target images.
8. The method of claim 1, wherein,
the display content at least comprises one of characters, images and videos;
and/or the presence of a gas in the gas,
the original image is a real-time image photographed in real time or a history image acquired in advance.
9. An image display apparatus, comprising:
a configuration acquisition unit configured to acquire display configuration information for configuring display of a target object;
wherein the display configuration information includes at least display content displayed by the target object;
an image acquisition unit configured to acquire an original image including the target object;
and the configuration display unit is used for configuring the original image according to the display configuration information to acquire a corresponding target image so as to display the target object which accords with the display configuration information through the target image.
10. An image display apparatus, comprising:
a display device;
a memory for storing executable instructions;
a processor for operating the image display apparatus to perform the image display method according to the control of the executable instructions.
11. A readable storage medium, wherein the readable storage medium stores a computer program readable and executable by a computer, the computer program being for performing the image display method according to claims 1 to 8 when executed by the computer.
CN201910049729.0A 2019-01-18 2019-01-18 Image display method, device, equipment and readable storage medium Active CN111462279B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910049729.0A CN111462279B (en) 2019-01-18 2019-01-18 Image display method, device, equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910049729.0A CN111462279B (en) 2019-01-18 2019-01-18 Image display method, device, equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN111462279A true CN111462279A (en) 2020-07-28
CN111462279B CN111462279B (en) 2023-06-09

Family

ID=71679754

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910049729.0A Active CN111462279B (en) 2019-01-18 2019-01-18 Image display method, device, equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111462279B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392268A (en) * 2021-03-31 2021-09-14 百果园技术(新加坡)有限公司 Special effect text rendering method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105046213A (en) * 2015-06-30 2015-11-11 成都微力互动科技有限公司 Method for augmenting reality
CN106373197A (en) * 2016-09-06 2017-02-01 广州视源电子科技股份有限公司 Augmented reality method and augmented reality device
JP2018005628A (en) * 2016-07-04 2018-01-11 富士通株式会社 Information processor, interaction method, and interaction program
CN107918955A (en) * 2017-11-15 2018-04-17 百度在线网络技术(北京)有限公司 Augmented reality method and apparatus
US20180204063A1 (en) * 2017-01-17 2018-07-19 International Business Machines Corporation Context-based extraction and information overlay for photographic images
CN108320318A (en) * 2018-01-15 2018-07-24 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN108681393A (en) * 2018-04-16 2018-10-19 优视科技有限公司 Translation display methods, device, computing device and medium based on augmented reality
US20180336696A1 (en) * 2017-05-22 2018-11-22 Fujitsu Limited Display control program, display control apparatus and display control method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105046213A (en) * 2015-06-30 2015-11-11 成都微力互动科技有限公司 Method for augmenting reality
JP2018005628A (en) * 2016-07-04 2018-01-11 富士通株式会社 Information processor, interaction method, and interaction program
CN106373197A (en) * 2016-09-06 2017-02-01 广州视源电子科技股份有限公司 Augmented reality method and augmented reality device
US20180204063A1 (en) * 2017-01-17 2018-07-19 International Business Machines Corporation Context-based extraction and information overlay for photographic images
US20180336696A1 (en) * 2017-05-22 2018-11-22 Fujitsu Limited Display control program, display control apparatus and display control method
CN107918955A (en) * 2017-11-15 2018-04-17 百度在线网络技术(北京)有限公司 Augmented reality method and apparatus
CN108320318A (en) * 2018-01-15 2018-07-24 腾讯科技(深圳)有限公司 Image processing method, device, computer equipment and storage medium
CN108681393A (en) * 2018-04-16 2018-10-19 优视科技有限公司 Translation display methods, device, computing device and medium based on augmented reality

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林杰;李如意;: "基于深度学习的图像识别处理" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113392268A (en) * 2021-03-31 2021-09-14 百果园技术(新加坡)有限公司 Special effect text rendering method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111462279B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN109816764B (en) Image generation method and device, electronic equipment and storage medium
CN111553864B (en) Image restoration method and device, electronic equipment and storage medium
CN109257645B (en) Video cover generation method and device
CN111612009B (en) Text recognition method, device, equipment and storage medium
CN111783756B (en) Text recognition method and device, electronic equipment and storage medium
CN110928627B (en) Interface display method and device, electronic equipment and storage medium
CN111241887B (en) Target object key point identification method and device, electronic equipment and storage medium
CN109711546B (en) Neural network training method and device, electronic equipment and storage medium
CN112991553B (en) Information display method and device, electronic equipment and storage medium
CN108985176A (en) image generating method and device
CN106791535B (en) Video recording method and device
CN111242303B (en) Network training method and device, and image processing method and device
CN111368796A (en) Face image processing method and device, electronic equipment and storage medium
EP4300431A1 (en) Action processing method and apparatus for virtual object, and storage medium
CN104867112B (en) Photo processing method and device
CN107977636B (en) Face detection method and device, terminal and storage medium
JP2022512048A (en) Image processing methods and devices, electronic devices and storage media
CN113850275A (en) Image processing method, image processing device, electronic equipment and storage medium
CN110830845A (en) Video generation method and device and terminal equipment
CN113691833B (en) Virtual anchor face changing method and device, electronic equipment and storage medium
CN112597944A (en) Key point detection method and device, electronic equipment and storage medium
CN113722541A (en) Video fingerprint generation method and device, electronic equipment and storage medium
CN112613447A (en) Key point detection method and device, electronic equipment and storage medium
CN105426904A (en) Photo processing method, apparatus and device
CN111462279B (en) Image display method, device, equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant