CN104869299B - Prompting method and device - Google Patents

Prompting method and device Download PDF

Info

Publication number
CN104869299B
CN104869299B CN201410066676.0A CN201410066676A CN104869299B CN 104869299 B CN104869299 B CN 104869299B CN 201410066676 A CN201410066676 A CN 201410066676A CN 104869299 B CN104869299 B CN 104869299B
Authority
CN
China
Prior art keywords
image
shot
adjusted
human body
determining
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
CN201410066676.0A
Other languages
Chinese (zh)
Other versions
CN104869299A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410066676.0A priority Critical patent/CN104869299B/en
Publication of CN104869299A publication Critical patent/CN104869299A/en
Application granted granted Critical
Publication of CN104869299B publication Critical patent/CN104869299B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a prompting method and a prompting device, wherein the method is applied to electronic equipment with an image sensing unit and comprises the following steps: acquiring an image to be shot sensed by the image sensing unit; determining the content to be adjusted in the image to be shot, wherein the content to be adjusted is obtained according to the difference information of the image to be shot and the template image; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets the preset requirement; and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot. The method can improve the aesthetic degree of the shot image.

Description

Prompting method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for prompting.
Background
Electronic devices with image capturing functions, such as mobile phones, tablet computers, smart cameras, and the like, are increasing. People can take images anytime anywhere by using the electronic equipment.
However, most users of electronic devices do not have a high image shooting technology, so that the attractive appearance of the captured image is poor and the shooting requirements of the users cannot be met due to the fact that the users cannot well guide the standing posture, position and the like of the shot person or cannot well select the shooting angle and the like.
Disclosure of Invention
In view of this, the present application provides a prompting method and apparatus to improve the aesthetic degree of an image captured by a user.
In order to achieve the above purpose, the present application provides the following technical solutions: a prompting method is applied to electronic equipment, the electronic equipment is provided with an image sensing unit, and the method comprises the following steps:
acquiring an image to be shot sensed by the image sensing unit;
determining content to be adjusted in the image to be shot, wherein the content to be adjusted is obtained according to difference information of the image to be shot and a template image; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets the preset requirement;
and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
Preferably, the determining the content to be adjusted in the image to be captured includes:
and when the image sensing unit is detected to finish the focusing operation on the image to be shot, determining the content to be adjusted in the image to be shot.
Preferably, the determining the content to be adjusted in the image to be captured includes:
matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
and determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image.
Preferably, the matching of the template image with the matching degree of the image to be captured meeting the preset requirement includes:
matching a human body posture template image with the matching degree of the human body posture of the human body in the image to be shot meeting the preset requirement;
determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image, wherein the determining comprises the following steps:
analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
Preferably, the determining, according to the difference information between the image to be captured and the template image, the content to be adjusted in the image to be captured includes:
analyzing a first position relation between the human body and the background in the image to be shot and a second position relation between the human body and the background in the template image;
and determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
Preferably, the determining the content to be adjusted in the image to be captured includes:
sending the image to be shot to a designated server;
and receiving the information of the content to be adjusted sent by the appointed server, and determining the content to be adjusted in the image to be shot.
On the other hand, the application also provides a prompting method, which is applied to a server and comprises the following steps:
receiving an image to be shot sent by electronic equipment, wherein the image to be shot is an image sensed by an image sensing unit of the electronic equipment;
matching the image to be shot with images in a preset template image library to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image;
and sending the information of the content to be adjusted to the electronic equipment so that the electronic equipment outputs prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
Preferably, the matching of the template image with the matching degree of the image to be captured meeting the preset requirement includes:
matching a human body posture template image with the matching degree of the human body posture of the human body in the image to be shot meeting the preset requirement;
the determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image comprises the following steps:
analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
Preferably, the determining, according to the difference information between the image to be captured and the template image, the content to be adjusted in the image to be captured includes:
analyzing a first position relation between the human body and the background in the image to be shot and a second position relation between the human body and the background in the template image;
and determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
On the other hand, this application still provides a suggestion device, is applied to electronic equipment, electronic equipment has the image sensing unit, the device includes:
the acquisition unit is used for acquiring the image to be shot sensed by the image sensing unit;
the determining unit is used for determining the content to be adjusted in the image to be shot, wherein the content to be adjusted is obtained according to the difference information of the image to be shot and the template image; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets the preset requirement;
and the prompting unit is used for outputting prompting information corresponding to the content to be adjusted, and the prompting information is used for prompting a user to adjust the image to be shot.
Preferably, the determining unit includes:
the first determining subunit is configured to determine content to be adjusted in the image to be captured when it is detected that the image sensing unit completes focusing on the image to be captured.
Preferably, the determining unit includes:
the matching subunit is used for matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
and the second determining subunit is used for determining the content to be adjusted in the image to be shot according to the difference information between the image to be shot and the template image.
Preferably, the matching subunit includes:
the template matching subunit is used for matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a human body posture template image which meets preset requirements with the matching degree of the human body posture of the human body in the image to be shot;
the second determining subunit includes:
the gesture analysis subunit is used for analyzing the gesture difference between the human body gesture in the image to be shot and the human body gesture in the human body gesture template image;
and the posture determining subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and the adjusting mode according to the posture difference.
Preferably, the second determining subunit includes:
the background analysis subunit is used for analyzing a first position relation between the human body and the background in the image to be shot and a second position relation between the human body and the background in the template image;
and the position determining subunit is used for determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
Preferably, the determining unit includes:
the sending subunit is used for sending the image to be shot to a specified server;
and the third determining subunit is used for receiving the information of the content to be adjusted sent by the specified server and determining the content to be adjusted in the image to be shot.
On the other hand, the present application further provides a prompting device, which is applied to a server, and includes:
the receiving unit is used for receiving an image to be shot sent by the electronic equipment, wherein the image to be shot is an image sensed by the image sensing unit of the electronic equipment;
the template matching unit is used for matching the image to be shot with images in a preset template image library to obtain a template image which meets the preset requirement on the matching degree of the image to be shot;
the content determining unit is used for determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image;
and the sending unit is used for sending the information of the content to be adjusted to the electronic equipment so as to enable the electronic equipment to output prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
Preferably, the template matching unit includes:
the first matching subunit is used for matching a human body posture template image which meets the preset requirement with the matching degree of the human body posture of the human body in the image to be shot;
the content determination unit includes:
the first analysis subunit is used for analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and the posture adjusting subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
Preferably, the content determining unit includes:
the second analysis subunit is used for analyzing the first position relationship between the human body and the background in the image to be shot and the second position relationship between the human body and the background in the template image;
and the position adjusting subunit is used for determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
On the other hand, the application also provides a prompt system, which comprises:
an electronic device and a server;
the electronic equipment is used for acquiring an image to be shot sensed by the image sensing unit, sending the image to be shot to the server, determining the content to be adjusted in the image to be shot according to the information of the content to be adjusted returned by the server, and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot;
the server is used for receiving the image to be shot sent by the electronic equipment, matching the image to be shot with images in a preset template image library and matching template images with matching degrees meeting preset requirements with the image to be shot; determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image; and sending the information of the content to be adjusted to the electronic equipment.
According to the technical scheme, after the image sensing unit senses the image to be shot, the content to be adjusted in the image to be shot can be determined, and corresponding prompt information is output, so that a user can adjust the image to be shot according to the prompt information, and finally the image with high attractiveness is shot.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart illustrating an embodiment of a prompting method according to the present application;
FIG. 2 is a schematic flow chart diagram illustrating another embodiment of a hinting method of the present application;
FIG. 3 is a flow chart illustrating another embodiment of a hinting method of the present application;
FIG. 4 is a flow chart illustrating an embodiment of another prompting method of the present application;
FIG. 5 is a schematic structural diagram illustrating an embodiment of a notification device according to the present application;
FIG. 6 is a schematic diagram showing a structure of a determining unit in another embodiment of a prompting device according to the present application;
FIG. 7 is a schematic diagram showing a structure of a determining unit in another embodiment of a prompting device according to the present application;
fig. 8 is a schematic structural diagram of another embodiment of the prompting device of the present application.
Detailed Description
The embodiment of the application discloses a prompting method and a prompting device, which are used for improving the attractiveness of a shot image.
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
A method of prompting is first described below.
Referring to fig. 1, which shows a flowchart of an embodiment of a prompting method according to the present application, the method of the present embodiment is applied to an electronic device, where the electronic device has an image sensing unit, and for example, the electronic device may be a smart camera, or a mobile phone or a tablet computer with a camera, and the method may include:
101, acquiring the image to be shot sensed by the image sensing unit.
The image to be shot is the image which is collected by the image sensing unit but is not shot yet.
And 102, determining the content to be adjusted in the image to be shot.
Wherein, the content to be adjusted is obtained according to the difference information of the image to be shot and the template image. The template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets the preset requirement.
The determined content to be adjusted can be the position, the posture and the like of an object in the image to be shot; for example, due to the problem of the image acquisition angle, an object in the image to be captured sensed by the image sensing unit is not completely acquired, the angle at which the object in the image to be captured is captured has a deviation, and the attractiveness of the whole image is affected, the angle at which the image sensing unit is required to sense the image can be determined.
And 103, outputting prompt information corresponding to the content to be adjusted.
The prompt information is used for prompting a user to adjust the image to be shot.
The prompt information may include information such as a target to be adjusted and an adjustment mode in the image to be captured.
The prompt message can be output in the form of voice, text and the like. For example, when the image capturing direction of the image sensing unit needs to be moved to the right, a rightward arrow may be marked in the image to be captured to instruct the user to adjust the capturing angle, so that the image to be captured sensed by the image sensing unit changes accordingly.
In this embodiment, after the image sensing unit senses the image to be captured, the image sensing unit determines the content to be adjusted in the image to be captured and outputs corresponding prompt information, so that a user can adjust the image to be captured according to the prompt information, and further capture the image with high aesthetic degree.
In this application, there may be multiple ways of determining a content to be adjusted in the image to be captured, and referring to fig. 2, it shows a schematic flow chart of another embodiment of a prompting method according to this application, where the method of this embodiment is applied to an electronic device, and the electronic device has an image sensing unit, and if the electronic device may be a smart camera, or may be a mobile phone or a tablet computer having a camera, the method may include:
and 201, acquiring an image to be shot sensed by the image sensing unit.
And 202, matching the image to be shot with an image in a template image library locally preset in the electronic equipment, and matching a template image with the matching degree of the image to be shot meeting a preset requirement.
The template image library comprises a plurality of images shot at different places and different scenes, the shooting angles of the template images meet preset conditions, or the position relation of each object in the template images, the posture of each object and the like also meet specific requirements, so that the template images are high in attractiveness. The template images can be preset by the system, or can be some images which are stored by the user in advance and meet the aesthetic requirements of the user.
The type of the object and the number of the objects that should be included in the matched template image should be the same as or similar to the type of the object and the number of the objects that should be included in the image to be captured.
For example, if the user compares the pictures shot by other users at a certain sight point in the network, the pictures can be stored in the template image library, and when the user shoots images at the sight point subsequently, the pictures can be matched as template images.
And 203, determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image.
According to the difference between the image to be shot and the template image, what adjustment needs to be carried out on what contents in the image to be shot so that the image to be shot is closer to the template image, and the attractiveness of the shot image is improved by adjusting the image to be shot sensed by the image sensing unit.
And 204, outputting prompt information corresponding to the content to be adjusted.
The prompt information is used for prompting a user to adjust the image to be shot.
In this embodiment, it is considered that in practical applications, a large number of images of persons are captured, and it is impossible for an amateur image capturing person to specify the position and posture of a subject well when capturing an image including a person, or to appropriately coordinate the positional relationship between the subject and the background.
In order to improve the aesthetic degree of the person image, optionally, after the image to be shot containing the person is obtained, a human body posture template image with the matching degree of the human body posture of the human body in the image to be shot meeting the preset requirement can be matched; and analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image, and determining the part to be adjusted and the adjusting mode of the human body posture in the image to be shot according to the posture difference.
Wherein. The human body posture may include a position of the human body, a posture of each part of the human body, a distance between different human bodies, and the like.
On the other hand, in this embodiment, after the to-be-captured image including the person is acquired and the template image is matched, the first positional relationship between the human body and the background in the to-be-captured image and the second positional relationship between the human body and the background in the template image may also be analyzed; and determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
For example, when it is determined that the image to be captured includes an image of a building in a certain scenery of the user, and the template image also includes an image of a person and the building, and when a first positional relationship between the position of the user in the image to be captured and the building is compared and a large difference is found between the second positional relationship between the person in the template image and the building, the position and the adjustment direction of the person to be adjusted in the image to be captured can be determined according to the positional relationship between the person in the template image and the building.
It is understood that, the above is only an example of determining the content to be adjusted from the image to be captured including the person image, but in practical applications, when the image to be captured does not include a person, it may also be determined whether the shooting angle and shooting orientation of the image to be captured, or the position of an object in the image to be captured needs to be adjusted according to the difference information between the image to be captured and the matched template image.
Referring to fig. 3, a schematic flow chart of another embodiment of a prompting method according to the present application is shown, where the method of the present embodiment is applied to an electronic device, and the electronic device has an image sensing unit. The electronic equipment can be a smart camera, a mobile phone with a camera, a tablet computer and the like. The method of the embodiment may include:
301, acquiring the image to be captured sensed by the image sensing unit.
And 302, sending the image to be shot to a specified server.
Unlike the embodiment of fig. 2 in which the electronic device directly determines the content to be adjusted in the image to be captured, in this embodiment, the image to be captured is sent to a designated server, so that the designated server determines whether the content to be adjusted exists in the image to be captured and which content to be adjusted exists in the image to be captured.
After receiving the image to be captured, the designated server analyzes whether the image to be captured has the content to be adjusted, which may be similar to the manner in which the electronic device side determines the content to be adjusted, for example, the server may match the image to be captured with an image in a preset template image library to match a template image whose matching degree with the image to be captured meets a preset requirement, and determine the content to be adjusted in the image to be captured according to the difference information between the image to be captured and the template image, which may be specifically referred to the related description of determining the content to be adjusted on the electronic device side, and is not described herein again.
303, receiving the information of the content to be adjusted sent by the specified server, and determining the content to be adjusted in the image to be captured.
The electronic equipment can directly determine the content to be adjusted in the image to be shot according to the information of the content to be adjusted, which is sent by the appointed server, so that the electronic equipment does not need to perform other data processing.
And 304, outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
In practical applications, a user may continuously adjust an image capturing direction or adjust a captured object during image capturing, where the user does not determine a capturing target, but the electronic device may process a large amount of meaningless data if capturing an image to be captured sensed by the image sensing unit during the image capturing process.
In order to reduce the data processing amount, optionally, in any of the above embodiments, when it is detected that the image sensing unit completes the focusing operation on the image to be captured, the content to be adjusted in the image to be captured may be determined. For example, when it is detected that the image sensing unit completes the focusing operation on the image to be captured, the image to be captured is sent to a designated server, so as to determine the content to be adjusted through the designated server.
On the other hand, the present application further provides another prompting method, and referring to fig. 4, a flowchart of an embodiment of another prompting method of the present application is shown, where the method of the present embodiment is applied to a server, and the method may include:
and 401, receiving an image to be shot sent by the electronic equipment.
The image to be shot is an image sensed by an image sensing unit of the electronic equipment.
And 402, matching the image to be shot with an image in a preset template image library to obtain a template image with the matching degree of the image to be shot meeting a preset requirement.
The template images in the template image library can be pre-selected, images are obtained at different places, different seasons and different shooting times, the positions of the objects, the postures of the objects, the position relation between the objects and the background and the like contained in the template images meet specific conditions, and therefore the attractiveness of the template images is high.
The matched template image may be the same as or similar to the object type, the number of objects, the background, and the like included in the image to be captured.
And 403, determining the content to be adjusted in the image to be shot according to the difference information between the image to be shot and the template image.
According to the difference information of the image to be shot and the template image, determining which adjustment is performed on the image to be shot so that the image to be shot is closer to the template image, and further determining the content to be adjusted in the image to be shot.
The content to be adjusted may be one or more of the position of the object in the object to be adjusted, the posture of the object, the position relationship between the object and the background, or the shooting angle.
404, sending the information of the content to be adjusted to the electronic device, so that the electronic device outputs a prompt message corresponding to the content to be adjusted.
The prompt information is used for prompting a user to adjust the image to be shot. The prompt message can be output in the form of voice, text, etc.
In this embodiment, after receiving an image to be captured sent by an electronic device, the server determines content to be adjusted in the image to be captured according to difference information between the image to be captured and a matched template image, and sends information of the content to be adjusted to the electronic device, so that the electronic device outputs prompt information of the content to be adjusted, and a user adjusts the image to be captured according to the prompt information, thereby improving the aesthetic degree of the captured image.
On the other hand, for an image to be captured containing a person, matching the template image may include: and matching the human body posture template image with the matching degree of the human body posture of the human body in the image to be shot, which meets the preset requirement. Correspondingly, the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image can be analyzed; and determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
Optionally, for the image to be captured including the person, after matching the template image, a first positional relationship between the human body and the background in the image to be captured and a second positional relationship between the human body and the background in the template image may be analyzed; and determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
The application also provides a prompting device corresponding to the prompting method.
Referring to fig. 5, a schematic structural diagram of an embodiment of a prompting device according to the present application is shown, where the prompting device of the present embodiment is applied to an electronic device, and the electronic device has an image sensing unit. For example, the electronic device may be a smart camera, or a mobile phone with a camera, a tablet computer, or the like. The apparatus of this embodiment may include:
an obtaining unit 501, configured to obtain an image to be captured, which is sensed by the image sensing unit;
a determining unit 502, configured to determine a content to be adjusted in the image to be captured, where the content to be adjusted is obtained according to difference information between the image to be captured and a template image; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets the preset requirement;
a prompting unit 503, configured to output prompting information corresponding to the content to be adjusted, where the prompting information is used to prompt a user to adjust the image to be captured.
In this embodiment, the determining unit may determine the content to be adjusted in the image to be captured, which is acquired by the acquiring unit, and then the prompting unit outputs the prompting information corresponding to the content to be adjusted, so that the user can adjust the image to be captured according to the prompting information to obtain an image with high aesthetic measure.
Optionally, the determining unit may include: the first determining subunit is configured to determine content to be adjusted in the image to be captured when it is detected that the image sensing unit completes focusing on the image to be captured.
The first determining subunit determines the content to be adjusted only when detecting that the image sensing unit completes the focusing operation, so that the situation that the determining unit processes the image to be shot when a user does not want to shoot the image to be shot is avoided, and the data processing amount is reduced.
In the embodiment of the present application, there are multiple ways for the determining unit to determine the content to be adjusted, and referring to fig. 6, a schematic structural diagram of the determining unit in another embodiment of the prompting device of the present application is shown. For example, the electronic device may be a smart camera, or a mobile phone with a camera, a tablet computer, or the like. The determining unit in this embodiment may include:
a matching subunit 5021, configured to match the image to be captured with an image in a template image library locally preset in the electronic device, and match a template image whose matching degree with the image to be captured meets a preset requirement;
a second determining subunit 5022, configured to determine, according to difference information between the image to be captured and the template image, content to be adjusted in the image to be captured.
In the prompting device in the present embodiment, the acquiring unit and the prompting unit may refer to the related description of the corresponding embodiment in fig. 5.
Optionally, the second determining subunit may further include:
the background analysis subunit is used for analyzing a first position relation between the human body and the background in the image to be shot and a second position relation between the human body and the background in the template image;
and the position determining subunit is used for determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
On the other hand, optionally, the matching subunit may include:
the template matching subunit is used for matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a human body posture template image which meets preset requirements with the matching degree of the human body posture of the human body in the image to be shot;
the second determining subunit may include:
the gesture analysis subunit is used for analyzing the gesture difference between the human body gesture in the image to be shot and the human body gesture in the human body gesture template image;
and the posture determining subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and the adjusting mode according to the posture difference.
Another way for determining the content to be adjusted by the corresponding determining unit is shown in fig. 7, which is a schematic structural diagram of the determining unit in another embodiment of the prompting device of the present application. For example, the electronic device may be a smart camera, or a mobile phone with a camera, a tablet computer, or the like. The determining unit in this embodiment may include:
a transmitting subunit 5023, configured to transmit the image to be captured to a specified server;
a third determining subunit 5024, configured to receive information about content to be adjusted sent by the specified server, and determine the content to be adjusted in the image to be captured.
In the prompting device in the present embodiment, the acquiring unit and the prompting unit may refer to the related description of the corresponding embodiment in fig. 5.
On the other hand, the application also provides another prompting device corresponding to another prompting method of the application.
Referring to fig. 8, which shows a schematic structural diagram of an embodiment of another prompting device of the present application, the device of the present embodiment is applied to a server, and the device may include:
the receiving unit 801 is configured to receive an image to be captured sent by an electronic device, where the image to be captured is an image sensed by the image sensing unit of the electronic device;
a template matching unit 802, configured to match the image to be captured with an image in a preset template image library, and match a template image whose matching degree with the image to be captured meets a preset requirement;
a content determining unit 803, configured to determine, according to difference information between the image to be captured and the template image, a content to be adjusted in the image to be captured;
a sending unit 804, configured to send the information of the content to be adjusted to the electronic device, so that the electronic device outputs prompt information corresponding to the content to be adjusted, where the prompt information is used to prompt a user to adjust the image to be captured.
In this embodiment, after the template matching unit matches a template image whose matching degree with the image to be captured received by the receiving unit meets a preset requirement, the content determining unit determines the content to be adjusted in the image to be captured according to difference information between the template image and the image to be captured, and the sending unit sends information of the content to be adjusted to the electronic device, so that the electronic device outputs prompt information corresponding to the content to be adjusted, so that a user can adjust the image to be captured according to the prompt information, and further the aesthetic degree of the captured image is improved.
Optionally, the template matching unit may include:
the first matching subunit is used for matching a human body posture template image which meets the preset requirement with the matching degree of the human body posture of the human body in the image to be shot;
the content determination unit includes:
the first analysis subunit is used for analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and the posture adjusting subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
Optionally, the content determining unit may include:
the second analysis subunit is used for analyzing the first position relationship between the human body and the background in the image to be shot and the second position relationship between the human body and the background in the template image;
and the position adjusting subunit is used for determining the information to be adjusted of the human body position in the image to be shot according to the difference between the first position relation and the second position relation.
On the other hand, the present application also provides a prompt system, which includes: electronic equipment and server.
The electronic equipment is used for acquiring an image to be shot sensed by the image sensing unit, sending the image to be shot to the server, determining the content to be adjusted in the image to be shot according to the information of the content to be adjusted returned by the server, and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
The server is used for receiving the image to be shot sent by the electronic equipment, matching the image to be shot with images in a preset template image library and matching template images with matching degrees meeting preset requirements with the image to be shot; determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image; and sending the information of the content to be adjusted to the electronic equipment.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (15)

1. A prompting method is applied to electronic equipment, the electronic equipment is provided with an image sensing unit, and the method is characterized by comprising the following steps:
acquiring an image to be shot sensed by the image sensing unit;
determining contents to be adjusted in the image to be shot, wherein the contents to be adjusted are obtained according to difference information of the image to be shot and the template image, and the contents to be adjusted comprise a first position relation of a human body in the image to be shot and a scenery in a background and a second position relation of the human body in the template image and the scenery in the background; determining information to be adjusted of the position of the human body in the image to be shot according to the difference between the first position relation and the second position relation; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets a preset requirement, wherein the matched template image is the same as or similar to the background contained in the image to be shot;
and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
2. The method according to claim 1, wherein the determining the content to be adjusted in the image to be captured comprises:
and when the image sensing unit is detected to finish the focusing operation on the image to be shot, determining the content to be adjusted in the image to be shot.
3. The method according to claim 1 or 2, wherein the determining the content to be adjusted in the image to be captured comprises:
matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
and determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image.
4. The method according to claim 3, wherein the matching out of the template image with the matching degree of the image to be captured meeting the preset requirement comprises:
matching a human body posture template image with the matching degree of the human body posture of the human body in the image to be shot meeting the preset requirement;
determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image, wherein the determining comprises the following steps:
analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
5. The method according to claim 1 or 2, wherein the determining the content to be adjusted in the image to be captured comprises:
sending the image to be shot to a designated server;
and receiving the information of the content to be adjusted sent by the appointed server, and determining the content to be adjusted in the image to be shot.
6. A prompting method is applied to a server and is characterized by comprising the following steps:
receiving an image to be shot sent by electronic equipment, wherein the image to be shot is an image sensed by an image sensing unit of the electronic equipment;
matching the image to be shot with images in a preset template image library to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
determining contents to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image, wherein the contents to be adjusted comprise a first position relation between a human body in the image to be shot and a scenery in a background and a second position relation between the human body in the template image and the scenery in the background; determining information to be adjusted of the position of the human body in the image to be shot according to the difference between the first position relation and the second position relation, wherein the matched template image is the same as or similar to a background contained in the image to be shot;
and sending the information of the content to be adjusted to the electronic equipment so that the electronic equipment outputs prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
7. The method according to claim 6, wherein the matching out of the template image with the matching degree of the image to be captured meeting the preset requirement comprises:
matching a human body posture template image with the matching degree of the human body posture of the human body in the image to be shot meeting the preset requirement;
the determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image comprises the following steps:
analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
8. A prompting device is applied to electronic equipment, the electronic equipment is provided with an image sensing unit, and the device is characterized by comprising:
the acquisition unit is used for acquiring the image to be shot sensed by the image sensing unit;
the determining unit is used for determining the content to be adjusted in the image to be shot, wherein the content to be adjusted is obtained according to the difference information of the image to be shot and the template image, and the content to be adjusted comprises the steps of analyzing a first position relation between a human body in the image to be shot and a scenery in a background and a second position relation between the human body in the template image and the scenery in the background; determining information to be adjusted of the position of the human body in the image to be shot according to the difference between the first position relation and the second position relation; the template image is matched from a preset template image library, and the matching degree of the template image and the image to be shot meets a preset requirement, wherein the matched template image is the same as or similar to the background contained in the image to be shot;
and the prompting unit is used for outputting prompting information corresponding to the content to be adjusted, and the prompting information is used for prompting a user to adjust the image to be shot.
9. The apparatus of claim 8, wherein the determining unit comprises:
the first determining subunit is configured to determine content to be adjusted in the image to be captured when it is detected that the image sensing unit completes focusing on the image to be captured.
10. The apparatus according to claim 8 or 9, wherein the determining unit comprises:
the matching subunit is used for matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a template image of which the matching degree with the image to be shot meets a preset requirement;
and the second determining subunit is used for determining the content to be adjusted in the image to be shot according to the difference information between the image to be shot and the template image.
11. The apparatus of claim 10, wherein the matching subunit comprises:
the template matching subunit is used for matching the image to be shot with an image in a template image library locally preset by the electronic equipment to obtain a human body posture template image which meets preset requirements with the matching degree of the human body posture of the human body in the image to be shot;
the second determining subunit includes:
the gesture analysis subunit is used for analyzing the gesture difference between the human body gesture in the image to be shot and the human body gesture in the human body gesture template image;
and the posture determining subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and the adjusting mode according to the posture difference.
12. The apparatus according to claim 8 or 9, wherein the determining unit comprises:
the sending subunit is used for sending the image to be shot to a specified server;
and the third determining subunit is used for receiving the information of the content to be adjusted sent by the specified server and determining the content to be adjusted in the image to be shot.
13. A prompting device applied to a server is characterized by comprising:
the receiving unit is used for receiving an image to be shot sent by the electronic equipment, wherein the image to be shot is an image sensed by the image sensing unit of the electronic equipment;
the template matching unit is used for matching the image to be shot with images in a preset template image library to obtain a template image which meets the preset requirement on the matching degree of the image to be shot;
the content determining unit is used for determining the content to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image, and comprises the steps of analyzing a first position relation between a human body in the image to be shot and a scenery in a background and analyzing a second position relation between the human body in the image to be shot and the scenery in the background; determining information to be adjusted of the position of the human body in the image to be shot according to the difference between the first position relation and the second position relation, wherein the matched template image is the same as or similar to a background contained in the image to be shot;
and the sending unit is used for sending the information of the content to be adjusted to the electronic equipment so as to enable the electronic equipment to output prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot.
14. The apparatus of claim 13, wherein the template matching unit comprises:
the first matching subunit is used for matching a human body posture template image which meets the preset requirement with the matching degree of the human body posture of the human body in the image to be shot;
the content determination unit includes:
the first analysis subunit is used for analyzing the posture difference between the human body posture in the image to be shot and the human body posture in the human body posture template image;
and the posture adjusting subunit is used for determining the part to be adjusted of the human body posture in the image to be shot and an adjusting mode according to the posture difference.
15. A reminder system, comprising:
an electronic device and a server;
the electronic equipment is used for acquiring an image to be shot sensed by the image sensing unit, sending the image to be shot to the server, determining the content to be adjusted in the image to be shot according to the information of the content to be adjusted returned by the server, and outputting prompt information corresponding to the content to be adjusted, wherein the prompt information is used for prompting a user to adjust the image to be shot; the server is used for receiving the image to be shot sent by the electronic equipment, matching the image to be shot with images in a preset template image library and matching template images with matching degrees meeting preset requirements with the image to be shot; determining contents to be adjusted in the image to be shot according to the difference information of the image to be shot and the template image, wherein the contents to be adjusted comprise a first position relation between a human body in the image to be shot and a scenery in a background and a second position relation between the human body in the template image and the scenery in the background; determining information to be adjusted of the position of the human body in the image to be shot according to the difference between the first position relation and the second position relation, wherein the matched template image is the same as or similar to a background contained in the image to be shot; and sending the information of the content to be adjusted to the electronic equipment.
CN201410066676.0A 2014-02-26 2014-02-26 Prompting method and device Active CN104869299B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410066676.0A CN104869299B (en) 2014-02-26 2014-02-26 Prompting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410066676.0A CN104869299B (en) 2014-02-26 2014-02-26 Prompting method and device

Publications (2)

Publication Number Publication Date
CN104869299A CN104869299A (en) 2015-08-26
CN104869299B true CN104869299B (en) 2019-12-24

Family

ID=53914787

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410066676.0A Active CN104869299B (en) 2014-02-26 2014-02-26 Prompting method and device

Country Status (1)

Country Link
CN (1) CN104869299B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376488B (en) * 2015-11-17 2018-11-20 广东欧珀移动通信有限公司 A kind of method and device for realizing mirror function in the terminal
CN106954019A (en) * 2017-02-27 2017-07-14 捷开通讯(深圳)有限公司 The method of adjustment camera site and intelligent capture apparatus
CN111316628A (en) * 2017-11-08 2020-06-19 深圳传音通讯有限公司 Image shooting method and image shooting system based on intelligent terminal
CN108600609A (en) * 2018-03-19 2018-09-28 维沃移动通信有限公司 The method and device of auxiliary photo-taking
CN108668072B (en) * 2018-03-26 2021-03-02 Oppo广东移动通信有限公司 Mobile terminal, photographing method and related product
CN109743504B (en) * 2019-01-22 2022-02-22 努比亚技术有限公司 Auxiliary photographing method, mobile terminal and storage medium
CN110598696B (en) * 2019-08-20 2023-06-30 上海联影医疗科技股份有限公司 Medical image scanning and positioning method, medical image scanning method and computer equipment
WO2021056442A1 (en) * 2019-09-27 2021-04-01 深圳市大疆创新科技有限公司 Composition method and system for photographing device, and storage medium
CN111062276A (en) * 2019-12-03 2020-04-24 广州极泽科技有限公司 Human body posture recommendation method and device based on human-computer interaction, machine readable medium and equipment
CN111327833B (en) * 2020-03-31 2021-06-01 厦门美图之家科技有限公司 Auxiliary shooting method and device, electronic equipment and readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269562A (en) * 2004-03-22 2005-09-29 Fuji Photo Film Co Ltd Photographing apparatus
CN101547304A (en) * 2008-03-24 2009-09-30 索尼株式会社 Imaging apparatus, control method thereof, and program
CN102045503A (en) * 2009-10-15 2011-05-04 索尼公司 Information processing apparatus, display control method, and display control program

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050007468A1 (en) * 2003-07-10 2005-01-13 Stavely Donald J. Templates for guiding user in use of digital camera
JP5757063B2 (en) * 2010-03-29 2015-07-29 ソニー株式会社 Information processing apparatus and method, and program
JP2012003539A (en) * 2010-06-17 2012-01-05 Sanyo Electric Co Ltd Image processing device
JP2013207357A (en) * 2012-03-27 2013-10-07 Sony Corp Server, client terminal, system, and program
CN103369214A (en) * 2012-03-30 2013-10-23 华晶科技股份有限公司 An image acquiring method and an image acquiring apparatus
CN103220466B (en) * 2013-03-27 2016-08-24 华为终端有限公司 The output intent of picture and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005269562A (en) * 2004-03-22 2005-09-29 Fuji Photo Film Co Ltd Photographing apparatus
CN101547304A (en) * 2008-03-24 2009-09-30 索尼株式会社 Imaging apparatus, control method thereof, and program
CN102045503A (en) * 2009-10-15 2011-05-04 索尼公司 Information processing apparatus, display control method, and display control program

Also Published As

Publication number Publication date
CN104869299A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN104869299B (en) Prompting method and device
US9317113B1 (en) Gaze assisted object recognition
CN104125396A (en) Image shooting method and device
CN106462937B (en) Image processing apparatus and image display apparatus
CN105205479A (en) Human face value evaluation method, device and terminal device
CN105631403A (en) Method and device for human face recognition
CN105554372B (en) Shooting method and device
CN102104767A (en) Facial pose improvement with perspective distortion correction
WO2020020134A1 (en) Photographing method and mobile terminal
US11308692B2 (en) Method and device for processing image, and storage medium
US11217210B2 (en) Method for controlling display of screen of mobile terminal, and mobile terminal
US20150172634A1 (en) Dynamic POV Composite 3D Video System
US9854174B2 (en) Shot image processing method and apparatus
CN108124102B (en) Image processing method, image processing apparatus, and computer-readable storage medium
CN109325908B (en) Image processing method and device, electronic equipment and storage medium
CN108898591A (en) Methods of marking and device, electronic equipment, the readable storage medium storing program for executing of picture quality
CN114170302A (en) Camera external parameter calibration method and device, electronic equipment and storage medium
CN110086998B (en) Shooting method and terminal
CN109145878B (en) Image extraction method and device
US20120206348A1 (en) Display device and method of controlling the same
CN110738066A (en) code scanning method, device and computer storage medium
CN108846321B (en) Method and device for identifying human face prosthesis and electronic equipment
CN116129526A (en) Method and device for controlling photographing, electronic equipment and storage medium
CN105635573A (en) Pick-up head visual angle adjusting method and apparatus
CN112788244B (en) Shooting method, shooting device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant