CN104298442B - A kind of information processing method and electronic equipment - Google Patents
A kind of information processing method and electronic equipment Download PDFInfo
- Publication number
- CN104298442B CN104298442B CN201410478752.9A CN201410478752A CN104298442B CN 104298442 B CN104298442 B CN 104298442B CN 201410478752 A CN201410478752 A CN 201410478752A CN 104298442 B CN104298442 B CN 104298442B
- Authority
- CN
- China
- Prior art keywords
- image
- target object
- contour
- presentation
- unit
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Devices (AREA)
Abstract
The invention discloses a kind of information processing method, the method is applied in an electronic equipment, and the electronic equipment includes an image acquisition units;The described method includes: acquiring the first image in the first acquisition background by described image acquisition unit;Fisrt feature information of the first object object in the first image is obtained, the fisrt feature information is used to characterize first presentation profile of the first object object in the first image;Obtain second presentation profile of the first object object in the second acquisition background;When being judged as that the second acquired presentation profile and the first presentation profile match, the acquisition in the second acquisition background of control described image acquisition unit is directed to the second image of the first object object.Meanwhile the invention also discloses a kind of and electronic equipments, participate in without user, can shoot the photo with desired effect, promote user experience.
Description
Technical Field
The present invention relates to information processing technologies, and in particular, to an information processing method and an electronic device.
Background
At present, when a user takes a picture through electronic equipment such as a tablet personal PAD, a mobile terminal and the like, the user usually selects a target object to be taken in advance, such as the position of a certain person in a current shooting background; when it is desired to take one picture in each of different shooting contexts and the person is required to be located close to each other in the different pictures, for example, at 1/3 in the lateral direction of the picture, the user is required to make at least one adjustment of the shooting position in each shooting context, which causes inconvenience to the user.
Disclosure of Invention
In order to solve the existing technical problem, an embodiment of the present invention provides an information processing method and an electronic device, which can capture a photo with an expected effect without requiring a user to perform multiple adjustments in each shooting background, thereby improving user experience and highlighting the versatility of the electronic device.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an information processing method, which is applied to electronic equipment, wherein the electronic equipment comprises an image acquisition unit; the method comprises the following steps:
acquiring a first image in a first acquisition background through the image acquisition unit;
acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
acquiring a second presentation contour of the first target object in a second acquisition background;
and when the acquired second presentation contour is judged to be matched with the first presentation contour, controlling the image acquisition unit to acquire a second image aiming at the first target object in the second acquisition background.
The embodiment of the invention also provides the electronic equipment, which comprises an image acquisition unit; the electronic device further includes:
the image acquisition unit is used for acquiring a first image in a first acquisition background;
the first acquisition unit is used for acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
the second acquisition unit is used for acquiring a second presentation contour of the first target object in a second acquisition background;
the first judging unit is used for triggering the first control unit when judging that the acquired second presentation outline is matched with the first presentation outline;
a first control unit for controlling the image acquisition unit to acquire a second image for the first target object in the second acquisition context.
The information processing method and the electronic equipment provided by the embodiment of the invention are applied to the electronic equipment, and the electronic equipment comprises an image acquisition unit; the method comprises the following steps: acquiring a first image in a first acquisition background through the image acquisition unit; acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image; acquiring a second presentation contour of the first target object in a second acquisition background; and when the acquired second presentation contour is judged to be matched with the first presentation contour, controlling the image acquisition unit to acquire a second image aiming at the first target object in the second acquisition background. By using the technical scheme of the embodiment of the invention, the user can shoot the photo with the expected effect without adjusting the photo for many times in each shooting background, so that the user experience can be improved, and the versatility of the electronic equipment is highlighted.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a first embodiment of an information processing method according to the present invention;
FIG. 2 is a schematic flow chart illustrating an implementation of a second embodiment of the information processing method according to the present invention;
fig. 3 is a schematic structural diagram of a first embodiment of an electronic device provided in the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a second embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings, and it should be understood that the preferred embodiments described below are only for the purpose of illustrating and explaining the present invention, and are not to be construed as limiting the present invention.
In the following embodiments of the information processing method and the electronic device provided by the present invention, the electronic device includes, but is not limited to: industrial control computers, personal computers, and the like, all types of computers, all-in-one computers, tablet computers, mobile phones, electronic readers, and the like. The preferred electronic equipment object in the embodiment of the invention is a mobile phone.
The first embodiment of the information processing method provided by the invention is applied to an electronic device, wherein the electronic device comprises an image acquisition unit; the image acquisition unit can be a camera.
Fig. 1 is a schematic flow chart illustrating an implementation of a first embodiment of an information processing method according to the present invention; as shown in fig. 1, the method includes:
step 101: acquiring a first image in a first acquisition background through the image acquisition unit;
here, in the first acquisition background, a first image of a target object to be photographed is acquired by a camera; the target object to be photographed may be a person such as Zhangsan or an object such as a flower.
Step 102: acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
the first target object is a target object to be shot in the first image, and contour information of the target object to be shot in the first image is extracted; for example, when the target object to be photographed is a person, the contour information includes the contour of the person and the positions of the head, the limbs, and the like of the person in the first image; when the target object to be shot is a certain object, the contour information comprises the contour of the object and the positions of all parts in the contour structure of the object in the first image.
Step 103: acquiring a second presentation contour of the first target object in a second acquisition background;
here, in the second acquisition background, contour information of a target object to be photographed is acquired; the outline information is described above and will not be described in detail.
Step 104: and when the acquired second presentation contour is judged to be matched with the first presentation contour, controlling the image acquisition unit to acquire a second image aiming at the first target object in the second acquisition background.
The method for determining that the second rendering contour matches the first rendering contour is as follows:
the electronic equipment comprises a display unit;
acquiring a first area displayed on the display unit by a first presentation outline of a first target object;
acquiring a second area displayed on the display unit by a second presentation outline of the first target object;
acquiring a first overlapping area of the first area and the second area;
when the first overlap region exceeds a first predetermined threshold, it is determined that the second rendering contour of the first target object matches the first rendering contour.
Further, when an overlap exists between a presentation area of the outline of the target object to be shot in the second collection background on the display unit and a presentation area of the outline of the target object to be shot in the first collection background on the display unit, and the overlap area exceeds a first predetermined threshold value, it is determined that the obtained second presentation outline matches the first presentation outline, and the target object to be shot in the second collection background is collected through the camera; the first acquisition background and the second acquisition background can be the same or different; the first predetermined threshold may be any value between 60% and 100%, and may be flexibly set according to actual situations.
Here, for example, when the first collection background is different from the second collection background, the area where the outline of zhangsan in the first collection background is presented on the display unit is area a, the area where the outline of zhangsan in the second collection background is presented on the display unit is area B, when there is overlap between area a and area B and the overlap area exceeds a first predetermined threshold, zhangsan is circled in area B, and the second collection background is photographed to obtain a second image, i.e. a second photograph; when the area a and the area B completely overlap or nearly overlap, the first photograph (the first image) and the second photograph related to the third photograph are actually two photographs related to the third photograph in different captured backgrounds, and the positions where the third photograph appears in the photographs are the same in the two photographs, such as 1/3 in the transverse direction of the photographs, and the positions where the head, the limbs, and the like of the third photograph appear in the photographs are also the same. In this case, the photographed picture has the same position of the photographed person in the picture, and the outline thereof has the same position of presentation in the picture, only the background is different. The shooting mode of the image acquisition unit is more suitable for travel enthusiasts, different acquisition backgrounds, the same person and the same outline position to express shuttle time.
In a preferred embodiment of the present invention, the method further comprises:
acquiring a first operation, wherein the first operation is used for synthesizing the first image and the second image; here, the first operation may be a key operation on a preset function key, a touch operation on a preset function icon, a voice operation, or the like; the function keys are keys for executing the function of synthesizing the images, and the function icons are icons for executing the synthesizing images;
responding to the first operation, and synthesizing the first image and the second image to obtain a first synthesized image; here, the first image and the second image are subjected to edge stitching to obtain a first composite image;
outputting the first composite image in a predetermined image output mode, such as in a slide show form or in a ticker form; and/or the presence of a gas in the gas,
determining the first composite image as an image of a predetermined function, such as setting the first composite image as a contact image; and/or the presence of a gas in the gas,
recommending the first composite image, such as sending the first composite image to other electronic devices or networks.
The first audio frequency is distributed to the first synthetic image to form first multimedia data;
outputting first multimedia data in a predetermined multimedia output mode, and matching a piece of music when playing the first composite image; and/or the presence of a gas in the gas,
determining the first multimedia data as multimedia data with a preset function, if the first composite image is set as an incoming call image and the configured music is incoming call music; and/or the presence of a gas in the gas,
recommending the first multimedia data, such as sending the first composite image matched with a piece of music to other electronic equipment or a network.
Therefore, in the embodiment of the present invention, when the acquired second presentation contour matches the first presentation contour, the image acquisition unit is controlled to acquire the second image for the first target object in the second acquisition background, so that the position of the first target object in the first acquisition background in the first image is the same as the position of the first target object in the second acquisition background in the second image, and multiple pictures with the same or similar positions of the target objects can be captured without multiple adjustments in each shooting background by a user, thereby improving user experience and highlighting the versatility of the electronic device.
The second embodiment of the information processing method provided by the invention is applied to an electronic device, wherein the electronic device comprises an image acquisition unit; the image acquisition unit can be a camera.
FIG. 2 is a schematic flow chart illustrating an implementation of a second embodiment of the information processing method according to the present invention; as shown in fig. 2, the method includes:
step 201: acquiring a first image in a first acquisition background through the image acquisition unit;
here, in the first acquisition background, a first image of a target object to be photographed is acquired by a camera; the target object to be photographed may be a person such as Zhangsan or an object such as a flower.
Step 202: acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
the first target object is a target object to be shot in the first image, and contour information of the target object to be shot in the first image is extracted; for example, when the target object to be photographed is a person, the contour information includes the contour of the person and the positions of the head, the limbs, and the like of the person in the first image; when the target object to be shot is a certain object, the contour information comprises the contour of the object and the positions of all parts in the contour structure of the object in the first image.
Step 203: acquiring a second presentation contour of the first target object in a second acquisition background;
here, in the second acquisition background, contour information of a target object to be photographed is acquired; the outline information is described above and will not be described in detail.
Step 204: and when the acquired second presentation contour is judged to be matched with the first presentation contour, controlling the image acquisition unit to acquire a second image aiming at the first target object in the second acquisition background.
In a preferred embodiment of the present invention, after acquiring the first image in the first acquisition context by the image acquisition unit, the method further comprises:
acquiring second characteristic information of a second target object in the first image, wherein the second characteristic information is used for representing a third presentation contour of the second target object in the first image; here, the second target object may be specifically a person or an object;
correspondingly, when a second presentation contour of the first target object in a second acquisition background is obtained, a fourth presentation contour of the second target object in the second acquisition background is obtained;
and when a second presentation contour of the acquired first target object in a second acquisition background is matched with the first presentation contour and a fourth presentation contour of the acquired second target object in the second acquisition background is matched with the third presentation contour, controlling the image acquisition unit to acquire a second image comprising the first target object and the second target object in the second acquisition background.
The method for determining that the second presentation contour is matched with the first presentation contour and the fourth presentation contour is matched with the third presentation contour is as follows:
the electronic device further comprises a display unit;
acquiring a first area displayed on the display unit by a first presentation outline of a first target object;
acquiring a second area displayed on the display unit by a second presentation outline of the first target object;
acquiring a first overlapping area of the first area and the second area;
when the first overlap region exceeds a first predetermined threshold, it is determined that the second rendering contour of the first target object matches the first rendering contour.
Acquiring a third area displayed on the display unit by a third presentation outline of a second target object;
acquiring a fourth area displayed on the display unit by a fourth presentation outline of the second target object;
acquiring a second overlapping area of the third area and the fourth area;
when the second overlap region exceeds a second predetermined threshold, determining that the fourth rendering profile of the second target object matches the third rendering profile.
Further, when there is an overlap between a presentation area of the outline of the first target object in the second acquisition background on the display unit and a presentation area of the outline of the first target object in the first acquisition background on the display unit, and the overlap area exceeds a first predetermined threshold value, meanwhile, there is an overlap between a presentation area of the outline of the second target object in the second acquisition background on the display unit and a presentation area of the outline of the second target object in the first acquisition background on the display unit, and the overlap region exceeds a second predetermined threshold, determining that a second rendering contour matches the first rendering contour, a fourth rendering contour matches the third rendering contour, acquiring photos including a first target object and a second target object in a second acquisition background through a camera; the first acquisition background and the second acquisition background are the same or different; the first predetermined threshold and the second predetermined threshold may be any value between 60% and 100%, and may be flexibly set according to actual situations.
For example, the first target object is Zhang III, the second target object is a flower, when the first and second capturing backgrounds are the same, the area of the Zusanli in the first collection background presented on the display unit is an area A, the area of the flower in the first collection background presented on the display unit is an area C, the area of the Zusanli in the second collection background presented on the display unit is an area B, the area of the flower in the second collection background presented on the display unit is an area D, when the overlapping area of the area A and the area B exceeds a first preset threshold value, and the overlapping area of the area C and the area D exceeds a second preset threshold value, three blossoms are circled into the area B, flowers are circled into the area D, photographing the Zhangthird and the flowers in a second acquisition background to obtain a second image, namely a second picture; when the area a completely overlaps or nearly overlaps the area B and the area C overlaps the area D, the first photograph (the first image) and the second photograph are actually two photographs of the three-blossoms and the flowers in the same capture background, and the three-blossoms and the flowers appear at the same position in the photographs, such as 1/3 in the transverse direction of the photographs, and the heads, the limbs, and the like of the three-blossoms and the flowers appear at the same position in the photographs. The shooting mode of the image acquisition unit is suitable for pregnant mothers and prospective mothers, for example, the pregnant mothers are taken as first target objects, certain objects in the background, such as toy bears held by the hands of the pregnant mothers, are taken as second target objects, the change of the belly of the pregnant mothers is displayed by taking the toy bears with unchanged size as reference, the same background, the same characters and the similar outline positions are acquired, and the growth of babies is observed.
Therefore, in the embodiment of the present invention, when the acquired second presentation contour matches the first presentation contour, the image acquisition unit is controlled to acquire the second image for the first target object in the second acquisition background, so that the position of the first target object in the first acquisition background in the first image is the same as the position of the first target object in the second acquisition background in the second image, and multiple pictures with the same or similar positions of the target objects can be captured without multiple adjustments in each shooting background by a user, thereby improving user experience and highlighting the versatility of the electronic device.
In a first embodiment of the electronic device provided by the present invention, the electronic device includes an image capturing unit 301 (as shown in fig. 3), and the image capturing unit 301 may be a camera.
Fig. 3 is a schematic structural diagram of a first embodiment of an electronic device provided in the present invention; as shown in fig. 3, the electronic device includes:
the image acquisition unit 301 is configured to acquire a first image in a first acquisition background;
here, in the first capture background, a first image of a target object to be photographed is captured by the image capturing unit 301; the target object to be photographed may be a person such as Zhangsan or an object such as a flower.
A first obtaining unit 302, configured to obtain first feature information of a first target object in a first image, where the first feature information is used to represent a first rendering contour of the first target object in the first image;
here, the first target object is a target object to be photographed in the first image, and the first obtaining unit 302 extracts contour information presented by the target object to be photographed in the first image; for example, when the target object to be photographed is a person, the contour information includes the contour of the person and the positions of the head, the limbs, and the like of the person in the first image; when the target object to be shot is a certain object, the contour information comprises the contour of the object and the positions of all parts in the contour structure of the object in the first image.
A second obtaining unit 303, configured to obtain a second presentation contour of the first target object in a second collection background;
here, the second acquiring unit 303 acquires contour information of the target object to be photographed in the second acquisition background; the outline information is described above and will not be described in detail.
A first determining unit 304, configured to trigger the first controlling unit 305 when determining that the obtained second presentation profile matches the first presentation profile;
a first control unit 305 for controlling the image acquisition unit 301 to acquire a second image for the first target object in the second acquisition context.
Preferably, the electronic device further comprises a display unit (not shown in fig. 3);
the first judging unit 304 is further configured to obtain a first area where a first presentation contour of a first target object is displayed on the display unit; acquiring a second area displayed on the display unit by a second presentation outline of the first target object; acquiring a first overlapping area of the first area and the second area; when the first overlap region exceeds a first predetermined threshold, it is determined that the second rendering contour of the first target object matches the first rendering contour.
Further, when the first determining unit 304 determines that there is an overlap between a presentation area of the contour of the target object to be photographed in the second collection background on the display unit and a presentation area of the contour of the target object to be photographed in the first collection background on the display unit, and the overlap area exceeds a first predetermined threshold, it is determined that the obtained second presentation contour matches the first presentation contour, and the first control unit 305 is triggered, and the first control unit 305 controls the image collection unit 301 to collect the target object to be photographed in the second collection background; the first acquisition background and the second acquisition background can be the same or different; the first predetermined threshold may be any value between 60% and 100%, and may be flexibly set according to actual situations.
Here, for example, when the first capture background is different from the second capture background, the first determining unit 304 determines that the area represented by the outline of the third image in the first capture background on the display unit is area a, and the area represented by the outline of the third image in the second capture background on the display unit is area B, and when there is overlap between area a and area B and the overlap area exceeds a first predetermined threshold, the first control unit 305 circles the third image in area B, and controls the image capture unit 301 to capture the image in the second capture background to obtain a second image, i.e. a second picture; when the area a and the area B completely overlap or nearly overlap, the first photograph (the first image) and the second photograph related to the third photograph are actually two photographs related to the third photograph in different captured backgrounds, and the positions where the third photograph appears in the photographs are the same in the two photographs, such as 1/3 in the transverse direction of the photographs, and the positions where the head, the limbs, and the like of the third photograph appear in the photographs are also the same. In this case, the photographed picture has the same position of the photographed person in the picture, and the outline thereof has the same position of presentation in the picture, only the background is different. The image capturing unit 301 is suitable for the traveling enthusiast, different capturing backgrounds, the same person, the same contour position, and shuttle time.
In a preferred embodiment of the present invention, the electronic device further includes: a third obtaining unit 306, a first responding unit 307, a first output unit 308, a first determining unit 309 and a first recommending unit 310; wherein,
a third acquiring unit 306 configured to acquire a first operation for synthesizing the first image and the second image; here, the first operation may be a key operation on a preset function key, a touch operation on a preset function icon, a voice operation, or the like; the function keys are keys for executing the function of synthesizing the images, and the function icons are icons for executing the synthesizing images;
a first responding unit 307, configured to respond to the first operation, synthesize the first image and the second image to obtain a first synthesized image; here, the first image and the second image are subjected to edge stitching to obtain a first composite image;
a first output unit 308 for outputting the first composite image in a predetermined image output mode, such as in a slide show form or in a ticker form; and/or the presence of a gas in the gas,
a first determining unit 309 configured to determine that the first synthetic image is an image of a predetermined function, such as setting the first synthetic image as a contact image; and/or the presence of a gas in the gas,
the first recommending unit 310 is configured to recommend the first composite image, such as sending the first composite image to other electronic devices or networks.
The first response unit 307, configured to assign a first audio to the first synthesized image to form first multimedia data;
accordingly, the first output unit 308 is configured to output the first multimedia data in a predetermined multimedia output mode, and a piece of music is provided when the first composite image is played; and/or the presence of a gas in the gas,
a first determining unit 309, configured to determine that the first multimedia data is multimedia data of a predetermined function, such as setting the first composite image as an incoming call image and the configured music as incoming call music; and/or the presence of a gas in the gas,
a first recommending unit 310, configured to recommend the first multimedia data, such as sending the first composite image matched with a piece of music to other electronic devices or networks.
Therefore, in the embodiment of the present invention, when the acquired second presentation contour matches the first presentation contour, the image acquisition unit is controlled to acquire the second image for the first target object in the second acquisition background, so that the position of the first target object in the first acquisition background in the first image is the same as the position of the first target object in the second acquisition background in the second image, and multiple pictures with the same or similar positions of the target objects can be captured without multiple adjustments in each shooting background by a user, thereby improving user experience and highlighting the versatility of the electronic device.
In a second embodiment of the electronic device provided by the present invention, the electronic device includes an image capturing unit 401 (as shown in fig. 4), and the image capturing unit 401 may be a camera.
Fig. 4 is a schematic structural diagram of a second embodiment of an electronic device provided in the present invention; as shown in fig. 4, the electronic apparatus includes:
the image acquisition unit 401 is configured to acquire a first image in a first acquisition background;
here, in the first capture background, a first image of a target object to be photographed is captured by the image capturing unit 401; the target object to be photographed may be a person such as Zhangsan or an object such as a flower.
A first obtaining unit 402, configured to obtain first feature information of a first target object in a first image, where the first feature information is used to represent a first presentation contour of the first target object in the first image;
here, the first target object is a target object to be photographed in the first image, and the first obtaining unit 402 extracts contour information presented by the target object to be photographed in the first image; for example, when the target object to be photographed is a person, the contour information includes the contour of the person and the positions of the head, the limbs, and the like of the person in the first image; when the target object to be shot is a certain object, the contour information comprises the contour of the object and the positions of all parts in the contour structure of the object in the first image.
A second obtaining unit 403, configured to obtain a second presentation contour of the first target object in a second acquisition background;
here, the second acquisition unit 403 acquires contour information of the target object to be photographed in the second acquisition background; the outline information is described above and will not be described in detail.
A first judging unit 404, configured to trigger a first control unit 405 when it is judged that the obtained second presentation profile matches the first presentation profile;
a first control unit 405 for controlling the image acquisition unit 401 to acquire a second image for the first target object in the second acquisition context.
In a preferred embodiment of the invention, said
The first obtaining unit 402 is further configured to obtain second feature information of the second target object in the first image, where the second feature information is used to represent a third rendering contour of the second target object in the first image;
the second obtaining unit 403 is further configured to obtain a fourth rendering contour of the second target object in the second acquisition background;
the first judging unit 404 is configured to trigger the first controlling unit 405 when a second presentation contour of the acquired first target object in the second acquisition background matches the first presentation contour, and a fourth presentation contour of the acquired second target object in the second acquisition background matches the third presentation contour;
the first control unit 405 is configured to control the image acquisition unit to acquire a second image including the first target object and the second target object in the second acquisition background.
Preferably, the electronic device further comprises a display unit (not shown in fig. 4);
the first determining unit 404 is further configured to obtain a first area where a first presentation contour of a first target object is displayed on the display unit; acquiring a second area displayed on the display unit by a second presentation outline of the first target object; acquiring a first overlapping area of the first area and the second area; determining that the second rendering contour of the first target object matches the first rendering contour when the first overlap region exceeds a first predetermined threshold;
the first judging unit 404 is further configured to obtain a third area where a third rendering contour of a second target object is displayed on the display unit; acquiring a fourth area displayed on the display unit by a fourth presentation outline of the second target object; acquiring a second overlapping area of the third area and the fourth area; when the second overlap region exceeds a second predetermined threshold, determining that the fourth rendering profile of the second target object matches the third rendering profile.
Further, when the first determining unit 404 determines that there is an overlap between the rendering area of the outline of the first target object in the second capturing background on the display unit and the rendering area of the outline of the first target object in the first capturing background on the display unit, and the overlap area exceeds a first predetermined threshold, and at the same time, the first determining unit 404 determines that there is an overlap between the rendering area of the outline of the second target object in the second capturing background on the display unit and the rendering area of the outline of the second target object in the first capturing background on the display unit, and the overlap area exceeds a second predetermined threshold, it is determined that the second rendering outline matches the first rendering outline, and the fourth rendering outline matches the third rendering outline, and triggers the first controlling unit 405, the first control unit 405 controls the image capturing unit 401 to capture a photograph including the first target object and the second target object in the second capturing background; the first acquisition background and the second acquisition background are the same or different; the first predetermined threshold and the second predetermined threshold may be any value between 60% and 100%, and may be flexibly set according to actual situations.
For example, the first target object is zhang san and the second target object is a flower, when the first collection background is the same as the second collection background, the first judgment unit 404 determines that the area presented by the outline of zhang san in the first collection background on the display unit is area a, the area presented by the outline of flower in the first collection background on the display unit is area C, the area presented by the outline of zhang san in the second collection background on the display unit is area B, the area presented by the outline of flower in the second collection background on the display unit is area D, when the overlapping area of the area a and the area B exceeds a first predetermined threshold and the overlapping area of the area C and the area D exceeds a second predetermined threshold, the first control unit 405 is triggered, the first control unit 405 circles zhang san into the area B and circles flower into the area D, and controlling the image acquisition unit 401 to photograph the third piece of paper and the flower in the second acquisition background to obtain a second image, namely a second photo; when the area a and the area B completely overlap or nearly overlap, the two photographs of the first photograph (the first image) and the second photograph are actually about three and three flowers in the same captured background, and the positions of three and three flowers appearing in the photographs are the same as they all appear at 1/3 in the transverse direction of the photographs, the positions of three heads, four limbs and the like appearing in the photographs are also the same, and the positions of flowers appearing in the photographs are also the same. The shooting mode of the image acquisition unit is suitable for pregnant mothers and prospective mothers, for example, the pregnant mothers are taken as first target objects, certain objects in the background, such as toy bears held by the hands of the pregnant mothers, are taken as second target objects, the change of the belly of the pregnant mothers is displayed by taking the toy bears with unchanged size as reference, the same background, the same characters and the similar outline positions are acquired, and the growth of babies is observed.
Therefore, in the embodiment of the present invention, when the acquired second presentation contour matches the first presentation contour, the image acquisition unit is controlled to acquire the second image for the first target object in the second acquisition background, so that the position of the first target object in the first acquisition background in the first image is the same as the position of the first target object in the second acquisition background in the second image, and multiple pictures with the same or similar positions of the target objects can be captured without multiple adjustments in each shooting background by a user, thereby improving user experience and highlighting the versatility of the electronic device.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
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 (8)
1. An information processing method is applied to an electronic device, and the electronic device comprises an image acquisition unit; the method comprises the following steps:
acquiring a first image in a first acquisition background through the image acquisition unit;
acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
acquiring a second presentation contour of the first target object in a second acquisition background;
when the acquired second presenting contour is judged to be matched with the first presenting contour, controlling the image acquisition unit to acquire a second image aiming at the first target object in the second acquisition background;
acquiring a first operation, wherein the first operation is used for synthesizing the first image and the second image;
responding to the first operation, and synthesizing the first image and the second image to obtain a first synthesized image;
outputting a first composite image in a predetermined image output mode; and/or the presence of a gas in the gas,
determining the first composite image to be an image of a predetermined function; and/or the presence of a gas in the gas,
recommending the first composite image.
2. The method of claim 1, wherein after acquiring a first image in a first acquisition context by the image acquisition unit, the method further comprises:
acquiring second characteristic information of a second target object in the first image, wherein the second characteristic information is used for representing a third presentation contour of the second target object in the first image;
correspondingly, when a second presentation contour of the first target object in a second acquisition background is obtained, a fourth presentation contour of the second target object in the second acquisition background is obtained;
and when a second presentation contour of the acquired first target object in a second acquisition background is matched with the first presentation contour and a fourth presentation contour of the acquired second target object in the second acquisition background is matched with the third presentation contour, controlling the image acquisition unit to acquire a second image comprising the first target object and the second target object in the second acquisition background.
3. The method of claim 1 or 2, wherein the electronic device further comprises a display unit; the method further comprises the following steps:
acquiring a first area displayed on the display unit by a first presentation outline of a first target object;
acquiring a second area displayed on the display unit by a second presentation outline of the first target object;
acquiring a first overlapping area of the first area and the second area;
when the first overlap region exceeds a first predetermined threshold, it is determined that the second rendering contour of the first target object matches the first rendering contour.
4. The method of claim 3, further comprising:
acquiring a third area displayed on the display unit by a third presentation outline of a second target object;
acquiring a fourth area displayed on the display unit by a fourth presentation outline of the second target object;
acquiring a second overlapping area of the third area and the fourth area;
when the second overlap region exceeds a second predetermined threshold, determining that the fourth rendering profile of the second target object matches the third rendering profile.
5. An electronic device, the electronic device comprising an image acquisition unit; the electronic device further includes:
the image acquisition unit is used for acquiring a first image in a first acquisition background;
the first acquisition unit is used for acquiring first characteristic information of a first target object in a first image, wherein the first characteristic information is used for representing a first presentation contour of the first target object in the first image;
the second acquisition unit is used for acquiring a second presentation contour of the first target object in a second acquisition background;
the first judging unit is used for triggering the first control unit when judging that the acquired second presentation outline is matched with the first presentation outline;
a first control unit for controlling the image acquisition unit to acquire a second image for the first target object in the second acquisition background;
a third acquisition unit configured to acquire a first operation for synthesizing the first image and the second image;
a first response unit, configured to respond to the first operation, synthesize the first image and the second image to obtain a first synthesized image;
a first output unit configured to output a first synthesized image in a predetermined image output mode; and/or the presence of a gas in the gas,
a first determination unit configured to determine that the first composite image is an image of a predetermined function; and/or the presence of a gas in the gas,
a first recommending unit configured to recommend the first composite image.
6. The electronic device of claim 5,
the first obtaining unit is further configured to obtain second feature information of a second target object in the first image, where the second feature information is used to represent a third rendering contour of the second target object in the first image;
the second obtaining unit is further configured to obtain a fourth rendering contour of the second target object in a second acquisition background;
the first judging unit is used for triggering the first control unit when a second presentation contour of the acquired first target object in a second acquisition background is matched with the first presentation contour and a fourth presentation contour of the acquired second target object in the second acquisition background is matched with the third presentation contour;
the first control unit is configured to control the image acquisition unit to acquire a second image including the first target object and the second target object in the second acquisition background.
7. The electronic device according to claim 5 or 6, characterized in that the electronic device further comprises a display unit;
the first judging unit is further configured to:
acquiring a first area displayed on the display unit by a first presentation outline of a first target object; acquiring a second area displayed on the display unit by a second presentation outline of the first target object; acquiring a first overlapping area of the first area and the second area; when the first overlap region exceeds a first predetermined threshold, it is determined that the second rendering contour of the first target object matches the first rendering contour.
8. The electronic device of claim 7,
the first judging unit is further configured to:
acquiring a third area displayed on the display unit by a third presentation outline of a second target object; acquiring a fourth area displayed on the display unit by a fourth presentation outline of the second target object; acquiring a second overlapping area of the third area and the fourth area; when the second overlap region exceeds a second predetermined threshold, determining that the fourth rendering profile of the second target object matches the third rendering profile.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410478752.9A CN104298442B (en) | 2014-09-18 | 2014-09-18 | A kind of information processing method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410478752.9A CN104298442B (en) | 2014-09-18 | 2014-09-18 | A kind of information processing method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104298442A CN104298442A (en) | 2015-01-21 |
CN104298442B true CN104298442B (en) | 2019-05-31 |
Family
ID=52318192
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410478752.9A Active CN104298442B (en) | 2014-09-18 | 2014-09-18 | A kind of information processing method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104298442B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111083361A (en) * | 2019-12-11 | 2020-04-28 | 维沃移动通信有限公司 | Image acquisition method and electronic device |
CN113132615B (en) * | 2019-12-31 | 2023-06-13 | 深圳云天励飞技术有限公司 | Object image acquisition method, device, electronic equipment and storage medium |
CN113793394A (en) * | 2021-08-18 | 2021-12-14 | 北京艺旗网络科技有限公司 | Method and device for analyzing art and teaching works |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504761A (en) * | 2009-01-21 | 2009-08-12 | 北京中星微电子有限公司 | Image splicing method and apparatus |
CN102946514A (en) * | 2012-11-08 | 2013-02-27 | 广东欧珀移动通信有限公司 | Method and device for self-shooting of mobile terminal |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101833624B (en) * | 2010-05-05 | 2014-12-10 | 中兴通讯股份有限公司 | Information machine and access control method thereof |
US8625860B2 (en) * | 2011-04-01 | 2014-01-07 | Intel Corporation | Adaptive face recognition using online learning |
US9300817B2 (en) * | 2012-09-28 | 2016-03-29 | Interactive Memories Inc. | Method for managing photos selected for addition to an image-based project created through an electronic interface |
CN104038700B (en) * | 2014-06-26 | 2017-11-14 | Tcl集团股份有限公司 | A kind of photographic method and device |
-
2014
- 2014-09-18 CN CN201410478752.9A patent/CN104298442B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101504761A (en) * | 2009-01-21 | 2009-08-12 | 北京中星微电子有限公司 | Image splicing method and apparatus |
CN102946514A (en) * | 2012-11-08 | 2013-02-27 | 广东欧珀移动通信有限公司 | Method and device for self-shooting of mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN104298442A (en) | 2015-01-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101910346B1 (en) | Picture processing method and apparatus | |
KR101874895B1 (en) | Method for providing augmented reality and terminal supporting the same | |
EP3174283B1 (en) | Preview image display method and apparatus, computer program and recording medium | |
CN106161939B (en) | Photo shooting method and terminal | |
CN108712603B (en) | An image processing method and mobile terminal | |
EP2753094B1 (en) | Method and apparatus for controlling contents in electronic device | |
CN105554372B (en) | Shooting method and device | |
CN112135046A (en) | Video shooting method, video shooting device and electronic equipment | |
CN105631804B (en) | Image processing method and device | |
CN111586296B (en) | Image capturing method, image capturing apparatus, and storage medium | |
KR102655625B1 (en) | Method and photographing device for controlling the photographing device according to proximity of a user | |
JP6445707B2 (en) | Image processing method and apparatus | |
CN107213642A (en) | Virtual portrait outward appearance change method and device | |
CN108108671A (en) | Description of product information acquisition method and device | |
CN108174082B (en) | An image capturing method and mobile terminal | |
KR20150126192A (en) | Electric apparatus and method for taking a photogragh in electric apparatus | |
CN104298442B (en) | A kind of information processing method and electronic equipment | |
CN104869283B (en) | A kind of image pickup method and electronic equipment | |
CN106231207B (en) | Image processing method and device | |
CN109145878B (en) | Image extraction method and device | |
CN105678696B (en) | A kind of information processing method and electronic equipment | |
JP2011029947A (en) | Image synthesis device and image synthesis method | |
CN103826061B (en) | Information processing method and electronic device | |
CN106598217B (en) | Display method, display device and electronic equipment | |
CN113012040B (en) | Image processing method, image processing device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |