CN104657146B - Photographic method, device and smart machine based on smart machine - Google Patents

Photographic method, device and smart machine based on smart machine Download PDF

Info

Publication number
CN104657146B
CN104657146B CN201510102175.8A CN201510102175A CN104657146B CN 104657146 B CN104657146 B CN 104657146B CN 201510102175 A CN201510102175 A CN 201510102175A CN 104657146 B CN104657146 B CN 104657146B
Authority
CN
China
Prior art keywords
picture
hollow out
smart machine
picture material
camera
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.)
Expired - Fee Related
Application number
CN201510102175.8A
Other languages
Chinese (zh)
Other versions
CN104657146A (en
Inventor
凌佳宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510102175.8A priority Critical patent/CN104657146B/en
Publication of CN104657146A publication Critical patent/CN104657146A/en
Application granted granted Critical
Publication of CN104657146B publication Critical patent/CN104657146B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention is applied to the communications field, and there is provided a kind of photographic method based on smart machine, device and smart machine.Methods described includes:Import the picture of hollow out picture material;The picture of the hollow out picture material is set on camera preview interface, with the position display preview image of hollow out picture material;Receive the photographing instruction that user sends;Action of taking pictures is performed according to the photographing instruction of reception.The embodiment of the present invention can increase the diversity for the form of taking pictures.

Description

Photographic method, device and smart machine based on smart machine
Technical field
The embodiment of the present invention belongs to the communications field, more particularly to a kind of photographic method based on smart machine, device and intelligence Can equipment.
Background technology
With the development of electronic communication, the function of terminal device is more and more, such as, and browsing file function is taken pictures Function etc..
The photographic method of existing terminal device is usually:Application of taking pictures is entered by the interface of terminal device, then passed through The function button of application of taking pictures realizes camera function.But because the form of existing photographic method is excessively single, therefore, it is difficult to full The individual demand of sufficient user.
The content of the invention
The embodiments of the invention provide a kind of photographic method based on smart machine, device and smart machine, it is intended to solves The problem of form of existing photographic method is excessively single.
The embodiment of the present invention is achieved in that a kind of photographic method based on smart machine, and methods described includes:
Import the picture of hollow out picture material;
The picture of the hollow out picture material is set on camera preview interface, with aobvious in the position of hollow out picture material Show preview image;
Receive the photographing instruction that user sends;
Action of taking pictures is performed according to the photographing instruction of reception.
The another object of the embodiment of the present invention is to provide a kind of camera arrangement based on smart machine, described device bag Include:
Picture import unit, the picture for importing hollow out picture material;
Picture setting unit, for setting the picture of the hollow out picture material on camera preview interface, to engrave The position display preview image of null images content;
Photographing instruction receiving unit, for receiving the photographing instruction that user sends;
Photographing instruction execution unit, for performing action of taking pictures according to the photographing instruction of reception.
In embodiments of the present invention, because the picture of hollow out picture material is on camera preview interface, therefore, the camera Preview interface is only in the position display preview image of hollow out picture material, when position, shape when hollow out picture material etc. are different, The preview image of camera preview interface display is also different, so as to add the diversity of camera function.
Brief description of the drawings
Fig. 1 is a kind of flow chart for photographic method based on smart machine that first embodiment of the invention is provided;
Fig. 2 is the schematic diagram of the picture for the smart machine desktop that first embodiment of the invention is provided;
Fig. 3 is the obtained schematic diagram of program icon in hollow out Fig. 2 that first embodiment of the invention is provided;
Fig. 4 is the schematic diagram for the position display preview image in hollow out picture material that first embodiment of the invention is provided;
Fig. 5 is a kind of structure chart for camera arrangement based on smart machine that second embodiment of the invention is provided.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
In the embodiment of the present invention, the picture of hollow out picture material is imported, and sets the picture of the hollow out picture material to exist On preview screen, after the photographing instruction that user sends is received, action of taking pictures is performed according to the photographing instruction of reception.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Embodiment one:
Fig. 1 shows a kind of flow chart for photographic method based on smart machine that first embodiment of the invention is provided, in detail State as follows:
Step S11, imports the picture of hollow out picture material.
In this step, when open smart machine take pictures apply when, import hollow out picture material picture.Wherein, engrave The picture of null images content includes all or part of hollow out picture material, and the picture of the hollow out picture material can be previously generated, It can be generated before importing.It is pointed out that in hollow out picture some position picture material, refer to delete some position Picture material.
Specifically, property shoot button one by one can be increased at the interface for application of taking pictures, is clapped when user triggers the personalization According to button, send after personalized photographing instruction, import the picture of hollow out picture material.It is of course also possible on the boundary for taking pictures application Face increases a hollow out picture and imports button, after user, which triggers the hollow out picture, imports button, sends the importing of hollow out picture and refers to Order, the picture that instruction imports hollow out picture material is imported further according to the hollow out picture.
Alternatively, in step S11, before the picture for importing hollow out picture material, including:
Obtain the picture specified, the picture material for the picture specified according to default hollow out algorithm hollow out.Specifically, hollow out Algorithm includes:How position, the size of hollow out, shape of hollow out of hollow out etc. are determined.When user wishes more previews are presented During the picture material of image, the position of multiple hollow outs is may specify, the position of each hollow out has certain size;When user is uncommon When hoping that the picture material of preview image is presented with a certain shape, the shape of corresponding hollow out may specify.
Alternatively, the picture that the acquisition is specified, the picture material for the picture specified according to default hollow out algorithm hollow out, Specifically include:
A1, the picture for obtaining smart machine desktop, the picture material of the picture of the smart machine desktop include programme diagram Mark.
A2, determine program icon in the position of the picture of smart machine desktop.
A3, the program icon according to the picture of the position hollow out smart machine desktop of the program icon of determination.
In above-mentioned A1~A3, the picture of smart machine desktop, the picture material bag of the picture of the smart machine desktop are obtained Each program icon shown on the desktop of smart machine is included, for example, it is assumed that picture such as Fig. 2 institutes of the smart machine desktop obtained Show.Program icon location on the picture of the smart machine is determined again, specifically, can be true by methods such as image detections Determine the location of program icon, or, the aligning method for showing program icon by smart machine is determined residing for program icon Position, the program icon on last hollow out program icon location, using the picture of hollow out Fig. 2 smart machine desktop as Example, then obtain picture as shown in Figure 3.Certainly, in a practical situation, the portion on the picture of the smart machine desktop can also be retained Branch icon not hollow out.
Step S12, sets the picture of the hollow out picture material on camera preview interface, with hollow out picture material Position display preview image.
As shown in figure 4, in Fig. 4, the picture material on the position 2 of picture 1 has been deleted, and is deleting picture material The picture material of preview image is shown on position 2 --- the icon of red fox browser, and it is no deletion picture material other The picture material of preview image is not shown on position then.
Wherein, the picture of hollow out picture material is set to be realized on preview screen especially by following steps:In camera Using existing layout (layout) above, the control such as increase by one ImageView, SurfaceView, then in hollow out image The picture of appearance as this control a background picture, i.e. only by the picture of hollow out picture material on camera preview interface Do one to block, so as not to influence the point of camera originally to touch the function such as take pictures.Wherein, ImageView and SurfaceView etc. is controlled Part is all that, from View Similar integrals, for showing any image, oneself can also define display size, the display face of picture Color etc..ImageView functions are fairly simple, single, are usually used in the display of static images, and SurfaceView functions compare It is abundant, the display of multi-effect can be realized, is usually used in the interface development etc. of game.
Step S13, receives the photographing instruction that user sends.
In the step, because the picture of hollow out picture material is only done one by the embodiment of the present invention on camera preview interface Block, therefore do not interfere with the point of camera originally and touch the function such as take pictures, so that photographing instruction can be described by touching display Send, can also be sent by pressing other buttons of smart machine on the screen of the picture of hollow out picture material.
Step S14, action of taking pictures is performed according to the photographing instruction of reception.
In the step, the preview that performing the picture obtained after action of taking pictures includes showing on whole camera preview interface is drawn Face, that is, be included in the picture of the position display of hollow out picture material, is also included within the position display without hollow out picture material Picture.
In the first embodiment of the invention, the picture of hollow out picture material is imported, and the hollow out picture material is set Picture is on preview screen, after the photographing instruction that user sends is received, and is taken pictures according to the execution of the photographing instruction of reception dynamic Make.Because the picture of hollow out picture material is on camera preview interface, therefore, the camera preview interface is only in hollow out image The position display preview image of appearance, when position, shape when hollow out picture material etc. are different, the preview of camera preview interface display Image is also different, so as to add the diversity of camera function.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention Limited into any.
Embodiment two:
Fig. 5 shows a kind of structure chart for camera arrangement based on smart machine that second embodiment of the invention is provided, should Camera arrangement based on smart machine can apply to smart machine, the smart machine can include through wireless access network RAN with The user equipment that one or more core nets are communicated, the user equipment can be mobile phone (or for " honeycomb " electricity Words), computer with mobile device etc., for example, user equipment can also be portable, pocket, hand-held, in computer Mobile device put or vehicle-mounted, they exchange voice and/or data with wireless access network.In another example, the mobile device can With including smart mobile phone, tablet personal computer, personal digital assistant PDA, point-of-sale terminal POS or vehicle-mounted computer etc..For convenience of description, It illustrate only the part related to the embodiment of the present invention.
The camera arrangement based on smart machine includes:Picture import unit 51, picture setting unit 52, photographing instruction connect Receive unit 53, photographing instruction execution unit 54.Wherein:
Picture import unit 51, the picture for importing hollow out picture material.
Wherein, the picture of hollow out picture material includes all or part of hollow out picture material, the figure of the hollow out picture material Piece can be previously generated, and can also be generated before importing.It is pointed out that in hollow out picture some position picture material, be Refer to the picture material for deleting some position.
Specifically, property shoot button one by one can be increased at the interface for application of taking pictures, is clapped when user triggers the personalization According to button, send after personalized photographing instruction, import the picture of hollow out picture material.It is of course also possible on the boundary for taking pictures application Face increases a hollow out picture and imports button, after user, which triggers the hollow out picture, imports button, sends the importing of hollow out picture and refers to Order, the picture that instruction imports hollow out picture material is imported further according to the hollow out picture.
Alternatively, the camera arrangement based on smart machine includes:
Picture hollow-out unit, for obtaining the picture specified, the figure for the picture specified according to default hollow out algorithm hollow out As content.Wherein, hollow out algorithm includes:How position, the size of hollow out, shape of hollow out of hollow out etc. are determined.
Alternatively, the picture hollow-out unit includes:
Picture acquisition module, the picture for obtaining smart machine desktop, the image of the picture of the smart machine desktop Content includes program icon.
Hollow out position determination module, for determining program icon in the position of the picture of smart machine desktop.Specifically, may be used The location of program icon is determined by methods such as image detections, or, the arrangement of program icon is shown by smart machine Method determines the location of program icon.
Picture material removing module, the picture for the position hollow out smart machine desktop of the program icon according to determination Program icon.
Picture setting unit 52, for setting the picture of the hollow out picture material on camera preview interface, with The position display preview image of hollow out picture material.
Alternatively, the picture setting unit 52 includes:
Control setup module, for increasing default control in the existing layout of camera applications.
Hollow out picture attribute setup module, for regarding the picture of the hollow out picture material as the default control Background picture, to block camera preview interface.
Specifically, in the existing layout (layout) of camera applications above, ImageView, a SurfaceView are increased Deng control, then using the picture of hollow out picture material as this control a background picture, i.e. only by hollow out picture material Picture does one on camera preview interface and blocked, so as not to influence the point of camera originally to touch the function such as take pictures.Wherein, The controls such as ImageView and SurfaceView are all that, from View Similar integrals, for showing any image, can also oneself Oneself defines the display size of picture, display color etc..ImageView functions are fairly simple, single, are usually used in static images It has been shown that, and SurfaceView functions are relatively enriched, and can realize the display of multi-effect, are usually used in the interface development etc. of game.
Photographing instruction receiving unit 53, for receiving the photographing instruction that user sends.
Wherein, send, can also lead on the screen that photographing instruction can be by touching the picture for showing the hollow out picture material Other buttons for crossing pressing smart machine are sent.
Photographing instruction execution unit 54, for performing action of taking pictures according to the photographing instruction of reception.
The preview screen that the picture obtained after action of taking pictures includes showing on whole camera preview interface is performed, that is, is included in The picture of the position display of hollow out picture material, is also included within the picture of the position display without hollow out picture material.
, therefore, should because the picture of hollow out picture material is on camera preview interface in second embodiment of the invention Camera preview interface is only in the position display preview image of hollow out picture material, and position, shape when hollow out picture material etc. are no Meanwhile, the preview image of camera preview interface display is also different, so as to add the diversity of camera function.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
, can be with several embodiments provided herein, it should be understood that disclosed systems, devices and methods Realize by another way.For example, device embodiment described above is only schematical, for example, the unit Divide, only a kind of division of logic function there can be other dividing mode when actually realizing, such as multiple units or component Another system can be combined or be desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or The coupling each other discussed or direct-coupling or communication connection can be the indirect couplings of device or unit by some interfaces Close or communicate to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (6)

1. a kind of photographic method based on smart machine, it is characterised in that methods described includes:
Import the picture of hollow out picture material;
The picture of the hollow out picture material is set on camera preview interface, with pre- in the position display of hollow out picture material Look at image;
Receive the photographing instruction that user sends;
Action of taking pictures is performed according to the photographing instruction of reception;
Before the picture of the importing hollow out picture material, including:
Obtain the picture specified, the picture material for the picture specified according to default hollow out algorithm hollow out;
Described to obtain the picture specified, the picture material for the picture specified according to default hollow out algorithm hollow out is specifically included:
The picture of smart machine desktop is obtained, the picture material of the picture of the smart machine desktop includes program icon;
Determine program icon in the position of the picture of smart machine desktop;
According to the program icon of the picture of the position hollow out smart machine desktop of the program icon of determination.
2. according to the method described in claim 1, it is characterised in that the picture for setting the hollow out picture material is in camera On preview interface, specifically include:
Increase default control in the existing layout of camera applications;
Using the picture of the hollow out picture material as the default control background picture, to block camera preview interface.
3. a kind of camera arrangement based on smart machine, it is characterised in that described device includes:
Picture import unit, the picture for importing hollow out picture material;
Picture setting unit, for setting the picture of the hollow out picture material on camera preview interface, with hollow out figure As the position display preview image of content;
Photographing instruction receiving unit, for receiving the photographing instruction that user sends;
Photographing instruction execution unit, for performing action of taking pictures according to the photographing instruction of reception;
Described device also includes:
Picture hollow-out unit, for obtaining in the picture specified, the image for the picture specified according to default hollow out algorithm hollow out Hold;
The picture hollow-out unit includes:
Picture acquisition module, the picture for obtaining smart machine desktop, the picture material of the picture of the smart machine desktop Including program icon;
Hollow out position determination module, for determining program icon in the position of the picture of smart machine desktop;
Picture material removing module, the program for the picture of the position hollow out smart machine desktop of the program icon according to determination Icon.
4. device according to claim 3, it is characterised in that the picture setting unit includes:
Control setup module, for increasing default control in the existing layout of camera applications;
Hollow out picture attribute setup module, for using the picture of the hollow out picture material as the default control background Picture, to block camera preview interface.
5. a kind of smart machine, the smart machine includes the taking pictures based on smart machine described in any one of claim 3 to 4 Device.
6. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of claim 1 to 2 methods described when the computer program is executed by processor.
CN201510102175.8A 2015-03-09 2015-03-09 Photographic method, device and smart machine based on smart machine Expired - Fee Related CN104657146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510102175.8A CN104657146B (en) 2015-03-09 2015-03-09 Photographic method, device and smart machine based on smart machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510102175.8A CN104657146B (en) 2015-03-09 2015-03-09 Photographic method, device and smart machine based on smart machine

Publications (2)

Publication Number Publication Date
CN104657146A CN104657146A (en) 2015-05-27
CN104657146B true CN104657146B (en) 2017-08-25

Family

ID=53248332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510102175.8A Expired - Fee Related CN104657146B (en) 2015-03-09 2015-03-09 Photographic method, device and smart machine based on smart machine

Country Status (1)

Country Link
CN (1) CN104657146B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105450926A (en) * 2015-11-12 2016-03-30 广东欧珀移动通信有限公司 Photo taking method, photo taking device and mobile terminal
CN106708490A (en) * 2015-11-17 2017-05-24 百度在线网络技术(北京)有限公司 Interface setting method and device for application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856016A (en) * 2005-04-27 2006-11-01 英华达(上海)电子有限公司 Method for taking porous picture frame
CN101320553A (en) * 2007-06-08 2008-12-10 鹏智科技(深圳)有限公司 Picture display apparatus and method
CN102156606A (en) * 2010-11-17 2011-08-17 华为终端有限公司 Finder frame processing method, picture processing method and user equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20100028344A (en) * 2008-09-04 2010-03-12 삼성전자주식회사 Method and apparatus for editing image of portable terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1856016A (en) * 2005-04-27 2006-11-01 英华达(上海)电子有限公司 Method for taking porous picture frame
CN101320553A (en) * 2007-06-08 2008-12-10 鹏智科技(深圳)有限公司 Picture display apparatus and method
CN102156606A (en) * 2010-11-17 2011-08-17 华为终端有限公司 Finder frame processing method, picture processing method and user equipment

Also Published As

Publication number Publication date
CN104657146A (en) 2015-05-27

Similar Documents

Publication Publication Date Title
CN104572735B (en) A kind of picture mark words recommending method and device
US20150074576A1 (en) Information processing methods and electronic devices
CN106959796A (en) Mobile terminal screen display methods and device
CN104793887B (en) The dual camera control method and device of mobile terminal
CN105306835A (en) Image processing system
CN107291839A (en) Share the method and apparatus of picture
CN106933350A (en) AR exchange methods and device
CN106162303B (en) Information processing method, information processing unit and user equipment
WO2021093623A1 (en) Image splicing method and apparatus, and terminal device
CN107302666A (en) Photographic method, mobile terminal and computer-readable recording medium
CN110928397B (en) User interface refreshing method and device, storage medium and electronic device
US10216381B2 (en) Image capture
CN109359582A (en) Information search method, information search device and mobile terminal
CN104657146B (en) Photographic method, device and smart machine based on smart machine
CN107741786A (en) A kind of method, terminal and computer-readable recording medium for starting camera
CN107391567A (en) A kind of multi-media processing method, device and terminal
CN107943359A (en) A kind of method, terminal and the computer-readable medium of the control of application program
CN106791381A (en) A kind of photographic method and terminal
CN107450895A (en) Application icon display methods and system
CN110704377B (en) Multimedia file processing method and device, processor and electronic device
US20200246694A1 (en) Information processing apparatus and software processing method
CN104618591B (en) Mobile communication equipment contact person and the double homepage display methods and device of application program
CN107301036A (en) A kind of method and device of quick screening lantern slide
CN104267875A (en) Photo mode display method and device
US20180211027A1 (en) Password setting method and device

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
CP03 Change of name, title or address

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 523841 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CP03 Change of name, title or address
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170825

CF01 Termination of patent right due to non-payment of annual fee