CN106254765B - Zoom processing method, device and the terminal device of dual camera - Google Patents

Zoom processing method, device and the terminal device of dual camera Download PDF

Info

Publication number
CN106254765B
CN106254765B CN201610573062.0A CN201610573062A CN106254765B CN 106254765 B CN106254765 B CN 106254765B CN 201610573062 A CN201610573062 A CN 201610573062A CN 106254765 B CN106254765 B CN 106254765B
Authority
CN
China
Prior art keywords
zoom
camera
user
enlarged
secondary 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.)
Active
Application number
CN201610573062.0A
Other languages
Chinese (zh)
Other versions
CN106254765A (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 CN201610573062.0A priority Critical patent/CN106254765B/en
Publication of CN106254765A publication Critical patent/CN106254765A/en
Application granted granted Critical
Publication of CN106254765B publication Critical patent/CN106254765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/62Control of parameters via user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Studio Devices (AREA)

Abstract

This application discloses zoom processing method, device and the terminal devices of a kind of dual camera, wherein method includes: to detect to start main camera and secondary camera when user opens camera, and detect whether user within a preset time triggers zoom amplifying operation;If not detecting within a preset time, user triggers zoom and is enlarged, and controls secondary camera and enters standby mode.This application embodiment, by carrying out standby processing to secondary camera, reducing power consumption, the available labour time of further lifting means when user does not trigger zoom and is enlarged.

Description

Zoom processing method, device and the terminal device of dual camera
Technical field
This application involves technical field of mobile terminals more particularly to a kind of zoom processing method of dual camera, device and Terminal device.
Background technique
Generally, the dual camera of zoom function is used on mobile phone, by the camera of wide-angle and the camera shooting of a focal length Head composition.After opening camera, into wide-angle camera, when user carries out zoom function, i.e., by touch screen amplification frame into After row is enlarged, two cameras are worked at the same time, and reach the function of zoom.
However, two cameras work at the same time always when carrying out zoom function, the electric energy on mobile phone can be greatly increased, Reduce the operating handset time.
Summary of the invention
The purpose of the application is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, first purpose of the application is to propose that a kind of zoom processing method of dual camera, this method pass through When user does not trigger zoom and is enlarged, standby processing is carried out to secondary camera, reduces power consumption, shooting is further promoted and sets Standby available labour time.
Second purpose of the application is to propose a kind of zoom processing unit of dual camera.
The third purpose of the application is to propose a kind of terminal device.
The 4th purpose of the application is to propose another terminal device.
In order to achieve the above object, a kind of zoom processing side of the dual camera proposed according to the application first aspect embodiment Method, comprising the following steps: detect and start main camera and secondary camera when user opens camera, and detect within a preset time Whether user triggers zoom amplifying operation;If not detecting in the preset time, user triggers zoom and is enlarged, It controls the secondary camera and enters standby mode.
The zoom processing method of the dual camera of the embodiment of the present application, first it is detected that starting master takes the photograph when user opens camera It as head and secondary camera, and detects whether user within a preset time triggers zoom amplifying operation, does not have within a preset time then It detects that user triggers zoom and is enlarged, then controls secondary camera and enter standby mode.This method in user by not having When triggering zoom and being enlarged, standby processing is carried out to secondary camera, reduces power consumption, when the available work of further lifting means Between.
In addition, can also be had according to the zoom processing method of the dual camera of the above embodiments of the present application following additional Technical characteristic:
In some instances, whether the detection user triggers zoom amplifying operation, comprising: whether user is to described for detection The preview interface that main camera obtains amplifies touch control operation;Or, whether detection user triggers preset amplification Zoom control Key.
In some instances, the method, after controlling the secondary camera and entering standby mode, further includes: if It detects that user triggers zoom and is enlarged, then starts the secondary camera.
In some instances, after starting the secondary camera, further includes: be enlarged determining pair according to the zoom The zoom magnifications answered;The first picture in the preview image of the main camera shooting is determined according to the zoom magnifications The second pixel in vegetarian refreshments and the preview image of the secondary camera shooting;By first pixel and described second Pixel carries out synthesis processing and generates synthesis preview image.
In order to achieve the above object, a kind of zoom for dual camera that embodiment proposes according to a second aspect of the present application handles dress It sets, comprising: detection module starts main camera and secondary camera when for detecting that user opens camera, and in preset time Whether interior detection user triggers zoom amplifying operation;First processing module, for not detecting use in the preset time When zoom amplifying operation is triggered at family, standby processing is carried out to the secondary camera.
When the zoom processing unit of the dual camera of the embodiment of the present application, first detection module detect that user opens camera Start main camera and secondary camera, and detect whether user within a preset time triggers zoom amplifying operation, then at first Reason module does not detect that user triggers zoom and is enlarged within a preset time, then controls secondary camera and enter standby mode. The device is by carrying out standby processing to secondary camera, reducing power consumption, further when user does not trigger zoom and is enlarged The available labour time of lifting means.
In addition, can also be had according to the zoom processing unit of the dual camera of the above embodiments of the present application following additional Technical characteristic:
In some instances, the detection module is specifically used for: it is pre- whether detection user obtains the main camera Looking at interface amplifies touch control operation;Or, whether detection user triggers preset amplification Zoom control key.
In some instances, the first processing module is also used to: when detecting that user triggers zoom amplifying operation, being opened Move the secondary camera.
In some instances, the device, which is characterized in that further include: the first determining module, for described in the starting After secondary camera, it is enlarged according to the zoom and determines corresponding zoom magnifications;Second determining module is used for basis The zoom magnifications determine the first pixel and the secondary camera in the preview image of the main camera shooting The second pixel in the preview image of shooting;Second processing module is used for first pixel and second pixel Point carries out synthesis processing and generates synthesis preview image.
In order to achieve the above object, a kind of terminal device proposed according to the third aspect embodiment of the application, comprising: the application The zoom processing unit of the dual camera of second aspect embodiment.
The terminal device of the embodiment of the present application, first detection module detect user open camera when start main camera and Secondary camera, and detect whether user within a preset time triggers zoom amplifying operation, then first processing module is when default It is interior not detect that user triggers zoom and is enlarged, then it controls secondary camera and enters standby mode.By not having in user When triggering zoom and being enlarged, standby processing is carried out to secondary camera, reduces power consumption, when the available work of further lifting means Between.
In order to achieve the above object, a kind of terminal device proposed according to the fourth aspect embodiment of the application, comprising: with next A or multiple components: processor, memory, power supply module, multimedia component, audio component, the interface of input/output (I/O), Sensor module and communication component;Wherein, circuit board is placed in the space interior that shell surrounds, the processor and described Memory is arranged on the circuit board;The power circuit, for each circuit or the device power supply for terminal device;It is described Memory is for storing executable program code;The processor is by reading the executable program generation stored in the memory Code runs program corresponding with the executable program code, for executing following steps:
Detect and start main camera and secondary camera when user opens camera, and detect within a preset time user whether Zoom is triggered to be enlarged;
If not detecting within a preset time, user triggers zoom and is enlarged, control the secondary camera enter to Machine state.
The terminal device of the embodiment of the present application, first it is detected that user starts main camera and secondary camera shooting when opening camera Head, and detect whether user within a preset time triggers zoom amplifying operation, do not detect user within a preset time then It triggers zoom to be enlarged, then controls secondary camera and enter standby mode.By user do not trigger zoom be enlarged when, Standby processing is carried out to secondary camera, reduces power consumption, the available labour time of further lifting means.
The additional aspect of the application and advantage will be set forth in part in the description, and will partially become from the following description It obtains obviously, or recognized by the practice of the application.
Detailed description of the invention
The above-mentioned and/or additional aspect and advantage of the application will become from the description of the embodiment in conjunction with the following figures Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart according to the zoom processing method of the dual camera of the application one embodiment;
Fig. 2 is the flow chart according to the zoom processing method of the dual camera of the application another embodiment;
Fig. 3 is the structural schematic diagram according to the zoom processing unit of the dual camera of the application one embodiment;
Fig. 4 is the structural schematic diagram according to the zoom processing unit of the dual camera of the application another embodiment;
Fig. 5 is the structural schematic diagram according to the terminal device of the application one embodiment;And
Fig. 6 is the structural schematic diagram according to another embodiment terminal device of the application.
Specific embodiment
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to for explaining the application, and should not be understood as the limitation to the application.
Below with reference to the accompanying drawings zoom processing method, device and the terminal device of the dual camera of the embodiment of the present application are described.
Fig. 1 is the flow chart according to the zoom processing method of the dual camera of the application one embodiment.
As shown in Figure 1, the zoom processing method of the dual camera of the embodiment of the present application the following steps are included:
In a step 101, it detects and starts main camera and secondary camera when user opens camera, and detect when default Whether interior user triggers zoom amplifying operation.
In a step 102, if not detecting within a preset time, user triggers zoom and is enlarged, and controls secondary camera shooting Head enters standby mode.
Specifically, the zoom processing method of dual camera provided in this embodiment is configured in tool there are two camera and shows It is specifically described in the terminal device of display screen curtain.Dual camera includes main camera and secondary camera.Wherein, main camera shooting Head can be wide-angle camera, and secondary camera can be focal length camera.It should be noted that there are many type of terminal device, It can be selected according to application, such as: mobile phone, tablet computer etc..Show screen for realizing to the pre- of shooting picture It lookes at and the trigger action of user.
User starts main camera and secondary camera while opening camera, in shooting process, user, which triggers zoom, puts When big operation carries out zoom function, main camera and secondary camera work simultaneously, and are clapped according to main camera and secondary camera shooting The image taken the photograph carries out being synthetically generated preview image.
In order to further enhance the available labour time of equipment, it can detect within a preset time whether user triggers zoom It is enlarged, if not detecting that user triggers zoom and is enlarged in preset time, controls secondary camera and enter standby shape State.
Wherein, whether detection user triggers there are many kinds of the modes that zoom is enlarged, and can carry out according to actual needs Selection, is illustrated below:
The first example, the preview interface whether detection user obtains main camera amplify touch control operation.
In shooting process, user can for example click screen by amplifying touch control operation and zoom item occurs, drop-down zoom Item amplifies the preview interface that main camera obtains or both hands refer to that sliding in and out operation respectively amplifies the preview that main camera obtains Interface etc..
Therefore can by preset time such as 5 seconds detect user whether amplify touch control operation such as both hands refer to respectively to Outer slide carries out zoom, if not detecting that user amplifies touch control operation in 5 seconds, the secondary camera of control enters standby State.
Whether second of example, detection user trigger preset amplification Zoom control key.
In shooting process, user can for example click preset increasing by triggering preset amplification Zoom control key Volume control button is amplification zoom, or clicks the new key of increase as amplification Zoom control key etc. and carry out zoom.
Therefore whether preset amplification Zoom control key can be triggered by detection user in preset time such as 5 seconds, Such as preset VOLUME UP control button is clicked as amplification zoom key, if not detecting that user's triggering is pre- in 5 seconds If amplification Zoom control key, control secondary camera and enter standby mode.
Wherein, preset time can be system default either user and be configured according to the actual application.
It should be noted that if detect within a preset time user trigger zoom be enlarged, main camera and Secondary camera keeps work.
In conclusion the zoom processing method of the dual camera of the embodiment of the present application, first it is detected that user opens camera The main camera of Shi Qidong and secondary camera, and detect whether user within a preset time triggers zoom amplifying operation, then pre- If not detecting that user triggers zoom and is enlarged in the time, then controls secondary camera and enter standby mode.This method passes through When user does not trigger zoom and is enlarged, standby processing is carried out to secondary camera, reduces power consumption, further lifting means Available labour time.
Based on above embodiments, when not detecting that user triggers zoom amplifying operation within a preset time, directly control Secondary camera enters standby mode.In order to further enhance the focusing experience sense of user, standby mode is being entered to secondary camera Later, if detecting that user triggers zoom and is enlarged, start secondary camera.It is illustrated below with reference to Fig. 2:
Fig. 2 is the flow chart according to the zoom processing method of the dual camera of the application another embodiment.Such as Fig. 2 institute Show, the zoom processing method of the dual camera includes:
In step 201, it detects and starts main camera and secondary camera when user opens camera, and detect when default Whether interior user triggers zoom amplifying operation.
In step 202, if not detecting within a preset time, user triggers zoom and is enlarged, and controls secondary camera shooting Head enters standby mode.
It should be noted that the description of step S201-S202 is corresponding with above-mentioned steps S101-S102, thus pair step The description of rapid S201-S202 refers to the description of above-mentioned steps S101-S102, and details are not described herein.
In step 203, if detecting, user triggers zoom and is enlarged, and starts secondary camera.
In step 204, it is enlarged according to zoom and determines corresponding zoom magnifications.
In step 205, the first pixel in the preview image of main camera shooting is determined according to zoom magnifications, And the second pixel in the preview image of secondary camera shooting.
In step 206, the first pixel and the second pixel are subjected to synthesis processing and generate synthesis preview image.
Specifically, it when detecting that user triggers zoom amplifying operation, opens secondary camera and works, start zoom function Energy.It is enlarged according to zoom and determines that corresponding zoom magnifications focus to shooting object, and according to zoom times magnification Number determines the first pixel in the preview image of main camera shooting, and determines that secondary camera is clapped according to zoom magnifications The second pixel in the preview image taken the photograph synthesizes the first pixel and the second pixel for example, by terminal handler Processing generates synthesis preview image.
For example, preset VOLUME UP control button is amplification zoom key, detect user by clicking VOLUME UP Control button starts secondary camera, while determining that user clicks zoom magnifications is, for example, 1.5 times, according to 1.5 times of zoom Amplification factor determines the first pixel in the preview image of main camera shooting, is determined according to 1.5 times of zoom magnifications The second pixel in the preview image of secondary camera shooting, finally is handled to obtain to the first pixel and the second pixel The preview image that zoom magnifications are 1.5 times.
It should be noted that if not detecting that user triggers after controlling secondary camera and entering standby mode and becoming Coke is enlarged, then secondary camera keeps standby mode.Secondary camera work is only opened when there is zoom to need as a result, without It is that major and minor camera works at the same time always, while guaranteeing user's focusing experience and taking pictures effect, reduces energy consumption.
In conclusion the zoom processing method of the dual camera of the embodiment of the present application, further secondary camera carry out to It after machine is handled, detects that user triggers zoom and is enlarged, starts secondary camera, and corresponding according to zoom amplifying operation determination Zoom magnifications, and determine according to zoom magnifications the first pixel in the preview image of main camera shooting, it is secondary First pixel and the second pixel are finally carried out synthesis processing life by the second pixel in the preview image of camera shooting At synthesis preview image.It is experienced simultaneously guaranteeing that user focuses, the available labour time of further lifting means.
In order to realize above-described embodiment, the application also proposed a kind of zoom processing unit of dual camera, and Fig. 3 is basis The structural schematic diagram of the zoom processing unit of the dual camera of the application one embodiment.
As shown in figure 3, the zoom processing unit of the dual camera includes: detection module 10 and first processing module 20.
Wherein, detection module 10, which is used to detect, starts main camera and secondary camera when user opens camera, and detects Whether user triggers zoom amplifying operation within a preset time;
When first processing module 20 for not detecting that user triggers zoom amplifying operation within a preset time, control is secondary Camera enters standby mode.
In one embodiment of the application, detection module 10 is specifically used for: whether detection user obtains main camera Preview interface amplify touch control operation;Or, whether detection user triggers preset amplification Zoom control key.
In one embodiment of the application, first processing module 20 is also used to: detecting user's triggering zoom amplification When operation, start secondary camera.
In shooting process, user can for example click screen by amplifying touch control operation and zoom item occurs, drop-down zoom Item amplifies the preview interface that main camera obtains or two finger reversible sliding actions amplify preview circle that main camera obtains Face etc..
Therefore can by preset time such as 5 seconds detect user whether amplify touch control operation such as both hands refer to respectively to Outer slide carries out zoom, if not detecting that user amplifies touch control operation in 5 seconds, the secondary camera of control enters standby State.Or
In shooting process, user can for example click preset increasing by triggering preset amplification Zoom control key Volume control button is amplification zoom, or clicks the new key of increase as amplification Zoom control key etc. and carry out zoom.
Therefore whether preset amplification Zoom control key can be triggered by detection user in preset time such as 5 seconds, Such as preset VOLUME UP control button is clicked as amplification zoom key, if not detecting that user's triggering is pre- in 5 seconds If amplification Zoom control key, control secondary camera and enter standby mode.
It should be noted that the explanation of the aforementioned zoom processing method embodiment to dual camera is also applied for the reality The zoom processing unit of the dual camera of example is applied, realization principle is similar, and details are not described herein again.
When the zoom processing unit of the dual camera of the embodiment of the present application, first detection module detect that user opens camera Start main camera and secondary camera, and detect whether user within a preset time triggers zoom amplifying operation, then at first Reason module does not detect that user triggers zoom and is enlarged within a preset time, then controls secondary camera and enter standby mode. By carrying out standby processing to secondary camera when user does not trigger zoom and is enlarged, power consumption is reduced, is further promoted and is set Standby available labour time.
Based on above embodiments, when not detecting that user triggers zoom amplifying operation within a preset time, directly control Secondary camera enters standby mode.In order to further enhance the focusing experience sense of user, standby processing is being carried out to secondary camera Later, if detecting that user triggers zoom and is enlarged, start secondary camera.It is illustrated below with reference to Fig. 4:
Fig. 4 is according to the structural schematic diagram of the zoom processing unit of the dual camera of the application another embodiment, such as Fig. 4 It is shown, on the basis of as shown in Figure 3, the zoom processing unit of the dual camera further include: the first determining module 30, second is really Cover half block 40 and Second processing module 50.
Wherein, the first determining module 30 is used for after starting secondary camera, and it is corresponding that determination is enlarged according to zoom Zoom magnifications.
Second determining module 40 is used to determine first in the preview image of main camera shooting according to zoom magnifications The second pixel in pixel, and the preview image of secondary camera shooting.
Second processing module 50 is used to carry out the first pixel and the second pixel synthesis processing and generates synthesis preview graph Picture.
Specifically, it when detecting that user triggers zoom amplifying operation, opens secondary camera and works, start zoom function Energy.It is enlarged according to zoom and determines that corresponding zoom magnifications focus to shooting object, and according to zoom times magnification Number determines the first pixel in the preview image of main camera shooting, and determines that secondary camera is clapped according to zoom magnifications The second pixel in the preview image taken the photograph synthesizes the first pixel and the second pixel for example, by terminal handler Processing generates synthesis preview image.
It should be noted that if not detecting that user triggers after controlling secondary camera and entering standby mode and becoming Coke is enlarged, then secondary camera keeps standby mode.Secondary camera work is only opened when there is zoom to need as a result, without It is that major and minor camera works at the same time always, while guaranteeing user's focusing experience and taking pictures effect, reduces energy consumption.
In conclusion the zoom processing unit of the dual camera of the embodiment of the present application, first detection module detect user Start main camera and secondary camera when opening camera, and detect whether user within a preset time triggers zoom amplifying operation, Then first processing module does not detect that user triggers zoom and is enlarged within a preset time, then controls secondary camera and enter Standby mode.By carrying out standby processing to secondary camera, reducing power consumption when user does not trigger zoom and is enlarged, into The available labour time of one step lifting means.
In order to realize above-described embodiment, the application also proposed a kind of terminal device, and Fig. 5 is implemented according to the application one The structural schematic diagram of the terminal device of example.
As shown in figure 5, the terminal device of the embodiment of the present application includes the zoom processing unit 1000 of dual camera.
Wherein, it should be noted that the zoom processing unit 1000 and above-mentioned reality of the dual camera in the embodiment of the present application It applies in example and is corresponded to reference to the zoom processing unit of the dual camera of Fig. 3-Fig. 4 description, details are not described herein.
The terminal device of the embodiment of the present application, first detection module detect user open camera when start main camera and Secondary camera, and detect whether user within a preset time triggers zoom amplifying operation, then first processing module is when default It is interior not detect that user triggers zoom and is enlarged, then it controls secondary camera and enters standby mode.By not having in user When triggering zoom and being enlarged, standby processing is carried out to secondary camera, reduces power consumption, when the available work of further lifting means Between.
Fig. 6 is the structural schematic diagram according to the terminal device of the application another embodiment.
Referring to Fig. 6, terminal device 2000 may include following one or more components: processor 2001, memory 2002, Power supply module 2003, multimedia component 2004, audio component 2005, the interface 2006 of input/output (I/O), sensor module 2007 and communication component 2008.
Power supply module 2003, for each circuit or the device power supply for terminal device;Memory 2002 can for storing Execute program code;Processor 2001 runs and can be performed by reading the executable program code stored in memory 2002 The corresponding program of program code, for executing following steps:
Detect and start main camera and secondary camera when user opens camera, and detect within a preset time user whether Zoom is triggered to be enlarged;
If not detecting within a preset time, user triggers zoom and is enlarged, and controls secondary camera into standby shape State.
It should be noted that the explanation of the aforementioned zoom processing method embodiment to dual camera is also applied for the reality The terminal device of example is applied, realization principle is similar, and details are not described herein again.
In conclusion the terminal device of the embodiment of the present application, first it is detected that user starts main camera when opening camera With secondary camera, and detect within a preset time user whether trigger zoom amplifying operation, do not examine within a preset time then It measures user and triggers zoom amplifying operation, then control secondary camera and enter standby mode.It is put by not triggering zoom in user When big operation, standby processing is carried out to secondary camera, reduces power consumption, the available labour time of further lifting means.
In the description of the present application, it is to be understood that term " first ", " second " are used for description purposes only, and cannot It is interpreted as indication or suggestion relative importance or implicitly indicates the quantity of indicated technical characteristic.Define as a result, " the One ", the feature of " second " can explicitly or implicitly include at least one of the features.In the description of the present application, " multiple " It is meant that at least two, such as two, three etc., unless otherwise specifically defined.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (8)

1. a kind of zoom processing method of dual camera, which comprises the following steps:
It detects and starts main camera and secondary camera when user opens camera, and detect whether user within a preset time triggers Zoom is enlarged;
If not detecting in the preset time, user triggers zoom and is enlarged, control the secondary camera enter to Machine state;
Wherein, whether the detection user triggers zoom amplifying operation, comprising:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
2. the method as described in claim 1, which is characterized in that after controlling the secondary camera and entering standby mode, also Include:
If detecting, user triggers zoom and is enlarged, and starts the secondary camera.
3. method according to claim 2, which is characterized in that after starting the secondary camera, further includes:
It is enlarged according to the zoom and determines corresponding zoom magnifications;
The first pixel in the preview image of the main camera shooting and described is determined according to the zoom magnifications The second pixel in the preview image of secondary camera shooting;
First pixel and second pixel are subjected to synthesis processing and generate synthesis preview image.
4. a kind of zoom processing unit of dual camera characterized by comprising
Detection module starts main camera and secondary camera, and detects in preset time when for detecting that user opens camera Whether interior user triggers zoom amplifying operation;
First processing module, when for not detecting that user triggers zoom amplifying operation in the preset time, to control The pair camera enters standby mode;
Wherein, the detection module is specifically used for:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
5. device as claimed in claim 4, which is characterized in that the first processing module is also used to:
When detecting that user triggers zoom amplifying operation, start the secondary camera.
6. device as claimed in claim 5, which is characterized in that further include:
First determining module, for being enlarged according to the zoom and determining corresponding change after starting the secondary camera Burnt amplification factor;
Second determining module, the in the preview image for determining the main camera shooting according to the zoom magnifications The second pixel in one pixel and the preview image of the secondary camera shooting;
Second processing module generates synthesis preview for first pixel and second pixel to be carried out synthesis processing Image.
7. a kind of terminal device characterized by comprising the zoom processing of dual camera as described in claim any one of 4-6 Device.
8. a kind of terminal device characterized by comprising following one or more components: processor, memory, power supply module, Multimedia component, audio component, the interface of input/output (I/O), sensor module and communication component;Wherein, circuit board It is placed in the space interior that shell surrounds, the processor and the memory are arranged on the circuit board;The power supply group Part, for each circuit or the device power supply for terminal device;The memory is for storing executable program code;The place Reason device is corresponding with the executable program code to run by reading the executable program code stored in the memory Program, for executing following steps:
It detects and starts main camera and secondary camera when user opens camera, and detect whether user within a preset time triggers Zoom is enlarged;
If not detecting within a preset time, user triggers zoom and is enlarged, and controls the secondary camera and enters standby shape State;
Wherein, whether the detection user triggers zoom amplifying operation, comprising:
The preview interface whether detection user obtains the main camera amplifies touch control operation;Or,
Whether detection user triggers preset amplification Zoom control key.
CN201610573062.0A 2016-07-19 2016-07-19 Zoom processing method, device and the terminal device of dual camera Active CN106254765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610573062.0A CN106254765B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the terminal device of dual camera

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610573062.0A CN106254765B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the terminal device of dual camera

Publications (2)

Publication Number Publication Date
CN106254765A CN106254765A (en) 2016-12-21
CN106254765B true CN106254765B (en) 2019-04-12

Family

ID=57613852

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610573062.0A Active CN106254765B (en) 2016-07-19 2016-07-19 Zoom processing method, device and the terminal device of dual camera

Country Status (1)

Country Link
CN (1) CN106254765B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020516094A (en) * 2016-12-24 2020-05-28 華為技術有限公司Huawei Technologies Co.,Ltd. Camera control method and terminal
CN108460395B (en) * 2017-02-17 2023-04-07 北京三星通信技术研究有限公司 Target detection method and device and fuzzy processing method and device
CN108933881B (en) * 2017-05-22 2022-05-27 中兴通讯股份有限公司 Video processing method and device
CN107277480B (en) 2017-07-10 2019-03-29 Oppo广东移动通信有限公司 White balance synchronous method, device and terminal device
CN107277355A (en) * 2017-07-10 2017-10-20 广东欧珀移动通信有限公司 camera switching method, device and terminal
CN108632536B (en) * 2018-07-31 2020-10-30 Oppo广东移动通信有限公司 Camera control method and device, terminal and storage medium
CN113489906B (en) * 2021-07-14 2022-11-15 长沙克莱自动化设备有限公司 Method and device for controlling shooting equipment, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244324A (en) * 1994-03-03 1995-09-19 Olympus Optical Co Ltd Camera capable of correcting blur
CN102253057A (en) * 2011-04-13 2011-11-23 中国科学院深圳先进技术研究院 Endoscope system and measurement method using endoscope system
CN102356630A (en) * 2009-03-19 2012-02-15 弗莱克斯电子有限责任公司 Dual sensor camera
CN103986867A (en) * 2014-04-24 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image shooting terminal and image shooting method
CN104731321A (en) * 2015-02-10 2015-06-24 惠州Tcl移动通信有限公司 Multi-device interaction method and system based on gesture recognition
CN105282832A (en) * 2014-07-09 2016-01-27 中兴通讯股份有限公司 Terminal power saving method and apparatus
CN105388680A (en) * 2014-08-27 2016-03-09 联发科技股份有限公司 Camera auto-focus apparatus and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6459857B2 (en) * 1998-03-11 2002-10-01 Nikon Corporation Electronic camera

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07244324A (en) * 1994-03-03 1995-09-19 Olympus Optical Co Ltd Camera capable of correcting blur
CN102356630A (en) * 2009-03-19 2012-02-15 弗莱克斯电子有限责任公司 Dual sensor camera
CN102253057A (en) * 2011-04-13 2011-11-23 中国科学院深圳先进技术研究院 Endoscope system and measurement method using endoscope system
CN103986867A (en) * 2014-04-24 2014-08-13 宇龙计算机通信科技(深圳)有限公司 Image shooting terminal and image shooting method
CN105282832A (en) * 2014-07-09 2016-01-27 中兴通讯股份有限公司 Terminal power saving method and apparatus
CN105388680A (en) * 2014-08-27 2016-03-09 联发科技股份有限公司 Camera auto-focus apparatus and method
CN104731321A (en) * 2015-02-10 2015-06-24 惠州Tcl移动通信有限公司 Multi-device interaction method and system based on gesture recognition

Also Published As

Publication number Publication date
CN106254765A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106254765B (en) Zoom processing method, device and the terminal device of dual camera
CN105991930B (en) Zoom processing method, device and the mobile terminal of dual camera
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
RU2656821C2 (en) Terminal application management method and device
KR101819985B1 (en) Method, device, program and computer-readable recording medium for controlling application
CN109557999B (en) Bright screen control method and device and storage medium
US11112967B2 (en) Method and apparatus for displaying user interface, terminal and storage medium
CN106527883B (en) Content sharing method and device and terminal
CN106131416B (en) Zoom processing method, device and the mobile terminal of dual camera
EP2887648B1 (en) Method of performing previewing and electronic device for implementing the same
EP3242204A1 (en) Method and device for multi-task management
EP3299946B1 (en) Method and device for switching environment picture
CN105094577A (en) Method and apparatus for application switching
JP2013048389A (en) Electronic device, camera control program thereof, and camera control method
CN108965611B (en) Shooting interface switching method, device, equipment and storage medium
CN104065883B (en) Image pickup method and device
CN112954214B (en) Shooting method, shooting device, electronic equipment and storage medium
CN107820006A (en) Control the method and device of camera shooting
CN112929561B (en) Multimedia data processing method and device, electronic equipment and storage medium
CN106412438A (en) Photographing parameter adjustment method and device
CN104243829A (en) Self-shooting method and self-shooting device
RU2616160C2 (en) Method deleting image and device therefor
CN105786321B (en) A kind of function switching method and device
CN105827834A (en) Mobile device application method and device
CN107295167A (en) Method for information display 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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant