CN106454336A - Method and device for detecting whether camera of terminal is covered or not, and terminal - Google Patents
Method and device for detecting whether camera of terminal is covered or not, and terminal Download PDFInfo
- Publication number
- CN106454336A CN106454336A CN201611050575.XA CN201611050575A CN106454336A CN 106454336 A CN106454336 A CN 106454336A CN 201611050575 A CN201611050575 A CN 201611050575A CN 106454336 A CN106454336 A CN 106454336A
- Authority
- CN
- China
- Prior art keywords
- photographic head
- blocked
- information
- module
- detection terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
- H04N17/002—Diagnosis, testing or measuring for television systems or their details for television cameras
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/40—Analysis of texture
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/44—Local feature extraction by analysis of parts of the pattern, e.g. by detecting edges, contours, loops, corners, strokes or intersections; Connectivity analysis, e.g. of connected components
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10141—Special mode during image acquisition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and device for detecting whether a camera of a terminal is covered or not, and the terminal. The method for detecting whether the camera of the terminal is covered or not comprises the following steps: acquiring image information in a viewing frame of the current camera; analyzing a preset area of the image information, so as to acquire an image contrast of the preset area; and if the image contrast reaches a preset threshold, displaying prompt information indicating that the current camera is covered. The method and device and the terminal provided by the embodiment of the invention have the advantages that the image contrast of the preset area is obtained through analysis of the preset area of the acquired image information, and the prompt information indicating that the current camera is covered is displayed when the image contrast reaches the preset threshold, so that a user can be informed when the camera is covered, and the photographing experience of the user is further improved.
Description
Technical field
It relates to image identification technical field, method and dress that more particularly, to a kind of detection terminal photographic head is blocked
Put and terminal.
Background technology
With the fast development of mobile terminal technology, various intelligent terminal such as mobile phone is popularized very much, and, function day
Benefit is powerful.For example, user can be taken pictures using intelligent terminal such as mobile phones.
At present, in the intelligent terminal such as mobile phone, photographic head is typically all disposed within the edge of equipment.So, Ren Men
The situation that with handss cover photographic head often occurs when taking pictures, and how to detect whether photographic head is blocked is to need at present to solve
One of technical problem.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provide a kind of method that detection terminal photographic head is blocked and
Device and terminal.
According to the embodiment of the present disclosure in a first aspect, providing a kind of method that is blocked of detection terminal photographic head, including:
Obtain the image information in current photographic head view-finder;
The predeterminable area of described image information is analyzed, to obtain the picture contrast of described predeterminable area;
If described image contrast reaches predetermined threshold value, show the information that described current photographic head is blocked.
In one embodiment, after described image contrast reaches predetermined threshold value, methods described also includes:
Contour of object in described predeterminable area is identified, to obtain body outline;
If described body outline is discontinuous, show the information that described current photographic head is blocked.
In one embodiment, after the information that the described current photographic head of described display is blocked, methods described is also
Including:
Record the display time span of described information;
If described display time span reaches default value, remove described information.
In one embodiment, after the information that the described current photographic head of described display is blocked, methods described is also
Including:
Receive out code, and described information is closed according to described out code.
In one embodiment, before the described image information obtaining in current photographic head view-finder, methods described is also wrapped
Include:
Display reminding option, described prompt options are used for prompting the user to choose whether that opening described current photographic head is blocked
Detection request;
The unlatching described detection request that receive user selects.
According to the second aspect of the embodiment of the present disclosure, provide the device that a kind of detection terminal photographic head is blocked, including:
Acquisition module, is configured to obtain the image information in current photographic head view-finder;
Analysis module, is configured to the predeterminable area of the described image information that described acquisition module obtains is analyzed,
To obtain the picture contrast of described predeterminable area;
First determination display module, if be configured to the described image contrast that the analysis of described analysis module obtains reach pre-
If threshold value, then show the information that described current photographic head is blocked.
In one embodiment, described device also includes:
Identification module, the described image contrast being configured to determine in the described first determination display module reaches default threshold
After value, the contour of object in described predeterminable area is identified, to obtain body outline;
Second determination display module, if the described body outline being configured to described identification module acquisition is discontinuous,
Show the information that described current photographic head is blocked.
In one embodiment, described device also includes:
Logging modle, be configured to described first determination display module or described second determination display module show described in
After the information that current photographic head is blocked, record the display time span of described information;
Determine and remove module, if the described display time span being configured to described logging modle record reaches present count
Value, then remove described information.
In one embodiment, described device also includes:
Receive closedown module, be configured to determine that display module or described second determines display described first
After module shows the information that described current photographic head is blocked, receive out code, and closed according to described out code
Close described information.
In one embodiment, described device also includes:
Option display module, be configured to described acquisition module obtain current photographic head view-finder in image information it
Before, display reminding option, described prompt options are used for prompting the user to choose whether to open the inspection that described current photographic head is blocked
Survey request;
Receiver module, is configured to what receive user was selected based on the described prompt options that described option display module shows
Open described detection request.
According to the third aspect of the embodiment of the present disclosure, provide a kind of terminal, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
Obtain the image information in current photographic head view-finder;
The predeterminable area of described image information is analyzed, to obtain the picture contrast of described predeterminable area;
If described image contrast reaches predetermined threshold value, show the information that described current photographic head is blocked.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect:By to the image information obtaining
Predeterminable area be analyzed, obtain the picture contrast of predeterminable area, and when picture contrast reaches predetermined threshold value, display
The information that current photographic head is blocked, such that it is able to remind user when photographic head is blocked, and then improves the bat of user
According to experience.
By obtaining body outline, and when body outline is discontinuous, show the prompting that current photographic head is blocked
Information, substantially increases Detection accuracy.
By recording the display time span of information, and when showing that time span reaches default value, removing carries
Show information, to avoid erroneous judgement photographic head to be blocked.
By receiving out code, and information is closed according to out code, after being blocked in erroneous judgement photographic head
Close information.
By display reminding option, make user can choose whether that open detection is asked as needed.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not
The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the present invention
Example, and be used for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart of the method that a kind of detection terminal photographic head according to an exemplary embodiment is blocked.
Fig. 2A is a kind of schematic diagram of the predeterminable area according to an exemplary embodiment.
Fig. 2 B is a kind of schematic diagram of the predeterminable area according to an exemplary embodiment.
Fig. 3 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Fig. 4 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Fig. 5 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Fig. 6 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Fig. 7 is the block diagram of the device that a kind of detection terminal photographic head according to an exemplary embodiment is blocked.
Fig. 8 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked.
Fig. 9 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked.
Figure 10 A is the frame of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Figure 10 B is the frame of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure.
Figure 11 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked.
Figure 12 is a kind of block diagram of the device being applied to terminal according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the present invention.On the contrary, they be only with such as appended
The example of the consistent apparatus and method of some aspects being described in detail in claims, the present invention.
Fig. 1 is the flow chart of the method that a kind of detection terminal photographic head according to an exemplary embodiment is blocked,
As shown in figure 1, the method that this detection terminal photographic head is blocked can be applicable in terminal, this terminal can include but is not limited to
Mobile phone, panel computer (PAD) etc., the method comprises the following steps S101-S103:
In step S101, obtain the image information in current photographic head view-finder.
In this embodiment, when the camera on the such as mobile phone that opens a terminal, terminal can obtain current photographic head and find a view
Image information in frame.
In step s 102, the predeterminable area of above-mentioned image information is analyzed, to obtain the image pair of predeterminable area
Degree of ratio.
Wherein, predeterminable area can be marginal area, as shown in Figure 2 A or image information place rectangular area
Four angles, as shown in Figure 2 B.
In this embodiment it is possible to be analyzed to the image in predeterminable area, obtain the brightness of each pixel in image,
And then the light and shade change information of image, namely picture contrast can be obtained according to the brightness of each pixel in image.
In step s 103, if picture contrast reaches predetermined threshold value, show the prompting letter that current photographic head is blocked
Breath.
Wherein, predetermined threshold value can flexibly be arranged as needed, for example, can be 20% or 30% etc..
In this embodiment, if the light and shade variable quantity of the picture contrast of predeterminable area namely image reaches 20%, can
It is blocked with the current photographic head of determination, therefore, it can display reminding information.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, is entered by the predeterminable area of the image information to acquisition
Row analysis, obtains the picture contrast of predeterminable area, and when picture contrast reaches predetermined threshold value, shows current photographic head quilt
The information blocked, such that it is able to remind user when photographic head is blocked, and then improves the experience of taking pictures of user.
Fig. 3 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure, as shown in figure 3, the method may include steps of:
In step S301, obtain the image information in current photographic head view-finder.
In step s 302, the predeterminable area of above-mentioned image information is analyzed, to obtain the image pair of predeterminable area
Degree of ratio.
In step S303, if picture contrast reaches predetermined threshold value, the contour of object in predeterminable area is known
Not, to obtain body outline.
In order to improve Detection accuracy, can tie on the basis of picture contrast reaches predetermined threshold value in this embodiment
Close contour of object to detect whether current photographic head is blocked.
Wherein it is possible to identify contour of object using various ways, for example, can pass through the picture of predeterminable area from RGB
Color space conversion becomes LUV color space, and in LUV color space, picture color is split, then in picture segmentation
On the basis of picture is converted into gray-scale maps, finally rim detection is carried out to gray-scale maps and obtains body outline.
In step s 304, if body outline is discontinuous, show the information that current photographic head is blocked.
After obtaining body outline, can by detection object contour line whether continuously to determine photographic head whether by
Block, if body outline is continuous, show that current photographic head is not blocked, if body outline discontinuously interrupts,
Then show that current photographic head is blocked.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, by obtaining body outline, and in contour of object
When line is discontinuous, shows the information that current photographic head is blocked, substantially increase Detection accuracy.
Fig. 4 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure, as shown in figure 4, after above-mentioned steps S103 or step S304, the method can also comprise the steps:
In step S401, the display time span of record information.
In step S402, if display time span reaches default value, remove information.
Wherein, default value can be arranged as required to, for example, can be 2 minutes or 3 minutes etc..
In this embodiment, in order to prevent from judging by accident, when information display a period of time reaching default value, permissible
Remove information, that is, information disappears automatically.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, by recording the display time span of information,
And when showing that time span reaches default value, remove information, to avoid erroneous judgement photographic head to be blocked.
Fig. 5 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure, as shown in figure 5, after above-mentioned steps S103, the method can also comprise the steps:
In step S104, receive out code, and information is closed according to out code.
In order to prevent judging by accident, user can be allowed to close information.
In addition, after step s 304 described above it is also possible to include step S104, in figure is not shown.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, by receiving out code, and according to out code
Close information, close information with after being blocked in erroneous judgement photographic head.
Fig. 6 is the flow process of the method that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure, as shown in fig. 6, before above-mentioned steps S101, the method can also comprise the steps:
In step s 601, display reminding option, this prompt options is used for prompting the user to choose whether to open current shooting
The detection request that head is blocked.
In this embodiment, user can select to open this detection request it is also possible to select to close this detection request.
In step S602, this detection of unlatching request that receive user selects.
In this embodiment, after user selects to open this detection request, above-mentioned steps S101-103 can just be executed.
Certainly, user can also select to close this detection request as needed, but if user closes this detection request, then terminal cannot
Show the information that current photographic head is blocked.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, by display reminding option, makes the user can basis
Need to choose whether open detection request.
Corresponding with the embodiment of the method that aforementioned detection terminal photographic head is blocked, the disclosure additionally provides detection terminal and takes the photograph
The device being blocked as head and terminal embodiment.
Fig. 7 is the block diagram of the device that a kind of detection terminal photographic head according to an exemplary embodiment is blocked, such as
Shown in Fig. 7, the device that detection terminal photographic head is blocked includes:Acquisition module 71, analysis module 72 and first determine display mould
Block 73.
Acquisition module 71 is configured to obtain the image information in current photographic head view-finder.
In this embodiment, when the camera on the such as mobile phone that opens a terminal, terminal can obtain current photographic head and find a view
Image information in frame.
Analysis module 72 is configured to the predeterminable area of the image information that acquisition module 71 obtains is analyzed, to obtain
The picture contrast of predeterminable area.
Wherein, predeterminable area can be marginal area, as shown in Figure 2 A or image information place rectangular area
Four angles, as shown in Figure 2 B.
In this embodiment it is possible to be analyzed to the image in predeterminable area, obtain the brightness of each pixel in image,
And then the light and shade change information of image, namely picture contrast can be obtained according to the brightness of each pixel in image.
If the picture contrast that the first determination display module 73 is configured to analysis module 72 analysis acquisition reaches default threshold
Value, then show the information that current photographic head is blocked.
Wherein, predetermined threshold value can flexibly be arranged as needed, for example, can be 20% or 30% etc..
In this embodiment, if the light and shade variable quantity of the picture contrast of predeterminable area namely image reaches 20%, can
It is blocked with the current photographic head of determination, therefore, it can display reminding information.
Device as shown in Figure 7 is used for realizing above-mentioned method flow as shown in Figure 1, and the related content being related to describes phase
Same, do not repeat herein.
The device embodiment that above-mentioned detection terminal photographic head is blocked, is entered by the predeterminable area of the image information to acquisition
Row analysis, obtains the picture contrast of predeterminable area, and when picture contrast reaches predetermined threshold value, shows current photographic head quilt
The information blocked, such that it is able to remind user when photographic head is blocked, and then improves the experience of taking pictures of user.
Fig. 8 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked,
As shown in figure 8, on the basis of above-mentioned embodiment illustrated in fig. 7, this device can also include:Identification module 74 and the second determination are aobvious
Show module 75.
Identification module 74 be configured to first determination display module 73 determine picture contrast reach predetermined threshold value it
Afterwards, the contour of object in predeterminable area is identified, to obtain body outline.
In order to improve Detection accuracy, can tie on the basis of picture contrast reaches predetermined threshold value in this embodiment
Close contour of object to detect whether current photographic head is blocked.
Wherein it is possible to identify contour of object using various ways, for example, can pass through the picture of predeterminable area from RGB
Color space conversion becomes LUV color space, and in LUV color space, picture color is split, then in picture segmentation
On the basis of picture is converted into gray-scale maps, finally rim detection is carried out to gray-scale maps and obtains body outline.
If the body outline that the second determination display module 75 is configured to identification module 74 acquisition is discontinuous, display is worked as
The information that front photographic head is blocked.
After obtaining body outline, can by detection object contour line whether continuously to determine photographic head whether by
Block, if body outline is continuous, show that current photographic head is not blocked, if body outline discontinuously interrupts,
Then show that current photographic head is blocked.
Device as shown in Figure 8 is used for realizing above-mentioned method flow as shown in Figure 3, and the related content being related to describes phase
Same, do not repeat herein.
The device embodiment that above-mentioned detection terminal photographic head is blocked, by obtaining body outline, and in contour of object
When line is discontinuous, shows the information that current photographic head is blocked, substantially increase Detection accuracy.
Fig. 9 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked,
As shown in figure 9, on the basis of above-mentioned Fig. 7 or embodiment illustrated in fig. 8, this device can also include:Logging modle 76 and determination
Remove module 77.
Logging modle 76 is configured to determine that display module 73 or second determines display module 75 display when proactive first
As, after the information that head is blocked, recording the display time span of information.
If the display time span that determination removing module 77 is configured to logging modle 76 record reaches default value, clearly
Except information.
Wherein, default value can be arranged as required to, for example, can be 2 minutes or 3 minutes etc..
In this embodiment, in order to prevent from judging by accident, when information display a period of time reaching default value, permissible
Remove information, that is, information disappears automatically.
Device as shown in Figure 9 is used for realizing above-mentioned method flow as shown in Figure 4, and the related content being related to describes phase
Same, do not repeat herein.
The device embodiment that above-mentioned detection terminal photographic head is blocked, by recording the display time span of information,
And when showing that time span reaches default value, remove information, to avoid erroneous judgement photographic head to be blocked.
Figure 10 A is the frame of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked
Figure, as shown in Figure 10 A, on the basis of above-mentioned embodiment illustrated in fig. 7, this device may also include:Receive closedown module 78.
Receive closedown module 78 to be configured to show that current photographic head is hidden in the first determination display module 73
After the information of gear, receive out code, and information is closed according to out code.
In addition, receive closedown module 78 to be also configured to show that current photographic head is hidden in the second determination display module 75
After the information of gear, receive out code, and information is closed according to out code, as shown in Figure 10 B.
In order to prevent judging by accident, user can be allowed to close information.
Device as shown in Figure 10 A is used for realizing above-mentioned method flow as shown in Figure 5, the related content description being related to
Identical, do not repeat herein.
The embodiment of the method that above-mentioned detection terminal photographic head is blocked, by receiving out code, and according to out code
Close information, close information with after being blocked in erroneous judgement photographic head.
Figure 11 is the block diagram of the device that another kind of detection terminal photographic head according to an exemplary embodiment is blocked,
As shown in figure 11, on the basis of above-mentioned embodiment illustrated in fig. 7, this device may also include:Option display module 81 and reception mould
Block 82.
Option display module 81 is configured to before the image information that acquisition module obtains in current photographic head view-finder,
Display reminding option, prompt options are used for prompting the user to choose whether to open the detection request that current photographic head is blocked.
In this embodiment, user can select to open this detection request it is also possible to select to close this detection request.
Receiver module 82 is configured to the unlatching that receive user is selected based on the prompt options that option display module 81 shows
Detection request.
In this embodiment, user can select to close this detection request, but if user closes this detection as needed
Request, then terminal cannot show the information that current photographic head is blocked.
Device as shown in figure 11 is used for realizing above-mentioned method flow as shown in Figure 6, the related content description being related to
Identical, do not repeat herein.
The device embodiment that above-mentioned detection terminal photographic head is blocked, by display reminding option, makes the user can basis
Need to choose whether open detection request.
With regard to the device in above-described embodiment, wherein modules, the concrete mode of submodule execution operation is having
It has been described in detail in the embodiment closing the method, explanation will be not set forth in detail herein.
Figure 12 is that a kind of according to an exemplary embodiment is applied to the device that detection terminal photographic head is blocked
Block diagram.For example, device 1200 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console,
Tablet device, armarium, body-building equipment, personal digital assistant, aircraft etc..
With reference to Figure 12, device 1200 can include following one or more assemblies:Process assembly 1202, memorizer 1204,
Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster
1214, and communication component 1216.
The integrated operation of the usual control device 1200 of process assembly 1202, such as with display, call, data communication,
Camera operation and record operate associated operation.Treatment element 1202 can include one or more processors 1220 to execute
Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1202 can include one or more moulds
Block, is easy to the interaction between process assembly 1202 and other assemblies.For example, processing component 1202 can include multi-media module,
To facilitate the interaction between multimedia groupware 1208 and process assembly 1202.
Memorizer 1204 is configured to store various types of data to support the operation in equipment 1200.These data
Example include on device 1200 operation any application program or method instruction, contact data, telephone book data,
Message, picture, video etc..Memorizer 1204 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable can
Program read-only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory
Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management
System, one or more power supplys, and other generate, manage and distribute, with for device 1200, the assembly that electric power is associated.
Multimedia groupware 1208 includes the screen of one output interface of offer between described device 1200 and user.?
In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch and passes
Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or slip be dynamic
The border made, but also the detection persistent period related to described touch or slide and pressure.In certain embodiments, many
Media component 1208 includes a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, such as shoot mould
When formula or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each preposition shooting
Head and post-positioned pick-up head can be the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat
Gram wind (MIC), when device 1200 is in operator scheme, such as call model, logging mode and speech recognition mode when, mike quilt
It is configured to receive external audio signal.The audio signal being received can be further stored in memorizer 1204 or via communication
Assembly 1216 sends.In certain embodiments, audio-frequency assembly 1210 also includes a speaker, for exports audio signal.
I/O interface 1212 is for providing interface, above-mentioned peripheral interface module between process assembly 1202 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1214 includes one or more sensors, for providing the state of various aspects to comment for device 1200
Estimate.For example, sensor cluster 1214 can detect/the closed mode of opening of equipment 1200, the relative localization of assembly, such as institute
State the display that assembly is device 1200 and keypad, sensor cluster 1214 can be with detection means 1200 or device 1,200 1
The position change of individual assembly, user is presence or absence of with what device 1200 contacted, device 1200 orientation or acceleration/deceleration and dress
Put 1200 temperature change.Sensor cluster 1214 can include proximity transducer, is configured to do not having any physics
The presence of object nearby is detected during contact.Sensor cluster 1214 can also include optical sensor, and such as CMOS or ccd image sense
Device, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also include acceleration sensing
Device, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress
Put 1200 and can access wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.Exemplary at one
In embodiment, communication component 1216 receives related from the broadcast singal of external broadcasting management system or broadcast via broadcast channel
Information.In one exemplary embodiment, described communication component 1216 also includes near-field communication (NFC) module, to promote short distance
Communication.For example, RF identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra broadband can be based in NFC module
(UWB) technology, bluetooth (BT) technology and other technologies are realizing.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuits (ASIC), numeral
Signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
As included the memorizer 1204 instructing, above-mentioned instruction can be executed by the processor 1220 of device 1200 to complete said method.Example
If, described non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft
Disk and optical data storage devices etc..
Those skilled in the art, after considering description and putting into practice disclosure disclosed herein, will readily occur to its of the disclosure
Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or
Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following
Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and
And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.
Claims (11)
1. a kind of method that detection terminal photographic head is blocked is it is characterised in that methods described includes:
Obtain the image information in current photographic head view-finder;
The predeterminable area of described image information is analyzed, to obtain the picture contrast of described predeterminable area;
If described image contrast reaches predetermined threshold value, show the information that described current photographic head is blocked.
2. the method that detection terminal photographic head according to claim 1 is blocked is it is characterised in that contrast in described image
After degree reaches predetermined threshold value, methods described also includes:
Contour of object in described predeterminable area is identified, to obtain body outline;
If described body outline is discontinuous, show the information that described current photographic head is blocked.
3. detection terminal photographic head according to claim 1 and 2 is blocked method is it is characterised in that in described display
After the information that described current photographic head is blocked, methods described also includes:
Record the display time span of described information;
If described display time span reaches default value, remove described information.
4. detection terminal photographic head according to claim 1 and 2 is blocked method is it is characterised in that in described display
After the information that described current photographic head is blocked, methods described also includes:
Receive out code, and described information is closed according to described out code.
5. the method that detection terminal photographic head according to claim 1 is blocked is it is characterised in that obtain currently described
Before image information in photographic head view-finder, methods described also includes:
Display reminding option, described prompt options are used for prompting the user to choose whether to open the inspection that described current photographic head is blocked
Survey request;
The unlatching described detection request that receive user selects.
6. the device that a kind of detection terminal photographic head is blocked is it is characterised in that described device includes:
Acquisition module, is configured to obtain the image information in current photographic head view-finder;
Analysis module, is configured to the predeterminable area of the described image information that described acquisition module obtains is analyzed, to obtain
Take the picture contrast of described predeterminable area;
First determination display module, if the described image contrast being configured to described analysis module analysis acquisition reaches default threshold
Value, then show the information that described current photographic head is blocked.
7. the device that detection terminal photographic head according to claim 6 is blocked is it is characterised in that described device is also wrapped
Include:
Identification module, be configured to described first determination display module determine described image contrast reach predetermined threshold value it
Afterwards, the contour of object in described predeterminable area is identified, to obtain body outline;
Second determination display module, if the described body outline being configured to described identification module acquisition is discontinuous, shows
The information that described current photographic head is blocked.
8. the detection terminal photographic head according to claim 6 or 7 is blocked device it is characterised in that described device also
Including:
Logging modle, be configured to the described first determination display module or described second determination display module show described currently
After the information that photographic head is blocked, record the display time span of described information;
Determine and remove module, if the described display time span being configured to described logging modle record reaches default value,
Remove described information.
9. the detection terminal photographic head according to claim 6 or 7 is blocked device it is characterised in that described device also
Including:
Receive closedown module, be configured to determine display module or described second determination display module described first
After showing the information that described current photographic head is blocked, receive out code, and institute is closed according to described out code
State information.
10. the device that detection terminal photographic head according to claim 6 is blocked is it is characterised in that described device is also wrapped
Include:
Option display module, is configured to before the image information that described acquisition module obtains in current photographic head view-finder,
Display reminding option, described prompt options are used for prompting the user to choose whether to open the detection that described current photographic head is blocked please
Ask;
Receiver module, is configured to the unlatching that receive user is selected based on the described prompt options that described option display module shows
Described detection request.
A kind of 11. terminals are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Obtain the image information in current photographic head view-finder;
The predeterminable area of described image information is analyzed, to obtain the picture contrast of described predeterminable area;
If described image contrast reaches predetermined threshold value, show the information that described current photographic head is blocked.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611050575.XA CN106454336B (en) | 2016-11-23 | 2016-11-23 | The method and device and terminal that detection terminal camera is blocked |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611050575.XA CN106454336B (en) | 2016-11-23 | 2016-11-23 | The method and device and terminal that detection terminal camera is blocked |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106454336A true CN106454336A (en) | 2017-02-22 |
CN106454336B CN106454336B (en) | 2019-10-25 |
Family
ID=58219662
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611050575.XA Active CN106454336B (en) | 2016-11-23 | 2016-11-23 | The method and device and terminal that detection terminal camera is blocked |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106454336B (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108347601A (en) * | 2018-03-19 | 2018-07-31 | 云丁网络技术(北京)有限公司 | The detection method and relevant device of video shelter |
CN108765380A (en) * | 2018-05-14 | 2018-11-06 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and mobile terminal |
CN109445267A (en) * | 2018-12-29 | 2019-03-08 | 北京金山安全软件有限公司 | Intelligent watch |
CN109639896A (en) * | 2018-12-19 | 2019-04-16 | Oppo广东移动通信有限公司 | Block object detecting method, device, storage medium and mobile terminal |
CN110049320A (en) * | 2019-05-23 | 2019-07-23 | 北京猎户星空科技有限公司 | Camera occlusion detection method, apparatus, electronic equipment and storage medium |
CN110519515A (en) * | 2019-08-28 | 2019-11-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
CN110579338A (en) * | 2018-06-07 | 2019-12-17 | 通用汽车环球科技运作有限责任公司 | system and method for monitoring camera cleaning cycle |
CN110691235A (en) * | 2019-09-11 | 2020-01-14 | 华为技术有限公司 | Detection method, device and equipment |
CN112399220A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Camera physical switch locking state display method and display equipment |
CN112422953A (en) * | 2020-10-22 | 2021-02-26 | 深圳云天励飞技术股份有限公司 | Method and device for identifying whether camera is shielded or not and terminal equipment |
CN113301250A (en) * | 2021-05-13 | 2021-08-24 | Oppo广东移动通信有限公司 | Image recognition method and device, computer readable medium and electronic equipment |
CN113503807A (en) * | 2021-08-05 | 2021-10-15 | 维沃移动通信有限公司 | Electronic device and detection method |
CN113573124A (en) * | 2020-04-29 | 2021-10-29 | 海信视像科技股份有限公司 | Display device and camera detection method |
CN114079766A (en) * | 2020-08-10 | 2022-02-22 | 珠海格力电器股份有限公司 | Method for prompting shielding of camera under screen, storage medium and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179428A (en) * | 2011-12-23 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing camera module stains |
US20130300869A1 (en) * | 2012-03-27 | 2013-11-14 | Magna Electronics Inc. | Vehicle vision system with lens pollution detection |
CN105491289A (en) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | Method and device for preventing photographing occlusion |
CN105611188A (en) * | 2015-12-23 | 2016-05-25 | 北京奇虎科技有限公司 | Method and device for detecting shielding of camera based on automatic exposure |
CN105744268A (en) * | 2016-05-04 | 2016-07-06 | 深圳众思科技有限公司 | Camera shielding detection method and device |
-
2016
- 2016-11-23 CN CN201611050575.XA patent/CN106454336B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103179428A (en) * | 2011-12-23 | 2013-06-26 | 鸿富锦精密工业(深圳)有限公司 | System and method for testing camera module stains |
US20130300869A1 (en) * | 2012-03-27 | 2013-11-14 | Magna Electronics Inc. | Vehicle vision system with lens pollution detection |
CN105491289A (en) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | Method and device for preventing photographing occlusion |
CN105611188A (en) * | 2015-12-23 | 2016-05-25 | 北京奇虎科技有限公司 | Method and device for detecting shielding of camera based on automatic exposure |
CN105744268A (en) * | 2016-05-04 | 2016-07-06 | 深圳众思科技有限公司 | Camera shielding detection method and device |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108347601A (en) * | 2018-03-19 | 2018-07-31 | 云丁网络技术(北京)有限公司 | The detection method and relevant device of video shelter |
CN108347601B (en) * | 2018-03-19 | 2020-06-19 | 云丁网络技术(北京)有限公司 | Video occlusion detection method and related equipment |
CN108765380A (en) * | 2018-05-14 | 2018-11-06 | Oppo广东移动通信有限公司 | Image processing method, device, storage medium and mobile terminal |
CN110579338A (en) * | 2018-06-07 | 2019-12-17 | 通用汽车环球科技运作有限责任公司 | system and method for monitoring camera cleaning cycle |
CN109639896A (en) * | 2018-12-19 | 2019-04-16 | Oppo广东移动通信有限公司 | Block object detecting method, device, storage medium and mobile terminal |
CN109445267B (en) * | 2018-12-29 | 2021-06-25 | 北京金山安全软件有限公司 | Intelligent watch |
CN109445267A (en) * | 2018-12-29 | 2019-03-08 | 北京金山安全软件有限公司 | Intelligent watch |
CN110049320A (en) * | 2019-05-23 | 2019-07-23 | 北京猎户星空科技有限公司 | Camera occlusion detection method, apparatus, electronic equipment and storage medium |
CN110049320B (en) * | 2019-05-23 | 2020-12-08 | 北京猎户星空科技有限公司 | Camera shielding detection method and device, electronic equipment and storage medium |
CN112399220B (en) * | 2019-08-18 | 2022-10-28 | 海信视像科技股份有限公司 | Camera physical switch locking state display method and display equipment |
CN112399220A (en) * | 2019-08-18 | 2021-02-23 | 海信视像科技股份有限公司 | Camera physical switch locking state display method and display equipment |
CN110519515A (en) * | 2019-08-28 | 2019-11-29 | 联想(北京)有限公司 | A kind of information processing method and electronic equipment |
WO2021047461A1 (en) * | 2019-09-11 | 2021-03-18 | 华为技术有限公司 | Detection method, apparatus and device |
CN110691235A (en) * | 2019-09-11 | 2020-01-14 | 华为技术有限公司 | Detection method, device and equipment |
CN113573124A (en) * | 2020-04-29 | 2021-10-29 | 海信视像科技股份有限公司 | Display device and camera detection method |
CN114079766A (en) * | 2020-08-10 | 2022-02-22 | 珠海格力电器股份有限公司 | Method for prompting shielding of camera under screen, storage medium and terminal equipment |
CN114079766B (en) * | 2020-08-10 | 2023-08-11 | 珠海格力电器股份有限公司 | Under-screen camera shielding prompting method, storage medium and terminal equipment |
CN112422953A (en) * | 2020-10-22 | 2021-02-26 | 深圳云天励飞技术股份有限公司 | Method and device for identifying whether camera is shielded or not and terminal equipment |
CN112422953B (en) * | 2020-10-22 | 2023-03-03 | 深圳云天励飞技术股份有限公司 | Method and device for identifying whether camera is shielded or not and terminal equipment |
CN113301250A (en) * | 2021-05-13 | 2021-08-24 | Oppo广东移动通信有限公司 | Image recognition method and device, computer readable medium and electronic equipment |
CN113503807A (en) * | 2021-08-05 | 2021-10-15 | 维沃移动通信有限公司 | Electronic device and detection method |
CN113503807B (en) * | 2021-08-05 | 2024-02-27 | 维沃移动通信有限公司 | Electronic device and detection method |
Also Published As
Publication number | Publication date |
---|---|
CN106454336B (en) | 2019-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106454336A (en) | Method and device for detecting whether camera of terminal is covered or not, and terminal | |
US10706173B2 (en) | Method and device for displaying notification information | |
EP3041206B1 (en) | Method and device for displaying notification information | |
US10452890B2 (en) | Fingerprint template input method, device and medium | |
EP3173970A1 (en) | Image processing method and apparatus | |
EP2977959A2 (en) | Method and device for adjusting skin color | |
EP3133527A1 (en) | Human face recognition method, apparatus and terminal | |
CN105491289A (en) | Method and device for preventing photographing occlusion | |
CN107122679A (en) | Image processing method and device | |
EP2985991A1 (en) | Method and device for time-lapse photographing | |
US9924090B2 (en) | Method and device for acquiring iris image | |
CN106339695A (en) | Face similarity detection method, device and terminal | |
CN107463052A (en) | Shoot exposure method and device | |
EP3208742A1 (en) | Method and apparatus for detecting pressure | |
CN107347136A (en) | Photographic method, device and terminal device | |
CN104980662A (en) | Method for adjusting imaging style in shooting process, device thereof and imaging device | |
CN107102801A (en) | Terminal screen spinning solution and device | |
CN104243829A (en) | Self-shooting method and self-shooting device | |
CN104464674B (en) | Liquid crystal display method of adjustment and device | |
CN105203456A (en) | Plant species identification method and apparatus thereof | |
CN104020628A (en) | Flash lamp prompting method and device thereof | |
CN105516588A (en) | Photographic processing method and device | |
CN105357449A (en) | Shooting method and device, and image processing method and apparatus | |
CN106557294A (en) | Color adjustment method and device | |
US9641737B2 (en) | Method and device for time-delay photographing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |