CN103024271A - Method photographing on electronic device and electronic device adopting method - Google Patents
Method photographing on electronic device and electronic device adopting method Download PDFInfo
- Publication number
- CN103024271A CN103024271A CN2012105437701A CN201210543770A CN103024271A CN 103024271 A CN103024271 A CN 103024271A CN 2012105437701 A CN2012105437701 A CN 2012105437701A CN 201210543770 A CN201210543770 A CN 201210543770A CN 103024271 A CN103024271 A CN 103024271A
- Authority
- CN
- China
- Prior art keywords
- photo
- image
- parameter information
- electronic equipment
- 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.)
- Granted
Links
Images
Abstract
The invention discloses a method photographing on an electronic device. The method photographing on the electronic device comprises acquiring parameter information of required photos; acquiring an image of a user to be photographed; extracting a character head portrait part of the acquired image through an image recognition technology, and after performing corresponding zoom according to parameter information of the photo, serving the photo as a foreground image; forming a background image according to parameter information of the photo; and embedding the foreground image into the background image to form a new image, and displaying the new image on a display device in real time. The user to be photographed can perform posture adjustment according to the new image and then press the shutter to acquire photos meeting requirements. By means of the scheme of the method photographing on the electronic device, the user to be photographed can perform own operation to photograph certificate photos for oneself according to requirements required by certificates, and during the photographing process, the user can adjust head part according to voice prompts to acquire ideal photo effect, operation is simple and convenient, and adaptability is strong.
Description
Technical field
The present invention relates to image processing field, relate in particular to a kind of method of taking pictures at electronic equipment and adopt the electronic equipment of the method.
Background technology
Because digital photograph has editable function, so now increasing user brings into use digital camera to take pictures.Along with the development of science and technology, digital camera not only can be used as one independently entity exist, and can be embedded in the electronic product, exist as the part of this electronic product, for example: with the mobile phone of camera, panel computer etc.
In daily life and work, often run into registration that oneself need to be provided or the situation of certificate photograph.Most of the time, the form of these photos there is stricter regulation, for example, requiring the digital photos Pixel Dimensions or requiring photo size is 1 cun or 2 cun etc.At present, the certificate photo of having relatively high expectations generally can not be by in propria persona taking, so a lot of people when needs are handled relevant certificate, needs to carry out digital photographing to the photo studio by the special messenger.Like this can be very inconvenient, especially when going on business or can not find out of doors suitable photo studio and be badly in need of very much the registration photograph.
Therefore, need badly and a kind ofly can arrive method and the equipment that the photo studio can obtain the strict photo of call format.
Summary of the invention
In order to solve the above problems, to the invention provides a kind of method of taking pictures at electronic equipment and use the electronic equipment of the method, thereby can realize that user oneself is the satisfactory registration photo of oneself shooting.
For achieving the above object, the invention discloses a kind of method of taking pictures at electronic equipment, comprising:
Obtain the parameter information of required photo; Obtain by photographer's image; The image that obtains is extracted personage's head portrait part by image recognition technology, and after making corresponding convergent-divergent according to the parameter information of described photo, as foreground image; Parameter information according to described photo forms background image; Described foreground image is embedded into the new image of formation in the described background image, and is presented in real time on the display unit; According to described new image, the person of being taken carries out the attitude adjustment; Press the photo that the shutter acquisition meets the demands.
Wherein, the parameter information of described photo comprises dimension information and photo background color information.
Wherein, when obtaining the parameter information of photo, show dialog box in the display unit of described electronic equipment, the photo parameter information of indicating user input obtains the parameter information of desired photo by described dialog box; Perhaps, pre-stored photo template in described electronic equipment, when obtaining the parameter information of photo, directly the photo template according to user selection can obtain corresponding photo parameter information.
Wherein, according to described new image, the person of being taken carries out the attitude adjustment and is specially, and described electronic equipment identification personage's head standard feature after judging, is carried out the head adjustment by voice suggestion by the photographer.
Wherein, described head standard feature comprises that eye level, nose Delta Region are positioned at the image zone line and ears are symmetrical.
Wherein, directly carried out the attitude adjustment according to the image that shows in real time on the described display unit by the photographer.
The present invention also provides a kind of electronic equipment, comprising:
Photo parameter information acquiring unit is for the parameter information that obtains required photo; Image unit is used for obtaining by photographer's image; The foreground image extraction unit is used for the image that obtains is extracted personage's head portrait part by image recognition technology, and after making corresponding convergent-divergent according to the parameter that described photo parameter information acquiring unit obtains, as foreground image; Background image forms the unit, and the parameter that is used for obtaining according to described photo parameter information acquiring unit forms background image; The image embedded unit is used for that described foreground image is embedded into described background image and forms new image; Display unit is used for showing in real time the new image that described image embedded unit forms.
Wherein, described electronic equipment also comprises: voice alerting unit, for identification personage's head standard feature, after judging, carried out the head adjustment by voice suggestion by the photographer.
Wherein, described head standard feature comprises that eye level, nose Delta Region are positioned at the image zone line and ears are symmetrical.
Wherein, described photo parameter information acquiring unit shows dialog box in the display unit of described electronic equipment, and the photo parameter information of indicating user input obtains the parameter information of desired photo by described dialog box; Perhaps, described electronic equipment also comprises memory cell, is used for pre-stored photo template, and described photo parameter information acquiring unit directly obtains corresponding photo parameter information according to the photo template of user selection.
By the solution of the present invention, according to the requirement of certificate of need photo, be operating as oneself by the people oneself that taken pictures and take satisfactory certificate photograph, and in shooting process, can adjust head according to voice suggestion, to obtain more satisfactory photo effect, easy and simple to handle, strong adaptability.
Description of drawings
Fig. 1 is the flow chart of a kind of method of taking pictures at electronic equipment of the embodiment of the invention.
Fig. 2 is the structured flowchart of the electronic equipment of the embodiment of the invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and Examples.Be understandable that specific embodiment described herein only is used for explaining the present invention, but not limitation of the invention.Also need to prove in addition, for convenience of description, only show part related to the present invention in the accompanying drawing but not entire infrastructure.
Fig. 1 is the flow chart of a kind of method of taking pictures at electronic equipment of the embodiment of the invention.As shown in Figure 1, described method comprises:
In the present embodiment, the parameter information of photo comprises dimension information (such as 2 cun, 3 cun etc.), photo background color information (such as light blue, red etc.) etc.
When obtaining the parameter information of photo, can pass through two kinds of methods.A kind of method is, in electronic equipment, stored the template of photo, directly select template can obtain corresponding photo parameter information, passport photograph template for example, wherein dimension information is set to long 48 * 33 millimeters, head width 21-24 millimeter, head length 28-33 millimeter, background color are light blue.Another kind method is directly to receive the photo parameter information of input.For example, show dialog box in the display unit of described electronics setting, the photo parameter information of indicating user input obtains the parameter information of desired photo by described dialog box.
This moment it should be noted that when need zoomed image with satisfy the setting size the time, the convergent-divergent of comparison film should keep the constant convergent-divergent that carries out of Aspect Ratio, to avoid the personage to elongate or compression artefacts.
Certainly, if can be seen the image that shows in real time on the display unit by the photographer, also can directly adjust according to the image that shows in real time on the display unit.
If the photo that adopts mobile phone to obtain because the front and rear camera pixel of mobile phone is more and more higher, can obtain the roughly suitable photo of definition fully with mobile phone photograph, namely photo can be gone out use by Internet Transmission through simple processing.
Fig. 2 is the structured flowchart of the electronic equipment of the embodiment of the invention.As shown in Figure 2, described electronic equipment comprises:
Photo parameter information acquiring unit 210 is for the parameter information that obtains required photo.
In the present embodiment, the parameter information of photo comprises dimension information (such as 2 cun, 3 cun etc.), photo background color information (such as light blue, red etc.) etc.
Photo parameter information acquiring unit 210 can obtain parameter information by two kinds of methods.A kind of method is, in electronic equipment, stored photo template, photo parameter information setting unit 210 directly selects template can obtain corresponding photo parameter information, passport photograph template for example, wherein dimension information is set to long 48 * 33 millimeters, head width 21-24 millimeter, head length 28-33 millimeter, background color are light blue.Another kind method is, photo parameter information setting unit 210 directly receives the photo parameter information of input, for example, shows dialog box in the display unit of described electronics setting, the photo parameter information of indicating user input obtains the parameter information of required photo by described dialog box.
Foreground image extraction unit 230 is used for the image that obtains is extracted personage's head portrait part by image recognition technology, and after making corresponding convergent-divergent according to the parameter that photo parameter information acquiring unit 210 obtains, as foreground image.
Background image forms unit 240, is used to form background image.Background image forms unit 240 and forms background image according to the parameter that photo parameter information acquiring unit 210 obtains.
Image embedded unit 250 is used for that described foreground image is embedded into described background image and forms new image.
Certainly, if can be seen the image that shows in real time on the display unit by the photographer, also can be closed voice alerting unit by the photographer, and directly adjust according to the image that shows in real time on the display unit.
Shutter 280 is for the photo that obtains required requirement.
For example, described electronic equipment can be the mobile phone with camera.
By the solution of the present invention, according to the requirement of certificate of need photo, be operating as oneself by the people oneself that taken pictures and take satisfactory certificate photograph, and in shooting process, can adjust head according to voice suggestion, to obtain more satisfactory photo effect, easy and simple to handle, strong adaptability.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can realize with the executable program code of computer installation, carried out by calculation element thereby they can be stored in the storage device, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Notice that above-mentioned only is preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that to the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not break away from protection scope of the present invention.Therefore, although by above embodiment the present invention has been carried out comparatively detailed explanation, the present invention is not limited only to above embodiment, in the situation that does not break away from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.
Claims (10)
1. method of taking pictures at electronic equipment comprises:
Obtain the parameter information of required photo;
Obtain by photographer's image;
The image that obtains is extracted personage's head portrait part by image recognition technology, and after making corresponding convergent-divergent according to the parameter information of described photo, as foreground image;
Parameter information according to described photo forms background image;
Described foreground image is embedded into the new image of formation in the described background image, and is presented in real time on the display unit;
According to described new image, the person of being taken carries out the attitude adjustment;
Press the photo that the shutter acquisition meets the demands.
2. the method for claim 1, the parameter information of described photo comprises dimension information and photo background color information.
3. the method for claim 1 when obtaining the parameter information of photo, shows dialog box in the display unit of described electronic equipment, and the photo parameter information of indicating user input obtains the parameter information of desired photo by described dialog box; Perhaps, pre-stored photo template in described electronic equipment, when obtaining the parameter information of photo, directly the photo template according to user selection can obtain corresponding photo parameter information.
4. the method for claim 1, according to described new image, the person of being taken carries out the attitude adjustment and is specially, and described electronic equipment identification personage's head standard feature after judging, is carried out the head adjustment by voice suggestion by the photographer.
5. method as claimed in claim 4, described head standard feature comprise that eye level, nose Delta Region are positioned at the image zone line and ears are symmetrical.
6. the method for claim 1 is directly carried out the attitude adjustment according to the image that shows in real time on the described display unit by the photographer.
7. electronic equipment comprises:
Photo parameter information acquiring unit is for the parameter information that obtains required photo;
Image unit is used for obtaining by photographer's image;
The foreground image extraction unit is used for the image that obtains is extracted personage's head portrait part by image recognition technology, and after making corresponding convergent-divergent according to the parameter that described photo parameter information acquiring unit obtains, as foreground image;
Background image forms the unit, and the parameter that is used for obtaining according to described photo parameter information acquiring unit forms background image;
The image embedded unit is used for that described foreground image is embedded into described background image and forms new image;
Display unit is used for showing in real time the new image that described image embedded unit forms.
8. electronic equipment as claimed in claim 7 also comprises: voice alerting unit, be used for identification personage's head standard feature, and after judging, carried out the head adjustment by voice suggestion by the photographer.
9. electronic equipment as claimed in claim 8, described head standard feature comprise that eye level, nose Delta Region are positioned at the image zone line and ears are symmetrical.
10. electronic equipment as claimed in claim 7, described photo parameter information acquiring unit shows dialog box in the display unit of described electronic equipment, the photo parameter information of indicating user input obtains the parameter information of desired photo by described dialog box; Perhaps, described electronic equipment also comprises memory cell, is used for pre-stored photo template, and described photo parameter information acquiring unit directly obtains corresponding photo parameter information according to the photo template of user selection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210543770.1A CN103024271B (en) | 2012-12-14 | 2012-12-14 | The electronic equipment of the method for taking pictures on an electronic device and employing the method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210543770.1A CN103024271B (en) | 2012-12-14 | 2012-12-14 | The electronic equipment of the method for taking pictures on an electronic device and employing the method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103024271A true CN103024271A (en) | 2013-04-03 |
CN103024271B CN103024271B (en) | 2016-04-06 |
Family
ID=47972362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210543770.1A Active CN103024271B (en) | 2012-12-14 | 2012-12-14 | The electronic equipment of the method for taking pictures on an electronic device and employing the method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103024271B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399690A (en) * | 2013-07-31 | 2013-11-20 | 贝壳网际(北京)安全技术有限公司 | Photographing guiding method and device and mobile terminal |
CN103533249A (en) * | 2013-10-25 | 2014-01-22 | 惠州Tcl移动通信有限公司 | Method and device for adjusting foreground and background |
CN104202514A (en) * | 2014-07-30 | 2014-12-10 | 惠州Tcl移动通信有限公司 | Method and terminal for producing standard photos |
CN104715246A (en) * | 2013-12-11 | 2015-06-17 | 中国移动通信集团公司 | Photographing assisting system, device and method with a posture adjusting function, |
CN104754217A (en) * | 2015-03-06 | 2015-07-01 | 深圳市欧珀通信软件有限公司 | Shooting method and terminal |
CN105120167A (en) * | 2015-08-31 | 2015-12-02 | 广州市幸福网络技术有限公司 | Certificate picture camera and certificate picture photographing method |
CN105678696A (en) * | 2014-11-20 | 2016-06-15 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
CN106210338A (en) * | 2016-07-25 | 2016-12-07 | 乐视控股(北京)有限公司 | The generation method and device of certificate photograph |
CN106686300A (en) * | 2016-11-30 | 2017-05-17 | 努比亚技术有限公司 | Picture shooting method and device |
CN106911887A (en) * | 2015-12-28 | 2017-06-30 | 小米科技有限责任公司 | Image capturing method and device |
CN107197149A (en) * | 2017-06-14 | 2017-09-22 | 深圳传音通讯有限公司 | The generation method and device of certificate photograph |
CN107347136A (en) * | 2017-06-20 | 2017-11-14 | 北京小米移动软件有限公司 | Photographic method, device and terminal device |
CN108540719A (en) * | 2018-04-10 | 2018-09-14 | 平安科技(深圳)有限公司 | Shoot method, apparatus, computer equipment and the storage medium of photo |
WO2019023861A1 (en) * | 2017-07-31 | 2019-02-07 | 深圳传音通讯有限公司 | Smart terminal-based id photo generation method and generation system |
CN110475070A (en) * | 2019-09-11 | 2019-11-19 | 恒信东方文化股份有限公司 | A kind of certificate photo automatic shooting method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1708093A (en) * | 2005-05-12 | 2005-12-14 | 北京中星微电子有限公司 | Self-taking portrait photo taking method and equipment |
CN101216883A (en) * | 2007-12-29 | 2008-07-09 | 北京中星微电子有限公司 | A photography method and device |
CN101783889A (en) * | 2010-02-05 | 2010-07-21 | 北京水晶石数字科技有限公司 | Real-time matting and video monitoring and collecting method |
CN102137235A (en) * | 2010-01-21 | 2011-07-27 | 欧派立洁国际环保科技(北京)有限公司 | Intelligent digital image processing system |
-
2012
- 2012-12-14 CN CN201210543770.1A patent/CN103024271B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1708093A (en) * | 2005-05-12 | 2005-12-14 | 北京中星微电子有限公司 | Self-taking portrait photo taking method and equipment |
CN101216883A (en) * | 2007-12-29 | 2008-07-09 | 北京中星微电子有限公司 | A photography method and device |
CN102137235A (en) * | 2010-01-21 | 2011-07-27 | 欧派立洁国际环保科技(北京)有限公司 | Intelligent digital image processing system |
CN101783889A (en) * | 2010-02-05 | 2010-07-21 | 北京水晶石数字科技有限公司 | Real-time matting and video monitoring and collecting method |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103399690A (en) * | 2013-07-31 | 2013-11-20 | 贝壳网际(北京)安全技术有限公司 | Photographing guiding method and device and mobile terminal |
CN103533249B (en) * | 2013-10-25 | 2017-12-12 | 惠州Tcl移动通信有限公司 | A kind of method and device for adjusting foreground and background |
CN103533249A (en) * | 2013-10-25 | 2014-01-22 | 惠州Tcl移动通信有限公司 | Method and device for adjusting foreground and background |
CN104715246A (en) * | 2013-12-11 | 2015-06-17 | 中国移动通信集团公司 | Photographing assisting system, device and method with a posture adjusting function, |
CN104202514A (en) * | 2014-07-30 | 2014-12-10 | 惠州Tcl移动通信有限公司 | Method and terminal for producing standard photos |
CN105678696B (en) * | 2014-11-20 | 2019-03-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN105678696A (en) * | 2014-11-20 | 2016-06-15 | 联想(北京)有限公司 | Image acquisition method and electronic equipment |
CN104754217A (en) * | 2015-03-06 | 2015-07-01 | 深圳市欧珀通信软件有限公司 | Shooting method and terminal |
CN105120167B (en) * | 2015-08-31 | 2018-11-06 | 广州市幸福网络技术有限公司 | A kind of license camera and license image pickup method |
CN105120167A (en) * | 2015-08-31 | 2015-12-02 | 广州市幸福网络技术有限公司 | Certificate picture camera and certificate picture photographing method |
CN106911887A (en) * | 2015-12-28 | 2017-06-30 | 小米科技有限责任公司 | Image capturing method and device |
CN106210338A (en) * | 2016-07-25 | 2016-12-07 | 乐视控股(北京)有限公司 | The generation method and device of certificate photograph |
CN106686300A (en) * | 2016-11-30 | 2017-05-17 | 努比亚技术有限公司 | Picture shooting method and device |
CN107197149A (en) * | 2017-06-14 | 2017-09-22 | 深圳传音通讯有限公司 | The generation method and device of certificate photograph |
CN107347136A (en) * | 2017-06-20 | 2017-11-14 | 北京小米移动软件有限公司 | Photographic method, device and terminal device |
WO2019023861A1 (en) * | 2017-07-31 | 2019-02-07 | 深圳传音通讯有限公司 | Smart terminal-based id photo generation method and generation system |
CN108540719A (en) * | 2018-04-10 | 2018-09-14 | 平安科技(深圳)有限公司 | Shoot method, apparatus, computer equipment and the storage medium of photo |
CN110475070A (en) * | 2019-09-11 | 2019-11-19 | 恒信东方文化股份有限公司 | A kind of certificate photo automatic shooting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN103024271B (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103024271B (en) | The electronic equipment of the method for taking pictures on an electronic device and employing the method | |
US9866748B2 (en) | System and method for controlling a camera based on processing an image captured by other camera | |
CN102055834B (en) | Double-camera photographing method of mobile terminal | |
JP5567235B2 (en) | Image processing apparatus, photographing apparatus, program, and image processing method | |
US20150365545A1 (en) | Picture Outputting Method and Apparatus | |
US10264230B2 (en) | Kinetic object removal from camera preview image | |
EP2592822A2 (en) | Zoom control method and apparatus, and digital photographing apparatus | |
WO2015161561A1 (en) | Method and device for terminal to achieve image synthesis based on multiple cameras | |
EP2323102A1 (en) | Image capturing aid | |
JP2004343747A (en) | Photographing method for mobile communication terminal with camera | |
WO2017067121A1 (en) | Shooting method, device and system, and mobile terminal | |
WO2019214574A1 (en) | Image capturing method and apparatus, and electronic terminal | |
TW201337641A (en) | Method and system for prompting self-catch | |
CN105635568B (en) | Image processing method and mobile terminal in a kind of mobile terminal | |
CN105472245A (en) | Photographing method and electronic device | |
WO2018196854A1 (en) | Photographing method, photographing apparatus and mobile terminal | |
WO2017101570A1 (en) | Photo processing method and processing system | |
WO2019023861A1 (en) | Smart terminal-based id photo generation method and generation system | |
JP5477025B2 (en) | Image display device and program | |
JP2013168843A (en) | Photographing support program, information apparatus and method which determine photographing orientation of image viewed in finder | |
JP5932862B2 (en) | Imaging method of digital camera and computer-executable program | |
CN112804451B (en) | Method and system for photographing by utilizing multiple cameras and mobile device | |
JP6645612B1 (en) | Imaging device and electronic equipment | |
CN110858874B (en) | Method and system for adding watermark to picture and photographing device | |
JP2010161704A (en) | Mobile terminal, photographing control method thereof, program, and recording 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |