The present application is based on, and claims priority from, Taiwan Application Serial Number 104143014, filed on Dec. 21, 2015, the disclosure of which is hereby incorporated by reference herein in its entirety.
The disclosure relates to a message pushing method and a message pushing device.
It has been well-known that the efficient advertising exposure rate of modern advertising methods is very low in the art. It is because an advertising company needs to spend a long time and a lot of money on studying customer behavior and producing an advertisement.
When an advertisement has been viewed many times, viewers may not be interested in it any longer, and the content of the advertisement may not be relevant to one or more of the viewers. Moreover, the broadcasting of advertising has a given schedule and thus, lacks mobility and flexibility.
According to one or more embodiments, the disclosure provides a message pushing method which includes the following steps. Acquire a portrait image from a scene image. Obtain an attribute, which represents the portrait image, by extracting features of a body part shown in the portrait image. Select one of a plurality of pushing information, according to the attribute of the portrait image, from a database stored in a memory device. The selected pushing information has a second image. Obtain a first image by performing an image processing procedure to the portrait image. Produce a synthesis image by combining the first image and the second image. Display the synthesis image to an attracted-viewer relating to the portrait image.
According to one or more embodiments, the disclosure provides a message pushing device which includes an image capturing unit, an attribute analyzing unit, a selecting unit, an image processing unit and an image output unit. The attribute analyzing unit is coupled to the image capturing unit. The selecting unit is coupled to the attribute analyzing unit. The image output unit is coupled to the image processing unit. The image processing unit is coupled to the image capturing unit and the selecting unit. The image capturing unit captures a scene image and acquires a portrait image from the scene image. The attribute analyzing unit extracts features of a body part shown in the portrait image to obtain an attribute of the portrait image. The selecting unit selects one of a plurality of pushing information according to the attribute of the portrait image. The selected pushing information has a second image. The image processing unit performs an image processing procedure to the portrait image to obtain a first image, and combines the first image and the second image to obtain a synthesis image. The image output unit displays the synthesis image.
The foregoing will become better understood from a careful reading of a detailed description provided herein below with appropriate reference to the accompanying drawings.
Below, exemplary embodiments will be described in detail with reference to accompanying drawings so as to be easily realized by a person having ordinary knowledge in the art. The inventive concept may be embodied in various forms without being limited to the exemplary embodiments set forth herein. Descriptions of well-known parts are omitted for clarity, and like reference numerals refer to like elements throughout.
In this embodiment, the message pushing device 100 may be, for example, but not limited to, a portable mobile device, a personal computer or another type of electronic device. The image capturing unit 110, the attribute analyzing unit 120, the selecting unit 130 and the image processing unit 140 respectively or integrally may be embodied by varieties of circuits, chips or microprocessors, and the disclosure is not restricted to this embodiment. The image output unit 150 may be a variety of display devices, such as displaying TV, electronic shopping window, etc. Embodiments of the disclosure may be implemented via the microprocessor and/or memory device. For example, the functionalities described in the followings may be implemented via hardware logic in the microprocessor or be executed instructions stored in the memory device. Thus, the disclosure is not limited to a specific configuration of hardware and/or software.
As shown in
The attribute analyzing unit 120 may be configured to extract features of a body part from the portrait image 1 to obtain the attribute representing the portrait image 1 and to extract features of the body part from the portrait image 2 to obtain the attribute representing the portrait image 2. In this embodiment, the attribute herein may include, but not limit to, an age attribute and/or a gender attribute. The extracted features of a body part herein may be features of the head of a human shown in the portrait image. For example, the extracted features of the head may be, but not limited to, the amount of wrinkles on the face, the skin status, the hair color, the hair distribution on the head, or the rate at which a portion of the face droops, and the disclosure is not restricted to these examples. For instance, if in view of the extracted features, the attribute analyzing unit 120 estimates that the human shown in the portrait image 1 has the maximum possibility of a 52-year-old man, the attribute analyzing unit 120 will set the gender attribute of the portrait image 1 to be male and will set the age attribute of the portrait image 1 to be 52 years old. Likewise, if the attribute analyzing unit 120 estimates that the human shown in the portrait image 2 has the maximum possibility of a 30-year-old woman, the attribute analyzing unit 120 will set the gender attribute of the portrait image 2 to be female and the age attribute of the portrait image 2 to be 30 years old.
The selecting unit 130 may be configured to select one of a plurality of pushing information according to the attribute of the portrait image. In this embodiment, each pushing information may be related to an applicable age probability distribution, an applicable gender probability distribution and a pushing status. The pushing status may include an available pushing quantity M and a quantity of accomplished pushes N, wherein M may be greater than or equal to N. The available pushing quantity M may be a maximum quantity of available pushing quantity, but the disclosure is not limited thereto. In the embodiment, the selected pushing information may be, but not limited to, selected by the selecting unit 130 from a database, wherein the database may include a plurality of pushing information therein. The database may be stored in a memory device.
In this embodiment, the selecting unit 130 may further determine a first output probability for each of the plurality of pushing information according to the age attribute and the related applicable age probability distribution, determine a second output probability for each of the plurality of pushing information according to the gender attribute and the related applicable gender probability distribution, and determine a third output probability for each of the plurality of pushing information according to the related pushing status. Then, the selecting unit 130 may select one of the pluralities of pushing information according to the first output probabilities, the second output probabilities and the third output probabilities.
For example, the selecting unit 130 may select the suitable one from the plurality of pushing information corresponding to the portrait image 1 or the portrait image 2. To determine which one of pushing information is the suitable one, the selecting unit 130 may do a lookup in a table according to the gender attribute (i.e. male) and the age attribute (52 years old) of the portrait image 1, wherein the table may include information of one or more main attribute groups (gender, age) corresponding to the plurality of pushing information.
The applicable age probability distribution may be recorded in a first probability table, for example, and the first probability table may present a normal distribution of each age to the pushing probability of pushing information. The applicable gender probability distribution may be recorded in a second probability table, for example, and the second probability table may present a normal distribution of two genders to the pushing probability of pushing information. Furthermore, a third probability table related to the pushing statuses may present the pushing probabilities of a variety of ratios between the quantity of accomplished pushes N and the available pushing quantity M.
For example, the pushing information of either a product of Sliver Medal Beer or a product of Lovely Bear may be promoted to a viewer in accordance with the portrait image 1. In this example, if the age attribute is concerned in the above analysis, the first output probability, found in the first probability table related to the pushing information of the product of Sliver Medal Beer according to the 52-year-old attribute, may be higher than the first output probability, found in the first probability table related to the pushing information of the product of Lovely Bear according to the 52-year-old attribute. In other words, the 52-year-old viewer is more suitable to receive the pushing information of the product of Sliver Medal Beer.
If a gender attribute is concerned in the above analysis, the second output probability, which is found in the second probability table of the pushing information of the product of Sliver Medal Beer according to the male attribute, may be higher than the second output probability, which is found in the second probability table of the pushing information of the product of Lovely Bear according to the male attribute. In other words, the male viewer may be more suitable to receive the pushing information of the products of Sliver Medal Beer. Likewise, if the age attribute and gender attribute of the portrait image 2 are concerned in the above analysis, it may be estimated that the 30-year-old female viewer shown in the portrait image 2 is more suitable to receive the pushing information of the product of Lovely Bear, and this analysis process may be deduced by the analysis process done to the portrait image 1, and thus, will not be repeated hereinafter.
In addition, for example, if an available pushing quantity M for the pushing information of the product of Sliver Medal Beer in the third probability table is a total of 1000, the third output probability, which the pushing information of the product of Sliver Medal Beer has been pushed 950 times, may be lower than the third output probability, which the pushing information of the product of Sliver Medal Beer has been pushed 500 times. However, the disclosure is not restricted to this example. In another example, the higher the quantity of accomplished pushes N is, the higher the third output probability is.
Therefore, the selecting unit 130 looks up the first, second and third output probabilities of the pushing information of the product of Sliver Medal Beer and the first, second and third output probabilities of the pushing information of the product of Lovely Bear according to the attributes of the portrait image 1, so as to set these output probabilities as a basis for selecting either the pushing information of the product of Sliver Medal Beer or the pushing information of the product of Lovely Bear. Then, the pushing information of the product of Sliver Medal Beer is selected and pushed to a viewer in accordance with the portrait image 1. Similarly, the selecting unit 130 selects the pushing information of the product of Lovely Bear and pushes it to a viewer in accordance with the portrait image 2 according to the look-up result based on the attributes of the portrait image 2.
In this embodiment, the selected pushing information may include a second image, and the second image may be a promotional product image representing a product. For example, the product image related to the pushing information of the product of Sliver Medal Beer may be a graphic bottle pattern of Sliver Medal Beer, as shown in the second image 12 in
The image processing unit 140 may be configured to perform an image processing procedure to the portrait image to obtain a first image, and may be also configured to combine the first image and the second image to a synthesis image. In this embodiment, the image processing procedure herein includes an edge processing procedure, a color processing procedure and a texture processing procedure.
For example, to attract a viewer, the image processing unit 140 performs an image processing procedure to the above portrait image, so the processed portrait image may have a specific style, e.g. anime comic style. To obtain a processed portrait image having a anime comic style, the above edge processing procedure may be performed to remove relevant noises from the edge of the primary portrait image, or to make the edge of the portrait image become a boldfaced line, or to streamline the edge of the portrait image, or other edge processing methods, and the disclosure is not restricted to this example. Alternatively, the above color processing procedure may be performed to digitize the colors of a primary portrait image which uses the colors are, for example, black and white, or may be performed to simplify the tints of a primary portrait image, or may be other color processing methods capable of making the colors of a primary portrait image more attractive. Alternatively, the above texture processing procedure may be performed to vary the texture of the local region of a primary portrait image, e.g. to transform the local region to a region having a hand-drawn texture.
For example, the above image processing procedure may be performed to the portrait image 1 to obtain the first image 11 in an anime comic style, and the above image processing procedure may be also performed to the portrait image 2 to obtain the first image 21 in an anime comic style, as shown in
In this embodiment, when the attribute analyzing unit 120 may determine that the amount of portrait images is more than one, the attribute analyzing unit 120 may select one of the portrait images according to their attributes, and may set the selected portrait image as a spot portrait image for pushing a message. The above attributes may further include the attention information, the distance information and the distance variance. The distance information herein may be related to a physical distance between the message pushing device 100 (e.g. the center of the lens of the image capturing unit 110) and a human, wherein a portrait image of the human is captured by the image capturing unit 110. The distance variance herein may be related to a quantity of the movement of the human. For example, when the acquired distance information changes from small to large, it indicates that the human is relatively close to the message pushing device 100, thus, a possibility of setting the related portrait image as a spot portrait image for a message to be pushed may increase. When the acquired distance information changes from large to small, it indicates that the related human is moving away from the message pushing device 100, thus, a possibility of setting the related portrait image as a spot portrait image for a message to be pushed may decrease. If there is more than one portrait image each showing a human, the possibilities of setting them as the spot portrait image are arranged according to the distance information of these portrait images.
The above attention information may be related to an offset angle of the face shown in the portrait image, the gazing direction, or the gazed region. The distance information may be related to a size of the related portrait image. For example, the attribute analyzing unit 120 may analyze the portrait images 3 and 4 to know that the offset angles of the faces in the portrait images 3 and 4 in relation to the image output unit 150 are less than 15 degrees, and the viewer related to the portrait image 3 is relatively close to the image output unit 150 as compared to the viewer related to the portrait image 4 (i.e. the size of the portrait image 3 is larger than the size of the portrait image 4). Therefore, the attribute analyzing unit 120 considers that pushing a message to the human shown in the portrait image 3 may have a relatively great benefit, so that the attribute analyzing unit 120 may set the portrait image 3 as a spot portrait image for pushing a message.
After the spot portrait image is selected, the selecting unit 130 may select one of the plurality of pushing information according to the attribute of only the portrait image 3. In other words, the selecting unit 130 may not select any pushing information for the portrait image 4.
Accordingly, as described above, the selecting unit 130 may survey in the probability table related to the pushing information of the products of Sliver Medal Beer and Lovely Bear according to the attribute of the portrait image 3, so as to determine to push the second image 32 corresponding to the pushing information of the product of Sliver Medal Beer to the human shown in the portrait image 3 rather than the portrait image 4. As described above, the image processing unit 140 may also perform the above image processing procedure to the portrait images 3 and 4 to obtain the first images 31 and 41 in an anime comic style. In another embodiment, because the message may not be pushed to the human shown in the portrait image 4, the above image processing procedure may not be performed to the portrait image 4 to obtain a first image 41.
Moreover, in this embodiment, the image capturing unit 110 may further acquire the background image 5 in the scene image 400, and the selected pushing information of the product of Sliver Medal Beer may further include the pushing situation information. In this embodiment, the image processing unit 140 may further transform the background image to a third image according to the pushing situation information. For example, the originally-acquired background image 5 is related to the market and the selecting unit 130 selects the pushing information of the product of Sliver Medal Beer in response to the portrait image 3, so the image processing unit 140 may transform the background image 5 to the third image 53 having a beach circumstance according to the pushing situation information.
Finally, the image processing unit 140 may combine the first images 31 and 41, the second image 32 and the third image 53 to a synthesis image 500 and send the synthesis image 500 to the image output unit 150, and the image output unit 150 may output this synthesis image 500, as shown in
As aforementioned, when the attribute analyzing unit 120 determines that the amount of portrait images is more than one, the attribute analyzing unit 120 may select one of the portrait images according to the attributes and set the selected portrait image as a spot portrait image for pushing a message. For instance, the attribute analyzing unit 120 may determine that the distance between the image output unit 150 and the viewer related to the portrait image 7 is shorter than a threshold, and that the distance between the image output unit 150 and the viewer related to the portrait image 6 is longer than the threshold. In this instance, the attribute analyzing unit 120 may consider that pushing a message to a viewer related to the portrait image 7 may have a relatively great benefit, so the attribute analyzing unit 120 sets the portrait image 7 as a spot portrait image for pushing the message.
After the spot portrait image is defined, the selecting unit 130 may select one of the plurality of pushing information according to the attribute of the portrait image 7. In other words, the selecting unit 130 may not select any pushing information for the portrait image 6.
Therefore, as described above, the selecting unit 130 may look up in the probability table related to the pushing information of the products of Sliver Medal Beer Lovely Bear according to one or more attributes of the portrait image 7, so as to determine to push the second image 72 related to the pushing information of the product of Lovely Bear to a viewer in the portrait image 7 rather than the portrait image 6. As described above, the image processing unit 140 may also perform the above image processing procedure to the portrait images 6 and 7 to obtain the first images 61 and 71 in an anime comic style, respectively. In another embodiment, since no message may be pushed for the portrait image 6, the above image processing procedure may not be performed to the portrait image 6 to obtain the first image 61.
In another embodiment, the selecting unit 130 may push more than one promotional message at the same time. For instance, more than one promotional message is pushed for the same portrait image at the same time. Moreover, the selecting unit 130 may have an upper limitation of the amount of multiple promotional messages to be pushed. The upper limitation of the amount of multiple promotional messages to be pushed may be defined according to the age attribute, gender attribute, attention information, distance information and distance variance of the above portrait image, the pushing status, the first output probability related to the age attribute, the second output probability related to the gender attribute, and the third output probability related to the pushing status.
Moreover, in this embodiment, the image capturing unit 110 may acquire the background image 8 in the scene image 600, and the selected pushing information of the product of Sliver Medal Beer may further include the pushing situation information. In this embodiment, the image processing unit 140 may transform the background image to the third image according to the pushing situation information. For example, the acquired background image 8 may be related to the market, and because the selecting unit 130 may select the pushing information of the product of Lovely Bear for the portrait image 7, the image processing unit 140 may transform the background image 5 to the third image 83 having a romantic castle circumstance according to the pushing situation information.
Finally, the image processing unit 140 may combine the first images 61 and 71, the second image 72 and the third image 83 to a synthesis image 700 and send the synthesis image 700 to the image output unit 150, so the image output unit 150 may output the synthesis image 700, as shown in
It will be apparent to those skilled in the art that various modifications and variations may be made to the disclosed embodiments. It is intended that the specification and examples be considered as exemplary only, with a true scope of the disclosure being indicated by the following claims and their equivalents . . . .
Number | Date | Country | Kind |
---|---|---|---|
104143014 | Dec 2015 | TW | national |