CN109905601B - Photographing method and electronic equipment - Google Patents
Photographing method and electronic equipment Download PDFInfo
- Publication number
- CN109905601B CN109905601B CN201910239423.1A CN201910239423A CN109905601B CN 109905601 B CN109905601 B CN 109905601B CN 201910239423 A CN201910239423 A CN 201910239423A CN 109905601 B CN109905601 B CN 109905601B
- Authority
- CN
- China
- Prior art keywords
- photographing
- information
- preview image
- guiding
- photo
- 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
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a photographing method and electronic equipment, wherein the method comprises the following steps: identifying characteristic information of a photographic object in a preview image, wherein the preview image comprises at least three photographic objects; generating a photographing guide strategy based on the characteristic information; and guiding the photographing position of the photographing object based on the photographing guiding strategy.
Description
Technical Field
The present invention relates to the field of photographing technologies, and in particular, to a photographing method and an electronic device.
Background
At present, the photographing function has become a standard configuration of most electronic devices, and a user can record the good moment around the user through the electronic devices at any time. However, with the rapid development of the intellectualization of electronic devices, the quality requirements of users on photos are higher and higher, and when users take group pictures, the heights of group pictures are different, and the standing positions of men and women are scattered, so that the effect of the shot photos is not ideal.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a photographing method and an electronic device, which can guide a photographing object to reasonably stand.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention records a photographing method, which comprises the following steps:
identifying characteristic information of a photographic object in a preview image, wherein the preview image comprises at least three photographic objects;
generating a photographing guide strategy based on the characteristic information;
and guiding the photographing position of the photographing object based on the photographing guiding strategy.
An embodiment of the present invention further describes an electronic device, including:
the identification module is used for identifying the characteristic information of the photographic objects in the preview image, and the preview image comprises at least three photographic objects;
the generating module is used for generating a photographing guide strategy based on the characteristic information;
and the guiding module is used for guiding the photographing position of the photographing object based on the photographing guiding strategy.
An embodiment of the present invention further describes an electronic device, including:
a memory for storing executable instructions;
and the processor is used for executing the photographing method when the executable instructions stored in the memory are executed.
According to the photographing method and the electronic device provided by the embodiment of the invention, the characteristic information of the photographed object in the preview image is identified, the preview image comprises at least three photographed objects, the photographing guiding strategy is generated based on the characteristic information, and the photographing position of the photographed object is guided according to the photographing guiding strategy. Therefore, the photographing object can be guided to reasonably stand, and a satisfactory photo can be shot through intelligent guidance.
Drawings
FIG. 1 is a first schematic flow chart illustrating an implementation of a photographing method according to an embodiment of the present invention;
FIG. 2 is a first diagram illustrating a first guiding diagram of a photographing method according to an embodiment of the present invention;
FIG. 3 is a second schematic diagram illustrating a photographing method according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a second implementation flow of the photographing method in the embodiment of the present invention;
FIG. 5 is a third schematic diagram illustrating the completion of the photographing method according to the embodiment of the present invention;
FIG. 6 is a first schematic diagram illustrating a structure of an electronic device according to an embodiment of the present invention;
FIG. 7 is a second schematic diagram illustrating a structure of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention.
Detailed Description
So that the manner in which the features and aspects of the embodiments of the present invention can be understood in detail, a more particular description of the embodiments of the invention, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings.
The invention is described in further detail below with reference to the figures and specific examples.
The first embodiment,
An embodiment of the present invention provides a photographing method, as shown in fig. 1, the method including:
step 101: and identifying the characteristic information of the photographic objects in the preview image, wherein the preview image comprises at least three photographic objects.
The photographing method in this embodiment may be applied to an electronic device, where the electronic device may be an electronic device with a photographing function, and the method may include, but is not limited to: mobile phones, tablet computers, digital cameras, mobile internet devices, and the like.
Various objects photographed by the electronic device through its own camera and displayed in the display unit may be presented as preview images, where the various objects may be characters, animals, blue sky, white clouds, sea, and the like. The photo-object in the preview image is a person, and the preview image in this embodiment includes at least three photo-objects.
Specifically, when a user wants to take a group photo, a photographing function or a photographing application of the electronic device is opened, the electronic device displays a photographed object photographed by the camera in a preview image, and after image information in the preview image is acquired, feature information of the photographed object in the image information is identified, where the feature information may include: the first characteristic information may be face information of the photographic subject, and the second characteristic information may be gender information of the photographic subject.
Step 102: and generating a photographing guide strategy based on the characteristic information.
In some embodiments, generating the photographing direction policy based on the feature information may include: determining a target object based on the characteristic information of the photographed object and the trained model, wherein the target object is the photographed object of which the photographing position is to be adjusted; and generating a photographing guide strategy based on the target object.
Specifically, when a user wants to take a group photo, and the heights of group photo groups are different, and the stands of men and women are scattered, a target object can be determined according to the feature information of the photo object in the preview image and the trained model, where the target object is the photo object whose photo position is to be adjusted, the target object can be one or more photo objects in the preview image, and adjusting the photo position can be moving all the photo objects in the preview image, for example, all the photo objects move to the right by half a meter, or exchanging the positions of the photo objects.
Step 103: and guiding the photographing position of the photographing object based on the photographing guiding strategy.
In some embodiments, the directing of the photographing position of the photographing object based on the photographing directing policy may include: generating an icon identification based on the characteristic information of the photographed object; displaying an icon identification corresponding to the photographed object in the preview image; generating a first guiding mode based on the icon identification corresponding to the target object, wherein the first guiding mode comprises the following steps: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position.
Specifically, generating the icon identification based on the feature information of the photographic subject may include: determining position information of the icon identification based on first characteristic information of the photographed object; and determining form information of the icon identification based on the second characteristic information of the photographic object, wherein the form information is used for distinguishing different types of photographic objects.
The first characteristic information can be face information of a photographing object; the icon identification can be a face frame mark, can be a square, round or other frame, and can mark different colors; the location information may include a specific location of the icon identification in the preview image, such as up, down, left, and right locations; the second characteristic information may be sex information of the photographic subject; the shape information may include at least one of shape information, color information, and size information of the icon, and may be used to distinguish the sex of the subject.
Specifically, displaying the icon identifier corresponding to the photo-object in the preview image may include: determining the position of the icon identifier corresponding to the photographed object displayed in the preview image based on the position information of the icon identifier; and determining the form of the icon identification corresponding to the photographed object displayed in the preview image based on the form information of the icon identification.
In one example, as shown in fig. 2, all employees in a department of a certain unit take a group photo, and after all the employees finish standing according to their own preferences, the electronic device displays a preview image. The electronic device determines, for each photographic subject in the preview image, a position of a face frame mark corresponding to the photographic subject displayed in the preview image based on position information of the face frame mark, and determines a form of the face frame mark corresponding to the photographic subject displayed in the preview image based on form information of the face frame mark, for example, the face frame may be displayed at a face portion of the photographic subject, and the square face frame may be marked as a male photographic subject, the circular face frame may be marked as a female photographic subject, or may be set as a square face frame, gender of the photographic subject is distinguished by different colors of the face frame, or may be set as a square face frame, and the gender of the photographic subject is distinguished by a solid line and a dotted line of the face frame, as shown in fig. 2, the solid line face frame represents female, and the dotted line face frame represents male.
Specifically, if the target object is determined in step 102, the first guidance mode may be generated according to the icon identifier corresponding to the target object, where the first guidance mode may include: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position. For example, all the photo-objects are guided to move to the right by half a meter, and at least two photo-objects can be guided to exchange positions.
In an example, referring to fig. 2, the photographed objects in the preview image stand to form three rows, and it is obvious from the preview image that the heights of group photo groups are different, and the stands of men and women are scattered, and after a target object, that is, a photographed object whose photographing position needs to be adjusted, is determined, a guide mark can be generated for an icon identifier of the target object, where the guide mark can be an arrow, and the reasonable stand of the photographed object can be clearly guided by the guide of the arrow in the preview image. For example, the heights of the photographic subjects in the third row are all high, the overall heights are kept basically consistent, but when the situation that the individual photographic subjects are detected to be short and the heights of the photographic subjects in the second row are all low and the overall heights are basically consistent is detected, but the individual photographic subjects are detected to be high, the reasonable standing position can be guided for the detected target subject, and the target subject can be guided to adjust the photographing position through the arrow guide mark.
Therefore, by adopting the scheme, the photographing guide strategy can be generated according to the characteristic information of the photographed object in the preview image, and the photographing position of the photographed object is guided according to the photographing guide strategy. Therefore, the photographing object can be guided to reasonably stand, and a satisfactory photo can be shot through intelligent guidance.
Example II,
An embodiment of the present invention provides a photographing method, as shown in fig. 1, the method including:
step 101: and identifying the characteristic information of the photographic objects in the preview image, wherein the preview image comprises at least three photographic objects.
The photographing method in this embodiment may be applied to an electronic device, where the electronic device may be an electronic device with a photographing function, and the method may include, but is not limited to: mobile phones, tablet computers, digital cameras, mobile internet devices, and the like.
Various objects photographed by the electronic device through its own camera and displayed in the display unit may be presented as preview images, where the various objects may be characters, animals, blue sky, white clouds, sea, and the like. The photo-object in the preview image is a person, and the preview image in this embodiment includes at least three photo-objects.
Specifically, when a user wants to take a group photo, a photographing function or a photographing application of the electronic device is opened, the electronic device displays a photographed object photographed by the camera in a preview image, and after image information in the preview image is acquired, feature information of the photographed object in the image information is identified, where the feature information may include: identity information.
Step 102: and generating a photographing guide strategy based on the characteristic information.
In some embodiments, generating the photographing direction policy based on the feature information may include: determining a target object based on the characteristic information of the photographed object and the trained model, wherein the target object is the photographed object of which the photographing position is to be adjusted; and generating a photographing guide strategy based on the target object.
Specifically, when a user wants to take a group photo, and the heights of group photo groups are different, and the stands of men and women are scattered, a target object can be determined according to the feature information of the photo object in the preview image and the trained model, where the target object is the photo object whose photo position is to be adjusted, the target object can be one or more photo objects in the preview image, and adjusting the photo position can be moving all the photo objects in the preview image, for example, all the photo objects move to the right by half a meter, or exchanging the positions of the photo objects.
Step 103: and guiding the photographing position of the photographing object based on the photographing guiding strategy.
In some embodiments, the directing of the photographing position of the photographing object based on the photographing directing policy may include: acquiring identity information of a photographed object in a preview image; generating a second guidance mode based on the identity information of the target object, wherein the second guidance mode comprises the following steps: and guiding the target object to adjust the photographing position through text information and/or voice information.
Here, the identity information may include information such as the name and height of the subject, and the electronic device may acquire the identity information of the subject through a query of a local or large database.
Specifically, the target object is already determined in step 102, the name of the target object can be determined by the identity information of the target object, and the target object can be guided by text information and/or voice information to adjust the photographing position based on the identity information of the target object.
In one example, as shown in fig. 3, the photographed objects in the preview image stand to form three rows, and it is obvious from the preview image that the heights of group photo group are different, and the stands of men and women are scattered, for example, the photographed objects in the third row are all higher and the overall height is kept substantially the same, but the photographed objects in the second row are detected to be shorter and the photographed objects in the third row are all lower and the overall height is kept substantially the same, but the photographed objects in the third row are detected to be higher, reasonable stand guiding can be performed for the detected target object, where the target object can be guided to adjust the photographing position by text information and/or voice information, for example, the target object is determined to be zhang three and lie four, the text information and the voice information at least can include: the positions of Zhang three and Li four are exchanged, and then the text information and/or the voice information are output through a display unit and/or a voice output unit of the electronic equipment.
Therefore, by adopting the scheme, the photographing guide strategy can be generated according to the characteristic information of the photographed object in the preview image, and the photographing position of the photographed object is guided according to the photographing guide strategy. Therefore, the photographing object can be guided to reasonably stand, and a satisfactory photo can be shot through intelligent guidance.
Example III,
An embodiment of the present invention provides a photographing method, as shown in fig. 4, the method includes:
step 401: and identifying the characteristic information of the photographic objects in the preview image, wherein the preview image comprises at least three photographic objects.
The photographing method in this embodiment may be applied to an electronic device, where the electronic device may be an electronic device with a photographing function, and the method may include, but is not limited to: mobile phones, tablet computers, digital cameras, mobile internet devices, and the like.
Various objects photographed by the electronic device through its own camera and displayed in the display unit may be presented as preview images, where the various objects may be characters, animals, blue sky, white clouds, sea, and the like. The photo-object in the preview image is a person, and the preview image in this embodiment includes at least three photo-objects.
Specifically, when a user wants to take a group photo, a photographing function or a photographing application of the electronic device is opened, the electronic device displays a photographed object photographed by the camera in a preview image, and after image information in the preview image is acquired, feature information of the photographed object in the image information is identified, where the feature information may include at least one of: the system comprises identity information, first characteristic information and second characteristic information, wherein the first characteristic information can be face information of a photographic subject, and the second characteristic information can be gender information of the photographic subject.
Step 402: and generating a photographing guide strategy based on the characteristic information.
In some embodiments, generating the photographing direction policy based on the feature information may include: determining a target object based on the characteristic information of the photographed object and the trained model, wherein the target object is the photographed object of which the photographing position is to be adjusted; and generating a photographing guide strategy based on the target object.
Specifically, when a user wants to take a group photo, and the heights of group photo groups are different, and the stands of men and women are scattered, a target object can be determined according to the feature information of the photo object in the preview image and the trained model, where the target object is the photo object whose photo position is to be adjusted, the target object can be one or more photo objects in the preview image, and adjusting the photo position can be moving all the photo objects in the preview image, for example, all the photo objects move to the right by half a meter, or exchanging the positions of the photo objects.
Step 403: and guiding the photographing position of the photographing object based on the photographing guiding strategy.
In some embodiments, the directing of the photographing position of the photographing object based on the photographing directing policy may include: generating an icon identification based on the characteristic information of the photographed object; displaying an icon identification corresponding to the photographed object in the preview image; generating a first guiding mode based on the icon identification corresponding to the target object, wherein the first guiding mode comprises the following steps: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position.
Specifically, generating the icon identification based on the feature information of the photographic subject may include: determining position information of the icon identification based on first characteristic information of the photographed object; and determining form information of the icon identification based on the second characteristic information of the photographic object, wherein the form information is used for distinguishing different types of photographic objects.
The first characteristic information can be face information of a photographing object; the icon identification can be a face frame mark, can be a square, round or other frame, and can mark different colors; the location information may include a specific location of the icon identification in the preview image, such as up, down, left, and right locations; the second characteristic information may be sex information of the photographic subject; the shape information may include at least one of shape information, color information, and size information of the icon, and may be used to distinguish the sex of the subject.
Specifically, displaying the icon identifier corresponding to the photo-object in the preview image may include: determining the position of the icon identifier corresponding to the photographed object displayed in the preview image based on the position information of the icon identifier; and determining the form of the icon identification corresponding to the photographed object displayed in the preview image based on the form information of the icon identification.
Specifically, if the target object is determined in step 402, a first guidance mode may be generated according to the icon identifier corresponding to the target object, where the first guidance mode may include: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position. For example, all the photo-objects are guided to move to the right by half a meter, and at least two photo-objects can be guided to exchange positions.
In some embodiments, the directing of the photographing position of the photographing object based on the photographing directing policy may include: acquiring identity information of a photographed object in a preview image; generating a second guidance mode based on the identity information of the target object, wherein the second guidance mode comprises the following steps: and guiding the target object to adjust the photographing position through text information and/or voice information.
Here, the identity information may include information such as the name and height of the subject, and the electronic device may acquire the identity information of the subject through a query of a local or large database.
Specifically, the target object is already determined in step 402, the name of the target object can be determined by the identity information of the target object, and the target object can be guided by text information and/or voice information to adjust the photographing position based on the identity information of the target object.
Step 404: identifying at least one specific photographic subject in the preview image; a specific mark is displayed on a specific part of a specific photographic subject.
Here, the specific photographic subject may be a special photographic subject, such as a leader, and here, whether or not the specific photographic subject is determined by the identity information of the photographic subject. The specific logo is displayed on a specific part of a specific photographing object, for example, the halo logo can be displayed at the head of the leader.
Step 405: guiding a specific photographing object to be positioned at a specific photographing position for photographing; and when taking a picture, carrying out specific picture taking processing on the specific picture taking position.
Specifically, the specific photographic subject may be directed to stand or sit at a specific photographing position, such as the middle position of the first row, where the direction may be directed by the first directing means, or the second directing means, described above. When taking a picture, a specific picture taking process can be performed for a specific picture taking position where a specific picture taking object is located, for example, the highest definition of the specific picture taking object is ensured, and eyes of the specific picture taking object are not closed when a shutter is pressed.
Step 406: and after detecting that the photographing object completes adjustment according to the guidance of the photographing position, displaying prompt information, wherein the prompt information is used for prompting a user whether the adjusted photographing position is satisfied.
Specifically, after detecting that the photographing object is adjusted according to the guidance of the photographing position, the electronic device presents a second preview image, and then displays prompt information aiming at the second preview image to prompt a user whether the adjusted photographing position is satisfied.
If an operation responsive to no is obtained, step 407 is executed, and if an operation responsive to no is obtained, step 408 is executed.
Step 407: and adjusting and guiding the photographing position of the photographing object in the current photographing image.
And when the user is determined to be unsatisfied with the adjusted photographing position, continuing to adjust and guide the photographing position of the photographing object in the second preview image until the operation that the user responds to the prompt message is yes is obtained.
Step 408: and finishing shooting.
As shown in fig. 5, the group photo is a group photo that satisfies the user after the photographing is completed.
Therefore, by adopting the scheme, the photographing guide strategy can be generated according to the characteristic information of the photographed object in the preview image, the photographing position of the photographed object is guided according to the photographing guide strategy, the specific photographing position of the specific photographed object is guided by identifying at least one specific photographed object in the preview image, and the user can reach a satisfactory state. So, can guide the reasonable station of object of shooing, through intelligent guide shooting satisfied photo, promoted user's experience of shooing.
Example four,
An embodiment of the present invention provides an electronic device, as shown in fig. 6, the electronic device includes: an identification module 601, a generation module 602, and a direction module 603; the description is given separately.
The identification module 601 is configured to identify feature information of a photo object in a preview image, where the preview image includes at least three photo objects.
A generating module 602, configured to generate a photographing guiding policy based on the feature information.
Illustratively, the generating module 602 is specifically configured to determine a target object based on the feature information of the photographic object and the trained model, where the target object is a photographic object whose photographing position is to be adjusted; and generating a photographing guide strategy based on the target object.
And a directing module 603, configured to direct a photographing position of the photographing object based on the photographing directing policy.
Illustratively, the guidance module 603 is specifically configured to generate an icon identifier based on the feature information of the photographic subject; displaying the icon identification corresponding to the photographed object in the preview image; generating a first guiding mode based on the icon identification corresponding to the target object, wherein the first guiding mode comprises the following steps: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position.
Illustratively, the guidance module 603 is specifically configured to obtain identity information of a photographic subject in the preview image; generating a second guidance mode based on the identity information of the target object, wherein the second guidance mode comprises the following steps: and guiding the target object to adjust the photographing position through text information and/or voice information.
Illustratively, the direction module 603 is specifically configured to determine the location information of the icon identifier based on the first feature information of the photo-object; and determining form information of the icon identification based on the second characteristic information of the photographic object, wherein the form information is used for distinguishing photographic objects of different classes.
Illustratively, the guidance module 603 is specifically configured to determine, based on the location information of the icon identifier, a location where the icon identifier corresponding to the photo-object is displayed in the preview image; and determining the form of the icon identification corresponding to the photographed object displayed in the preview image based on the form information of the icon identification.
Therefore, by adopting the electronic equipment, the photographing guide strategy can be generated according to the characteristic information of the photographed object in the preview image, and the photographing position of the photographed object can be guided according to the photographing guide strategy. Therefore, the photographing object can be guided to reasonably stand, and a satisfactory photo can be shot through intelligent guidance.
Example V,
An embodiment of the present invention provides an electronic device, as shown in fig. 7, the electronic device includes: a first identification module 701, a generation module 702, a first guidance module 703, a detection module 704, a first display module 705, a second identification module 706, a second display module 707, a second guidance module 708, and a processing module 709; the description is given separately.
The first identification module 701 is configured to identify feature information of a photo object in a preview image, where the preview image includes at least three photo objects.
A generating module 702, configured to generate a photographing guiding policy based on the feature information.
Illustratively, the generating module 702 is specifically configured to determine a target object based on the feature information of the photographic object and the trained model, where the target object is a photographic object whose photographic position is to be adjusted; and generating a photographing guide strategy based on the target object.
The first guiding module 703 is configured to guide a photographing position of the photographing object based on the photographing guiding policy.
Illustratively, the first guidance module 703 is specifically configured to generate an icon identifier based on the feature information of the photo-object; displaying the icon identification corresponding to the photographed object in the preview image; generating a first guiding mode based on the icon identification corresponding to the target object, wherein the first guiding mode comprises the following steps: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position.
Illustratively, the first guidance module 703 is specifically configured to acquire identity information of a photographic subject in the preview image; generating a second guidance mode based on the identity information of the target object, wherein the second guidance mode comprises the following steps: and guiding the target object to adjust the photographing position through text information and/or voice information.
Illustratively, the first directing module 703 is specifically configured to determine the location information of the icon identifier based on the first feature information of the photo-object; and determining form information of the icon identification based on the second characteristic information of the photographic object, wherein the form information is used for distinguishing photographic objects of different classes.
Illustratively, the first directing module 703 is specifically configured to determine, based on the location information of the icon identifier, a location where the icon identifier corresponding to the photo-object is displayed in the preview image; and determining the form of the icon identification corresponding to the photographed object displayed in the preview image based on the form information of the icon identification.
A detection module 704, configured to trigger a first display module 705 to display a prompt message after detecting that the adjustment of the photo object is completed according to the guidance of the photo location, where the prompt message is used to prompt a user whether the adjusted photo location is satisfied; if the response is obtained, the shooting is finished; and if the operation responding to the No is obtained, adjusting and guiding the photographing position of the photographing object in the current photographed image.
The first display module 705 is configured to display a prompt message.
A second identification module 706, configured to identify at least one specific photo-object in the preview image.
A second display module 707, configured to display a specific identifier at a specific portion of the specific photo-object.
The second directing module 708 is configured to direct the specific photographing object to be located at a specific photographing position for photographing.
The processing module 709 is configured to perform specific photographing processing on the specific photographing position during photographing.
Therefore, by adopting the electronic equipment, the photographing guide strategy can be generated according to the characteristic information of the photographed object in the preview image, the photographing position of the photographed object is guided according to the photographing guide strategy, at least one specific photographed object in the preview image is identified, the specific photographing position of the specific photographed object is guided, and the user can reach a satisfactory state. So, can guide the reasonable station of object of shooing, through intelligent guide shooting satisfied photo, promoted user's experience of shooing.
Example six,
An embodiment of the present invention provides an electronic device, and an electronic device 800 shown in fig. 8 includes: at least one processor 801, memory 802, at least one network interface 804, user interface 803.
The various components in the electronic device 800 are coupled together by a bus system 805. It is understood that the bus system 805 is used to enable communications among the components connected. The bus system 805 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 805 in fig. 8.
The user interface 803 may include, among other things, a display, a keyboard, a mouse, a trackball, a click wheel, a key, a button, a touch pad, or a touch screen.
It will be appreciated that the memory 802 can be either volatile memory or nonvolatile memory, and can include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Flash Memory (Flash Memory), a Compact Disc Read-Only Memory (CD-ROM), and the like, and the volatile Memory may be a Random Access Memory (RAM). The memory 802 described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The memory 802 in embodiments of the present invention is used to store various types of data to support the operation of the electronic device 800.
The photographing method provided by the embodiment of the invention can be applied to the processor 801 or implemented by the processor 801. The Processor 801 may be a general-purpose Processor (e.g., a microprocessor or any conventional Processor, etc.), an integrated circuit chip, a Digital Signal Processor (DSP), a programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc., and has Signal processing capability, and the method provided by the embodiment of the invention may be implemented by an integrated logic circuit of hardware in the Processor 801 or instructions in the form of software.
In a hardware embodiment, a hardware decoding processor is used for executing the method provided by the embodiment of the invention; by way of example, the processor 801 may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), and the like, for performing the photographing method provided by the embodiments of the present invention.
In a software embodiment, the photographing method provided by the embodiment of the present invention is implemented by software of a storage medium, such as the memory 802, for example, a client, a function plug-in, or a corresponding installer, where the software includes executable instructions corresponding to implementing the photographing method provided by the embodiment of the present invention, and when the software is read and executed by the processor 801, the photographing method provided by the embodiment of the present invention is completed.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
Claims (10)
1. A method of taking a photograph comprising:
identifying feature information of a photographic object in a preview image, wherein the preview image comprises at least three photographic objects, and the feature information comprises: the method comprises the steps that first characteristic information and second characteristic information are included, wherein the first characteristic information is face information of a photographed object, and the second characteristic information is gender information of the photographed object;
generating a photographing guide strategy based on the characteristic information;
and guiding the photographing positions of at least two photographing objects at the same time based on the photographing guiding strategy so as to enable the photographing objects to move according to the guiding.
2. The method of claim 1, the generating a photograph direction policy based on the feature information, comprising:
determining a target object based on the characteristic information of the photographed object and the trained model, wherein the target object is the photographed object of which the photographing position is to be adjusted;
and generating a photographing guide strategy based on the target object.
3. The method of claim 2, wherein said directing of the photo locations of at least two of said photo subjects at the same time based on said photo directing policy comprises:
generating an icon identification based on the characteristic information of the photographed object;
displaying the icon identification corresponding to the photographed object in the preview image;
generating a first guiding mode based on the icon identification corresponding to the target object, wherein the first guiding mode comprises the following steps: and displaying a guide mark in the preview image, wherein the guide mark is used for guiding the target object to adjust the photographing position.
4. The method of claim 2, wherein said directing of the photo locations of at least two of said photo subjects at the same time based on said photo directing policy comprises:
acquiring identity information of a photographic object in the preview image;
generating a second guidance mode based on the identity information of the target object, wherein the second guidance mode comprises the following steps: and guiding the target object to adjust the photographing position through text information and/or voice information.
5. The method of claim 3, wherein generating an icon identification based on the feature information of the photographic subject comprises:
determining position information of the icon identification based on first characteristic information of the photographed object;
and determining form information of the icon identification based on the second characteristic information of the photographic object, wherein the form information is used for distinguishing photographic objects of different classes.
6. The method of claim 5, wherein displaying the icon identification corresponding to the photo-object in the preview image comprises:
determining the position of the icon identifier corresponding to the photographed object displayed in the preview image based on the position information of the icon identifier;
and determining the form of the icon identification corresponding to the photographed object displayed in the preview image based on the form information of the icon identification.
7. The method of claim 1, further comprising:
after the photo object is detected to be adjusted according to the guidance of the photo position, prompt information is displayed, and the prompt information is used for prompting a user whether the adjusted photo position is satisfied;
if the response is obtained, the shooting is finished;
and if the operation responding to the No is obtained, adjusting and guiding the photographing position of the photographing object in the current photographed image.
8. The method of claim 1, further comprising:
identifying at least one specific photographic subject in the preview image;
displaying a specific mark on a specific part of the specific photographing object;
guiding the specific photographing object to be positioned at a specific photographing position for photographing;
and carrying out specific photographing processing on the specific photographing position during photographing.
9. An electronic device, comprising:
the identification module is used for identifying the characteristic information of the photographed object in the preview image, the preview image comprises at least three photographed objects, and the characteristic information comprises: the method comprises the steps that first characteristic information and second characteristic information are included, wherein the first characteristic information is face information of a photographed object, and the second characteristic information is gender information of the photographed object;
the generating module is used for generating a photographing guide strategy based on the characteristic information;
and the guiding module is used for guiding the photographing positions of at least two photographing objects at the same time based on the photographing guiding strategy so as to enable the photographing objects to move according to the guiding.
10. An electronic device, comprising:
a memory for storing executable instructions;
a processor for executing the executable instructions stored in the memory to perform the photographing method of any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910239423.1A CN109905601B (en) | 2019-03-27 | 2019-03-27 | Photographing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910239423.1A CN109905601B (en) | 2019-03-27 | 2019-03-27 | Photographing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109905601A CN109905601A (en) | 2019-06-18 |
CN109905601B true CN109905601B (en) | 2021-01-15 |
Family
ID=66953173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910239423.1A Active CN109905601B (en) | 2019-03-27 | 2019-03-27 | Photographing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109905601B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110166694B (en) * | 2019-06-24 | 2021-10-22 | 西安易朴通讯技术有限公司 | Photographing prompting method and device |
CN110719403A (en) * | 2019-09-27 | 2020-01-21 | 北京小米移动软件有限公司 | Image processing method, device and storage medium |
CN112714258A (en) * | 2020-12-30 | 2021-04-27 | 广州极飞科技有限公司 | State adjustment method and device for object to be shot and shooting equipment |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9338361B2 (en) * | 2014-06-18 | 2016-05-10 | Lenovo Enterprise Solutions (Singapore) Pte. Ltd. | Visualizing pinpoint attraction objects in three-dimensional space |
CN105516575A (en) * | 2014-09-23 | 2016-04-20 | 中兴通讯股份有限公司 | Method and device for taking picture according to custom template |
KR101905580B1 (en) * | 2016-02-17 | 2018-10-11 | 한국전자통신연구원 | Method and system for reproducing situation using mobile device having image shooting function |
CN108377339A (en) * | 2018-05-07 | 2018-08-07 | 维沃移动通信有限公司 | A kind of photographic method and camera arrangement |
CN108810409A (en) * | 2018-06-07 | 2018-11-13 | 宇龙计算机通信科技(深圳)有限公司 | One kind is taken pictures guidance method, terminal device and computer-readable medium |
CN108848313B (en) * | 2018-08-10 | 2020-11-06 | 维沃移动通信有限公司 | Multi-person photographing method, terminal and storage medium |
-
2019
- 2019-03-27 CN CN201910239423.1A patent/CN109905601B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109905601A (en) | 2019-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109905601B (en) | Photographing method and electronic equipment | |
US10824849B2 (en) | Method, apparatus, and system for resource transfer | |
US10115019B2 (en) | Video categorization method and apparatus, and storage medium | |
WO2021027537A1 (en) | Method and apparatus for taking identification photo, device and storage medium | |
US20130155255A1 (en) | Electronic device and method for controlling camera of the electronic device according to gestures | |
US8760551B2 (en) | Systems and methods for image capturing based on user interest | |
US10467498B2 (en) | Method and device for capturing images using image templates | |
CN105554389B (en) | Shooting method and device | |
US11156902B2 (en) | Method for automatically focusing on target object, photographic apparatus including automatic focus function, and computer readable medium storing automatic focus function program | |
EP3246850A1 (en) | Image sending method and apparatus, computer program and recording medium | |
CN106657798A (en) | Photographing method for intelligent terminal | |
CN108470321B (en) | Method and device for beautifying photos and storage medium | |
CN108154090B (en) | Face recognition method and device | |
EP3764633B1 (en) | Photographing method, device, storage medium, and computer program | |
CN111800574B (en) | Imaging method and device and electronic equipment | |
JP2006279925A (en) | Imaging apparatus, imaging method, and imaging program | |
CN112653841B (en) | Shooting method and device and electronic equipment | |
CN112702520A (en) | Object photo-combination method and device, electronic equipment and computer-readable storage medium | |
US11372477B2 (en) | Eye tracking method, head-mounted display, and computer readable storage medium | |
CN112822389B (en) | Photograph shooting method, photograph shooting device and storage medium | |
CN107317977B (en) | Shooting method and device | |
CN113905174A (en) | Photographing gesture recommendation method, device, equipment and computer readable storage medium | |
KR20140094331A (en) | Apparatus and method for identifying photographer of image | |
CN117408868A (en) | Image processing method and device, electronic equipment and storage medium | |
JP5535854B2 (en) | Camera device, photographer determination method, photographer registration method, and control program |
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 |