CN109784850B - Prompt information processing method and device, computer equipment and storage medium - Google Patents

Prompt information processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109784850B
CN109784850B CN201910017240.5A CN201910017240A CN109784850B CN 109784850 B CN109784850 B CN 109784850B CN 201910017240 A CN201910017240 A CN 201910017240A CN 109784850 B CN109784850 B CN 109784850B
Authority
CN
China
Prior art keywords
picture
target object
information
target
work
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.)
Active
Application number
CN201910017240.5A
Other languages
Chinese (zh)
Other versions
CN109784850A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910017240.5A priority Critical patent/CN109784850B/en
Publication of CN109784850A publication Critical patent/CN109784850A/en
Application granted granted Critical
Publication of CN109784850B publication Critical patent/CN109784850B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)
  • Image Processing (AREA)

Abstract

The invention relates to a prompt message processing method, a prompt message processing device, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring first work and rest information of a target object; determining first picture processing data corresponding to the target object according to the first work and rest information; acquiring a target picture corresponding to the target object; and processing the target picture according to the first picture processing data to obtain a prompt picture. The method can adaptively prompt the work and rest condition of the target object according to the work and rest information of the target object, and improves the effectiveness of the prompt information.

Description

Prompt information processing method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of information processing, and in particular, to a method and an apparatus for processing prompt information, a computer device, and a storage medium.
Background
With the popularization and the improvement of the usability of the terminal, people often use the terminal to remind information in daily life and production activities, for example, an alarm clock can be arranged on the terminal, and after the set time is reached, the terminal reminds a user through one or more modes of sound making, vibration and the like.
Disclosure of Invention
In view of the above, it is necessary to provide a method and an apparatus for processing a presentation information, a computer device, and a storage medium, for solving the problems of a single information presentation method and a poor presentation effect.
A method of hint information processing, the method comprising: acquiring first work and rest information of a target object; determining first picture processing data corresponding to the target object according to the first work and rest information; acquiring a target picture corresponding to the target object; and processing the target picture according to the first picture processing data to obtain a prompt picture.
A hint information processing apparatus, the apparatus comprising: the first work and rest information acquisition module is used for acquiring first work and rest information of the target object; the first processing data determining module is used for determining first picture processing data corresponding to the target object according to the first work and rest information; the first target picture acquisition module is used for acquiring a target picture corresponding to the target object; and the prompt picture obtaining module is used for processing the target picture according to the first picture processing data to obtain a prompt picture.
In some embodiments, the first process data determination module is to: when the first work and rest information meets a work and rest planning strategy, determining first picture processing data corresponding to the target object as picture beautifying processing data; and/or when the first rest information does not meet a rest planning strategy, determining that the first picture processing data corresponding to the target object is picture defaulting processing data.
In some embodiments, the first process data determination module is to: acquiring a reference picture corresponding to the first work and rest information, wherein the reference picture comprises a reference object matched with the object of the target picture; the prompt picture obtaining module is used for: and fusing the reference picture and the target picture to obtain a prompt picture.
In some embodiments, the first picture manipulation data is picture pharming manipulation data, and the first manipulation data determining module comprises: a pharming degree influence factor obtaining unit, configured to obtain a pharming degree influence factor corresponding to the target object, where the pharming degree influence factor includes a difference between the first event information and planning event information and/or an age of the target object; the target picture pharming data determining unit is used for determining corresponding target picture pharming data according to the pharming degree influence factors, wherein the difference between the first work and rest information and the pharming degree corresponding to the target picture pharming data is in a positive correlation relationship, and the age of the target object is in a positive correlation relationship with the pharming degree corresponding to the target picture pharming data.
In some embodiments, the target object corresponding ugly influence factor includes a difference between the first event information and planned event information and an age of the target object, the target picture ugly data includes a reference picture and a ugly fusion weight, and the target picture ugly data determination unit is configured to: determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with the object of the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation; determining a reference picture fusion weight according to the difference between the first work and rest information and planned work and rest information, wherein the difference between the first work and rest information and the planned work and rest information is in positive correlation with the reference picture fusion weight; the prompt picture obtaining module is used for: and fusing the target picture and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
In some embodiments, the apparatus further comprises: the second work and rest information acquisition module is used for acquiring second work and rest information of the target object, and the time corresponding to the second work and rest information is later than that of the first work and rest information; the second processing data determining module is used for determining second picture processing data corresponding to the target object according to the second work and rest information; the second target picture acquisition module is used for acquiring the prompt picture as a target picture corresponding to the target object; and the prompt picture updating module is used for processing the prompt picture according to the second picture processing data to obtain an updated prompt picture.
In some embodiments, the apparatus further comprises: and the display or sending module is used for displaying the prompt picture or sending the prompt picture to a target terminal corresponding to the target object so as to display the prompt picture on the target terminal.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the above mentioned reminder information processing method.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the above mentioned reminder information processing method.
According to the prompt information processing method, the prompt information processing device, the computer equipment and the storage medium, the picture processing data corresponding to the target object can be determined through the work and rest information of the target object, the target picture corresponding to the target object is processed according to the picture processing data, the processed picture is used as the picture for prompting the target object, and the change of the target object under the corresponding work and rest information of a user is prompted, so that the work and rest condition of the target object can be prompted according to the work and rest information of the target object in a self-adaptive mode, and the effectiveness of the prompt information is improved.
A method of hint information processing, the method comprising: acquiring a picture to be processed; acquiring first user information corresponding to at least one target object in the picture to be processed; determining first picture processing data corresponding to the target object according to the first user information; and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain a prompt picture.
A hint information processing apparatus, the apparatus comprising: the image to be processed acquisition module is used for acquiring an image to be processed; the user information acquisition module is used for acquiring first user information corresponding to at least one target object in the picture to be processed; the image processing data acquisition module is used for determining first image processing data corresponding to the target object according to the first user information; and the image area processing module is used for processing the image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain a prompt picture.
In some embodiments, the picture processing data acquisition module is to: and acquiring corresponding first picture processing data from candidate picture processing data according to the first user information, wherein the candidate picture processing data comprises picture beautifying processing data and picture defaulting processing data.
In some embodiments, the to-be-processed picture includes a first target object and a second target object, and the user information obtaining module is configured to: acquiring first user information corresponding to a first target object and first user information corresponding to a second target object in the picture to be processed; the picture processing data acquisition module is used for: determining first picture processing data corresponding to the first target object according to first user information corresponding to the first target object, and determining first picture processing data corresponding to the second target object according to first user information corresponding to the second target object; the image area processing module is configured to: processing an image area corresponding to the first target object in the picture to be processed according to first picture processing data corresponding to the first target object, and processing an image area corresponding to the second target object in the picture to be processed according to first picture processing data corresponding to the second target object to obtain a prompt picture.
In some embodiments, the apparatus further comprises: the time acquisition module is used for acquiring target expected time input by a user; the picture processing data acquisition module is used for: determining first picture processing data corresponding to the target object according to the first user information and the target expected time; the image area processing module is configured to: and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain the prompt picture, wherein the prompt picture comprises the target object corresponding to the target expected time.
A computer device comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the above mentioned reminder information processing method.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the above mentioned reminder information processing method.
According to the prompt information processing method, the prompt information processing device, the computer equipment and the storage medium, when the picture to be processed is obtained, the user information of the target object in the picture to be processed can be obtained, the picture processing data corresponding to the target object is determined, the image area corresponding to the target object in the picture to be processed is processed according to the picture processing data, the processed picture is used as the picture for prompting the target object, so that the change of the target object under the corresponding user information is prompted to the user, the target object can be prompted according to the user information of the target object in a self-adaptive mode, and the effectiveness of the prompt information is improved.
Drawings
FIG. 1A is a diagram of an application environment for a method for hint information processing provided in some embodiments;
FIG. 1B is a diagram of an application environment for a method for hint information processing provided in some embodiments;
FIG. 2 is a flow diagram of a method for hint information processing in some embodiments;
fig. 3 is a flowchart of acquiring image defaulting data as first image processing data corresponding to a target object in some embodiments;
FIG. 4 is a flow diagram of a method for hint information processing in some embodiments;
FIG. 5A is a product logic structure diagram of a sleep management application corresponding to a method for processing information prompts in some embodiments;
FIG. 5B is a schematic diagram of a head image acquisition page in some embodiments;
FIG. 5C is a schematic view of an age presentation page in some embodiments;
FIG. 5D is a schematic diagram of an introspection page in some embodiments;
FIG. 6 is a flow diagram of a method for hint information processing in some embodiments;
FIG. 7 is a diagram of a personal prediction page in some embodiments;
FIG. 8 is a diagram of a page including a personal prediction page in some embodiments;
FIG. 9 is a block diagram of a hint information processing apparatus in some embodiments;
FIG. 10 is a block diagram of a hint information processing apparatus in some embodiments;
FIG. 11 is a block diagram of the internal structure of a computer device in some embodiments;
FIG. 12 is a block diagram of the internal architecture of a computing device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms unless otherwise specified. These terms are only used to distinguish one element from another. For example, the first picture processing data may be referred to as second picture processing data, and similarly, the second picture processing data may be referred to as first picture processing data, without departing from the scope of the present application.
Fig. 1A is an application environment diagram of a prompt information processing method provided in some embodiments, as shown in fig. 1A, in the application environment, including a terminal 110 and a server 120. The terminal 110 may receive work and rest information of a target object input by a user, for example, the user sleeps at last and night, and sends the work and rest information to the server 120, and the server 120 determines picture processing data corresponding to the target object according to the work and rest information, for example, the picture processing data may be morning processing data or beautification processing data, obtains a target picture corresponding to the target object, and processes the target picture according to the picture processing data to obtain a prompt picture. The server 120 sends the prompting picture to the terminal 110, and the terminal 110 displays the prompting picture to prompt the user to work and rest under the input work and rest information and change the target object.
It is to be understood that the above application environment is only an example, and does not limit the prompt information processing method provided in the embodiment of the present invention. In some embodiments, the above prompt information processing method may also be executed on the terminal 110. For example, a sleep management application for performing sleep management may be installed on the terminal 110, and after receiving the sleep start time of the target object, if the input sleep start time is later than the sleep start time planned by the target object, the sleep management application on the terminal 110 performs aging processing on the object in the target picture, and displays a prompt picture obtained after the aging processing on an interface of the terminal.
The server 120 may be an independent physical server, or may be a server cluster formed by a plurality of physical servers, and may be a cloud server providing basic cloud computing services such as a cloud server, a cloud database, a cloud storage, and a CDN. For example, as shown in fig. 1B, the server 120 may include a picture server 121 storing picture data, a background server 122, an authentication server 123 performing user authentication, and a user information server 124 storing personal information of a user. The authentication server 123 is configured to authenticate a user account and a password when a user logs in, the user information server 124 may store user information such as age and work and rest information of a target object, the terminal 110 may interact with the authentication server 123 and the user information server 124 through the background server 122, and the terminal 110 may obtain a target picture corresponding to the target object from the picture server 121. The terminal 110 may be, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal 110 and the server 120 may be connected through a communication connection manner such as a network, and the present invention is not limited thereto.
As shown in fig. 2, in some embodiments, a prompt information processing method is proposed, and the information processing method of this embodiment may be applied to the terminal 110 or the server 120 in fig. 1A. The method specifically comprises the following steps:
step S202, first work and rest information of the target object is obtained.
Specifically, the target object may include one or more of a human and an animal. The target object may be, for example, a person or an animal, such as a puppy. The work and rest information refers to information related to work and rest, for example, the work and rest information may include one or more types of sleep information, work information, and leisure information. "multiple" means at least two. The work information refers to information related to work, such as one or more of work duration and work intensity. Leisure information is information related to leisure relaxation, such as the frequency of work break breaks. The sleep information may include one or more of a sleep time, a sleep quality, and a sleep duration corresponding to the target subject. The sleep time may include one or more of a sleep start time and a sleep end time. The sleep start time refers to a time when sleep starts, and the sleep end time refers to a time when sleep ends. The quality of sleep can be expressed in terms of the depth of sleep. When the first work and rest information of the target object is acquired, one of the information may be acquired, or a plurality of kinds of information may be acquired.
In some embodiments, the work information may include one or more of time information and quality information. The time information reflects the time of work and rest, and the quality information reflects the quality of work and rest. The time information may be a specific time or a time length. The quality information may be, for example, the quality of sleep or the like, and may be, for example, information of good quality, poor quality or the like.
In some embodiments, the work information may include one or more of historical work information and future work information. For example, the historical rest information may be the last night sleep start time, and the future rest information may be the present night sleep start time estimated in the morning.
In some embodiments, the acquired first work and rest information may be work and rest information of one work and rest period or work and rest information of a plurality of work and rest periods. For example, the sleep time may be a period of one day, and when the first work information is acquired, the last-night sleep time length may be acquired, or the past-one-week sleep time length may be acquired.
In some embodiments, the first daily schedule information may be obtained by the terminal by receiving an input from a user, or may be automatically obtained. For example, the sleep monitoring bracelet may detect sleep information of the user and send the sleep information to the terminal or the server.
In some embodiments, the first work information input by the user may be the work information of the user himself or the information of other people or objects. For example, the work and rest information of a plurality of family members can be recorded through one user account. For example, an adult among the family members may enter information on the work and rest of the infant in the family.
Step S204, first picture processing data corresponding to the target object is determined according to the first work and rest information.
Specifically, the picture processing data is used for processing the picture. For example, the picture processing data may be data obtained by filtering from the picture beautification processing data and the picture amortization processing data. The data for beautifying the picture can beautify the object in the target picture, and the data for pharming the picture can pharming the object in the picture. The corresponding relation between the work and rest information and the picture processing data can be preset, so that after the first work and rest information is obtained, the first picture processing data corresponding to the target object can be determined according to the first work and rest information.
In some embodiments, the data for processing the beautification of the picture may include one or more of data for processing the picture corresponding to the beautification of the picture, such as whitening, removing acne, removing black hair, lightening skin, removing wrinkles, and advancing hairline. For example, color adjustment parameters may be obtained, and the RGB color values of the pixel points may be adjusted to adjust the color of the hair, so that the white hair of the target object is reduced. For another example, the image processing data corresponding to acne removal may be a fuzzy radius parameter corresponding to gaussian blur, a reference pixel corresponding to an image region where the acne is located may be obtained according to the fuzzy radius parameter, a pixel value corresponding to the image region where the acne is located may be obtained by calculation according to a pixel value of the reference pixel, for example, a pixel average value of the reference pixel is used as a pixel value corresponding to the image region where the acne is located, so that the acne in the image may be eliminated, and the face may be smooth. The fuzzy radius parameter of the Gaussian blur is used for determining the range of the reference pixel point, and the larger the fuzzy radius parameter is, the larger the range of the reference pixel point is.
In some embodiments, the corresponding relationship between the first work and rest information and the age change of the personal appearance may be preset, so that after the first work and rest information is obtained, the age change parameter corresponding to the target object is determined, and the corresponding image processing data is obtained according to the age change parameter. For example, if the sleep time is less than 5 hours and the age of the corresponding feature is 5 years older than the actual age, then when the first rest time is 4 hours, the corresponding age change parameter is 5 years old, and therefore, the wrinkle texture for increasing the target object by 5 years can be obtained, and the wrinkle texture for increasing the target object by 5 years old is added to the target image.
In some embodiments, the image pharming processing data is one or more of image processing data corresponding to an image pharming processing mode of adding whelk, decorating white hair, adding wrinkles, moving a hairline backwards and the like.
In some embodiments, the first picture processing data may be reference picture data, for example, a reference picture for defaulting or a reference picture for beautification. The obtained reference picture and the target picture can be fused to obtain a prompt picture.
In some embodiments, determining the first picture processing data corresponding to the target object according to the first work and rest information includes: when the first work and rest information meets a work and rest planning strategy, acquiring picture beautifying processing data as first picture processing data corresponding to a target object; and/or when the first work and rest information does not meet the work and rest planning strategy, acquiring picture defaulting processing data as first picture processing data corresponding to the target object.
Specifically, the work and rest planning strategy refers to a planned work and rest strategy and can be set as required. The work strategy may include one or more of a work time and a work quality. For example, the work and rest planning strategy may include one or more of a length of sleep exceeding 7 hours, an average working time of a day not exceeding 10 hours, and a length of deep sleep greater than 2 hours. The work planning strategy may be pre-set. For example, planning work and rest information input by a user can be received. The work plan policy may also be a default work plan policy, such as a healthy work standard. Assuming that the healthy work and rest criterion is that the work and rest time per week should not exceed 60 hours, the work and rest planning strategy may be that the work and rest time is less than 60 hours. The data for beautifying the picture can be acquired when the first work and rest information meets the work and rest planning strategy, and the data is not processed when the first work and rest information does not meet the work and rest planning strategy. Or when the first work and rest information does not meet the work and rest planning strategy, the picture defaulting processing data is acquired, and if the first work and rest information meets the work and rest planning strategy, the picture defaulting processing data is not processed. Of course, the data for beautifying the picture may be obtained when the first rest information satisfies the rest planning policy, and the data for defaulting the picture may be obtained when the first rest information does not satisfy the rest planning policy.
In some embodiments, the work plan policy may be a plan policy for one work cycle, for example the work plan policy may include a length of sleep greater than 8 hours per day. The work and rest planning strategy may also be a planning strategy integrating a plurality of work and rest periods, for example, the work and rest planning strategy may include that the average sleeping time is longer than 8 hours in a week.
In some embodiments, the work and rest planning strategy may be set to be satisfied when the first work and rest information satisfies a first condition, and the work and rest planning strategy may be set to be not satisfied when the first work and rest information does not satisfy a second condition. Wherein the first condition and the second condition may be different. That is, in some cases, the first work and rest information may not satisfy the first condition, but may satisfy the second condition, and at this time, the processed data of the picture may be unprocessed, that is, the picture may not be beautified, and the picture may not be defaced. For example, the first condition is that the sleep duration is greater than 8 hours but less than 12 hours, and the second condition may be that the sleep duration is less than 6 hours, and thus when the sleep duration of the target subject is 7 hours, the target picture is not processed.
In some embodiments, the first rest information includes one or more of sleep time, sleep quality, and sleep duration corresponding to the target object, and the first rest information not satisfying the rest planning policy includes one or more of the following conditions: the sleep starting time of the target object is later than the preset sleep starting time; the sleep end time of the target object is earlier than the preset sleep end time; the sleep quality index of the target subject is worse than the preset sleep quality index; the sleep duration of the target object is less than the preset sleep duration.
Specifically, the work plan strategy may include one or more of a sleep start time earlier than or equal to a preset sleep start time, a sleep end time of the target subject later than or equal to a preset sleep end time, a sleep quality index better than a preset sleep quality index, and a sleep duration of the target subject greater than the preset sleep duration. If the rest planning strategy comprises a plurality of conditions, the rest planning strategy can be determined as being not satisfied as long as one of the conditions is not satisfied, or the rest planning strategy can be determined as not being satisfied when the number of the unsatisfied conditions is greater than or equal to the preset number. For example, the rest planning strategy may include that the sleep start time is 10 pm, if the first rest information is that the target object has a sleep start time of 11 pm, the target object has a sleep start time later than the preset sleep start time, and the first rest information does not satisfy the rest planning strategy. The sleep quality index may be expressed in terms of the length of time of deep sleep.
In some embodiments, reminders may be made according to a work plan strategy. For example, when the time corresponding to the work and rest planning strategy is reached, the prompt message is sent out. As an actual example, when the rest planning strategy includes planning sleep time to 10 pm, a prompt message may be sent at 10 pm to prompt the user to sleep on time. The prompt message may be emitted in the form of a sound, vibration, etc.
Step S206, a target picture corresponding to the target object is obtained.
Specifically, the picture corresponding to the target object is a picture of the target object or a virtual object representing the target object. For example, the target picture may be an avatar of the target object. Of course, the target picture may also be an image of an avatar of the target object, i.e. the target object may be represented by a virtual object, e.g. a cartoon character.
In some embodiments, the target picture may be pre-acquired. For example, a target picture corresponding to a target object may be a photograph in an album of the terminal according to a selection operation by the user. Or displaying the virtual object picture set on an interface of the terminal, and acquiring a corresponding target virtual object picture as a target picture corresponding to the target object according to the received selection operation on the pictures in the virtual object picture set.
In some embodiments, the target picture may be obtained in real time, for example, when the prompt information processing method is executed, the target object may be photographed by a camera to obtain a picture of the target object.
In some embodiments, the target picture may be a complete picture, or may be an image region corresponding to a picture. For example, a picture may include two objects, such as two people's photos, one of which is a target object, and the other of which is not the target object, and then the image area corresponding to the target object is the target picture.
And S208, processing the target picture according to the first picture processing data to obtain a prompt picture.
Specifically, after the first picture processing data is obtained, the target picture is processed according to the first picture processing data, so that a picture reflecting the change of the object in the target picture under the corresponding work and rest information is obtained.
In some embodiments, when the picture processing data is the picture beautifying processing data, the target picture corresponding to the target object may be beautified, and the beautifying processing may be, for example, one or more of whitening, removing acne, removing black hair, brightening skin, removing wrinkles, and advancing hairline.
In some embodiments, the picture defaulting process may include performing an aging process on an object in the target picture, and a method of the aging process may be set as needed. For example, the target picture may be input into an aging machine learning model obtained by pre-training, and the aging machine learning model processes the target picture to obtain a prompt picture for aging an object in the target picture. When the aging machine learning model is trained, a training sample set can be obtained, the training sample set comprises a plurality of training samples, and one training sample can comprise a young head portrait picture and an old head portrait picture corresponding to one person. Inputting a young head portrait picture into an aging machine learning model, outputting a predicted head portrait, modifying model information according to the difference between a predicted image and an old head portrait to enable the predicted head portrait and the old head portrait to be more and more like, repeating training for multiple times, and stopping training until a model loss value obtained according to the difference between the predicted image output by the model and the old head portrait is smaller than a preset value to obtain a trained aging machine learning model.
In some embodiments, the object in the target picture may also be aged according to the growth rule of the person, and the object in the target picture is aged into a future appearance. For example, as a person's nose becomes lower in height with age, the height of the nose is reduced.
In some embodiments, the picture processing operation corresponding to the picture processing data may be determined according to the type of the first work and rest information, so that the first work and rest information is more suitable for changes of the object in the processed prompt picture. For example, if the first work information is sleep information, the pouch becomes larger when the sleep time is late, and the pouch becomes smaller when the sleep time is early, the corresponding picture processing operation may be a pouch increasing operation when the sleep time does not comply with the work planning policy, and the corresponding picture processing operation may be a pouch decreasing operation when the sleep time complies with the work planning policy. For another example, if the first work and rest information is work information and the work intensity is high, the first work and rest information is likely to be old, and if the work intensity does not conform to the work and rest planning policy, the corresponding picture processing operation may be a picture processing operation that increases wrinkles on the skin of the subject.
According to the prompt information processing method, the picture processing data corresponding to the target object can be determined through the work and rest information of the target object, the target picture corresponding to the target object is processed according to the picture processing data, the processed picture is used as the picture for prompting the target object, so that the change of the target object under the corresponding work and rest information of the user is prompted, the work and rest condition of the target object can be prompted according to the work and rest information of the target object in a self-adaptive mode, and the effectiveness of the prompt information is improved.
For example, if the work and rest information includes sleep time, when the sleep start time is later than the planned sleep time, the aged image of the user is predicted according to the sleep start time, the aged image of the user is aged, and the aged image is obtained, so that the user can know the old state caused by staying up in the night in advance, strongly and intuitively feel the harm of the late sleep, and the user is prompted to change bad work and rest habits.
In some embodiments, the step S204 of determining the first picture processing data corresponding to the target object according to the first rest information includes: acquiring a reference picture corresponding to the first work and rest information, wherein the reference picture comprises a reference object matched with an object in the target picture; step S208, processing the target picture according to the first picture processing data, and obtaining a prompt picture includes: and fusing the reference picture and the target picture to obtain a prompt picture.
Specifically, the reference picture is a picture used for fusion with the target picture, and the object in the target picture matching with the reference object means that the reference object and the object in the target picture are the same type of object, for example, if the object in the target picture is a person, the reference object is also a person. If the object in the target picture is a dog, the reference object is also a dog. The corresponding relationship between the work and rest information and the reference picture may be preset, for example, when the sleep duration is 4 hours, the corresponding reference picture may be picture 5. For example, if the picture processing data corresponding to the work and rest information is the picture beautification processing data, the age of the reference object in the reference picture is smaller than that of the object in the target picture, so that the object in the prompt picture obtained after fusion appears younger than the object in the target picture. And if the picture processing data are picture defaulting processing data, the age of the reference object in the reference picture is larger than that of the object in the target picture, so that the object in the prompt picture obtained after fusion is older than that of the object in the target picture. The image fusion is to perform fusion calculation on the pixel data of a plurality of images according to the fusion parameters to obtain a fusion image with a specific effect. And after the reference picture is obtained, carrying out weighted summation according to the pixel value of the reference picture and the pixel value of the target picture, and fusing to obtain the pixel value of the pixel point in the prompt picture. And assuming that the picture processing data is picture defaulting processing data, the target picture is a head portrait of a middle-aged person, the reference picture is an image of an old person, the target picture and the reference picture are fused to obtain a prompt picture, and the head portrait in the prompt picture is older than the head portrait in the target picture according to the image fusion principle.
In some embodiments, when image fusion is performed, a target image may be subjected to region division to obtain a plurality of target regions, a reference region matched with the target region is obtained from a reference image, and an image of the reference region is fused with an image of the target region. Wherein, the matching of the target region and the reference region may include one or both of size matching and matching of the corresponding sub-object. Thus, through fine-grained division, the processed prompt picture is more detailed and is more similar to the object of the target picture in structure. For example, if the object in the target picture is the face of the target object and the reference image is also the face of the reference object, there may be a case that the size of the face of the target object is not consistent with that of the face of the reference object, and if the two pictures are directly fused, the face in the obtained prompt picture may be deformed. However, if the target image is divided into a plurality of target areas, and the reference areas which are consistent in size and matched with the corresponding sub-objects are obtained according to the target areas, when fusion is performed, the sizes of the areas obtained through fusion and the target areas are consistent, so that the sizes of the objects in the obtained prompt picture and the sizes of the objects in the target picture are consistent and more vivid.
In some embodiments, a target feature point of an object in the target picture and a feature point of a reference object in the reference picture may be acquired, the target feature point with the matched type and the feature point of the reference object correspond to each other, and when the reference picture is fused with the target picture, regions of the corresponding feature points are fused. For example, feature recognition is performed on a human face, feature points such as the eyebrows, the nose, the mouth, and the contour of the subject in the target picture are acquired, and feature points such as the eyebrows, the nose, the mouth, and the contour of the subject in the reference picture are also acquired and matched with the feature points in the target picture. For example, a picture region corresponding to the eyebrow feature point in the reference picture is fused with an image region corresponding to the eyebrow feature point in the target picture, and a picture region corresponding to the nose feature point in the reference picture is fused with an image region corresponding to the nose feature point in the target picture.
For example, if the face in the target picture is smaller than the face in the reference picture, the target picture and the reference picture may be split by using a dironey triangulation algorithm, and the split face is divided into a plurality of regions, where if the region a in the target picture and the region B in the reference picture are matched regions, the region a and the region B are fused when fusing. In the fusion, a Poisson Editing method may be used. The Delaunay triangulation algorithm is an algorithm for dividing a region into a plurality of triangular regions.
In some embodiments, when the fusion is performed, the curvature of the image block may also be performed on a partial region, and the shape of the image block may be changed, for example, the length and the width of the image region corresponding to the chin of the human face are lengthened.
In some embodiments, the prompt information processing method further includes: and displaying the prompt picture or sending the prompt picture to a target terminal corresponding to the target object so as to display the prompt picture on the target terminal.
Specifically, if the server processes the target picture according to the first picture processing data to obtain the prompt picture, the server may send the prompt picture to the target terminal corresponding to the target object, so that the target terminal displays the prompt picture. If the terminal processes the target picture according to the first picture processing data to obtain the prompt picture, the terminal can display the prompt picture on a screen.
In some embodiments, in displaying the hint picture, information may also be displayed that prompts the target object to change work and rest habits, for example, "in the past month you slept 11 times late, the image has now become 33 years old you, recommended to sleep 10 o' clock a night each day" may be displayed above the hint picture "
In some embodiments, as shown in fig. 3, acquiring image pharming processing data, where the first image processing data corresponding to the target object includes:
step S302, a pharming degree influence factor corresponding to the target object is obtained, wherein the pharming degree influence factor comprises the difference between the first work and rest information and/or the age of the target object.
Specifically, the defaulting degree refers to the defaulting degree, and the larger the defaulting degree is, the more defaulting is. The pharming degree influence factor is a factor influencing a pharming degree, wherein the pharming degree influence factor may include one or more of a difference between the first event information and the planned event information and an age of the target object. The planning rest information refers to planning rest information. For example, the planned rest information may include a sleep start time of 10 pm, and if the first rest information is 12 pm, the difference between the planned information and the first rest information is 2 hours. The age of the target object may be input by the user, or may be detected from an avatar of the target object in the picture.
Step S304, determining corresponding target picture pharming data according to the pharming degree influence factor, wherein the difference between the first work rest information and the planning work rest information is in positive correlation with the pharming degree corresponding to the target picture pharming data, and the age of the target object is in positive correlation with the pharming degree corresponding to the target picture pharming data.
Specifically, the target picture defaulting data refers to data for determining how defaulting is performed on an object in the target picture. For example, the reference picture to be fused, the weight of the picture fusion, and the age of the subject in the prompt picture obtained after the fusion may be included. The positive correlation relationship means that: the two variables have the same change direction, and when one variable changes from large to small, the other variable also changes from large to small. It is to be understood that a positive correlation herein means that the direction of change is consistent and does not require that when one variable changes at all, the other must also change. For example, the variable b can be set to be 100 when the variable a is 10 to 20, and the variable b can be set to be 120 when the variable a is 20 to 30. Thus, if the changing directions of a and b are both the same as a, b is also increased, even if b is not changed within the range of 10-20, a and b may be in positive correlation. The larger the age of the target object is, the larger the defaulting degree corresponding to the target picture defaulting data is, and the larger the difference between the first work and rest information and the planning work and rest information is, the larger the defaulting degree corresponding to the target picture defaulting data is. For example, the average sleep time of the target objects F and H is 8 hours, and if the average sleep time of the target object F in the past week is 6 hours and the average sleep time of the target object H in the past week is 4 hours, the difference between the target object H and the planned rest information is larger than the difference between the target object F and the planned rest information, so that wrinkles of the reference object in the reference picture corresponding to the target object H are more than wrinkles of the reference object in the reference picture corresponding to the target object F.
And after the target picture pharming data is obtained, processing the target picture according to the target picture pharming data to obtain a prompt picture. For example, when the target picture defaulting data includes the age of the defaulting object, the picture in the target picture can be processed into a picture corresponding to the age according to the rule that the appearance of the person changes with the age. And if the target picture defaulting data comprises the reference picture, acquiring the corresponding reference picture, and fusing the reference picture and the target picture.
In some embodiments, the target object corresponding ugly influence factor includes a difference between the first work and planned work information and an age of the target object, and the target picture ugly data includes reference picture data and a reference picture fusion weight. The reference picture can be determined according to the age of the target object, and the reference picture fusion weight is determined according to the difference between the first work and rest information and the planning work and rest information. And fusing the target picture and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
Specifically, the age of the target object and the defaulting degree corresponding to the reference object are in a positive correlation, that is, the larger the age of the target object is, the larger the defaulting degree of the obtained reference object is, so that the target object with the larger age is defaulting in the prompt picture obtained after defaulting. For example, as the age increases, the faster a person ages, and thus, the older the target object, the more wrinkles the reference object in the corresponding reference picture. The difference between the first work and rest information and the planning work and rest information is in positive correlation with the reference picture fusion weight, namely the larger the difference between the first work and rest information and the planning work and rest information is, the larger the reference picture fusion weight is, so that the object which is less in line with the planning work and rest information is more ugly in the prompt picture obtained after the defaulting. A candidate picture library containing different degrees of ugly can be preset, and the corresponding relation between pictures in the candidate picture library and the ages and the corresponding relation between the difference between the work and rest information and the planning work and rest information and the fusion weight of the reference pictures can be set. Therefore, after the age of the target object is obtained, the reference picture is determined according to the age of the target object, the reference picture fusion weight is determined according to the difference between the first work and rest information and the planning work and rest information, and the reference picture and the target picture are fused according to the reference picture fusion weight to obtain the prompt picture. For example, the picture library may include 10 candidate pictures, for a target object aged 12-20, the corresponding reference picture is the 2 nd candidate picture, and for a target object aged 20-30, the corresponding reference picture is the 3 rd candidate picture, wherein the defaulting degree of the 3 rd candidate picture is greater than that of the 2 nd candidate picture. And setting the corresponding reference picture fusion weight to be 0.5 if the target object aged 20-30 sleeps 2 hours later than the planned time, and setting the corresponding reference picture fusion weight to be 0.7 if the target object aged 20-30 sleeps 3 hours later than the planned time. Assuming that the target object sleeps late for 3 hours, the reference picture fusion weight can be obtained to be 0.7, so the target picture fusion weight can be 1-0.7 ═ 0.3. Therefore, the hint picture is target picture 0.3+ reference picture 0.7.
In some embodiments, the obtaining of the picture defaulting processing data as the first picture processing data corresponding to the target object includes: and acquiring a plurality of different target picture pharming data sets, wherein the pharming degrees corresponding to the target picture pharming data sets are different.
Specifically, the number of the target picture defaulting data sets can be set as required. For example, the number of the target picture defaulting data sets is greater than or equal to 3, and one target picture defaulting data set comprises one or more target picture defaulting data. The different pharming degrees corresponding to the target picture pharming data sets mean that the target pictures are respectively pharming by using the target picture pharming data sets, and the obtained prompt pictures are prompt pictures with different pharming degrees. The plurality of target picture pharming data sets may include the same target picture pharming data. For example, for the c1 target picture pharming data set, the corresponding target picture pharming data includes a reference picture d1 and a reference picture fusion weight e1, and for the c2 target picture pharming data set, the corresponding target picture pharming data includes a reference picture d2 and a reference picture fusion weight e 1. For the c3 target picture pharming data set, the corresponding target picture pharming data d1 includes a reference picture fusion weight e 2. Where d1 and d2 are different reference pictures and e1 and e2 are different.
In some embodiments, the plurality of target picture pharming data sets comprise the same reference picture, different reference picture fusion weights.
In some embodiments, the plurality of target picture pharming data sets comprise different reference pictures, the same reference picture fusion weight.
In some embodiments, processing the target picture according to the first picture processing data to obtain the hint picture includes: processing the target pictures according to the pharming data in each target picture pharming data set to obtain prompt pictures corresponding to each target picture pharming data set; and obtaining the sequencing information of each prompt picture according to the clown degree corresponding to each target picture clown data set, wherein the sequencing information is used for indicating that each prompt picture is displayed according to the sequence of the clown degree from small to large.
Specifically, after the target picture pharming data set is obtained, the target picture is processed according to pharming data in the target picture pharming data set, and prompt pictures corresponding to the target picture pharming data sets are obtained. For example, the target picture is processed by using the c1 target picture defaulting data set to obtain a corresponding first prompting picture. And processing the target picture by using the c2 target picture defaulting data set to obtain a corresponding second prompt picture, and processing the target picture by using the c3 target picture defaulting data set to obtain a corresponding third prompt picture. The sequencing information is sequenced according to the sequence from small degree to large degree of defaulting, and the higher the defaulting degree is, the later the sequencing is. When the prompt pictures are displayed in the sequence from small to large in the defaulting degree, the prompt pictures can be arranged in the sequence, for example, if 3 prompt pictures are provided, the 3 prompt pictures are displayed on the terminal screen in the defaulting degree sequence, wherein the first picture has relatively few wrinkles and the defaulting degree is minimum. The second picture has more wrinkles, the ugliness is larger than that of the first picture, the third picture has the most wrinkles, and the ugliness is the largest. In some embodiments, the hint pictures may also be synthesized into a dynamic picture sequence in the order of the defaulting degree, and the dynamic picture sequence is played, for example, multiple pictures are combined into a dynamic picture in gif format. In the embodiment of the invention, the prompt pictures corresponding to the target picture clown data sets are obtained by obtaining the plurality of different target picture clown data sets, the clown degrees corresponding to the plurality of target picture clown data sets are different, and the prompt pictures are displayed according to the sequence of the clown degrees from small to large, so that the condition that the work and rest information of a user gradually changes the target object is reflected more vividly, and the effectiveness of the prompt information is improved.
In some embodiments, as shown in fig. 4, the prompt information processing method may further include the steps of:
step S402, second work and rest information of the target object is obtained, and the time corresponding to the second work and rest information is later than that of the first work and rest information.
Specifically, the time corresponding to the second work information later than the first work information is: the time of the work and rest event corresponding to the second work and rest information is after the time of the work and rest event corresponding to the first work and rest information. For example, assuming that the first rest information is the sleep start time of the last night, the second rest information is the sleep start time of last night.
Step S404, determining second picture processing data corresponding to the target object according to the second work and rest information.
Specifically, the step of determining the second image processing data corresponding to the target object according to the second rest information may refer to the step of determining the first image processing data corresponding to the target object according to the first rest information, which is not repeated herein in the embodiments of the present invention.
Step S406, a prompt picture is obtained as a target picture corresponding to the target object.
And step S408, processing the prompting picture according to the second picture processing data to obtain an updated prompting picture.
Specifically, the step of processing the target picture according to the first picture processing data formula may be referred to for processing the hint picture according to the second picture processing data formula, and details are not repeated here in the embodiments of the present invention. The target picture acquired in step S406 is a prompt picture processed according to the first picture processing data. The prompt picture obtained by processing the first picture processing data can be obtained when the target picture corresponding to the target object needs to be processed according to the second picture processing data, so that the prompt picture obtained by processing the first picture processing data is obtained and processed when the picture corresponding to the target object is processed according to the subsequent work and rest information, and therefore the prompt picture obtained by updating according to the second picture processing data reflects the cumulative influence of the work and rest information on the target object and more vividly shows the influence of the work and rest information on a user along with the time accumulation. For example, assuming that the time for uploading the avatar picture by the user is half a year ago, the avatar picture of the user can be processed according to the work and rest information of each month or each day, and each time the avatar picture obtained by the last processing is obtained as the picture corresponding to the target object for processing, so that the avatar picture obtained after half a year is the result obtained by integrating the work and rest information of the half a year. The avatar picture is a picture showing the avatar of the user.
The above prompt information method may be executed by an application program on the terminal, for example, a sleep management application program, and as shown in fig. 5A, the following describes a prompt information processing method provided in an embodiment of the present invention in conjunction with a product logic structure diagram of the sleep management application program: and when receiving a sleep management application program starting instruction, the terminal starts the sleep management application program. The sleep management application determines whether the currently logged-in user is the first-time logged-in user. If the user logs in for the first time, entering a head portrait acquisition page, acquiring a corresponding head portrait picture through real-time shooting on the head portrait acquisition page, and acquiring a head portrait picture shot in advance from an image library of the terminal according to the operation of the user. A schematic diagram of the avatar acquisition page may be as shown in fig. 5B. After the head portrait picture is obtained, the age of the user can be obtained and displayed by carrying out age detection on the face of the head portrait picture. A schematic diagram of an age presentation page, for example, may be as shown in fig. 5C. The age display page can be provided with a control corresponding to the sleep planning time, when the control is clicked, the page enters the sleep planning time setting page, and the sleep planning time can be set in the page, for example, the sleep time at every night is set to be 11 o' clock at night. After the sleep planning time setting is completed, the terminal can enter a time management page, in the time management page, the events required to be done in each time period every day can be set, and the terminal can remind the corresponding events according to the set time. If the user is not the first user to log in, then go to a sleep time filling page, filling in the historical sleep time, for example, last night. And if the filled sleep time is later than the planned sleep time, entering an anti-province page, and displaying a prompt picture on the anti-province page, wherein the prompt picture is obtained by processing a head portrait picture according to picture processing data obtained according to the difference between the last-night sleep time of the user and the planned insomnia time. A schematic diagram of the introspection page may be shown in fig. 5D, where the avatar picture in fig. 5D is processed according to the avatar picture in fig. 5C. Before entering the anti-province page, the early warning page can be displayed and used for expressing the hazards brought by late sleep, and when the corresponding anti-province control of the early warning page is clicked to achieve good anti-province, the anti-province page is entered. The presentation time of the hint picture on the reflexive page may be 3 seconds. And after the display is finished, entering a time management page, and performing operations such as sleeping card punching, sleeping time recording and the like on the time management page. When the time management page slides to the left, the time management page can enter a reverse-provincial diary writing page, the reverse-provincial diary writing page can write related sleep diaries, when the time management page slides to the right, the time management page can enter a personal information display page, and the head portrait and the time set by sleep can be uploaded again on the personal information display page.
As shown in fig. 6, in some embodiments, a prompt information processing method is proposed, and the information processing method of this embodiment may be applied to the terminal 110 or the server 120 in fig. 1A. The method specifically comprises the following steps:
step S602, a to-be-processed picture is acquired.
Specifically, the picture to be processed is a picture that needs to be processed, and the picture to be processed may be acquired in real time or may be stored in advance. For example, a camera on the terminal may be used to shoot the target object, so as to obtain a to-be-processed picture. And a picture shot in advance can be obtained from the photo album as a picture to be processed.
Step S604, obtaining first user information corresponding to at least one target object in the picture to be processed.
Specifically, the picture to be processed includes one or more target objects thereon. The first user information refers to information related to a user corresponding to the target object. For example, the face detection may be performed to obtain a face of a target object in the to-be-processed picture, which is the face of the user C, and then the first user information of the user C is obtained. The first user information may include one or more of attribute information and behavior information of the user. The attribute information of the user may be, for example, one or more of professional information, work environment information, and personality information of the user. The user behavior information is information obtained from the behavior of the user. For example, the information may be one or more of work and rest information of the user, frequency information of smoking of the user, fitness behavior information of the user, drinking behavior information of the user, and the like.
In some embodiments, the first user information corresponding to the target object may be acquired in real time or may be pre-stored. For example, as shown in fig. 7, the picture to be processed is displayed on an interface of the terminal, an operation control of "personal prediction" may be displayed on the interface of the terminal, and when a click operation on the operation control of "personal prediction" is received, first user information stored in advance may be acquired, or a user information acquisition interface may be displayed, so as to acquire user information input by a user. The user information to be acquired can be set according to needs.
In some embodiments, the type of the acquired first user information may be preset, for example, it may be set that the user information to be acquired is professional information of the user and fitness behavior information of the user.
In some embodiments, the type of the obtained first user information may be obtained according to a selection operation of a user, for example, various user information types may be presented and selected, and the user may select a corresponding user information type as needed.
Step S606, determining first picture processing data corresponding to the target object according to the first user information.
Specifically, the correspondence relationship of the user information and the picture processing data may be set. For example, the first photo processing data corresponding to farmers who are professional, the first photo processing mode corresponding to 3 hours and 1 cigarette smoking frequency, the first photo processing data corresponding to 3 hours and 1 cigarette smoking frequency, and the like may be set. And setting first picture processing data corresponding to the people with sexual violence.
In some embodiments, corresponding first picture processing data may be obtained from candidate picture processing data according to the first user information, where the candidate picture processing data includes picture beautification processing data and picture amortization processing data.
In some embodiments, a corresponding relationship between the user information and the age change of the personal appearance may be set, so that after the first user information is obtained, an age change parameter corresponding to the target object is determined, and corresponding image processing data is obtained according to the age change parameter. For example, the appearance of a worker as an outdoor worker may appear older than 8 years now after 5 years, and thus a wrinkle texture that increases the target object by 8 years may be acquired, and the wrinkle texture that increases by 8 years may be added to the face corresponding to the target object.
In some embodiments, for the user behavior information, when the first user behavior information satisfies the preset behavior information, the corresponding picture processing data is the picture beautification processing data. And when the first user behavior information does not meet the preset behavior information, the corresponding picture processing data is picture defaulting processing data. For example, when the preset behavior information is that the total amount of drinking per day does not exceed 50ml, if the total amount of drinking per day of the target object is 100ml, the corresponding picture processing data is picture defaulting processing data.
In some embodiments, the picture processing data is obtained by integrating a plurality of user information. The influence of various user information on the age corresponding to the appearance of the user can be set, and the comprehensive influence is obtained by integrating various influence systems. As a practical example, assuming that the base number of normal aging is 1, the aging rate of outdoor work can be set to 1.08 and the aging rate of indoor work to 0.98. Body-building more than 3 times a week corresponds to an aging rate of 0.95, others of 1. The aging rate of 0.98 with the number of smoking cigarettes per day of more than 10 and the aging rate of 0.96 with the number of smoking cigarettes per day may be 1.08 × 1 × 0.96 to 1.036, assuming that the target object is an outdoor worker, the number of fitness exercises per week is 1 and the number of smoking cigarettes per day is 0. The aging speed is faster than the normal aging speed, so the obtained picture pharming processing data. Wherein, the corresponding relation between the aging speed and the picture processing data can be set, wherein, the larger the aging speed is, the higher the defaulting degree of the corresponding reference picture is. For example, if the aging rate is set to 1.1, the corresponding reference picture is picture 2, and if the aging rate is set to 1.2, the corresponding reference picture is picture 3, and the defaulting degree of picture 3 is higher than that of picture 2.
Step 608, according to the first picture processing data, processing an image area corresponding to the target object in the picture to be processed to obtain a prompt picture.
Specifically, the image area corresponding to the target object refers to an image area where the target object is located in the picture to be processed. The picture to be processed may include a plurality of objects and may also include a background. When the first picture processing data is acquired, processing an image area where a target object corresponding to the first picture processing data is located. For example, if the picture to be processed includes two people: h1 and h2, if the first picture processing data corresponding to h1 is obtained, the image area corresponding to h1 is processed.
According to the prompt information processing method, when the picture to be processed is obtained, the user information of the target object in the picture to be processed can be obtained, the picture processing data corresponding to the target object is determined, the image area corresponding to the target object in the picture to be processed is processed according to the picture processing data, the processed picture is used as the picture for prompting the target object, and therefore the change of the target object under the corresponding user information of the user is prompted, the target object can be prompted according to the user information of the target object in a self-adaptive mode, and the effectiveness of the prompt information is improved.
In some embodiments, the to-be-processed picture includes a first target object and a second target object, and the obtaining of the first user information corresponding to at least one target object in the to-be-processed picture includes: and acquiring first user information corresponding to a first target object and first user information corresponding to a second target object in the picture to be processed. Determining first picture processing data corresponding to the target object according to the first user information includes: determining first picture processing data corresponding to a first target object according to first user information corresponding to the first target object, and determining first picture processing data corresponding to a second target object according to first user information corresponding to the second target object; according to the first picture processing data, processing an image area corresponding to the target object in the picture to be processed to obtain a prompt picture, wherein the step of obtaining the prompt picture comprises the following steps: and processing an image area corresponding to the first target object in the picture to be processed according to the first picture processing data corresponding to the first target object, and processing an image area corresponding to the second target object in the picture to be processed according to the first picture processing data corresponding to the second target object to obtain a prompt picture.
Specifically, the picture to be processed includes a first target object and a second target object. Of course a third target object may be included. First user information corresponding to the first target object and first user information corresponding to the second target object can be acquired respectively. The first user information corresponding to the first target object and the first user information corresponding to the second target object may be input by a user or may be pre-stored. For example, after detecting the picture to be processed to obtain the first target object and the second target object, face recognition may be performed on the first target object and the second target object to determine which user specifically corresponds to each of the first target object and the second target object, and then the user information corresponding to the corresponding user is obtained from the user information database. The method for determining the picture processing data according to the user information may refer to examples in other embodiments of the present invention, and this embodiment is not described herein again. And processing an image area corresponding to the first target object in the picture to be processed according to the first picture processing data corresponding to the first target object after the picture processing data is obtained, and processing an image area corresponding to the second target object in the picture to be processed according to the first picture processing data corresponding to the second target object to obtain a prompt picture. As a practical example, if two people are included on the picture to be processed: h1 and h2 can obtain the first picture processing data corresponding to h1, and process the image area corresponding to h 1. And acquiring first picture processing data corresponding to h2, and processing the image area corresponding to h2, so that the processed prompt picture comprises pictures corresponding to two target objects, and the influence of different user information on the appearance of the objects can be displayed in the same picture.
In some embodiments, the first picture processing data is an aging processing parameter, i.e. a picture processing parameter that ages a target object in a picture so that the target object becomes older. The target expected time corresponding to the aging process parameter may be preset. For example, the aging process parameter may be an aging process parameter that causes the target object to become a face after 3 years. The aging process parameterization may be an aging process parameter that causes the target object to become a 60 year-old appearance.
In some embodiments, the prompt information processing method may further include: and acquiring the target expected time input by the user. Determining first picture processing data corresponding to the target object according to the first user information includes: determining first picture processing data corresponding to a target object according to the first user information and the target expected time; according to the first picture processing data, processing an image area corresponding to the target object in the picture to be processed to obtain a prompt picture, wherein the step of obtaining the prompt picture comprises the following steps: and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain a prompt picture, wherein the prompt picture comprises the target object corresponding to the target expected time.
Specifically, the target desired time is a time desired by the user. It may be a specific time, such as 2020 years, or it may be a length of time, such as 3 years. The target expected time may be input by a user, for example, as shown in fig. 8, "a personal appearance prediction after __ years" may be displayed on the terminal, the user may input a corresponding target expected time on a downward line "__", and if the input target expected time is 3 years, the corresponding aging processing parameter may be acquired according to a preset human face aging model, and the target object in the picture to be processed may be processed into a personal appearance after 3 years. For example, if the target expectation time is 3 years and the aging rate of the user is 1.2 according to the user information, it can be obtained that the age of the target object increases by 3 × 1.2 to 3.6 years after 3 years, so the aging processing parameter corresponding to 3.6 years can be acquired, and the image area corresponding to the target object is processed, so that the target object of the presentation picture is the target object corresponding to the target expectation time, that is, the appearance of the target object after 3 years is presented in the presentation picture. The face aging Model may be an Active Appearance Model (AAM), a multi-resolution face representation Model, or the like, and may be specifically set as required.
In some embodiments, the prompt information processing method may further include: acquiring second user information of the target object, wherein the time corresponding to the second user information is later than that of the first user information; determining second picture processing data corresponding to the target object according to the second user information; acquiring a prompt picture as a target picture corresponding to a target object; and processing the image area corresponding to the target object in the prompt picture according to the second picture processing data to obtain an updated prompt picture.
As shown in fig. 9, in some embodiments, a reminder information processing apparatus is provided, which may be integrated in the server 120 or the terminal 110, and specifically includes a first work information obtaining module 902, a first processed data determining module 904, a first target picture obtaining module 906, and a reminder picture obtaining module 908.
The first work and rest information obtaining module 902 is configured to obtain first work and rest information of the target object.
The first processing data determining module 904 is configured to determine first picture processing data corresponding to the target object according to the first work and rest information.
A first target picture obtaining module 906, configured to obtain a target picture corresponding to the target object.
A prompt picture obtaining module 908, configured to process the target picture according to the first picture processing data to obtain a prompt picture.
In some embodiments, the first processed data determination module 904 is to: when the first work and rest information meets a work and rest planning strategy, determining first picture processing data corresponding to the target object as picture beautifying processing data; and/or when the first work and rest information does not meet the work and rest planning strategy, determining the first picture processing data corresponding to the target object as picture defaulting processing data.
In some embodiments, the first rest information includes one or more of sleep time, sleep quality, and sleep duration corresponding to the target object, and the first rest information not satisfying the rest planning policy includes one or more of the following conditions: the sleep starting time of the target object is later than the preset sleep starting time; the sleep end time of the target object is earlier than the preset sleep end time; the sleep quality index of the target subject is worse than the preset sleep quality index; the sleep duration of the target object is less than the preset sleep duration.
In some embodiments, the first processed data determination module 904 is to: acquiring a reference picture corresponding to the first work and rest information, wherein the reference picture comprises a reference object matched with an object in the target picture; the hint picture derivation module 908 is configured to: and fusing the reference picture and the target picture to obtain a prompt picture.
In some embodiments, the first picture manipulation data is picture pharming manipulation data, and the first manipulation data determining module 904 comprises: the system comprises a defaulting degree influence factor acquisition unit, a target object planning unit and a target object planning unit, wherein the defaulting degree influence factor acquisition unit is used for acquiring defaulting degree influence factors corresponding to the target object, and the defaulting degree influence factors comprise the difference between first work and rest information and planning work and rest information and/or the age of the target object; and the target picture pharming data determining unit is used for determining corresponding target picture pharming data according to the pharming degree influence factor, wherein the difference between the first work and rest information and the planning work and rest information is in a positive correlation with the pharming degree corresponding to the target picture pharming data, and the age of the target object is in a positive correlation with the pharming degree corresponding to the target picture pharming data.
In some embodiments, the target object corresponding ugly influence factor includes a difference between the first event information and the planned event information and an age of the target object, the target picture ugly data includes a reference picture and a ugly fusion weight, and the target picture ugly data determination unit is configured to: determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with an object in the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation; determining a reference picture fusion weight according to the difference between the first work and rest information and the planning work and rest information, wherein the difference between the first work and rest information and the planning work and rest information is in positive correlation with the reference picture fusion weight; the hint picture derivation module 908 is configured to: and fusing the target picture and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
In some embodiments, the first picture manipulation data is picture pharming manipulation data, and the first manipulation data determining module 904 comprises: the target picture pharming data set acquisition unit is used for acquiring a plurality of different target picture pharming data sets, wherein the pharming degrees corresponding to the target picture pharming data sets are different; the hint picture derivation module 908 includes: the processing unit is used for processing the target pictures according to the pharming data in each target picture pharming data set to obtain prompt pictures corresponding to each target picture pharming data set; and the sequencing information obtaining unit is used for obtaining sequencing information of each prompt picture according to the clowning degree corresponding to each target picture clowning data set, and the sequencing information is used for indicating that each prompt picture is displayed according to the sequence of the clowning degree from small to large.
In some embodiments, the guidance information processing apparatus further includes: the second work and rest information acquisition module is used for acquiring second work and rest information of the target object, and the time corresponding to the second work and rest information is later than that of the first work and rest information; the second processing data determining module is used for determining second picture processing data corresponding to the target object according to the second work and rest information; the second target picture acquisition module is used for acquiring the prompt picture as a target picture corresponding to the target object; and the prompt picture updating module is used for processing the prompt picture according to the second picture processing data to obtain an updated prompt picture.
In some embodiments, the guidance information processing apparatus further includes: and the display or sending module is used for displaying the prompt picture or sending the prompt picture to a target terminal corresponding to the target object so as to display the prompt picture on the target terminal.
As shown in fig. 10, in some embodiments, a prompt information processing apparatus is provided, which may be integrated in the server 120 or the terminal 110, and specifically may include a to-be-processed picture acquiring module 1002, a user information acquiring module 1004, a picture processing data acquiring module 1006, and an image area processing module 1008.
A to-be-processed picture obtaining module 1002, configured to obtain a to-be-processed picture.
The user information obtaining module 1004 is configured to obtain first user information corresponding to at least one target object in the picture to be processed.
The image processing data obtaining module 1006 is configured to determine first image processing data corresponding to the target object according to the first user information.
The image area processing module 1008 is configured to process an image area corresponding to the target object in the picture to be processed according to the first picture processing data, so as to obtain a prompt picture.
In some embodiments, the picture processing data acquisition module 1006 is configured to: and acquiring corresponding first picture processing data from the candidate picture processing data according to the first user information, wherein the candidate picture processing data comprises picture beautifying processing data and picture defaulting processing data.
In some embodiments, the to-be-processed picture includes a first target object and a second target object, and the user information obtaining module 1004 is configured to: acquiring first user information corresponding to a first target object and first user information corresponding to a second target object in a picture to be processed; the picture processing data acquisition module 1006 is configured to: determining first picture processing data corresponding to a first target object according to first user information corresponding to the first target object, and determining first picture processing data corresponding to a second target object according to first user information corresponding to the second target object; the image area processing module 1008 is to: and processing an image area corresponding to the first target object in the picture to be processed according to the first picture processing data corresponding to the first target object, and processing an image area corresponding to the second target object in the picture to be processed according to the first picture processing data corresponding to the second target object to obtain a prompt picture.
In some embodiments, the guidance information processing apparatus further includes: the time acquisition module is used for acquiring target expected time input by a user; the picture processing data acquisition module 1006 is configured to: determining first picture processing data corresponding to a target object according to the first user information and the target expected time; the image area processing module 1008 is to: and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain a prompt picture, wherein the prompt picture comprises the target object corresponding to the target expected time.
FIG. 11 illustrates an internal block diagram of a computer device in some embodiments. The computer device may specifically be the server 120 in fig. 1A. As shown in fig. 11, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the hint information processing method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform the method for processing reminder information.
FIG. 12 is a diagram illustrating an internal structure of a computer device in some embodiments. The computer device may specifically be the terminal 110 in fig. 1A. As shown in fig. 12, the computer apparatus includes a processor, a memory, a network interface, an input device, and a display screen connected through a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement the hint information processing method. The internal memory may also store a computer program, and the computer program, when executed by the processor, may cause the processor to perform the method for processing reminder information. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the configurations shown in fig. 11 and 12 are only block diagrams of some configurations relevant to the present disclosure, and do not constitute a limitation on the computer device to which the present disclosure may be applied, and a particular computer device may include more or less components than those shown in the figures, or may combine some components, or have a different arrangement of components.
In some embodiments, the prompt information processing apparatus provided in the present application may be implemented in the form of a computer program, and the computer program may be run on a computer device as shown in fig. 11 or fig. 12. The memory of the computer device may store various program modules constituting the reminder information processing apparatus, such as a first work and rest information acquiring module 902, a first processed data determining module 904, a first target picture acquiring module 906, and a reminder picture acquiring module 908 shown in fig. 9. The computer program constituted by the respective program modules causes the processor to execute the steps in the prompt information processing method of the respective embodiments of the present application described in the present specification.
For example, the computer device shown in fig. 11 or 12 may acquire the first rest information of the target object by the first rest information acquiring module 902 in the reminder information processing apparatus shown in fig. 9. The first processed data determining module 904 determines the first picture processing data corresponding to the target object according to the first event information. A target picture corresponding to the target object is obtained by the first target picture obtaining module 906. The target picture is processed by the prompt picture obtaining module 908 according to the first picture processing data to obtain a prompt picture.
In some embodiments, a computer device is provided, comprising a memory and a processor, the memory storing a computer program which, when executed by the processor, causes the processor to perform the steps of the above mentioned hint information processing method. The steps of the prompt information processing method herein may be steps in the prompt information processing methods of the respective embodiments described above.
In some embodiments, a computer-readable storage medium is provided, in which a computer program is stored, which, when executed by a processor, causes the processor to perform the steps of the above mentioned hint information processing method. The steps of the prompt information processing method herein may be steps in the prompt information processing methods of the respective embodiments described above.
It should be understood that, although the steps in the flowcharts of the embodiments of the present invention are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in various embodiments may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, the computer program can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (28)

1. A method of hint information processing, the method comprising:
acquiring first work and rest information of a target object;
determining first picture processing data corresponding to the target object according to the first work and rest information; when the first rest information does not meet a rest planning strategy, acquiring a defaulting degree influence factor corresponding to the target object, wherein the defaulting degree influence factor comprises the difference between the first rest information and the planned rest information and/or the age of the target object; determining corresponding target picture pharming data according to the pharming influence factor, and taking the target picture pharming data as first picture processing data corresponding to the target object; the difference between the first work rest information and the planning work rest information is in positive correlation with the pharming degree corresponding to the target picture pharming data, and the age of the target object is in positive correlation with the pharming degree corresponding to the target picture pharming data;
acquiring a target picture corresponding to the target object;
and processing the target picture according to the first picture processing data to obtain a prompt picture.
2. The method of claim 1, wherein the determining the first picture processing data corresponding to the target object according to the first work information comprises:
and when the first work and rest information meets a work and rest planning strategy, acquiring picture beautifying processing data as first picture processing data corresponding to the target object.
3. The method of claim 1, wherein the determining the first picture processing data corresponding to the target object according to the first work information comprises:
acquiring a reference picture corresponding to the first work and rest information, wherein the reference picture comprises a reference object matched with an object in the target picture;
the processing the target picture according to the first picture processing data to obtain a prompt picture comprises:
and fusing the reference picture and the target picture to obtain a prompt picture.
4. The method of claim 1, wherein the first work information comprises one or more of historical work information and future work information.
5. The method of claim 1, wherein the target object corresponding ugliness impact factors include a difference between the first and planned rest information and an age of the target object, the target picture ugliness data includes a reference picture and a ugliness fusion weight, and the determining the corresponding target picture ugliness data according to the ugliness impact factors includes:
determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with the object of the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation;
determining a reference picture fusion weight according to the difference between the first work and rest information and planned work and rest information, wherein the difference between the first work and rest information and the planned work and rest information is in positive correlation with the reference picture fusion weight;
the processing the target picture according to the first picture processing data to obtain a prompt picture comprises:
and fusing the target picture and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
6. The method of claim 1, further comprising:
acquiring second work and rest information of the target object, wherein the time corresponding to the second work and rest information is later than that of the first work and rest information;
determining second picture processing data corresponding to the target object according to the second work and rest information;
acquiring the prompt picture as a target picture corresponding to the target object;
and processing the prompt picture according to the second picture processing data to obtain an updated prompt picture.
7. The method of claim 1, further comprising:
and displaying the prompt picture or sending the prompt picture to a target terminal corresponding to the target object so as to display the prompt picture on the target terminal.
8. A method of hint information processing, the method comprising:
acquiring historical sleep information of a target object;
when the historical sleep information does not meet a sleep planning strategy, acquiring a prompt picture corresponding to the target object, wherein the prompt picture is obtained by performing ugly processing on a picture to be processed corresponding to the target object, the ugly degree of the prompt picture is determined according to a ugly degree influence factor corresponding to the target object, and the ugly degree influence factor comprises the difference between the historical sleep information and the planning sleep information and/or the age of the target object; the difference between the historical sleep information and the planning sleep information is in positive correlation with the defaulting degree of the prompting picture, and the age of the target object is in positive correlation with the defaulting degree of the prompting picture;
and displaying the prompt picture.
9. The method of claim 8, wherein the historical sleep information comprises historical sleep start times, and wherein when the historical sleep information does not satisfy a sleep planning strategy, acquiring a prompt picture corresponding to the target object comprises:
and when the historical sleep starting time is later than the planned sleep starting time, acquiring a prompt picture corresponding to the target object, wherein the prompt picture is obtained by performing defaulting processing on an avatar corresponding to the target object.
10. The method according to claim 8, wherein the picture to be processed includes a first target object and a second target object, and the obtaining of the historical sleep information of the target object includes:
acquiring historical sleep information corresponding to a first target object and historical sleep information corresponding to a second target object in the picture to be processed;
the step of obtaining the prompt picture corresponding to the target object comprises the following steps:
determining picture pharming data corresponding to the first target object according to historical sleep information corresponding to the first target object, and determining picture pharming data corresponding to the second target object according to historical sleep information corresponding to the second target object;
processing an image area corresponding to the first target object in the picture to be processed according to the picture defaulting data corresponding to the first target object, and processing an image area corresponding to the second target object in the picture to be processed according to the picture defaulting data corresponding to the second target object to obtain a prompt picture.
11. The method of claim 8, wherein obtaining the hint picture comprises:
acquiring target expected time input by a user;
determining first picture processing data corresponding to the target object according to the historical sleep information and the target expected time;
and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain the prompt picture, wherein the prompt picture comprises the target object corresponding to the target expected time.
12. The method of claim 8, wherein the hint picture is a plurality of pictures with different degrees of pharming, and wherein the displaying the hint picture comprises:
and displaying the prompt pictures according to the sequence of the defaulting degree from small to large.
13. The method of claim 8, wherein the influence factors of the ugly degree corresponding to the target object include a difference between the historical sleep information and planned sleep information and an age of the target object, the target picture ugly data for ugly processing the to-be-processed picture includes a reference picture and a ugly fusion weight, and the step of obtaining the hint picture includes:
determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with the object of the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation;
determining a reference picture fusion weight according to the difference between the historical sleep information and the planned sleep information, wherein the difference between the historical sleep information and the planned sleep information and the reference picture fusion weight form a positive correlation;
and fusing the picture to be processed and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
14. A hint information processing apparatus, the apparatus comprising:
the first work and rest information acquisition module is used for acquiring first work and rest information of the target object;
the first processing data determining module is used for determining first picture processing data corresponding to the target object according to the first work and rest information; when the first rest information does not meet a rest planning strategy, acquiring a defaulting degree influence factor corresponding to the target object, wherein the defaulting degree influence factor comprises the difference between the first rest information and the planned rest information and/or the age of the target object; determining corresponding target picture pharming data according to the pharming influence factor, and taking the target picture pharming data as first picture processing data corresponding to the target object; the difference between the first work rest information and the planning work rest information is in positive correlation with the pharming degree corresponding to the target picture pharming data, and the age of the target object is in positive correlation with the pharming degree corresponding to the target picture pharming data;
the first target picture acquisition module is used for acquiring a target picture corresponding to the target object;
and the prompt picture obtaining module is used for processing the target picture according to the first picture processing data to obtain a prompt picture.
15. The apparatus of claim 14, wherein the first process data determining module is configured to:
and when the first work and rest information meets a work and rest planning strategy, acquiring picture beautifying processing data as first picture processing data corresponding to the target object.
16. The apparatus of claim 14, wherein the first process data determining module is configured to:
acquiring a reference picture corresponding to the first work and rest information, wherein the reference picture comprises a reference object matched with an object in the target picture;
the prompt picture obtaining module is used for:
and fusing the reference picture and the target picture to obtain a prompt picture.
17. The apparatus of claim 14, wherein the first work information comprises one or more of historical work information and future work information.
18. The apparatus of claim 14, wherein the target object's corresponding ugliness impact factors include a difference between the first event information and planned event information and an age of the target object, the target picture ugliness data includes a reference picture and a ugliness fusion weight, and the first processing data determining module is configured to:
determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with the object of the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation;
determining a reference picture fusion weight according to the difference between the first work and rest information and planned work and rest information, wherein the difference between the first work and rest information and the planned work and rest information is in positive correlation with the reference picture fusion weight;
the processing the target picture according to the first picture processing data to obtain a prompt picture comprises:
and fusing the target picture and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
19. The apparatus of claim 14, further comprising:
the second work and rest information acquisition module is used for acquiring second work and rest information of the target object, and the time corresponding to the second work and rest information is later than that of the first work and rest information;
the second processing data determining module is used for determining second picture processing data corresponding to the target object according to the second work and rest information;
the second target picture acquisition module is used for acquiring the prompt picture as a target picture corresponding to the target object;
and the prompt picture updating module is used for processing the prompt picture according to the second picture processing data to obtain an updated prompt picture.
20. The apparatus of claim 14, further comprising:
and the display or sending module is used for displaying the prompt picture or sending the prompt picture to a target terminal corresponding to the target object so as to display the prompt picture on the target terminal.
21. A hint information processing apparatus, the apparatus comprising:
the user information acquisition module is used for acquiring historical sleep information of the target object;
a hint picture obtaining module, configured to obtain a hint picture corresponding to the target object when the historical sleep information does not satisfy a sleep planning policy, where the hint picture is obtained by performing defaulting on a to-be-processed picture corresponding to the target object, and a defaulting degree of the hint picture is determined according to a defaulting degree influence factor corresponding to the target object, where the defaulting degree influence factor includes a difference between the historical sleep information and planned sleep information and/or an age of the target object; the difference between the historical sleep information and the planning sleep information is in positive correlation with the defaulting degree of the prompting picture, and the age of the target object is in positive correlation with the defaulting degree of the prompting picture;
and the display module is used for displaying the prompt picture.
22. The apparatus of claim 21, wherein the historical sleep information comprises historical sleep start times, and wherein the hint picture derivation module is configured to:
and when the historical sleep starting time is later than the planned sleep starting time, acquiring a prompt picture corresponding to the target object, wherein the prompt picture is obtained by performing defaulting processing on an avatar corresponding to the target object.
23. The apparatus of claim 21, wherein the to-be-processed picture comprises a first target object and a second target object, and the user information obtaining module is configured to:
acquiring historical sleep information corresponding to a first target object and historical sleep information corresponding to a second target object in the picture to be processed;
the module for obtaining the prompt picture corresponding to the target object is used for:
determining picture pharming data corresponding to the first target object according to historical sleep information corresponding to the first target object, and determining picture pharming data corresponding to the second target object according to historical sleep information corresponding to the second target object;
processing an image area corresponding to the first target object in the picture to be processed according to the picture defaulting data corresponding to the first target object, and processing an image area corresponding to the second target object in the picture to be processed according to the picture defaulting data corresponding to the second target object to obtain a prompt picture.
24. The apparatus of claim 21, wherein the means for obtaining the hint picture is configured to:
acquiring target expected time input by a user;
determining first picture processing data corresponding to the target object according to the historical sleep information and the target expected time;
and processing an image area corresponding to the target object in the picture to be processed according to the first picture processing data to obtain the prompt picture, wherein the prompt picture comprises the target object corresponding to the target expected time.
25. The apparatus of claim 21, wherein the hint picture is a plurality of pictures with different degrees of pharming, and wherein the presentation module is configured to:
and displaying the prompt pictures according to the sequence of the defaulting degree from small to large.
26. The apparatus of claim 21, wherein the target object corresponding ugly influence factor includes a difference between the historical sleep information and planned sleep information and an age of the target object, the target picture ugly data for ugly processing the to-be-processed picture includes a reference picture and a ugly fusion weight, and the means for obtaining the hint picture is configured to:
determining a reference picture according to the age of the target object, wherein the reference picture comprises a reference object matched with the object of the target picture, and the age of the target object and the defaulting degree corresponding to the reference object form a positive correlation;
determining a reference picture fusion weight according to the difference between the historical sleep information and the planned sleep information, wherein the difference between the historical sleep information and the planned sleep information and the reference picture fusion weight form a positive correlation;
and fusing the picture to be processed and the reference picture according to the reference picture fusion weight to obtain a prompt picture.
27. A computer arrangement, comprising a memory and a processor, the memory having stored therein a computer program which, when executed by the processor, causes the processor to carry out the steps of the hint information processing method of any one of claims 1 to 13.
28. A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, causes the processor to carry out the steps of the method of processing reminder information according to any one of claims 1 to 13.
CN201910017240.5A 2019-01-08 2019-01-08 Prompt information processing method and device, computer equipment and storage medium Active CN109784850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910017240.5A CN109784850B (en) 2019-01-08 2019-01-08 Prompt information processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910017240.5A CN109784850B (en) 2019-01-08 2019-01-08 Prompt information processing method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109784850A CN109784850A (en) 2019-05-21
CN109784850B true CN109784850B (en) 2021-09-17

Family

ID=66500222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910017240.5A Active CN109784850B (en) 2019-01-08 2019-01-08 Prompt information processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109784850B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669228B (en) * 2020-12-22 2024-05-31 厦门美图之家科技有限公司 Image processing method, system, mobile terminal and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809323A (en) * 2014-01-23 2015-07-29 国际商业机器公司 Method and system for individual virtualization of health condition
CN107424138A (en) * 2017-03-29 2017-12-01 广州市顺潮广告有限公司 Image interfusion method and computer-readable storage medium based on cloud server
CN108364673A (en) * 2018-02-13 2018-08-03 上海爱优威软件开发有限公司 The execution measure of supervision and system of scheme

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009154820A (en) * 2007-12-27 2009-07-16 Toshiba Corp Cellular phone display device and display method of cellular phone display device
CN106156730B (en) * 2016-06-30 2019-03-15 腾讯科技(深圳)有限公司 A kind of synthetic method and device of facial image
KR101890989B1 (en) * 2016-09-02 2018-09-28 변규리 O2O(Online to Offline) Calorie Service Management System for Calorie Measuring and Consumption based Image Recognition using Deep Learning Algorithm
CN106777973A (en) * 2016-12-15 2017-05-31 北京奇虎科技有限公司 The automatic method for formulating training plan, device and server
CN108847284B (en) * 2018-05-02 2021-03-23 莱博生物科技股份有限公司 Human body biological age measuring and calculating device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104809323A (en) * 2014-01-23 2015-07-29 国际商业机器公司 Method and system for individual virtualization of health condition
CN107424138A (en) * 2017-03-29 2017-12-01 广州市顺潮广告有限公司 Image interfusion method and computer-readable storage medium based on cloud server
CN108364673A (en) * 2018-02-13 2018-08-03 上海爱优威软件开发有限公司 The execution measure of supervision and system of scheme

Also Published As

Publication number Publication date
CN109784850A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN108985241B (en) Image processing method, device, computer equipment and storage medium
US11321385B2 (en) Visualization of image themes based on image content
CN112219229B (en) Optimized avatar asset resources
CN110390632B (en) Image processing method and device based on dressing template, storage medium and terminal
WO2022078041A1 (en) Occlusion detection model training method and facial image beautification method
US11024101B1 (en) Messaging system with augmented reality variant generation
CN108765268A (en) A kind of auxiliary cosmetic method, device and smart mirror
US20220058880A1 (en) Messaging system with neural hair rendering
US10650564B1 (en) Method of generating 3D facial model for an avatar and related device
JP7493532B2 (en) Changing the appearance of the hair
WO2021120626A1 (en) Image processing method, terminal, and computer storage medium
CN112734633A (en) Virtual hair style replacing method, electronic equipment and storage medium
CN109784850B (en) Prompt information processing method and device, computer equipment and storage medium
WO2022257766A1 (en) Image processing method and apparatus, device, and medium
CN112802162B (en) Face adjusting method and device for virtual character, electronic equipment and storage medium
KR102248219B1 (en) Method and apparatus for ordering and manufacturing custom sunglasses
CN111444979A (en) Face-lifting scheme recommendation method, cloud device and storage medium
US12033254B2 (en) Modifying an appearance of hair
CN116452703B (en) User head portrait generation method, device, computer equipment and storage medium
US20240062445A1 (en) Image based avatar customization
CN110147511B (en) Page processing method and device, electronic equipment and medium
CN113129209A (en) Beautifying photographing method and device
JP6780312B2 (en) Information processing equipment, information processing methods, and programs
CN114742951A (en) Material generation method, image processing method, device, electronic device and storage medium
KR20240030109A (en) An electronic apparatus for providing avatar based on an user's face and a method for operating the same

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