Movatterモバイル変換


[0]ホーム

URL:


CN106131425B - Method and mobile terminal for switching cameras - Google Patents

Method and mobile terminal for switching cameras
Download PDF

Info

Publication number
CN106131425B
CN106131425BCN201610600690.3ACN201610600690ACN106131425BCN 106131425 BCN106131425 BCN 106131425BCN 201610600690 ACN201610600690 ACN 201610600690ACN 106131425 BCN106131425 BCN 106131425B
Authority
CN
China
Prior art keywords
camera
image information
information
finger
preset
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
CN201610600690.3A
Other languages
Chinese (zh)
Other versions
CN106131425A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co LtdfiledCriticalVivo Mobile Communication Co Ltd
Priority to CN201610600690.3ApriorityCriticalpatent/CN106131425B/en
Publication of CN106131425ApublicationCriticalpatent/CN106131425A/en
Application grantedgrantedCritical
Publication of CN106131425BpublicationCriticalpatent/CN106131425B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明提供一种切换摄像头的方法及移动终端,其中,所述切换摄像头的方法包括:获取第一摄像头采集的图像信息,判断所述图像信息是否与预设图像信息匹配,若所述图像信息与所述预设图像信息匹配,控制所述第一摄像头关闭,并控制所述第二摄像头开启。本发明的方案,能够方便快捷地实现摄像头的切换,简化操作,提升用户体验。

The present invention provides a method for switching cameras and a mobile terminal, wherein the method for switching cameras includes: acquiring image information collected by a first camera, judging whether the image information matches preset image information, and if the image information matches Matching with the preset image information, the first camera is controlled to be turned off, and the second camera is controlled to be turned on. The solution of the present invention can realize the switching of the camera conveniently and quickly, simplify the operation, and improve the user experience.

Description

A kind of method and mobile terminal switching camera
Technical field
The present invention relates to field of terminal technology more particularly to a kind of methods and mobile terminal for switching camera.
Background technique
With the development of terminal technology, existing mobile terminal is both provided with greatly dual camera, such as front camera is with afterSet camera.User is related to the switching of two cameras, often during using camera to call different take the photographAs head is taken pictures or is imaged.
Wherein, currently switch the method for camera are as follows: switch camera by way of clicking button or key.ExampleSuch as, for mobile terminal when through a camera shooting, a switching push button can be shown on interface by shooting, when user wants to cutWhen changing camera, need to click the switching push button with hand.
Due to the diversity of mobile terminal, the position of the switching push button on the shooting interface of many mobile terminals is usually notIt is unified, in this way, can make troubles to user's operation, especially when the method using existing switching camera switches cameraIt is for old man and children.
Summary of the invention
The embodiment of the present invention provides a kind of method and mobile terminal for switching camera, to solve existing switching cameraThe inconvenient problem of method.
On the one hand, the embodiment of the present invention provides a kind of method for switching camera, is applied to the first camera and theThe mobile terminal of two cameras, which comprises
Obtain the image information of the first camera acquisition;
Judge whether described image information matches with pre-set image information;
If described image information is matched with the pre-set image information, controls first camera and close, and control instituteState second camera unlatching.
On the other hand, the embodiment of the present invention also provides a kind of mobile terminal, has the first camera and second camera, instituteStating mobile terminal includes:
First obtains module, for obtaining the image information of the first camera acquisition;
Judgment module, for judging whether described image information matches with pre-set image information;
Control module, for when described image information is matched with the pre-set image information, controlling first camera shootingHead is closed, and is controlled the second camera and opened.
In this way, the method for the switching camera of the embodiment of the present invention, by obtaining the image information of the first camera acquisition,Judge whether described image information matches with pre-set image information, if described image information is matched with the pre-set image information,It controls first camera to close, and controls the second camera and open, can conveniently and efficiently realize cutting for cameraIt changes, simplifies operation, promote user experience.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present inventionAttached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, forFor those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawingsHis attached drawing.
Fig. 1 shows the flow charts of the method for the switching camera of first embodiment of the invention.
Fig. 2 indicates the flow chart of the method for the switching camera of second embodiment of the invention.
One of the structural schematic diagram of mobile terminal of Fig. 3 expression third embodiment of the invention.
Fig. 4 indicates the second structural representation of the mobile terminal of third embodiment of the invention.
Fig. 5 indicates the structural schematic diagram of the mobile terminal of fourth embodiment of the invention.
Specific embodiment
In order to illustrate the technical solution of the embodiments of the present invention more clearly, will make below to required in the embodiment of the present inventionAttached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, forFor those of ordinary skill in the art, without any creative labor, it can also be obtained according to these attached drawingsHis attached drawing.
First embodiment
Shown in Figure 1, the embodiment of the present invention provides a kind of method for switching camera, is applied to have the first cameraWith the mobile terminal of second camera, including step 101~step 103, details are as follows.
Step 101: obtaining the image information of the first camera acquisition.
In the embodiment of the present invention, first camera can be front camera or rear camera, and described second takes the photographAs head can be front camera or rear camera.Specifically, if first camera is front camera, instituteStating second camera is just rear camera, if first camera is rear camera, the second cameraIt is just front camera.
Wherein, the method for the switching camera of the embodiment of the present invention is to be believed by the image acquired to the first cameraThe identification of breath closes first camera and opens second camera shooting to decide whether to switch first cameraHead.
Step 102: judging whether described image information matches with pre-set image information.
In the embodiment of the present invention, in order to realize the switching of camera, it can establish in the terminal for storing informationDatabase, and the sample information of image information for identification is stored in the database, the sample information is to be stored in advanceImage information, that is, pre-set image information.
Wherein, when identifying the image information that the step 101 obtains, mainly judge described image information whether in advanceIf image information matches.If described image information is matched with the pre-set image information, just switch first camera, andIf described image information and the pre-set image information mismatch, the working condition for keeping first camera is continued to.
Step 103: if described image information is matched with the pre-set image information, controls first camera and close,And it controls the second camera and opens.
Specifically, illustrating the item for meeting switching camera when described image information is matched with the pre-set image informationPart, so that it may control first camera and close, and control the second camera and open.
And if described image information and the pre-set image information mismatch, and control first camera and work on.
Specifically, illustrating not meeting switching camera when described image information and the pre-set image information mismatchCondition, so that it may control first camera and work on.
The method of the switching camera of the embodiment of the present invention, by obtaining the image information of the first camera acquisition, judgementWhether described image information matches with pre-set image information, if described image information is matched with the pre-set image information, controlFirst camera is closed, and is controlled the second camera and opened, and can conveniently and efficiently realize the switching of camera, letterChange operation, promotes user experience.
Second embodiment
Shown in Figure 2, the embodiment of the present invention also provides a kind of method for switching camera, is applied to have the first camera shootingThe mobile terminal of head and second camera, including step 201~step 208, details are as follows.
Step 201: by first camera or the second camera, obtaining finger imaging accounting and be greater than default thresholdThe image of value.
In the embodiment of the present invention, first camera can be front camera or rear camera, and described second takes the photographAs head can be front camera or rear camera.Specifically, if first camera is front camera, instituteStating second camera is just rear camera, if first camera is rear camera, the second cameraIt is just front camera.
Specifically, since mobile terminal is generally held by hand, so, it, can be by pre-set image information in order to easy to operateObject is set as finger.Also, the pre-set image information in order to obtain can first turn on first camera or describedTwo cameras, finger, then by the camera having turned on, obtain finger imaging accounting and are greater than in advance close to the camera having turned onIf the image of threshold value.The preset threshold is, for example, 30% or 50% etc., and the present invention is not limited.
Step 202: to described image carry out data acquisition, obtain include multiple finger characteristic informations pre-set image believeBreath.
In the embodiment of the present invention, the pre-set image information is to carry out data acquisition to the image that the step 201 obtainsIt obtains.Specifically, acquisition information may include multiple finger characteristic informations, described when carrying out data acquisition to described imageFinger characteristic information is, for example, finger print information, finger shape information, finger-joint information or finger color information etc..And it is everyAcquire a finger characteristic information, so that it may be added to the finger characteristic information as a data sample in database, constituteThe pre-set image information.The i.e. described pre-set image information includes multiple collected finger characteristic informations.
Step 203: obtaining the image information of the first camera acquisition.
Specifically, the method for the switching camera of the embodiment of the present invention, being will be by the image that acquires to the first cameraThe identification of information closes first camera and opens described second and take the photograph to decide whether to switch first cameraAs head.So the step 203 first has to obtain the image information of the first camera acquisition.
Step 204: comparison described image information and the finger print information.
In the embodiment of the present invention, when the pre-set image information includes finger print information, described image information is judgedWhether can be used with the matched mode of the pre-set image information: comparison described image information and the finger print information.Such asFruit comparing result is to have the finger print information in described image information, so that it may determine that described image information is preset with describedImage information matching.
Step 205: if in described image information have the finger print information, determine described image information with it is described pre-If image information matches, step 208 is executed.
Specifically, when the comparing result of the step 204, which is, has the finger print information in described image information,It can determine that described image information is matched with the pre-set image information.
Step 206: if in described image information do not have the finger print information, comparison described image information with it is describedAt least one of finger shape information, finger-joint information and finger color information.
In the embodiment of the present invention, when the pre-set image information further includes finger shape information, finger-joint information and handWhen referring at least one in colouring information, if not having the finger print information in described image information, further alsoAt least one of described image information and the finger shape information, finger-joint information and finger color information can be compared.
Step 207: if having the finger shape information, finger-joint information and finger color letter in described image informationAt least one of breath, determines that described image information is matched with the pre-set image information, executes step 208.
Specifically, when the comparing result of the step 206 is to have the finger shape information, hand in described image informationWhen at least one in articulations digitorum manus information and finger color information, that is, it can determine described image information and the pre-set image informationMatching.
Step 208: control first camera is closed, and is controlled the second camera and opened.
Specifically, illustrating the item for meeting switching camera when described image information is matched with the pre-set image informationPart, so that it may control first camera and close, and control the second camera and open.
If not having in the finger shape information, finger-joint information and finger color information in described image informationAt least one, determines that described image information and the pre-set image information mismatch.
Specifically, when the step 206 comparing result be described image information in do not have the finger shape information,When at least one in finger-joint information and finger color information, that is, it can determine that described image information and the pre-set image are believedBreath mismatches.
When described image information and the pre-set image information mismatch, illustrate the condition for not meeting switching camera,First camera just can control to work on.
The method of the switching camera of the embodiment of the present invention, only only by the state between finger and camera, it will be able toRealize the switching of camera, convenient and efficient, easy to operate, user experience is high.
3rd embodiment
Shown in Figure 3, the embodiment of the present invention also provides a kind of mobile terminal, has the first camera and the second camera shootingHead, corresponding with the switching method of camera shown in FIG. 1, the mobile terminal includes the first acquisition module 31, judgment module32 and control module 33, details are as follows.
Wherein, described first module 31 is obtained, for obtaining the image information of the first camera acquisition.
The judgment module 32, for judging whether described image information matches with pre-set image information.
The control module 33, for when described image information is matched with the pre-set image information, control described theOne camera is closed, and is controlled the second camera and opened.
In the embodiment of the present invention, the object of the pre-set image information is finger, shown in Figure 4, the mobile terminalIt further include the second acquisition module 34 and acquisition module 35, details are as follows.
Wherein, described second module 34 is obtained, for obtaining hand by first camera or the second cameraRefer to that imaging accounting is greater than the image of preset threshold.
The acquisition module 35 obtains including multiple finger characteristic informations for carrying out data acquisition to described imageThe pre-set image information.
Specifically, the pre-set image information includes finger print information, shown in Figure 4, the judgment module 32 is wrappedThe first comparison unit 321 and the first determination unit 322 are included, details are as follows.
Wherein, first comparison unit 321, for comparing described image information and the finger print information.
First determination unit 322 determines institute when for having the finger print information in described image informationImage information is stated to match with the pre-set image information.
Wherein, the pre-set image information further includes in finger shape information, finger-joint information and finger color informationAt least one, the judgment module 32 further includes the second comparison unit 323 and the second determination unit 324, and details are as follows.
Wherein, second comparison unit 323, for not having the finger print information in described image informationWhen, compare at least one of described image information and the finger shape information, finger-joint information and finger color information.
Second determination unit 324, for having the finger shape information, finger-joint in described image informationWhen at least one in information and finger color information, determine that described image information is matched with the pre-set image information.
Specifically, first camera is front camera, the second camera is rear camera;Alternatively, instituteStating the first camera is rear camera, and the second camera is front camera.
The mobile terminal of the embodiment of the present invention judges described image by obtaining the image information of the first camera acquisitionWhether information matches with pre-set image information, if described image information is matched with the pre-set image information, control described firstCamera is closed, and is controlled the second camera and opened, and can conveniently and efficiently be realized the switching of camera, be simplified operation,Promote user experience.
Fourth embodiment
Fig. 5 is the structural schematic diagram of the mobile terminal of fourth embodiment of the invention.Mobile terminal 500 shown in fig. 5 includes:At least one processor 501, memory 502, at least one network interface 504 and user interface 503.In mobile terminal 500Various components are coupled by bus system 505.It is understood that bus system 505 is for realizing the company between these componentsConnect letter.Bus system 505 further includes power bus, control bus and status signal bus in addition in addition to including data/address bus.ButIt is that various buses are all designated as bus system 505 in Fig. 5 for the sake of clear explanation.
Wherein, user interface 503 may include display, keyboard or pointing device (for example, mouse, trace ball(trackball), touch-sensitive plate or touch screen etc..Specifically, user interface 503 can also include that front camera and postposition imageHead.
It is appreciated that the memory 502 in the embodiment of the present invention can be volatile memory or nonvolatile memory,It or may include both volatile and non-volatile memories.Wherein, nonvolatile memory can be read-only memory (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmableDevice (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) orFlash memory.Volatile memory can be random access memory (Random Access Memory, RAM), be used as external highSpeed caching.By exemplary but be not restricted explanation, the RAM of many forms is available, such as static random access memory(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data RateSDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized linksDynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (DirectRambus RAM, DRRAM).The memory 502 of system and method described herein is intended to include but is not limited to these and arbitrarily itsIt is suitble to the memory of type.
In some embodiments, memory 502 stores following element, executable modules or data structures, orTheir subset of person or their superset: operating system 5021 and application program 5022.
Wherein, operating system 5021 include various system programs, such as ccf layer, core library layer, driving layer etc., are used forRealize various basic businesses and the hardware based task of processing.Application program 5022 includes various application programs, such as mediaPlayer (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present inventionThe program of method may be embodied in application program 5022.
In embodiments of the present invention, mobile terminal 500 has the first camera and second camera, by calling memoryThe program or instruction of 502 storages, specifically, can be the program or instruction stored in application program 5022, processor 501 is used forThe image information for obtaining the first camera acquisition, judges whether described image information matches with pre-set image information, if instituteIt states image information to match with the pre-set image information, controls first camera and close, and control the second cameraIt opens.
The method that the embodiments of the present invention disclose can be applied in processor 501, or be realized by processor 501.Processor 501 may be a kind of IC chip, the processing capacity with signal.During realization, the above method it is eachStep can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processingDevice 501 can be general processor, digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricityRoad (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (FieldProgrammable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is generalProcessor can be microprocessor or the processor is also possible to any conventional processor etc..In conjunction with institute of the embodiment of the present inventionThe step of disclosed method, can be embodied directly in hardware decoding processor and execute completion, or with the hardware in decoding processorAnd software module combination executes completion.Software module can be located at random access memory, and flash memory, read-only memory may be programmed read-onlyIn the storage medium of this fields such as memory or electrically erasable programmable memory, register maturation.The storage medium is located atThe step of memory 502, processor 501 reads the information in memory 502, completes the above method in conjunction with its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or itsCombination is to realize.For hardware realization, processing unit be may be implemented in one or more specific integrated circuit (ApplicationSpecific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing,DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable LogicDevice, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor,In controller, microcontroller, microprocessor, other electronic units for executing herein described function or combinations thereof.
For software implementations, it can be realized herein by executing the module (such as process, function etc.) of function described hereinThe technology.Software code is storable in memory and is executed by processor.Memory can in the processor orIt is realized outside processor.
Optionally, the object of the pre-set image information is finger, and processor 501 is also used to: being imaged by described firstHead or the second camera obtain the image that finger imaging accounting is greater than preset threshold, carry out data acquisition to described image,Obtain include multiple finger characteristic informations the pre-set image information.
Optionally, the pre-set image information includes finger print information, and processor 501 is also used to: comparison described imageInformation and the finger print information determine described image information if having the finger print information in described image informationIt is matched with the pre-set image information.
Optionally, the pre-set image information further includes finger shape information, finger-joint information and finger color informationAt least one of, processor 501 is also used to: if not having the finger print information in described image information, described in comparisonAt least one of image information and the finger shape information, finger-joint information and finger color information, if described imageThere is at least one of the finger shape information, finger-joint information and finger color information in information, determine the figureAs information is matched with the pre-set image information.
Wherein, first camera is front camera, and the second camera is rear camera;Alternatively, describedFirst camera is rear camera, and the second camera is front camera.
Mobile terminal 500 can be realized each process that mobile terminal is realized in previous embodiment, to avoid repeating, hereIt repeats no more.
The mobile terminal 500 of the embodiment of the present invention judges the figure by obtaining the image information of the first camera acquisitionWhether match with pre-set image information as information, if described image information is matched with the pre-set image information, control described theOne camera is closed, and is controlled the second camera and opened, and can conveniently and efficiently be realized the switching of camera, be simplified behaviourMake, promotes user experience.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosureMember and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actuallyIt is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technicianEach specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceedThe 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, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In embodiment provided herein, it should be understood that disclosed device and method can pass through othersMode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, onlyA kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine orPerson is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutualBetween coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of device or unitIt connects, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unitThe component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multipleIn network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent productIt is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other wordsThe part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meterCalculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be aPeople's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program codeMedium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, anyThose familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all containLid is within protection scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.

Claims (8)

Translated fromChinese
1.一种切换摄像头的方法,应用于具有第一摄像头和第二摄像头的移动终端,其特征在于,所述方法包括:1. A method for switching cameras, applied to a mobile terminal having a first camera and a second camera, wherein the method comprises:获取所述第一摄像头采集的图像信息;acquiring image information collected by the first camera;判断所述图像信息是否与预设图像信息匹配;judging whether the image information matches the preset image information;若所述图像信息与所述预设图像信息匹配,控制所述第一摄像头关闭,并控制所述第二摄像头开启;If the image information matches the preset image information, controlling the first camera to turn off, and controlling the second camera to turn on;其中,所述预设图像信息的对象为手指,在所述获取所述第一摄像头采集的图像信息的步骤之前,所述方法还包括:Wherein, the object of the preset image information is a finger, and before the step of acquiring the image information collected by the first camera, the method further includes:通过所述第一摄像头或所述第二摄像头,获取手指成像占比大于预设阈值的图像;Obtaining, by using the first camera or the second camera, an image whose finger imaging ratio is greater than a preset threshold;对所述图像进行数据采集,得到包括多个手指特性信息的所述预设图像信息。Data collection is performed on the image to obtain the preset image information including a plurality of finger characteristic information.2.根据权利要求1所述的方法,其特征在于,所述预设图像信息包括手指指纹信息,所述判断所述图像信息是否与预设图像信息匹配的步骤,包括:2. The method according to claim 1, wherein the preset image information includes finger fingerprint information, and the step of judging whether the image information matches the preset image information comprises:对比所述图像信息与所述手指指纹信息;comparing the image information with the finger fingerprint information;若所述图像信息中具有所述手指指纹信息,确定所述图像信息与所述预设图像信息匹配。If the image information includes the finger fingerprint information, it is determined that the image information matches the preset image information.3.根据权利要求2所述的方法,其特征在于,所述预设图像信息还包括手指形状信息、手指关节信息和手指颜色信息中的至少一个,所述判断所述图像信息是否与预设图像信息匹配的步骤,还包括:3. The method according to claim 2, wherein the preset image information further comprises at least one of finger shape information, finger joint information and finger color information, and it is determined whether the image information is consistent with the preset image information. The step of image information matching also includes:若所述图像信息中不具有所述手指指纹信息,对比所述图像信息与所述手指形状信息、手指关节信息和手指颜色信息中的至少一个;If the image information does not contain the finger fingerprint information, compare the image information with at least one of the finger shape information, finger joint information and finger color information;若所述图像信息中具有所述手指形状信息、手指关节信息和手指颜色信息中的至少一个,确定所述图像信息与所述预设图像信息匹配。If the image information includes at least one of the finger shape information, finger joint information, and finger color information, it is determined that the image information matches the preset image information.4.根据权利要求1-3任一所述的方法,其特征在于,所述第一摄像头为前置摄像头,所述第二摄像头为后置摄像头;或者,所述第一摄像头为后置摄像头,所述第二摄像头为前置摄像头。4. The method according to any one of claims 1-3, wherein the first camera is a front camera, and the second camera is a rear camera; or, the first camera is a rear camera , the second camera is a front camera.5.一种移动终端,具有第一摄像头和第二摄像头,其特征在于,所述移动终端包括:5. A mobile terminal having a first camera and a second camera, wherein the mobile terminal comprises:第一获取模块,用于获取所述第一摄像头采集的图像信息;a first acquisition module, configured to acquire image information collected by the first camera;判断模块,用于判断所述图像信息是否与预设图像信息匹配;a judgment module for judging whether the image information matches the preset image information;控制模块,用于在所述图像信息与所述预设图像信息匹配时,控制所述第一摄像头关闭,并控制所述第二摄像头开启;a control module, configured to control the first camera to turn off and control the second camera to turn on when the image information matches the preset image information;其中,所述预设图像信息的对象为手指,所述移动终端还包括:Wherein, the object of the preset image information is a finger, and the mobile terminal further includes:第二获取模块,用于通过所述第一摄像头或所述第二摄像头,获取手指成像占比大于预设阈值的图像;a second acquisition module, configured to acquire, through the first camera or the second camera, an image whose finger imaging ratio is greater than a preset threshold;采集模块,用于对所述图像进行数据采集,得到包括多个手指特性信息的所述预设图像信息。The acquisition module is configured to perform data acquisition on the image to obtain the preset image information including a plurality of finger characteristic information.6.根据权利要求5所述的移动终端,其特征在于,所述预设图像信息包括手指指纹信息,所述判断模块包括:6. The mobile terminal according to claim 5, wherein the preset image information comprises finger fingerprint information, and the judgment module comprises:第一对比单元,用于对比所述图像信息与所述手指指纹信息;a first comparison unit, configured to compare the image information with the finger fingerprint information;第一确定单元,用于在所述图像信息中具有所述手指指纹信息时,确定所述图像信息与所述预设图像信息匹配。A first determining unit, configured to determine that the image information matches the preset image information when the fingerprint information of the finger is included in the image information.7.根据权利要求6所述的移动终端,其特征在于,所述预设图像信息还包括手指形状信息、手指关节信息和手指颜色信息中的至少一个,所述判断模块还包括:7. The mobile terminal according to claim 6, wherein the preset image information further comprises at least one of finger shape information, finger joint information and finger color information, and the judging module further comprises:第二对比单元,用于在所述图像信息中不具有所述手指指纹信息时,对比所述图像信息与所述手指形状信息、手指关节信息和手指颜色信息中的至少一个;a second comparison unit, configured to compare the image information with at least one of the finger shape information, finger joint information and finger color information when the image information does not have the finger fingerprint information;第二确定单元,用于在所述图像信息中具有所述手指形状信息、手指关节信息和手指颜色信息中的至少一个时,确定所述图像信息与所述预设图像信息匹配。A second determining unit, configured to determine that the image information matches the preset image information when the image information includes at least one of the finger shape information, finger joint information and finger color information.8.根据权利要求5-7任一所述的移动终端,其特征在于,所述第一摄像头为前置摄像头,所述第二摄像头为后置摄像头;或者,所述第一摄像头为后置摄像头,所述第二摄像头为前置摄像头。8 . The mobile terminal according to claim 5 , wherein the first camera is a front-facing camera, and the second camera is a rear-facing camera; or the first camera is a rear-facing camera. 9 . A camera, the second camera is a front camera.
CN201610600690.3A2016-07-272016-07-27 Method and mobile terminal for switching camerasActiveCN106131425B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610600690.3ACN106131425B (en)2016-07-272016-07-27 Method and mobile terminal for switching cameras

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610600690.3ACN106131425B (en)2016-07-272016-07-27 Method and mobile terminal for switching cameras

Publications (2)

Publication NumberPublication Date
CN106131425A CN106131425A (en)2016-11-16
CN106131425Btrue CN106131425B (en)2019-01-22

Family

ID=57290388

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610600690.3AActiveCN106131425B (en)2016-07-272016-07-27 Method and mobile terminal for switching cameras

Country Status (1)

CountryLink
CN (1)CN106131425B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107613197A (en)*2017-09-072018-01-19深圳支点电子智能科技有限公司One kind control camera photographic method and mobile terminal
CN107517349A (en)*2017-09-072017-12-26深圳支点电子智能科技有限公司Mobile terminal and Related product with camera function
CN107820006A (en)*2017-11-072018-03-20北京小米移动软件有限公司Control the method and device of camera shooting
CN107835370A (en)*2017-11-302018-03-23珠海格力电器股份有限公司Camera switching method and device and electronic equipment
CN112199016B (en)*2020-09-302023-02-21北京字节跳动网络技术有限公司Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112601008B (en)*2020-11-172022-03-25中兴通讯股份有限公司Camera switching method, terminal, device and computer readable storage medium
CN114640756A (en)*2020-12-162022-06-17花瓣云科技有限公司Camera switching method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104539836A (en)*2014-11-252015-04-22深圳市金立通信设备有限公司Terminal
CN104883505A (en)*2015-06-122015-09-02联想(北京)有限公司Electronic equipment and photographing control method therefor
CN105049711A (en)*2015-06-302015-11-11广东欧珀移动通信有限公司Photographing method and user terminal
CN105718194A (en)*2016-01-152016-06-29深圳市金立通信设备有限公司Image pick-up device control method and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US8717381B2 (en)*2011-01-112014-05-06Apple Inc.Gesture mapping for image filter input parameters

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN104539836A (en)*2014-11-252015-04-22深圳市金立通信设备有限公司Terminal
CN104883505A (en)*2015-06-122015-09-02联想(北京)有限公司Electronic equipment and photographing control method therefor
CN105049711A (en)*2015-06-302015-11-11广东欧珀移动通信有限公司Photographing method and user terminal
CN105718194A (en)*2016-01-152016-06-29深圳市金立通信设备有限公司Image pick-up device control method and terminal

Also Published As

Publication numberPublication date
CN106131425A (en)2016-11-16

Similar Documents

PublicationPublication DateTitle
CN106131425B (en) Method and mobile terminal for switching cameras
CN106020613B (en)A kind of operating method and mobile terminal of unread message
EP3661187B1 (en)Photography method and mobile terminal
CN106506960B (en)A kind of processing method and mobile terminal of image data
CN106998428B (en) Shooting method of a mobile terminal and mobile terminal
CN108347559A (en)A kind of image pickup method, terminal and computer readable storage medium
CN105847674B (en)A kind of preview image processing method and mobile terminal based on mobile terminal
CN105959544B (en)A kind of image processing method and mobile terminal of mobile terminal
CN106776082B (en) Method and device for pasting text
WO2019001152A1 (en)Photographing method and mobile terminal
CN106055195A (en)Operating method for folder and mobile terminal
CN107509030B (en) A focusing method and mobile terminal
CN106959797B (en)A kind of setting method and mobile terminal notifying footmark
CN107404577B (en)A kind of image processing method, mobile terminal and computer readable storage medium
CN106126999B (en)A kind of unlocking method and mobile terminal of intelligent recognition visitor
CN106326713B (en)A kind of unlocking method and mobile terminal of mobile terminal screen
CN105893130B (en)A kind of processing method and mobile terminal of application program for mobile terminal
CN106331509B (en) A camera method and mobile terminal
CN105959574B (en)A kind of photographic method and mobile terminal
CN107194907B (en)A kind of screenshot synthetic method and mobile terminal
CN106096043B (en) A camera method and mobile terminal
CN107026982B (en)A kind of photographic method and mobile terminal of mobile terminal
CN107295218B (en)A kind of image processing method and mobile terminal
CN106445328A (en)Unlocking method of mobile terminal screen, and mobile terminal
CN107580182B (en) Snapshot method, mobile terminal and computer-readable storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp