CN108718372B - Image processing apparatus, image processing method, electronic device, and storage medium - Google Patents

Image processing apparatus, image processing method, electronic device, and storage medium Download PDF

Info

Publication number
CN108718372B
CN108718372B CN201810326981.7A CN201810326981A CN108718372B CN 108718372 B CN108718372 B CN 108718372B CN 201810326981 A CN201810326981 A CN 201810326981A CN 108718372 B CN108718372 B CN 108718372B
Authority
CN
China
Prior art keywords
component
image processing
camera module
switch
module
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
CN201810326981.7A
Other languages
Chinese (zh)
Other versions
CN108718372A (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 CN201810326981.7A priority Critical patent/CN108718372B/en
Publication of CN108718372A publication Critical patent/CN108718372A/en
Application granted granted Critical
Publication of CN108718372B publication Critical patent/CN108718372B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • G06V40/166Detection; Localisation; Normalisation using acquisition arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/80Camera processing pipelines; Components thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/52Details of telephonic subscriber devices including functional features of a camera

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Studio Devices (AREA)

Abstract

The application provides an image processing device, an image processing method, an electronic device and a storage medium, wherein the device comprises: the method comprises the following steps: the camera comprises a first camera module, a first processing component, a second processing component and a first switch component; the output end of the first camera module is connected with the input end of the first processing component and the first connecting end of the first switch component; the output end of the first processing assembly is connected with the second connecting end of the first switch assembly; the common end of the first switch component is connected with the input end of the second processing component. From this, first module of making a video recording can be connected with the second processing component through first processing component and first switch module, also can directly be connected with the second processing component through first switch module to the realization is according to the user state of first module of making a video recording, and the operating condition of control first switch module, the mode is more nimble, and the security is high.

Description

Image processing apparatus, image processing method, electronic device, and storage medium
Technical Field
The present application relates to the field of image processing technologies, and in particular, to an image processing apparatus, an image processing method, an electronic device, and a storage medium.
Background
With the development of science and technology, identity recognition technology based on biological characteristics is mature day by day and shows great superiority in practical application.
Currently, imaging data of a human face can be acquired through an image sensor on an electronic device, and then authentication is performed based on the imaging data. However, at present, the image sensor is directly called to collect the image for identity authentication, the authentication mode is single, and the security is low.
Disclosure of Invention
The present application is directed to solving, at least to some extent, one of the technical problems in the related art.
The embodiment of the application provides an image processing method, an image processing device, a mobile terminal and a storage medium, wherein a first camera module can be connected with a second processing assembly through a first processing assembly and a first switch assembly, and can also be directly connected with the second processing assembly through the first switch assembly, so that the working state of the first switch assembly is controlled according to the using state of the first camera module, the mode is more flexible, and the safety is high.
An embodiment of a first aspect of the present application provides an image processing apparatus, including:
the camera comprises a first camera module, a first processing component, a second processing component and a first switch component;
the output end of the first camera module is connected with the input end of the first processing component and the first connecting end of the first switch component;
the output end of the first processing assembly is connected with the second connecting end of the first switch assembly;
and the common end of the first switch component is connected with the input end of the second processing component.
The image processing device of the embodiment of the application is connected with the input end of the first processing assembly and the first connecting end of the first switch assembly through the output end of the first camera module, the output end of the first processing assembly is connected with the second connecting end of the first switch assembly, and the public end of the first switch assembly is connected with the input end of the second processing assembly. From this, first module of making a video recording can be connected with the second processing component through first processing component and first switch module, also can directly be connected with the second processing component through first switch module to the realization is according to the user state of first module of making a video recording, and the operating condition of control first switch module, the mode is more nimble, and the security is high.
An embodiment of a second aspect of the present application provides an image processing method, where the method is applied to an electronic device, where the electronic device includes the image processing apparatus described in the embodiment of the first aspect, and the method includes:
determining the use state of a camera module in the electronic equipment;
and controlling the working state of the switch assembly according to the using state of the camera module.
According to the image processing method, the working state of the first switch assembly is controlled according to the using state of the first camera module, the mode is more flexible, and the safety is high.
An embodiment of a third aspect of the present application provides an image processing apparatus, including:
the first determining module is used for determining the using state of a camera module in the electronic equipment;
and the control module is used for controlling the working state of the switch assembly according to the using state of the camera module.
The image processing device of the embodiment of the application controls the working state of the first switch component according to the using state of the first camera module, so that the mode is more flexible, and the safety is high.
An embodiment of a fourth aspect of the present application provides an electronic device, including: comprising the image processing device, the memory, the processor and the computer program stored on the memory and capable of running on the processor as described in the first aspect,
the processor, when executing the program, implements an image processing method as described in the second aspect embodiment.
An embodiment of a fifth aspect of the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the image processing method according to the embodiment of the first aspect.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic diagram of an image processing apparatus according to an embodiment of the present application;
fig. 2 is a schematic configuration diagram of an image processing apparatus according to another embodiment of the present application;
FIG. 3 is a schematic block diagram of an electronic device according to an embodiment of the present application;
FIG. 4 is a schematic flow diagram of an image processing method according to one embodiment of the present application;
FIG. 5 is a schematic flow chart diagram of an image processing method according to another embodiment of the present application;
FIG. 6 is a schematic diagram of an image processing apparatus according to yet another embodiment of the present application;
fig. 7 is a schematic configuration diagram of an image processing apparatus according to still another embodiment of the present application; and
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present application and should not be construed as limiting the present application.
The embodiment of the application aims at the prior art that imaging data of a human face can be acquired through an image sensor on electronic equipment, and then identity verification is carried out based on the imaging data. However, the image processing device is provided for directly calling the image sensor to acquire the image for identity authentication, and has the problems of single authentication mode and low safety.
The image processing apparatus provided in the embodiment of the application is connected to the input end of the first processing component and the first connection end of the first switch component through the output end of the first camera module, the output end of the first processing component is connected to the second connection end of the first switch component, and the common end of the first switch component is connected to the input end of the second processing component. From this, first module of making a video recording can be connected with the second processing component through first processing component and first switch module, also can directly be connected with the second processing component through first switch module to the realization is according to the user state of first module of making a video recording, and the operating condition of control first switch module, the mode is more nimble, and the security is high.
An image processing apparatus, a method, an electronic device, and a storage medium according to embodiments of the present application are described below with reference to the drawings.
Fig. 1 is a schematic configuration diagram of an image processing apparatus according to an embodiment of the present application.
As shown in fig. 1, the image processing apparatus 100 includes: a first camera module 110, a first processing component 120, a second processing component 130 and a first switch component 140.
The output end of the first camera module 110 is connected to the input end of the first processing element 120 and the first connection end of the first switch element 140.
The output of the first processing element 120 is connected to a second connection of the first switching element 140.
The common terminal of the first switching component 140 is connected to the input terminal of the second processing component 130.
From this, first module of making a video recording can be connected with the second processing component through first processing component and first switch module, also can directly be connected with the second processing component through first switch module to the realization is according to the user state of first module of making a video recording, and the operating condition of control first switch module, the mode is more nimble, and the security is high.
In order to further improve the flexibility and the security of the method, as shown in fig. 2, the image processing apparatus further includes, in addition to fig. 1: a second switch assembly 150, a second camera module 160 and a controller 170.
Wherein, the common terminal of the second switch component 150 is connected with the output terminal of the first camera module 110.
The first connection terminal of the second switching element 150 is connected to the input terminal of the first processing element 120.
A second connection terminal of the second switching element 150 is connected to a second connection terminal of the first switching element 140.
The output terminal of the second camera module 160 is connected to the common terminal of the second switch assembly 150.
The controller 170 is respectively connected to the control terminal of the first switch element 140 and the control terminal of the second switch element 150.
It can be understood that the controller can control the working state of the first switch component and/or the second switch component according to the using state of the first camera module and the second camera module.
Therefore, the working states of the corresponding switch assemblies can be controlled according to the using states of the camera modules, the mode is more flexible, and the safety is higher.
In an embodiment of the present application, the first camera module 110 may include one or more of a laser camera, a floodlight, a visible light camera, a laser light, and the like.
In one embodiment of the present application, the first processing component 120 may be a micro-control unit, and the second processing component 130 may be used to run a trusted application.
In order to make it clear to those skilled in the art how the first camera module 110, the first processing component 120 and the second processing component 130 are connected and processed when the first camera module 110 can include a laser camera, a floodlight, a visible light camera and a laser light, and the first processing component 120 can be a micro-control unit and the second processing component 103 can be used for running a trusted application, the following detailed description with reference to fig. 3 is provided:
specifically, as shown in fig. 3, the electronic device may include: the device comprises a laser camera, a floodlight, a visible light camera, a laser lamp, a micro control unit MCU and a processing chip. The MCU comprises a Pulse Width Modulation (PWM) component, a depth engine component, a bus interface and a Random Access Memory (RAM); the processing chip runs with a common Execution Environment (REE) and a Trusted Execution Environment (TEE), and the REE and the TEE are isolated from each other.
In the electronic device shown in fig. 3, PWM is used to modulate the floodlight to generate infrared light and to modulate the laser light to emit structured light. The laser camera is used for collecting the structured light image and sending the collected structured light image to the depth engine. And the depth engine component calculates and obtains depth-of-field data corresponding to the imaging object according to the structured light image, and sends the depth-of-field data to the trusted application program through the bus interface. The bus interface includes: the system comprises an MIPI bus interface, an I2C synchronous serial bus interface and an SPI bus interface, wherein the bus interface carries out information interaction with a trusted application program running in a trusted execution environment. A trusted application (not shown in fig. 3) runs in the trusted execution environment TEE, and is configured to perform operations such as image processing according to depth data.
In order to further improve security, the first processing component 120 and the second processing component 130 may communicate in an encrypted manner. The encryption method may be symmetric encryption, asymmetric encryption, or the like.
In order to implement the above embodiments, the present application also provides an image processing method.
FIG. 4 is a flowchart illustrating an image processing method according to an embodiment of the present application.
The image processing method is applied to an electronic device, and the structure of the electronic device can be referred to fig. 3 described in the above embodiment, and is not described in detail here. The electronic device comprises the image processing device of the above embodiment.
As shown in fig. 4, the image processing method includes:
step 101, determining the use state of a camera module in the electronic equipment.
And 102, controlling the working state of the switch assembly according to the using state of the camera module.
The usage status of the camera module in the electronic device can be determined in many ways, for example, as follows:
in the first example, the application attribute currently running in the foreground of the electronic device is determined, and the use state of the camera module is determined according to the application attribute currently running in the foreground.
In a second example, an application identifier of the current foreground operation of the electronic device is obtained, and a use state of the camera module corresponding to the application identifier is queried in a preset database.
In summary, the image processing method according to the embodiment of the application controls the working state of the first switch component according to the using state of the first camera module, so that the mode is more flexible and the safety is high.
Fig. 5 is a flowchart illustrating an image processing method according to another embodiment of the present application.
Step 201, determining the application attribute currently running in the foreground of the electronic device.
Step 202, determining the use state of the camera module according to the application attribute of foreground operation.
And step 203, controlling the working state of the switch assembly according to the using state of the camera module.
It will be appreciated that prior to determining the attributes of an application currently running in the foreground of the electronic device, the application currently running in the foreground may also need to be determined. As an example, the foreground-running application is determined by calling a system function of the electronic device. As another example, a running program list of the electronic device is obtained, and the application program at the top in the running program list is determined to be the application running in the foreground.
It can be understood that the electronic device can simultaneously run one or more applications, and the use state of the camera module can be determined according to the application attributes currently running in the foreground of the electronic device, such as different application attributes of payment, inquiry, login and the like.
The application attribute may be an application attribute corresponding to each application preset by a system of the electronic device, or may be set by a user according to an actual application requirement.
Specifically, the use states of the camera modules determined by different application attributes are different, for example, the application attribute is payment, and the determined use state of the camera module can be a payment state or an unpaid state; for example, the application attribute is login, and the determined use state of the camera module can be a login state or an unregistered state.
Furthermore, after the using state of the camera module is determined, the height of the current application required by the environment operation safety can be determined, so that the working state of the switch assembly is controlled according to the height of the current application required by the environment operation safety.
As a possible implementation mode, the application attribute is payment, and the use state of the determined camera module can meet the requirement on safety for the payment state, so that the public end of the first switch assembly is controlled to be connected with the second connecting end, the first camera module can be connected with the second processing assembly through the first processing assembly and the first switch assembly, and safety is further improved.
As another possible implementation manner, the application attribute is unpaid, and the determined use state of the camera module may be an unpaid state, which has a lower requirement on security, so that the connection between the common end of the first switch component and the first connection end is controlled, and the first camera module is directly connected to the second processing component through the first switch component, thereby further improving flexibility.
In summary, in the image processing method according to the embodiment of the present application, the application attribute currently running in the foreground of the electronic device is determined, and then the use state of the camera module is determined according to the application attribute currently running in the foreground, so that the working state of the switch assembly is controlled according to the use state of the camera module. The mode is more flexible and the safety is high.
In order to implement the above embodiments, the present application also provides an image processing apparatus.
Fig. 6 is a schematic configuration diagram of an image processing apparatus according to still another embodiment of the present application.
As shown in fig. 6, the image processing apparatus applied to an electronic device including an image pickup module includes: a first determination module 61 and a control module 62.
The first determining module 61 is configured to determine a use state of a camera module in the electronic device.
And the control module 62 is used for controlling the working state of the switch assembly according to the using state of the camera module.
Further, in a possible implementation manner of the embodiment of the present application, the determining module 61 is specifically configured to determine an application attribute currently running in a foreground of the electronic device, and determine a use state of the camera module according to the application attribute currently running in the foreground.
Further, in a possible implementation manner of the embodiment of the present application, as shown in fig. 7, on the basis of the embodiment shown in fig. 6, the image processing apparatus may further include: a second determination module 63.
The second determining module 63 is configured to determine an application running in the foreground by calling a system function of the electronic device; or acquiring an operating program list of the electronic equipment; and determining that the application program at the top in the running program list is the application running in the foreground.
It should be noted that the foregoing explanation of the embodiment of the image processing method is also applicable to the image processing apparatus of the embodiment, and the implementation principle thereof is similar and will not be described herein again.
The image processing device of this embodiment, the operating condition of the first switch subassembly of service condition control according to the first module of making a video recording, the mode is more nimble, and the security is high.
In order to implement the above embodiments, the present application further provides an electronic device.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
In this embodiment, the electronic device includes, but is not limited to, an electronic device such as a mobile phone and a tablet computer.
As shown in fig. 8, the electronic apparatus includes: an image processing apparatus 100, a memory 200, a processor 300 and a computer program stored on the memory and executable on the processor.
When the processor 300 executes the trusted application program, the image processing method as described in the foregoing embodiments is implemented.
The image processing apparatus 100 includes: a first camera module 110, a first processing component 120, a second processing component 130 and a first switch component 140. The first camera module 110 may include one or more of a laser camera, a floodlight, a visible light camera, a laser lamp, and the like. The first processing component 120 may be a micro-control unit and the second processing component 130 may be used to run trusted applications.
In one possible implementation of this embodiment, the micro control unit includes a PWM, a depth engine, a bus interface, and a random access memory RAM.
The PWM is used for modulating the floodlight to emit infrared light and modulating the laser light to emit structured light;
the laser camera is used for collecting a structured light image of an imaging object;
the depth engine is used for calculating and obtaining depth data corresponding to the imaging object according to the structured light image; and
and a bus interface for transmitting the depth data to the processor 840, and performing a corresponding operation by a trusted application running on the processor 840 using the depth data.
For example, the identity verification may be performed according to the depth data, and the specific process may refer to the above embodiments, which is not described herein again.
In the electronic device of this embodiment, through the image processing apparatus, the processor, and the trusted application program that is stored in the memory and can be run in the trusted execution environment of the processor according to the first aspect, the operating state of the first switch component can be controlled according to the use state of the first camera module, which is more flexible in manner and high in security.
In order to implement the above embodiments, the present application also proposes a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the image processing method as described in the foregoing embodiments.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing steps of a custom logic function or process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. If implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.

Claims (11)

1. An image processing apparatus characterized by comprising: the camera comprises a first camera module, a first processing component, a second processing component and a first switch component; the first processing assembly is a micro-control unit, and the second processing assembly is used for running a trusted application program;
the output end of the first camera module is connected with the input end of the first processing component and the first connecting end of the first switch component;
the output end of the first processing assembly is connected with the second connecting end of the first switch assembly;
the common end of the first switch component is connected with the input end of the second processing component;
wherein, the micro control unit includes: the system comprises a Pulse Width Modulation (PWM) component, a depth engine component, a bus interface and a Random Access Memory (RAM);
the PWM component is used for modulating the floodlight to emit infrared light and modulating the laser light to emit structured light;
the depth engine component is used for calculating and obtaining depth data corresponding to an imaging object according to a structured light image collected by the laser camera; and
and the bus interface is used for sending the depth data to the second processing component and executing corresponding operation by a trusted application program running on the second processing component by using the depth data.
2. The image processing apparatus according to claim 1, further comprising: the second switch assembly and the second camera module;
the common end of the second switch component is connected with the output end of the first camera module;
the first connecting end of the second switch assembly is connected with the input end of the first processing assembly;
the second connecting end of the second switch component is connected with the second connecting end of the first switch component;
and the output end of the second camera module is connected with the common end of the second switch component.
3. The image processing apparatus according to claim 2, further comprising a controller connected to a control terminal of the first switch element and a control terminal of the second switch element;
the controller is used for controlling the working state of the first switch component and/or the second switch component according to the using states of the first camera module and the second camera module.
4. The image processing apparatus of any of claims 1-3, wherein the first camera module comprises a laser camera, a floodlight, a visible light camera, and a laser light.
5. The image processing apparatus of claim 1, wherein the first processing component and the second processing component communicate by encryption.
6. An image processing method applied to an electronic device including the image processing apparatus according to any one of claims 1 to 5, the method comprising:
determining the use state of a camera module in the electronic equipment;
and controlling the working state of the switch assembly according to the using state of the camera module.
7. The method of claim 6, wherein the determining the use status of the camera module in the electronic device comprises:
determining the application attribute currently running in the foreground of the electronic equipment;
and determining the use state of the camera module according to the application attribute of the foreground operation.
8. The method of claim 7, wherein the determining the attributes of the application currently running in the foreground of the electronic device further comprises:
determining the application running in the foreground by calling a system function of the electronic equipment;
or,
acquiring an operating program list of the electronic equipment;
and determining that the application program at the top end in the running program list is the application running in the foreground.
9. An image processing apparatus characterized by comprising:
the first determining module is used for determining the using state of a camera module in the electronic equipment; wherein the electronic device comprises the image processing apparatus according to any one of claims 1 to 5;
and the control module is used for controlling the working state of the switch assembly according to the using state of the camera module.
10. An electronic device comprising an image processing apparatus according to any of claims 1-5, a memory, a processor and a computer program stored on the memory and executable on the processor,
the processor, when executing the program, implements the image processing method of any one of claims 6-8.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the image processing method according to any one of claims 6 to 8.
CN201810326981.7A 2018-04-12 2018-04-12 Image processing apparatus, image processing method, electronic device, and storage medium Expired - Fee Related CN108718372B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810326981.7A CN108718372B (en) 2018-04-12 2018-04-12 Image processing apparatus, image processing method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810326981.7A CN108718372B (en) 2018-04-12 2018-04-12 Image processing apparatus, image processing method, electronic device, and storage medium

Publications (2)

Publication Number Publication Date
CN108718372A CN108718372A (en) 2018-10-30
CN108718372B true CN108718372B (en) 2021-03-26

Family

ID=63899058

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810326981.7A Expired - Fee Related CN108718372B (en) 2018-04-12 2018-04-12 Image processing apparatus, image processing method, electronic device, and storage medium

Country Status (1)

Country Link
CN (1) CN108718372B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115701120B (en) * 2021-07-26 2024-06-25 荣耀终端有限公司 Electronic equipment and camera module

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794402A (en) * 2015-04-24 2015-07-22 宇龙计算机通信科技(深圳)有限公司 System switching method, system switching device and terminal
CN105631286A (en) * 2015-09-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Methods and apparatuses for storing fingerprint template information and performing authentication by adopting fingerprint information
CN106096539A (en) * 2016-06-07 2016-11-09 广东欧珀移动通信有限公司 A kind of method carrying out bio-identification and terminal
CN106331240A (en) * 2016-10-26 2017-01-11 维沃移动通信有限公司 Mobile terminal
CN206038988U (en) * 2016-08-02 2017-03-22 宁波舜宇光电信息有限公司 Module and terminal equipment make a video recording with light filter switches function
CN107172084A (en) * 2017-06-30 2017-09-15 广州三星通信技术研究有限公司 A kind of method and apparatus of authentication
CN206574094U (en) * 2017-03-16 2017-10-20 慧眼识真(北京)电子科技有限公司 Multi-modal identity recognition device
CN206595991U (en) * 2017-03-29 2017-10-27 厦门美图移动科技有限公司 A kind of double-camera mobile terminal
CN107451457A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Biometrics password template processing method and Related product

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204129753U (en) * 2014-05-22 2015-01-28 宁波舜宇光电信息有限公司 iris identification device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104794402A (en) * 2015-04-24 2015-07-22 宇龙计算机通信科技(深圳)有限公司 System switching method, system switching device and terminal
CN105631286A (en) * 2015-09-29 2016-06-01 宇龙计算机通信科技(深圳)有限公司 Methods and apparatuses for storing fingerprint template information and performing authentication by adopting fingerprint information
CN106096539A (en) * 2016-06-07 2016-11-09 广东欧珀移动通信有限公司 A kind of method carrying out bio-identification and terminal
CN206038988U (en) * 2016-08-02 2017-03-22 宁波舜宇光电信息有限公司 Module and terminal equipment make a video recording with light filter switches function
CN106331240A (en) * 2016-10-26 2017-01-11 维沃移动通信有限公司 Mobile terminal
CN206574094U (en) * 2017-03-16 2017-10-20 慧眼识真(北京)电子科技有限公司 Multi-modal identity recognition device
CN206595991U (en) * 2017-03-29 2017-10-27 厦门美图移动科技有限公司 A kind of double-camera mobile terminal
CN107172084A (en) * 2017-06-30 2017-09-15 广州三星通信技术研究有限公司 A kind of method and apparatus of authentication
CN107451457A (en) * 2017-07-31 2017-12-08 广东欧珀移动通信有限公司 Biometrics password template processing method and Related product

Also Published As

Publication number Publication date
CN108718372A (en) 2018-10-30

Similar Documents

Publication Publication Date Title
US10372208B2 (en) Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system
US7313466B2 (en) System and method for automatically detecting a type of a CPU fan
CN104410783A (en) Focusing method and terminal
CN105447454A (en) Fingerprint template improving method, device and terminal device
US11328518B2 (en) Method and apparatus for outputting information
CN113711268A (en) Electronic device for applying shot effect to image and control method thereof
KR20200117562A (en) Electronic device, method, and computer readable medium for providing bokeh effect in video
CN108718372B (en) Image processing apparatus, image processing method, electronic device, and storage medium
WO2020019944A1 (en) Intelligent analysis system, method and apparatus
CN104102906A (en) Data processing method and equipment applied to iris identification system
CN105007422A (en) Phase focusing method and user terminal
CN111010406A (en) Equipment control method and device
JP2009111716A (en) Imaging apparatus, program and template generating method
CN110704198A (en) Data operation method, device, storage medium and processor
CN104463264A (en) Dynamic generation and display system for two-dimensional code and control method of dynamic generation and display system
CN112230632B (en) Method, apparatus, device and storage medium for automatic driving
CN109413374B (en) Monitoring video processing method and device, video processing equipment and video processing system
CN110602378B (en) Processing method, device and equipment for images shot by camera
CN107077270B (en) Control method, control device and intelligent glasses
CN109121194B (en) Method and apparatus for state transition of electronic device
CN105763800B (en) Control method, control device and electronic device
EP4159563A1 (en) Hybrid vehicle torque control method and apparatus, storage medium, and electronic device
CN109269628A (en) Method, terminal device and the computer readable storage medium of monitoring motor vibration
CN108614958A (en) Method of controlling security, device and mobile terminal, the storage medium of application program
CN105791683B (en) Control method, control device and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210326

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