CN109729344A - A kind of image pick-up detection device, method and mobile terminal - Google Patents

A kind of image pick-up detection device, method and mobile terminal Download PDF

Info

Publication number
CN109729344A
CN109729344A CN201811580975.0A CN201811580975A CN109729344A CN 109729344 A CN109729344 A CN 109729344A CN 201811580975 A CN201811580975 A CN 201811580975A CN 109729344 A CN109729344 A CN 109729344A
Authority
CN
China
Prior art keywords
camera
image
dimming glass
abnormal
detection device
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
Application number
CN201811580975.0A
Other languages
Chinese (zh)
Other versions
CN109729344B (en
Inventor
陈宇灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201811580975.0A priority Critical patent/CN109729344B/en
Publication of CN109729344A publication Critical patent/CN109729344A/en
Application granted granted Critical
Publication of CN109729344B publication Critical patent/CN109729344B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Studio Devices (AREA)

Abstract

The embodiment of the invention discloses a kind of image pick-up detection device, method and mobile terminals, the image pick-up detection device is applied to camera assembly, the image pick-up detection device includes dimming glass, light source and control unit, in which: the dimming glass is fixed on the top of the camera;Described control unit is connected with the dimming glass, pellucidity is converted to for controlling the dimming glass when being powered, and control the dimming glass when power is off and be converted to non-transparent state, so that the camera determines whether the camera is abnormal when being shot under the action of the dimming glass;The light source is fixed on the side of the dimming glass, and the light source be located at the camera it is not ipsilateral.By this method, camera can be detected, be found the abnormal situation immediately, improve user experience.

Description

A kind of image pick-up detection device, method and mobile terminal
Technical field
The present invention relates to electronic technology field more particularly to a kind of image pick-up detection devices, method and mobile terminal.
Background technique
With the continuous development of electronic technology, the mobile terminal based on mobile phone and tablet computer has become people's life With the requirement of work, people utilize the camera module shooting picture and video carried in mobile terminal.
Usual camera module is filtered by camera lens, cutoff filter and sensitive chip composition in camera lens and infrared cutoff It is easy to fall dust among mating plate, if dust has been fallen above the camera lens of the camera module of mobile terminal, in user When being shot using mobile terminal, it will lead in shooting the photo come, have the brightness in a region than other regions Abnormal relatively low (brightness value in each region shot under actual conditions should be consistent), i.e., the region where dust, which will lead to, shoots There is bad phenomenons such as " black groups " in the photo come.
In actual photographed, when carrying out preview to the picture of shooting, since the camera lens of camera is in the presence of abnormal caused Bad phenomenons such as " black groups " can not be usually found immediately, often after user shoots, when flushing out picture, and ability It was found that the picture shot has exception, this results in user to find that the camera lens of camera is complex in the presence of abnormal process, And find that the time of the camera lens exception of camera is longer, cause poor user experience.
Summary of the invention
The purpose of the embodiment of the present invention is that a kind of image pick-up detection device, method and mobile terminal are provided, to solve existing skill The poor problem of user experience caused by the bad phenomenons such as " black group " in shooting process in art.
In order to solve the above technical problems, the embodiments of the present invention are implemented as follows:
In a first aspect, a kind of image pick-up detection device provided in an embodiment of the present invention, which is characterized in that the camera detection dress It sets and is applied to camera assembly, the image pick-up detection device includes dimming glass, light source and control unit, in which:
The dimming glass is fixed on the top of the camera;
Described control unit is connected with the dimming glass, is converted to for controlling the dimming glass when being powered Bright state, and control the dimming glass when power is off and be converted to non-transparent state, so that the camera is in the light modulation glass Determine whether the camera is abnormal when being shot under the action of glass;
The light source is fixed on the side of the dimming glass, and the light source be located at the camera it is not ipsilateral.
Optionally, the image pick-up detection device further includes camera head protecting glass, and the image pick-up detection device is located at described Between camera and the camera head protecting glass.
Optionally, the dimming glass is made of liquid crystal layer, the first conductive layer, the second conductive layer and glassy layer, wherein institute It states liquid crystal layer, first conductive layer and second conductive layer to be set in the glassy layer, the liquid crystal layer is located at first Among conductive layer and the second conductive layer, first conductive layer is connected to the anode of described control unit by lead, and described second Conductive layer is connected to the cathode of described control unit by lead.
Second aspect, the embodiment of the invention provides a kind of mobile terminal is provided, including as described in above-mentioned first aspect Image pick-up detection device.
The third aspect, the embodiment of the invention provides a kind of camera detecting method, the method is applied to such as second aspect The mobile terminal of offer, which comprises
In the case where being powered to image pick-up detection device, target figure of the camera under dimming glass effect is obtained Picture;
If determining that the camera is abnormal comprising abnormal image-region in the target image.
Optionally, if comprising abnormal image-region in the target image, determine that the camera is abnormal, packet It includes:
The target image is identified, if in the target image including the figure that brightness value is less than predetermined luminance threshold value As region, it is determined that comprising abnormal image-region in the target image, and determine that the camera is abnormal.
Optionally, if determining the camera exception comprising abnormal image-region in the target image Afterwards, the method also includes:
Obtain the corresponding benchmark image of the target image;
According to the benchmark image and the target image the abnormal image-region image information, described in adjustment Camera the corresponding imaging area of the abnormal image-region image compensation information, to be taken the photograph to the camera described The image acquired as region carries out image compensation.
Optionally, if determining the camera exception comprising abnormal image-region in the target image Afterwards, the method also includes:
Export the prompt information of the camera exception.
Fourth aspect, the embodiment of the present invention provide a kind of computer readable storage medium, which is characterized in that the computer Computer program is stored on readable storage medium storing program for executing, the computer program is realized provided by the above embodiment when being executed by processor The step of camera detecting method.
By the above technical solution provided in an embodiment of the present invention as it can be seen that image pick-up detection device packet provided in an embodiment of the present invention Include dimming glass, light source and control unit, in which: dimming glass is fixed on the top of camera, control unit and is fixed with light The dimming glass in source is connected, and is converted to pellucidity for controlling dimming glass when being powered, and control light modulation when power is off Glass is converted to non-transparent state, so that camera determines whether camera is different when being shot under the action of dimming glass Often, light source is fixed on the side of dimming glass, and light source be located at camera it is not ipsilateral.In this way, being filled based on above-mentioned camera detection It sets, the control to the state of dimming glass can be realized by control unit, by the way that dimming glass is adjusted to non-transparent state Carry out detector lens with the presence or absence of abnormal conditions, can find camera abnormal conditions immediately, improve the inspection of camera abnormal conditions Efficiency is surveyed, user experience is improved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The some embodiments recorded in invention, for those of ordinary skill in the art, in the premise of not making the creative labor property Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of image pick-up detection device of the present invention;
Fig. 2 is the structural schematic diagram of another image pick-up detection device of the invention;
Fig. 3 is a kind of structural schematic diagram of dimming glass of the present invention;
Fig. 4 is the structural schematic diagram of another dimming glass of the invention;
Fig. 5 is the schematic diagram of liquid crystal arrangement under a kind of power blackout situation of the present invention;
Fig. 6 is the schematic diagram of liquid crystal arrangement in the case of a kind of energization of the present invention
Fig. 7 is a kind of flow chart of camera detecting method embodiment of the present invention;
Fig. 8 is the flow chart of another camera detecting method embodiment of the present invention;
Fig. 9 is a kind of schematic diagram for comparing picture abnormal area of the present invention;
Figure 10 is a kind of mobile terminal embodiment of the present invention.
Marginal data:
100- dimming glass, 101- liquid crystal layer, 1011- liquid crystal, 1012- polymer, the first conductive layer of 102-, 103- second Conductive layer, 104- glassy layer, 105-EVA film, 200- light source, 300- control unit, 400- camera, 500- camera head protecting Glass.
Specific embodiment
The embodiment of the present invention provides a kind of image pick-up detection device, method and mobile terminal.
Technical solution in order to enable those skilled in the art to better understand the present invention, below in conjunction with of the invention real The attached drawing in example is applied, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described implementation Example is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, this field is common Technical staff's every other embodiment obtained without creative efforts, all should belong to protection of the present invention Range.
Embodiment one
The embodiment of the present invention provides a kind of image pick-up detection device, as shown in Figure 1, the image pick-up detection device includes dimming glass 100, light source 200 and control unit 300, in which:
Dimming glass 100 can have pellucidity and non-transparent state, can be by automatically controlled, temperature control, light-operated or voltage-controlled etc. Various ways realize the control of the state to dimming glass 100.Dimming glass 100 can be fixed on the top of camera 400, Light source 200 can be fixed on the side of dimming glass 100, and light source 200 can be point light source or linear light source etc., and light source 200 can be with It is the point light source for emitting white light, the light source launched is by dimming glass 100, if dimming glass 100 is in nontransparent shape When state, the light for injecting dimming glass 100 can become uniform light, so that dimming glass 100 is whole to issue uniform light Line.
Dimming glass 100 can be realized by automatically controlled, temperature control, the light-operated or various ways such as voltage-controlled glass it is transparent with it is non- Switching between transparent state, wherein non-transparent state can be translucent, frosted state etc., and the embodiment of the present invention is logical Automatically controlled mode is crossed to control the state of dimming glass 100, control unit 300 is connected with dimming glass 100, is used for When being powered, control dimming glass 100 is converted to pellucidity, and control dimming glass 100 is converted to nontransparent shape when power is off State.For control unit 300 when being powered, control dimming glass 100 is converted to pellucidity, i.e., extraneous light will not be because of light modulation Glass 100 and scatter, do not influence the normal photographing of camera 500.Control unit 300 when power is off, can control light modulation Glass 100 is converted to non-transparent state (such as frosted state), at this point, under the action of dimming glass 100, camera 500 can be with The uniform picture of overall brightness is shot, camera 500 can determine camera shooting by carrying out shooting under the action of dimming glass 100 First 500 with the presence or absence of abnormal.
In addition, light source 200 and control unit 300 may be at the same side of dimming glass 100, not influence camera 500 are normally shot.It should be understood that light source 200 and camera be located at it is not ipsilateral, not influence camera shooting.
When camera, which is not used, in mobile terminal carries out camera detection, control unit 300 can carry out for dimming glass 100 It is powered, that is, dimming glass 100 is in pellucidity, at this point it is possible to which normal use camera 500 carries out the shooting of picture.Work as shifting When dynamic terminal carries out camera detection, light source 200 can be opened, meanwhile, control unit 300 can disconnect dimming glass 100 Power supply makes dimming glass 100 be in non-transparent state (such as frosted state), at this point, the light that light source 200 issues injects light modulation glass In glass 100, by the scattering process of dimming glass 100, the whole light for issuing homogeneous soft of dimming glass 100, camera 500 Picture can be shot under the action of dimming glass 100.
A kind of image pick-up detection device provided in an embodiment of the present invention includes dimming glass, light source and control unit, in which: is adjusted Light glass is fixed on the top of camera, and control unit is connected with the dimming glass for being fixed with light source, in energization time control Dimming glass processed is converted to pellucidity, and control dimming glass is converted to non-transparent state when power is off, so that camera exists Determine whether camera is abnormal, and light source is fixed on the side of dimming glass, and light source when being shot under the action of dimming glass With camera be located at it is not ipsilateral, in this way, be based on above-mentioned image pick-up detection device, can by control unit realize to dimming glass The control of state whether there is abnormal conditions by the way that dimming glass is adjusted to non-transparent state come detector lens, can be instant It was found that camera abnormal conditions, improve the detection efficiency of camera abnormal conditions, user experience is improved.
Embodiment two
The embodiment of the present invention provides another image pick-up detection device.The image pick-up detection device contains camera shooting shown in FIG. 1 The all functional units of detection device, and on its basis, it is improved, it is as follows to improve content:
As shown in Fig. 2, image pick-up detection device can also include camera head protecting glass 500, image pick-up detection device can position Among camera 400 and camera head protecting glass 500.
As shown in figure 3, dimming glass 100 can be by liquid crystal layer 101, the first conductive layer 102, the second conductive layer 103 and glass Glass layer 104 forms, wherein and liquid crystal layer 101, the first conductive layer 102 and the second conductive layer 103 can be set in glassy layer 104, Liquid crystal layer 101 can be located among the first conductive layer 102 and the second conductive layer 103, and the first conductive layer 102 can be connected by lead To the anode of control unit 300, the second conductive layer 103 can be connected to the cathode of control unit 300 by lead.
Wherein, the first conductive layer 102 and the second conductive layer 103 can be made of material that can be conductive, for example, first is conductive Layer 102 and second conductive layer 103 can be made of tin indium oxide (ITO, IndiumTinOxide) film, ito thin film with compared with High conductivity, higher visible light transmittance, higher mechanical hardness and good chemical stability.In addition to this, first The material of conductive layer 102 and the second conductive layer 103 composition can be diversified, and the embodiment of the present invention does not do specific limit to this It is fixed.
In addition, liquid crystal 1011 can be with pre- as shown in figure 4, liquid crystal layer 101 may include liquid crystal 1011 and polymer 1012 Fixed arrangement mode setting is with liquid crystal layer 101, and polymer 1012 can be used in filling liquid crystal layer 101, except liquid crystal 1011 accounts for According to space between space.
Wherein, arrangement mode of the liquid crystal 1011 in liquid crystal layer 101 can with according to whether be powered and it is different, for example, As shown in figure 5, when not accessing power supply, arrangement mode of the liquid crystal 1011 in liquid crystal layer 101 be it is rambling, when light into Enter to after liquid crystal layer 101, light is scattered by the liquid crystal 1011 in liquid crystal layer 101 to different random directions, so that light modulation glass Glass 100 is converted to non-transparent state, at this point, dimming glass 100 is similar to one piece of even mating plate, dimming glass 100 is whole to be issued The light of homogeneous soft, camera 400 can shoot the figure of overall picture brightness uniformity under the action of dimming glass 100 Piece.As shown in fig. 6, when being powered same direction can be intended to by the arrangement mode of electric field action, liquid crystal 1011, light is worn Liquid crystal layer 101 is crossed, not will receive the scattering process of liquid crystal 1011, the direction of light will not change, at this point, 100 class of dimming glass Like one block of transparent simple glass, the normal photographing of camera 400 is not influenced.
As shown in figure 4, can be set respectively in the first conductive layer 102 and the second side of the conductive layer 103 far from liquid crystal layer 101 Be equipped with EVA (Polyethylene vinylacetate) film, EVA film can have preferable adhesion, durability and Superior optical characteristics.
In addition, the first conductive layer 102 and the second conductive layer 103 can be made of ITO-PET conductive film, wherein ITO-PET Conductive film can be through magnetron sputtering technique, and transparent indium tin oxide (ITO) conductive membrane layer is sputtered on PET base material, And the conductive film layer obtained through the high temperature anneal.PET has preferable transparency, can stop ultraviolet light, has good Mechanical property, folding resistance are good.
Light source 200 can there are many selection modes, such as any light source etc. that can emit white light, specific such as LED light source Deng.
When camera, which is not used, in mobile terminal carries out camera detection, control unit 300 can carry out for dimming glass 100 It is powered, at this point, the orientation of liquid crystal 1011 tends to be unified in the liquid crystal layer 101 of dimming glass 100, folding will not be generated to light The effect of penetrating, therefore, dimming glass 100 are in pellucidity, and the shooting that camera 500 carries out picture can be used normally.Work as shifting When dynamic terminal carries out camera detection, light source 200 can be opened, meanwhile, control unit 300 can disconnect the electricity of dimming glass 100 Source, at this point, the arrangement mode of the liquid crystal 1011 in dimming glass 100 in liquid crystal layer becomes disorderly and unsystematic, light source 200 injects light modulation After glass 100, by the scattering process of liquid crystal 1011, light is dispersed into different random directions, and dimming glass 100 is switched to Non-transparent state (such as frosted state), therefore, the whole light that can issue homogeneous soft of dimming glass 100, camera 500 can To shoot picture under the action of dimming glass 100.
A kind of image pick-up detection device provided in an embodiment of the present invention includes dimming glass, light source and control unit, in which: is adjusted Light glass is fixed on the top of camera, and control unit is connected with the dimming glass for being fixed with light source, in energization time control Dimming glass processed is converted to pellucidity, and control dimming glass is converted to non-transparent state when power is off, so that camera exists Determine whether camera is abnormal, and light source is fixed on the side of dimming glass, in this way, base when being shot under the action of dimming glass In above-mentioned image pick-up detection device, the control to the state of dimming glass can be realized by control unit, by by dimming glass It is adjusted to non-transparent state and carrys out detector lens with the presence or absence of abnormal conditions, can find camera abnormal conditions immediately, raising is taken the photograph As the detection efficiency of head abnormal conditions, user experience is improved.
Embodiment three
The above are a kind of image pick-up detection devices provided in an embodiment of the present invention, function based on the image pick-up detection device and its Composed structure, the embodiment of the present invention also provide a kind of camera detecting method, and the executing subject of this method can be mobile terminal, should It is may include in mobile terminal such as the image pick-up detection device in above-described embodiment one and embodiment two, wherein the mobile terminal can With such as mobile phone, tablet computer etc., which can be the mobile terminal that user uses.As shown in fig. 7, this method specifically may be used With the following steps are included:
In step S702, in the case where being powered to image pick-up detection device, camera 400 is obtained in dimming glass 100 Target image under effect.
Wherein, target image can be the picture shot under the effect of dimming glass 100, and in camera 400, there is no different In the case where often, the picture brightness of Target Photo entirety be can be uniformly.
In an implementation, it can be set one piece in the surface of camera 400 and have what LED light source 200 was shone with realization Dimming glass 100, in the state that camera 400 is not used by, the LED light source 200 of the dimming glass 100 does not shine, but can To be the energization of dimming glass 100, liquid of the dimming glass 100 after accessing power supply, in dimming glass 100 by control unit 300 The orientation of crystalline substance 1011 reaches unanimity, and will not be scattered effect to the light for injecting dimming glass 100, at this point, light modulation glass Glass 100 does not influence the normal use of camera 400 similar to one block of common transparent glass.
When user is shot using the camera 400, user can be opened by the camera applications on mobile terminal Camera 400 can disconnect dimming glass 100 by control unit 300 before the shooting preview interface for opening camera applications Power supply.At this point, the orientation of the liquid crystal 1011 in dimming glass 100 becomes disorderly and unsystematic, launch when LED light source 200 After dotted strong illumination to dimming glass 100, difference can be scattered to via the scattering process of the liquid crystal 1011 in dimming glass 100 Random direction, that is, the whole light for issuing homogeneous soft of dimming glass 100.At this point, starting camera 400 is shot, Under the action of dimming glass 100, the target image of the available shooting of camera 400.
In step S704, if determining that camera 400 is abnormal comprising abnormal image-region in target image.
Wherein, abnormal image-region can be picture brightness and the discrepant region of overall picture brightness, alternatively, abnormal Image-region can be the difference of brightness value and general image brightness value and be greater than the image-region etc. of predetermined luminance difference.
In an implementation, when exception is not present in camera 400, under the action of dimming glass 100, the Target Photo of acquisition Overall picture brightness can be uniformly, if judging that camera 400 is different comprising abnormal image-region in target image Often, for example, if there are the brightness value of an image-region being 50 in target image, and the brightness value in other regions of Target Photo It is 100, it is different from target image overall brightness value in the image region brightness value, it may be considered that the image-region is abnormal Image-region, alternatively, predetermined luminance difference is 20, and the difference of the brightness value of the brightness value of the image-region and general image It is 50, is greater than predetermined luminance difference, it may be considered that the image-region is abnormal image-region.Judge in target image whether It can be diversified in the presence of the method for abnormal image-region, it is not limited in the embodiment of the present invention.
The embodiment of the present invention provides a kind of method of camera detection, and this method can be applied to mobile terminal, and the movement is whole Packet image pick-up detection device is held, which includes dimming glass, light source and control unit, in which: dimming glass is fixed In the top of camera, control unit is connected with the dimming glass for being fixed with light source, for controlling dimming glass when being powered Pellucidity is converted to, and control dimming glass is converted to non-transparent state when power is off, so that camera is in dimming glass Determine whether camera is abnormal when being shot under effect, light source is fixed on the side of dimming glass, and light source and camera position In not ipsilateral, in this way, being based on above-mentioned image pick-up detection device, the control to the state of dimming glass can be realized by control unit System can find to image immediately by the way that dimming glass is adjusted to non-transparent state come detector lens with the presence or absence of abnormal conditions Head abnormal conditions, improve the detection efficiency of camera abnormal conditions, improve user experience.
Example IV
As shown in figure 8, the embodiment of the present invention provides a kind of camera detecting method, the executing subject of this method can be movement Terminal may include such as the image pick-up detection device in above-described embodiment one and embodiment two in the mobile terminal, wherein the movement Terminal can such as mobile phone, tablet computer, the mobile terminal which can use for user.This method specifically can wrap Include following steps:
In step 802, it in the case where being powered to image pick-up detection device, obtains camera 400 and makees in dimming glass 100 Target image under.
The concrete processing procedure of above-mentioned steps S802 may refer to the related content of step S702 in above-described embodiment three, This is repeated no more.
In step 804, target image is identified, if including that brightness value is less than predetermined luminance threshold value in target image Image-region, it is determined that comprising abnormal image-region in target image, and determine that the camera 400 is abnormal.
In an implementation, after getting target image, target image can be identified by scheduled algorithm, if Identify in target image to include image-region of the brightness value less than predetermined luminance threshold value, it is determined that comprising different in the target image Normal image-region, it is possible to determine that the camera 400 has exception, for example, predetermined luminance threshold value is 80, deposits in the target image In partial region, brightness value is 50, then can determine image-region exception, that is, target image summarizes comprising abnormal image district Domain.
In addition, may include the image-region of one or more exceptions in target image, when there are multiple images regions When brightness value is less than predetermined luminance threshold value, it is possible to determine that multiple images region is abnormal image-region.
In step 806, the corresponding benchmark image of target image is obtained.
Wherein, benchmark image can be the benchmark image stored in mobile terminal, for example, it may be determining camera 400 there is no when exception, and the normal picture that camera 400 is shot under the effect of dimming glass 100 of acquisition is also possible to move The uniform image of overall brightness value stored in terminal.
In step 808, the image information according to benchmark image and target image in abnormal image-region, adjustment camera shooting First 400 the abnormal corresponding imaging area of image-region image compensation information, to be acquired to camera 400 in imaging area Image carry out image compensation.
Wherein, image compensation information can be the characteristics of image according to the abnormal area, carry out shooting tune to camera 400 Whole parameter information.
In an implementation, the benchmark image and target image that will acquire compare, and obtain and there is exception in target image The different information of corresponding region in image-region and benchmark image adjusts camera 400 in abnormal figure according to the different information As the image compensation information of the corresponding imaging area in region, when carrying out normal photographing after camera detection, to camera 400 at this The image of imaging area acquisition carries out image compensation, for example, Fig. 9 (b) is as shown in figure 9, Fig. 9 (a) is the benchmark image obtained The target image of acquisition, c are abnormal area in target image, and d is image-region corresponding with the region c in benchmark image, the region c Brightness value be the region 50, d brightness value 100, the brightness value difference in the region c and the region d is 50, then camera 400 is in the region d Image compensation information is to compensate to the brightness in the region, offset 50.
In step 810, the abnormal prompt information of output camera 400.
In an implementation, when detect camera 400 deposit when abnormal, for avoid camera 400 extremely cause shooting picture Quality is bad, can export the abnormal prompt information of camera 400 to user by mobile terminal, user is reminded to replace camera 400, for example, mobile terminal can export the prompt of the label comprising " camera is abnormal, if continues to use ", "Yes", "No" Frame closes prompting frame if receiving the selection instruction on "Yes" label, opens the preview interface of camera, mentions for user For the shooting function of camera, if receiving the selection instruction on "No" label, camera applications are closed.
The embodiment of the present invention provides a kind of method of camera detection, and this method can be applied to mobile terminal, and the movement is whole Packet image pick-up detection device is held, which includes dimming glass, light source and control unit, in which: dimming glass is fixed In the top of camera, control unit is connected with the dimming glass for being fixed with light source, for controlling dimming glass when being powered Pellucidity is converted to, and control dimming glass is converted to non-transparent state when power is off, so that camera is in dimming glass Determine whether camera is abnormal when being shot under effect, light source is fixed on the side of dimming glass, and light source and camera position In not ipsilateral, in this way, being based on above-mentioned image pick-up detection device, the control to the state of dimming glass can be realized by control unit System can find to image immediately by the way that dimming glass is adjusted to non-transparent state come detector lens with the presence or absence of abnormal conditions Head abnormal conditions, improve the detection efficiency of camera abnormal conditions, improve user experience.
Embodiment five
A kind of hardware structural diagram of Figure 10 mobile terminal of each embodiment to realize the present invention,
The mobile terminal 1000 includes but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, storage The components such as device 1009, processor 1010 and power supply 1011.It will be understood by those skilled in the art that being moved shown in Figure 10 Terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, or Combine certain components or different component layouts.In embodiments of the present invention, mobile terminal includes but is not limited to mobile phone, puts down Plate computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, the image pick-up detection device includes dimming glass, light source and control unit, in which:
The dimming glass is fixed on the top of the camera;
Described control unit is connected with the dimming glass, is converted to for controlling the dimming glass when being powered Bright state, and control the dimming glass when power is off and be converted to non-transparent state, so that the camera is in the light modulation glass Determine whether the camera is abnormal when being shot under the action of glass;
The light source is fixed on the side of the dimming glass, and the light source be located at the camera it is not ipsilateral.
In addition, the image pick-up detection device further includes camera head protecting glass, the image pick-up detection device is located at described take the photograph As between head and the camera head protecting glass.
In addition, the dimming glass is made of liquid crystal layer, the first conductive layer, the second conductive layer and glassy layer, wherein described Liquid crystal layer, first conductive layer and second conductive layer are set in the glassy layer, and the liquid crystal layer, which is located at first, leads Among electric layer and the second conductive layer, first conductive layer is connected to the anode of described control unit by lead, and described second leads Electric layer is connected to the cathode of described control unit by lead.
The embodiment of the present invention provides a kind of mobile terminal, which includes image pick-up detection device, camera detection dress It sets including dimming glass, light source and control unit, in which: dimming glass is fixed on the top of camera, control unit and fixation There is the dimming glass of light source to be connected, is converted to pellucidity for controlling dimming glass when being powered, and control when power is off Dimming glass is converted to non-transparent state, so that whether camera determines camera when being shot under the action of dimming glass Abnormal, light source is fixed on the side of dimming glass, and light source and camera be located at it is not ipsilateral, in this way, based on above-mentioned camera detection Device can realize the control to the state of dimming glass, by the way that dimming glass is adjusted to nontransparent shape by control unit State carrys out detector lens with the presence or absence of abnormal conditions, can find camera abnormal conditions immediately, improve camera abnormal conditions Detection efficiency improves user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 1001 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 1010 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 1001 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 1001 can also by wireless communication system and network and other Equipment communication.
Mobile terminal provides wireless broadband internet by network module 1002 for user and accesses, and such as user is helped to receive It sends e-mails, browse webpage and access streaming video etc..
Audio output unit 1003 can be received by radio frequency unit 1001 or network module 1002 or in memory The audio data stored in 1009 is converted into audio signal and exports to be sound.Moreover, audio output unit 1003 can be with Audio output relevant to the specific function that mobile terminal 1000 executes is provided (for example, call signal receives sound, message sink Sound etc.).Audio output unit 1003 includes loudspeaker, buzzer and receiver etc..
Input unit 1004 is for receiving audio or video signal.Input unit 1004 may include graphics processor (Graphics Processing Unit, GPU) 10041 and microphone 10042, graphics processor 10041 are captured in video In mode or image capture mode by image capture apparatus (such as camera) obtain static images or video image data into Row processing.Treated, and picture frame may be displayed on display unit 1006.Through treated the picture frame of graphics processor 10041 It can store in memory 1009 (or other storage mediums) or carried out via radio frequency unit 1001 or network module 1002 It sends.Microphone 10042 can receive sound, and can be audio data by such acoustic processing.Audio that treated Data can be converted to the lattice that mobile communication base station can be sent to via radio frequency unit 1001 in the case where telephone calling model Formula output.
Mobile terminal 1000 further includes at least one sensor 1005, for example, optical sensor, motion sensor and other Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring The light and shade of border light adjusts the brightness of display panel 10061, proximity sensor can when mobile terminal 1000 is moved in one's ear, Close display panel 10061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile terminal appearance when static State (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) Deng;Sensor 1005 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, gas Meter, hygrometer, thermometer, infrared sensor etc. are pressed, details are not described herein.
Display unit 1006 is for showing information input by user or being supplied to the information of user.Display unit 1006 can Including display panel 10061, liquid crystal display (Liquid Crystal Display, LCD), organic light-emitting diodes can be used Forms such as (Organic Light-Emitting Diode, OLED) are managed to configure display panel 10061.
User input unit 1007 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 1007 include touch panel 10071 with And other input equipments 10072.Touch panel 10071, also referred to as touch screen collect the touch behaviour of user on it or nearby Make (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 10071 or in touch panel Operation near 10071).Touch panel 10071 may include both touch detecting apparatus and touch controller.Wherein, it touches The touch orientation of detection device detection user is touched, and detects touch operation bring signal, transmits a signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 1010, It receives the order that processor 1010 is sent and is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface The multiple types such as sound wave realize touch panel 10071.In addition to touch panel 10071, user input unit 1007 can also include Other input equipments 10072.Specifically, other input equipments 10072 can include but is not limited to physical keyboard, function key (ratio Such as volume control button, switch key), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 10071 can be covered on display panel 10061, when touch panel 10071 detects After touch operation on or near it, processor 1010 is sent to determine the type of touch event, is followed by subsequent processing device 1010 Corresponding visual output is provided on display panel 10061 according to the type of touch event.Although in fig. 8, touch panel 10071 It is the function that outputs and inputs of realizing mobile terminal as two independent components with display panel 10061, but certain In embodiment, can be integrated by touch panel 10071 and display panel 10061 and that realizes mobile terminal output and input function Can, specifically herein without limitation.
Interface unit 1008 is the interface that external device (ED) is connect with mobile terminal 1000.For example, external device (ED) may include Wired or wireless headphone port, external power supply (or battery charger) port, wired or wireless data port, storage card Port, port, the port audio input/output (I/O), video i/o port, earphone for connecting the device with identification module Port etc..Interface unit 1008 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) simultaneously And by one or more elements that the input received is transferred in mobile terminal 1000 or it can be used in mobile terminal Data are transmitted between 1000 and external device (ED).
Memory 1009 can be used for storing software program and various data.Memory 1009 can mainly include storage program Area and storage data area, wherein storing program area can application program needed for storage program area, at least one function (such as Sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses created data (ratio according to mobile phone Such as audio data, phone directory) etc..In addition, memory 409 may include high-speed random access memory, it can also include non- Volatile memory, for example, at least a disk memory, flush memory device or other volatile solid-state parts.
Processor 1010 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 1009, and calls and is stored in storage Data in device 1009 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 1010 may include one or more processing units;Preferably, processor 1010 can integrate application processor and modulation /demodulation Processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor master Handle wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1010.
Mobile terminal 1000 can also include the power supply 1011 (such as battery) powered to all parts, it is preferred that power supply 1011 can be logically contiguous by power-supply management system and processor 1010, to realize that management is filled by power-supply management system The functions such as electricity, electric discharge and power managed.
Preferably, the embodiment of the present invention also provides a kind of mobile terminal, including processor 1010, memory 1009, storage On memory 1009 and the computer program that can run on the processor 1010, the computer program is by processor 1010 Each process of above-mentioned camera detecting method embodiment is realized when execution, and can reach identical technical effect, to avoid repeating, Which is not described herein again.
Embodiment six
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program, the computer program realize each process of above-mentioned camera detecting method embodiment, and energy when being executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic or disk etc..
The embodiment of the present invention provides a kind of computer readable storage medium, by above-mentioned image pick-up detection device, can pass through Control unit is realized to the control of the state of dimming glass, is by the way that dimming glass is adjusted to non-transparent state come detector lens No there are abnormal conditions, can find camera abnormal conditions immediately, improve the detection efficiency of camera abnormal conditions, improve and use Family experience.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that the embodiment of the present invention can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above description is only an embodiment of the present invention, is not intended to restrict the invention.For those skilled in the art For, the invention may be variously modified and varied.All any modifications made within the spirit and principles of the present invention are equal Replacement, improvement etc., should be included within scope of the presently claimed invention.

Claims (8)

1. a kind of image pick-up detection device, the image pick-up detection device is applied to camera assembly, which is characterized in that the camera detection Device includes dimming glass, light source and control unit, in which:
The dimming glass is fixed on the top of the camera;
Described control unit is connected with the dimming glass, is converted to transparence for controlling the dimming glass when being powered State, and control the dimming glass when power is off and be converted to non-transparent state, so that the camera is in the dimming glass Determine whether the camera is abnormal when being shot under effect;
The light source is fixed on the side of the dimming glass, and the light source be located at the camera it is not ipsilateral.
2. image pick-up detection device according to claim 1, which is characterized in that the image pick-up detection device further includes camera Glass is protected, the image pick-up detection device is between the camera and the camera head protecting glass.
3. image pick-up detection device according to claim 2, which is characterized in that the dimming glass is led by liquid crystal layer, first Electric layer, the second conductive layer and glassy layer composition, wherein the liquid crystal layer, first conductive layer and second conductive layer are set It is placed in the glassy layer, the liquid crystal layer is located among the first conductive layer and the second conductive layer, and first conductive layer is by drawing Line is connected to the anode of described control unit, and second conductive layer is connected to the cathode of described control unit by lead.
4. a kind of mobile terminal, which is characterized in that including image pick-up detection device as claimed in any one of claims 1-3.
5. a kind of camera detecting method, which is characterized in that the method is applied to mobile terminal as claimed in claim 4, institute The method of stating includes:
In the case where being powered to image pick-up detection device, target image of the camera under dimming glass effect is obtained;
If determining that the camera is abnormal comprising abnormal image-region in the target image.
6. camera detecting method according to claim 5, which is characterized in that if comprising abnormal in the target image Image-region, then determine that the camera is abnormal, comprising:
The target image is identified, if in the target image including the image district that brightness value is less than predetermined luminance threshold value Domain, it is determined that comprising abnormal image-region in the target image, and determine that the camera is abnormal.
7. camera detecting method according to claim 6, which is characterized in that if comprising abnormal in the target image Image-region, then after determining the camera exception, the method also includes:
Obtain the corresponding benchmark image of the target image;
According to the benchmark image and the target image in the image information of the abnormal image-region, the camera shooting is adjusted Head the corresponding imaging area of the abnormal image-region image compensation information, with to the camera in the imaging region The image of domain acquisition carries out image compensation.
8. camera detecting method according to claim 5, which is characterized in that if comprising abnormal in the target image Image-region, then after determining the camera exception, the method also includes:
Export the prompt information of the camera exception.
CN201811580975.0A 2018-12-24 2018-12-24 Camera detection device and method and mobile terminal Active CN109729344B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811580975.0A CN109729344B (en) 2018-12-24 2018-12-24 Camera detection device and method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811580975.0A CN109729344B (en) 2018-12-24 2018-12-24 Camera detection device and method and mobile terminal

Publications (2)

Publication Number Publication Date
CN109729344A true CN109729344A (en) 2019-05-07
CN109729344B CN109729344B (en) 2020-10-30

Family

ID=66297226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811580975.0A Active CN109729344B (en) 2018-12-24 2018-12-24 Camera detection device and method and mobile terminal

Country Status (1)

Country Link
CN (1) CN109729344B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519568A (en) * 2019-09-05 2019-11-29 郑州维纳实验设备有限公司 A kind of adaptive switched infrared surveillance equipment of magnetic ejector half
CN111405153A (en) * 2020-03-13 2020-07-10 维沃移动通信有限公司 Electronic device
CN111510622A (en) * 2020-04-01 2020-08-07 Oppo广东移动通信有限公司 Image processing method, device, terminal and storage medium
CN111866501A (en) * 2019-12-20 2020-10-30 昆山丘钛微电子科技有限公司 Camera module detection method and device, electronic equipment and medium
CN112034639A (en) * 2020-08-04 2020-12-04 贵州乐道科技有限公司 Method for attaching mobile phone cover plate glass and liquid crystal display
CN112911280A (en) * 2021-02-04 2021-06-04 广东小天才科技有限公司 Lens state detection method and device, electronic equipment and storage medium
CN115297240A (en) * 2022-08-02 2022-11-04 西安紫光展锐科技有限公司 Camera assembly and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009774A (en) * 2006-01-24 2007-08-01 佳能株式会社 Imaging apparatus and control method
CN103064246A (en) * 2013-01-30 2013-04-24 信利光电(汕尾)有限公司 Camera module test platform
CN103546740A (en) * 2013-09-03 2014-01-29 小米科技有限责任公司 Method and device for detecting camera and terminal equipment
CN104539939A (en) * 2014-12-17 2015-04-22 惠州Tcl移动通信有限公司 Lens cleanliness detection method and system based on mobile terminal
CN106572349A (en) * 2016-11-18 2017-04-19 维沃移动通信有限公司 Camera cleanliness detection method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009774A (en) * 2006-01-24 2007-08-01 佳能株式会社 Imaging apparatus and control method
CN103064246A (en) * 2013-01-30 2013-04-24 信利光电(汕尾)有限公司 Camera module test platform
CN103546740A (en) * 2013-09-03 2014-01-29 小米科技有限责任公司 Method and device for detecting camera and terminal equipment
CN104539939A (en) * 2014-12-17 2015-04-22 惠州Tcl移动通信有限公司 Lens cleanliness detection method and system based on mobile terminal
CN106572349A (en) * 2016-11-18 2017-04-19 维沃移动通信有限公司 Camera cleanliness detection method and mobile terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519568A (en) * 2019-09-05 2019-11-29 郑州维纳实验设备有限公司 A kind of adaptive switched infrared surveillance equipment of magnetic ejector half
CN111866501A (en) * 2019-12-20 2020-10-30 昆山丘钛微电子科技有限公司 Camera module detection method and device, electronic equipment and medium
CN111405153A (en) * 2020-03-13 2020-07-10 维沃移动通信有限公司 Electronic device
CN111510622A (en) * 2020-04-01 2020-08-07 Oppo广东移动通信有限公司 Image processing method, device, terminal and storage medium
CN111510622B (en) * 2020-04-01 2021-10-26 Oppo广东移动通信有限公司 Image processing method, device, terminal and storage medium
CN112034639A (en) * 2020-08-04 2020-12-04 贵州乐道科技有限公司 Method for attaching mobile phone cover plate glass and liquid crystal display
CN112911280A (en) * 2021-02-04 2021-06-04 广东小天才科技有限公司 Lens state detection method and device, electronic equipment and storage medium
CN112911280B (en) * 2021-02-04 2022-03-01 广东小天才科技有限公司 Lens state detection method and device, electronic equipment and storage medium
CN115297240A (en) * 2022-08-02 2022-11-04 西安紫光展锐科技有限公司 Camera assembly and electronic equipment

Also Published As

Publication number Publication date
CN109729344B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN109729344A (en) A kind of image pick-up detection device, method and mobile terminal
CN208862900U (en) A kind of display panel and terminal device
CN107682616B (en) Control method, camera cover and mobile terminal
CN110069306A (en) A kind of message display method and terminal device
CN108268188B (en) A kind of control method and mobile terminal of display screen
CN110134356A (en) A kind of throwing screen method and terminal
CN107181559B (en) Processing method, device, storage medium and the terminal of radio frequency interference
CN108536365A (en) A kind of images share method and terminal
CN108052368B (en) A kind of application display interface control method and mobile terminal
CN109542282A (en) A kind of interface display method and terminal device
CN110413364A (en) A kind of information processing method and terminal
CN109639897A (en) A kind of light transmission method and device
CN109743498A (en) A kind of shooting parameter adjustment method and terminal device
CN109828732A (en) A kind of display control method and terminal device
CN108628568A (en) A kind of display methods of information, device and terminal device
CN108429888A (en) The method and mobile terminal of light filling
CN110162254A (en) A kind of display methods and terminal device
CN109917995A (en) A kind of object processing method and terminal device
CN109257463A (en) A kind of terminal device and its control method
CN107295251B (en) Image processing method, device, terminal and storage medium
CN108763317A (en) A kind of auxiliary chooses the method and terminal device of picture
CN109857289A (en) Display control method and terminal device
CN107957843A (en) A kind of control method and mobile terminal
CN108803197A (en) A kind of optical texture, imaging device, electronic equipment and quantity-of-light adjusting method
CN110223237A (en) Adjust the method and terminal device of image parameter

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