CN106200932A - Control method, control device and electronic installation - Google Patents
Control method, control device and electronic installation Download PDFInfo
- Publication number
- CN106200932A CN106200932A CN201610507737.1A CN201610507737A CN106200932A CN 106200932 A CN106200932 A CN 106200932A CN 201610507737 A CN201610507737 A CN 201610507737A CN 106200932 A CN106200932 A CN 106200932A
- Authority
- CN
- China
- Prior art keywords
- electronic installation
- image
- ambient image
- environment
- judge
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- 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/10004—Still image; Photographic image
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a kind of control method, for controlling the screen of electronic installation, electronic installation includes image acquiring device;Control method includes: controls image acquiring device and obtains the ambient image of electronic installation local environment;Processing environment image is to judge whether electronic installation is in highlighted environment;If so, send warning or close screen.Highlighted environment refers to the environment that extraneous light is stronger, the such as open air of sun direct projection, and in embodiment of the present invention, the ambient image shot by image acquiring device judges whether electronic installation is in highlighted environment.The most then use some eye protection measures, such as, warn or close screen, so, can remind or avoid user to watch screen under high light, thus reduce the injury to eyes.The invention also discloses a kind of control device and electronic installation.
Description
Technical field
The present invention relates to shooting technology, particularly to a kind of control method, control device and electronic installation.
Background technology
The electronic installations such as mobile phone are when being in highlighted environment, if user persistently watches screen, can damage eyes.Existing
Technology is had to be only capable of according to ambient brightness regulation screen intensity to help user to see clearly, but, this is not sufficient to protection and uses
The eyes at family, the most likely injure vision.
Summary of the invention
Embodiments of the present invention are intended at least to solve one of technical problem present in prior art.To this end, the present invention
Embodiment need a kind of control method to be provided, controls device and electronic installation.
The invention provides a kind of control method, for controlling the screen of electronic installation, described electronic installation includes image
Acquisition device;Described control method includes:
Control described image acquiring device and obtain the ambient image of described electronic installation local environment;
Process described ambient image to judge whether described electronic installation is in highlighted environment;If so, send warning or close
Close described screen.
Highlighted environment refers to the environment that extraneous light is stronger, the such as open air of sun direct projection, in embodiment of the present invention, passes through
The ambient image of image acquiring device shooting judges whether electronic installation is in highlighted environment.The most then use some eye protections
Measure, such as, warn or close described screen, so, can remind or avoid user to watch screen under high light, thus reduce right
The injury of eyes.Some problem of prior art can be solved.
In some embodiments, the described ambient image of described process is to judge whether described electronic installation is in high bright ring
The step in border includes:
Calculate the brightness of described ambient image;
Judge that described electronic installation is in highlighted environment when the brightness of described ambient image is more than the first predetermined luminance.
In some embodiments, described ambient image is rgb format;The step of the brightness of the described ambient image of described calculating
Suddenly include:
Described ambient image is converted into HSL form;And
Calculate the meansigma methods of the brightness value of each pixel in described ambient image and using described meansigma methods as described environment
The brightness of image.
In some embodiments, the described ambient image of described process is to judge whether described electronic installation is in high bright ring
The step in border judges that described electronic installation is in highlighted environment when comprising intense light source in described ambient image being detected.
In some embodiments, the described ambient image of described process is to judge whether described electronic installation is in high bright ring
The step in border includes:
Statistics is more than the number of the mistake bright pixel of the second predetermined luminance;
Judge that the described number of bright pixel of crossing, whether more than predetermined number, if so, judges that described electronic installation is in highlighted
Environment.
In some embodiments, described control method includes:
Obtain described electronic installation location information;
According to described positional information judge described electronic installation whether by indoor moving to open air, if so, trigger described
Control the step that described image acquiring device obtains the ambient image of described electronic installation local environment.
In some embodiments, described image acquiring device includes front-facing camera.
In some embodiments, described image acquiring device includes multiple, and each described image acquiring device obtains extremely
A few described ambient image;
The described ambient image of described process is to judge whether described electronic installation is in the step of highlighted environment and is detecting
The described ambient image that any one described image acquiring device is corresponding meets the described electronic installation of judgement and is in highlighted environment
Judge during condition that described electronic installation is in highlighted environment.
In some embodiments, send warning described in or close the step of described screen and be in height at described electronic installation
The time in bright ring border reaches to send during the first permission time warning or is in time of highlighted environment at described electronic installation and reaches
Second allows to close described screen during the time;Described second allows the time to allow the time more than described first.
The present invention also provides for a kind of control device, for controlling the screen of electronic installation, in some embodiments, described
Electronic installation includes image acquiring device;Described control device includes:
Image collection module, obtains the environment map of described electronic installation local environment for controlling described image acquiring device
Picture;
Judge module, is used for processing described ambient image to judge whether described electronic installation is in highlighted environment;
Protection module, is used for sending warning or closing described screen.
In some embodiments, described judge module includes:
Computing module, for calculating the brightness of described ambient image;
Determination module, for judging at described electronic installation when the brightness of described ambient image is more than the first predetermined luminance
In highlighted environment.
In some embodiments, described ambient image is rgb format;Described calculating sub module includes:
Image conversion module, for being converted into HSL form by described ambient image;And
Mean value computation module, for calculating the meansigma methods of the brightness value of each pixel in described ambient image and by described flat
Average is as the brightness of described ambient image.
In some embodiments, described judge module is sentenced in time comprising intense light source in described ambient image being detected
Fixed described electronic installation is in highlighted environment.
In some embodiments, described judge module includes:
Statistical module, is more than the number of the mistake bright pixel of the second predetermined luminance for statistics;
Pixel judge module, for judging that whether the described number of bright pixel of crossing is more than predetermined number and when being judged as YES
Judge that described electronic installation is in highlighted environment.
In some embodiments, described control device includes:
Position acquisition module, is used for obtaining described electronic installation location information;
Position judging module, for according to described positional information judge described electronic installation whether by indoor moving to family
Outer and trigger described image collection module when being judged as YES.
In some embodiments, described image acquiring device includes front-facing camera.
In some embodiments, described image acquiring device includes multiple, and each described image acquiring device obtains extremely
A few described ambient image;
Described judge module is for detecting that the described ambient image that any one described image acquiring device is corresponding is full
Foot judges to judge that described electronic installation is in highlighted environment when described electronic installation is in the condition of highlighted environment.
In some embodiments, described protection module reached for the time being in highlighted environment at described electronic installation
First allows send warning during the time or close when the time that described electronic installation is in highlighted environment reached for the second permission time
Close described screen;Described second allows the time to allow the time more than described first.
The electronic installation of embodiment of the present invention, in some embodiments, including institute in screen and above-mentioned embodiment
The control device stated.
The additional aspect of embodiments of the present invention and advantage will part be given in the following description, and part will be from following
Description in become obvious, or recognized by the practice of embodiments of the present invention.
Accompanying drawing explanation
Above-mentioned and/or the additional aspect of embodiments of the present invention and advantage are from combining accompanying drawings below to embodiment
Description will be apparent from easy to understand, wherein:
Fig. 1 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 2 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 3 is the signal in kind of the electronic installation of some embodiment of the present invention.
Fig. 4 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 5 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 6 is the schematic flow sheet of the control method of some embodiment of the present invention.
Fig. 7 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Fig. 8 is the principle schematic of the control method of some embodiment of the present invention.
Fig. 9 is the schematic flow sheet of the control method of some embodiment of the present invention.
Figure 10 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Figure 11 is the principle schematic of the control method of some embodiment of the present invention.
Figure 12 is the schematic flow sheet of the control method of some embodiment of the present invention.
Figure 13 is electronic installation and the high-level schematic functional block diagram of control device of some embodiment of the present invention.
Figure 14 is the principle schematic of the control method of some embodiment of the present invention.
Detailed description of the invention
Embodiments of the present invention are described below in detail, and the example of embodiment is shown in the drawings, the most identical or class
As label represent same or similar element from start to finish or there is the element of same or like function.Below with reference to attached
The embodiment that figure describes is exemplary, can only be used to explain embodiments of the present invention, and it is not intended that to the present invention
The restriction of embodiment.
Refer to Fig. 1-3, the control method of embodiment of the present invention, can be used for controlling the screen 130 of electronic installation 100,
Electronic installation 100 can include image acquiring device 170;Control method comprises the steps that
S1, controls image acquiring device 170 and obtains the ambient image of electronic installation 100 local environment;
S2, processing environment image is to judge whether electronic installation 100 is in highlighted environment;
S3, sends warning or closes screen 130 when S2 is judged as YES.
The control device 110 of embodiment of the present invention can include image collection module 111, judge module 112, protection module
113, can be respectively used to realize S1, S2 and S3.Obtain it is to say, image collection module 111 is used for controlling image acquiring device 170
Take the ambient image of electronic installation 100 local environment, it is judged that module 112 is used for processing environment image to judge electronic installation 100
Whether being in highlighted environment, protection module 113 is used for sending warning or closing screen 130.
Referring to Fig. 3, the device 110 that controls of embodiment of the present invention can be applicable to the electronic installation of embodiment of the present invention
100.Electronic installation 100 can be mobile phone.Electronic installation 100 can include image acquiring device 170 and light sensor 150.Figure
As acquisition device 170 can be photographic head.
The electronic installations such as mobile phone 100 are when being in highlighted environment, if user persistently watches screen 130, can cause eyes
Injury.Prior art is only capable of according to ambient brightness regulation screen 130 brightness to help user to see clearly, but, this is not
Be enough to protect the eyes of user, the most likely injure vision.
Highlighted environment refers to the environment that extraneous light is stronger, the such as open air of sun direct projection, in embodiment of the present invention, passes through
The ambient image of image acquiring device 170 shooting judges whether electronic installation 100 is in highlighted environment.The most then use one
A little eye protection measures, such as, warn or close screen 130, so, can remind or avoid user to watch screen 130 under high light, from
And reduce the injury to eyes.
Image acquiring device 170 can be photographic head, such as front-facing camera and post-positioned pick-up head.Major part mobile phone is all at present
It is provided with light sensor 150, can be used for sensing ambient brightness.But light sensor 150 is only capable of the brightest of the sensing external world
Degree situation, and the image of photographic head shooting is through Treatment Analysis, can understand the concrete brightness case in the external world more meticulously.Such as light
Relatively low ambient brightness may be sensed when line sensor 150 is at least partially obscured, and when photographic head is at least partially obscured, shooting
Image may be divided into dark region and brighter region, if brighter region is the brightest or area is sufficiently large, remains to explanation electricity
Sub-device 100 is likely to be at highlighted environment.
In some embodiments, image acquiring device 170 is front-facing camera.The ambient image of front-facing camera shooting
The intense light source on the user crown can be detected when user bows viewing screen 130, illustrate that user is under the direct projection of intense light source
Viewing mobile phone screen 130.On the one hand screen 130 can reflect the high light of intense light source, and on the other hand, currently the majority mobile phone all can
Heightening screen 130 brightness according to outside high light, eyes also can be damaged by the high light that screen 130 sends itself.Therefore, inspection
After measuring intense light source, warn or close screen 130, to realize eye protection.So, can reduce under intense light source, watch screen 130
Situation.
S2 judging, whether electronic installation 100 is in the concrete grammar of highlighted environment and can include following two: computing environment
The brightness of image, judges according to brightness;According to whether ambient image has intense light source judge.But, it is judged that electronic installation 100 is
The no concrete grammar being in highlighted environment is not limited to both.
Referring to Fig. 4-5, in some embodiments, S2 comprises the steps that
S201, the brightness of computing environment image;
S202, judges that when the brightness of ambient image is more than the first predetermined luminance electronic installation 100 is in highlighted environment.
In the control device 110 of some embodiment, it is judged that module 112 can include computing module 1121 and determination module
1122, can be respectively used to realize S201 and S202.It is to say, computing module 1121 is for the brightness of computing environment image, sentence
Cover half block 1122 is for judging that when the brightness of ambient image is more than the first predetermined luminance electronic installation 100 is in highlighted environment.
The brightness of ambient image can be the overall brightness of ambient image, such as, calculate brightness the brightest of all pixels
Spend the brightness as ambient image.Predeterminable first predetermined luminance, if the brightness of ambient image is more than the first predetermined luminance, explanation
The overall brightness of external environment condition is higher, therefore, it is determined that electronic installation 100 is in highlighted environment.This determination methods is simple and sentences
Disconnected accuracy is high.
Concrete, refer to Fig. 6-7, in some embodiments, ambient image is rgb format, and S201 comprises the steps that
S2011, is converted into HSL form by ambient image;And
S2012, in computing environment image the brightness value of each pixel meansigma methods and using meansigma methods as ambient image
Brightness.
In the control device 110 of some embodiment, computing module 1121 can include image conversion module 112a and all
Value computing module 112b, can be respectively with realizing S2011 and S2012, i.e. image conversion module 112a is for converting ambient image
For HSL form, mean value computation module 112b is used for the meansigma methods of the brightness value of each pixel in computing environment image and by average
It is worth the brightness as ambient image.
HSL is a kind of color standard of industrial quarters, is by leading to form and aspect (H), saturation (S), three colors of lightness (L)
The change in road and their superpositions each other obtain color miscellaneous.The unprocessed form of general environment image is
GRB form, is translated into HSL form, thus conveniently obtains the brightness value of each pixel, be i.e. lightness (L).And then conveniently calculate flat
All brightness.
Referring to Fig. 8, about the method whether having intense light source in detection ambient image, in some embodiment, S2 is in inspection
Measure and when ambient image comprises intense light source, judge that electronic installation 100 is in highlighted environment.
Intense light source presents and has certain feature in the picture, the region that the most a piece of brightness is high, and the closer to this
The center in region, brightness is the highest, further away from center, descending luminance.According to the feature of intense light source, use certain image processing method
Method, may recognize that intense light source is come.If intense light source having been detected, illustrating whether electronic installation 100 is in highlighted environment, using warning
Or closedown measure.So, the accuracy judging whether electronic installation 100 is in highlighted environment can be promoted, reduce erroneous judgement.
Image acquiring device 170 can be front-facing camera or post-positioned pick-up head.
Such as, referring to Fig. 8, image acquiring device 170 is front-facing camera, and electronic installation 100 is mobile phone.User is at family
During outer use mobile phone, if the crown has the sun, user to bow watches screen 130, then can in the ambient image of front-facing camera shooting
Can there be intense light source, the i.e. sun, illustrate that user is viewing mobile phone screen 130 under the direct projection of intense light source.On the one hand screen 130 meeting
The high light of reflection intense light source, on the other hand, currently the majority mobile phone all can heighten screen 130 brightness according to outside high light, screen
Eyes also can be damaged by the high light that curtain 130 sends itself.Therefore, after intense light source being detected, warn or close screen 130,
To realize eye protection.So, the situation watching screen 130 under intense light source can be reduced.
And for example, image acquiring device 170 is post-positioned pick-up head, and electronic installation 100 is mobile phone.User indoor at night lie in
When using mobile phone on bed, ceiling is outstanding lamp, if having intense light source in the ambient image of post-positioned pick-up head shooting, i.e. has lamp, explanation
The eyes of user are directed towards lamp, and light direct projection is pleasing to the eye, and the light that addition screen 130 sends injects eye, bigger to eye injury.
Therefore, after intense light source being detected, warn or close screen 130, to realize eye protection.So, can eyes by the light direct beam of intense light source
Situation about stimulating.
Additionally, refer to Fig. 9-11, in some embodiments, S2 comprises the steps that
S204, statistics is more than the number of the mistake bright pixel of the second predetermined luminance;
S205, it is judged that whether the number crossing bright pixel is more than predetermined number and judges electronic installation 100 when being judged as YES
It is in highlighted environment.
In the control device 110 of some embodiment, it is judged that module 112 can include that statistical module 1124 and pixel judge
Module 1125, can be respectively used to realize S204 and S205.It is to say, statistical module 1124 makes a reservation for bright for statistics more than second
The number of mistakes bright pixel of degree, pixel judge module 1125 for the number judging bright pixel whether be more than predetermined number and
Judge when being judged as YES that electronic installation 100 is in highlighted environment.
Referring to Figure 11, this determination methods is similar with the determination methods of the detection of intense light source.Overly bright region is sufficiently large, i.e. recognizes
Determine electronic installation 100 and be in highlighted environment.But, overly bright region is sufficiently large has not necessarily represented intense light source.Sometimes Image Acquisition
Device 170, as photographic head can be at least partially obscured, causes the truth that can not completely take outside.Such as, the environment map taken
As 2/3rds is that 1/3rd is the brighter areas that can reflect truth because blocking the dark area caused.Therefore, should be
The focus of detection is placed in brighter areas, if brighter areas comprises abundant mistake bright pixel, it is meant that at electronic installation 100
In highlighted environment.So, the accuracy judging whether electronic installation 100 is in highlighted environment can be promoted, reduce erroneous judgement.
Referring to Figure 12-14, in some embodiments, control method comprises the steps that
S5, obtains electronic installation 100 location information;
According to positional information, S6, judges whether electronic installation 100 and is touched to open air when being judged as YES by indoor moving
Send out S1.
In some embodiments, control device 110 and can include position acquisition module 115 and position judging module 116, can
It is respectively used to realize S5 and S6.It is to say, position acquisition module 115 is used for obtaining electronic installation 100 location information,
Position judging module 116 for according to positional information judge electronic installation 100 whether by indoor moving to outdoor and in judgement
Image collection module 111 is triggered during for being.
Position acquisition module 115 can first pass through global positioning system 180 (GPS) and obtain the position letter of electronic installation 100
According to positional information, breath, can judge that the position being presently in is outdoor or indoor.Electronic installation is judged further according to positional information
100 is the most indoor by open air entrance or outdoor by indoor entrance.Such as, map can be found in map application by GPS
The location point of upper correspondence, if this location point is positioned at the buildings such as office building, residential building, dining room or market, can determine whether to be positioned at room
In, if this location point is positioned at highway, square or park, can determine whether to be positioned at open air.Such as, user is mobile by the A point in office building
Arrived the B point on road, can determine whether its by indoor to open air, therefore trigger S1 and other steps, with detection. electronics 100
Whether it is in highlighted environment and uses corresponding eye protection measure.
So, it is not required to user's manual operation, can intelligently, automatically judge user's location and scene, work as scene
Detect external environment condition during switching and trigger eye protection measure, beneficially eye protection and lifting Consumer's Experience in good time.
In some embodiments, image acquiring device 170 can include multiple, each image acquiring device 170 obtain to
A few ambient image;
S2 meets in the ambient image any one image acquiring device 170 correspondence being detected and judges at electronic installation 100
When the condition of highlighted environment, judge that electronic installation 100 is in highlighted environment.
Such as, image acquiring device 170 can include front-facing camera and post-positioned pick-up head.S1 controls front-facing camera respectively
And post-positioned pick-up head shoots to obtain front ambient image and rear ambient image respectively.As long as the two ambient image has one
When individual satisfied judgement electronic installation 100 is in the condition of highlighted environment, it is considered as whether electronic installation 100 is in highlighted environment.
Such as judge that electronic installation 100 is in the condition of highlighted environment as comprising intense light source, as long as then the two ambient image has one
Comprise intense light source, or both comprise intense light source, i.e. can determine that electronic installation 100 is in the eye protection of highlighted environmental triggers S3 and arranges
Execute.
Reason is that the angle of different images acquisition device 170 shooting is different, it is thus possible to obtain different ambient image, but
As long as there being an angle to be in highlighted environment, just be enough to the eyes of user are damaged, as long as therefore there being an angle to be in
Highlighted environment just should use eye protection measure.So, the sensing caused because of shooting angle can be reduced inaccurate.
In some embodiments, S3 is when the time that electronic installation 100 is in highlighted environment reached for the first permission time
Send warning or close screen 130 when the time that electronic installation 100 is in highlighted environment reached for the second permission time;Second permits
Time of being permitted is more than the first permission time.
During it is to say, electronic installation 100 has just been in the highlighted environment a bit of time, first user can be sent warning, if
User ignores warning, after electronic installation 100 is in the highlighted environment long period, turns off screen 130.So, police is first sent
Show to facilitate user to terminate the thing just processed on electronic installation 100, attend the meeting to eyes in the time length being in highlighted environment
Turn off screen 130 when causing relatively major injury, so arrange more humane, Consumer's Experience can be promoted.Wherein, first the time is allowed
Can be 0, i.e. detect whether electronic installation 100 is in highlighted environment and sends warning the most at once.
Such as, warning is sent when electronic installation 100 is in the 1 minute time of highlighted environment or at electronic installation 100
Screen 130 is closed when the time of highlighted environment reaches 5 minutes.
Other parts not deployed in the electronic installation 100 of embodiment of the present invention, see the control of embodiment of above
Method processed or the corresponding part of control device 110, be no longer developed in details at this.
In the description of embodiments of the present invention, it is to be understood that term " " center ", " longitudinally ", " laterally ", " length
Degree ", " width ", " thickness ", " on ", D score, "front", "rear", "left", "right", " vertically ", " level ", " top ", " end ", " interior ",
Orientation or the position relationship of the instruction such as " outward ", " clockwise ", " counterclockwise " are based on orientation shown in the drawings or position relationship, only
It is necessary for the ease of describing embodiments of the present invention and simplification description rather than instruction or the device of hint indication or element
There is specific orientation, with specific azimuth configuration and operation, therefore it is not intended that restriction to embodiments of the present invention.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance or implicit
Indicate the quantity of indicated technical characteristic.Thus, define " first ", the feature of " second " can be expressed or impliedly wrap
Include one or more described features.In the description of embodiments of the present invention, " multiple " are meant that two or two
Above, unless otherwise expressly limited specifically.
In the description of embodiments of the present invention, it should be noted that unless otherwise clearly defined and limited, term
" install ", " being connected ", " connection " should be interpreted broadly, and connect for example, it may be fixing, it is also possible to be to removably connect, or one
Body ground connects;Can be mechanically connected, it is also possible to be electrical connection or can mutually communication;Can be to be joined directly together, it is also possible to logical
Cross intermediary to be indirectly connected to, can be connection or the interaction relationship of two elements of two element internals.For ability
For the those of ordinary skill in territory, above-mentioned term specifically containing in embodiments of the present invention can be understood as the case may be
Justice.
In embodiments of the present invention, unless otherwise clearly defined and limited, fisrt feature second feature it
On " " or D score can include that the first and second features directly contact, it is also possible to include that the first and second features are not directly to connect
Touch but by the other characterisation contact between them.And, fisrt feature second feature " on ", " top " and " on
Face " include fisrt feature directly over second feature and oblique upper, or it is special higher than second to be merely representative of fisrt feature level height
Levy.Fisrt feature second feature " under ", " lower section " and " below " include that fisrt feature is directly over second feature and tiltedly on
Side, or it is merely representative of fisrt feature level height less than second feature.
Following disclosure provides many different embodiments or example for realizing embodiments of the present invention not
Same structure.In order to simplify the disclosure of embodiments of the present invention, hereinafter parts and setting to specific examples are described.When
So, they are the most merely illustrative, and are not intended to limit the present invention.Additionally, embodiments of the present invention can be in different examples
Repeat reference numerals and/or reference letter in son, this repetition is for purposes of simplicity and clarity, and itself does not indicate and is begged for
Relation between the various embodiments of opinion and/or setting.Additionally, the various specific technique that embodiments of the present invention provide
With the example of material, but those of ordinary skill in the art are it can be appreciated that the making of the application of other techniques and/or other materials
With.
In the description of this specification, reference term " embodiment ", " some embodiments ", " schematically implement
Mode ", " example ", the description of " concrete example " or " some examples " etc. mean to combine described embodiment or example describes tool
Body characteristics, structure, material or feature are contained at least one embodiment or the example of the present invention.In this manual,
The schematic representation of above-mentioned term is not necessarily referring to identical embodiment or example.And, the specific features of description, knot
Structure, material or feature can combine in any one or more embodiments or example in an appropriate manner.
In flow chart or at this, any process described otherwise above or method description are construed as, and expression includes
One or more is for realizing the module of code, fragment or the portion of the executable instruction of the step of specific logical function or process
Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not by shown or discuss suitable
Sequence, including according to involved function by basic mode simultaneously or in the opposite order, performs function, and this should be by the present invention
Embodiment person of ordinary skill in the field understood.
Represent in flow charts or the logic described otherwise above at this and/or step, for example, it is possible to be considered as to use
In the sequencing list of the executable instruction realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (system such as computer based system, including processor or other can hold from instruction
Row system, device or equipment instruction fetch also perform the system instructed) use, or combine these instruction execution systems, device or set
Standby and use.For the purpose of this specification, " computer-readable medium " can be any can to comprise, store, communicate, propagate or pass
Defeated program is for instruction execution system, device or equipment or combines these instruction execution systems, device or equipment and the dress that uses
Put.The more specifically example (non-exhaustive list) of computer-readable medium includes following: have the electricity of one or more wiring
Connecting portion (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read only memory
(ROM), erasable read only memory (EPROM or flash memory), the fiber device edited, and portable optic disk is read-only deposits
Reservoir (CDROM).It addition, computer-readable medium can even is that and can print the paper of described program thereon or other are suitable
Medium, because then can carry out editing, interpreting or if desired with it such as by paper or other media are carried out optical scanning
His suitable method is processed to electronically obtain described program, is then stored in computer storage.
Should be appreciated that each several part of embodiments of the present invention can use hardware, software, firmware or combinations thereof to come in fact
Existing.In the above-described embodiment, multiple steps or method can be with storing in memory and by suitable instruction execution system
The software or the firmware that perform realize.Such as, if realized with hardware, with the most the same, available ability
Any one or their combination in following technology known to territory realize: have for data signal is realized logic function
The discrete logic of logic gates, has the special IC of suitable combination logic gate circuit, programmable gate array
(PGA), field programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that and realize all or part of step that above-described embodiment method is carried
Suddenly the program that can be by completes to instruct relevant hardware, and described program can be stored in a kind of computer-readable storage medium
In matter, this program upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in various embodiments of the present invention can integrated in a processor, it is also possible to
It is that unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated mould
Block both can realize to use the form of hardware, it would however also be possible to employ the form of software function module realizes.Described integrated module is such as
When fruit is using the form realization of software function module and as independent production marketing or use, it is also possible to be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read only memory, disk or CD etc..
Although above it has been shown and described that embodiments of the invention, it is to be understood that above-described embodiment is example
Property, it is impossible to being interpreted as limitation of the present invention, those of ordinary skill in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, revises, replaces and modification.
Claims (19)
1. a control method, for controlling the screen of electronic installation, it is characterised in that described electronic installation includes Image Acquisition
Device;Described control method includes:
Control described image acquiring device and obtain the ambient image of described electronic installation local environment;
Process described ambient image to judge whether described electronic installation is in highlighted environment;If so, send warning or close institute
State screen.
2. control method as claimed in claim 1, it is characterised in that the described ambient image of described process is to judge described electronics
Whether device is in the step of highlighted environment includes:
Calculate the brightness of described ambient image;
Judge that described electronic installation is in highlighted environment when the brightness of described ambient image is more than the first predetermined luminance.
3. control method as claimed in claim 2, it is characterised in that described ambient image is rgb format;Described in described calculating
The step of the brightness of ambient image includes:
Described ambient image is converted into HSL form;And
Calculate the meansigma methods of the brightness value of each pixel in described ambient image and using described meansigma methods as described ambient image
Brightness.
4. control method as claimed in claim 1, it is characterised in that the described ambient image of described process is to judge described electronics
Whether device is in when the step of highlighted environment comprises intense light source in described ambient image being detected judges described electronic installation
It is in highlighted environment.
5. control method as claimed in claim 1, it is characterised in that the described ambient image of described process is to judge described electronics
Whether device is in the step of highlighted environment includes:
Statistics is more than the number of the mistake bright pixel of the second predetermined luminance;
Judge that the described number of bright pixel of crossing, whether more than predetermined number, if so, judges that described electronic installation is in highlighted environment.
6. control method as claimed in claim 1, it is characterised in that described control method includes:
Obtain described electronic installation location information;
According to described positional information judge described electronic installation whether by indoor moving to open air, if so, trigger described control
Described image acquiring device obtains the step of the ambient image of described electronic installation local environment.
7. control method as claimed in claim 1, it is characterised in that described image acquiring device includes front-facing camera.
8. control method as claimed in claim 1, it is characterised in that described image acquiring device includes multiple, each described
Image acquiring device obtains at least one described ambient image;
The described ambient image of described process with judge described electronic installation whether be in the step of highlighted environment detect any
The described ambient image that one described image acquiring device is corresponding meets the condition judging that described electronic installation is in highlighted environment
Time judge that described electronic installation is in highlighted environment.
9. control method as claimed in claim 1, it is characterised in that described in send warning or close the step of described screen and exist
Described electronic installation is in time of highlighted environment and reaches send warning during the first permission time or be at described electronic installation
The time of highlighted environment reaches to close during the second permission time described screen;Described second allows the time to allow more than described first
Time.
10. control a device, for controlling the screen of electronic installation, it is characterised in that described electronic installation includes that image obtains
Fetching is put;Described control device includes:
Image collection module, obtains the ambient image of described electronic installation local environment for controlling described image acquiring device;
Judge module, is used for processing described ambient image to judge whether described electronic installation is in highlighted environment;
Protection module, is used for sending warning or closing described screen.
11. control device as claimed in claim 10, it is characterised in that described judge module includes:
Computing module, for calculating the brightness of described ambient image;
When the brightness of described ambient image is more than the first predetermined luminance, determination module, for judging that described electronic installation is in height
Bright ring border.
12. control device as claimed in claim 11, it is characterised in that described ambient image is rgb format;Described calculating mould
Block includes:
Image conversion module, for being converted into HSL form by described ambient image;And
Mean value computation module, for calculating the meansigma methods of the brightness value of each pixel in described ambient image and by described meansigma methods
Brightness as described ambient image.
13. control device as claimed in claim 10, it is characterised in that described judge module is for described environment being detected
Judge when image comprises intense light source that described electronic installation is in highlighted environment.
14. control device as claimed in claim 10, it is characterised in that described judge module includes:
Statistical module, is more than the number of the mistake bright pixel of the second predetermined luminance for statistics;
Pixel judge module, for judging whether the described number crossing bright pixel judges more than predetermined number and when being judged as YES
Described electronic installation is in highlighted environment.
15. control device as claimed in claim 10, it is characterised in that described control device includes:
Position acquisition module, is used for obtaining described electronic installation location information;
Position judging module, for judging described electronic installation by indoor moving to open air the most also according to described positional information
Described image collection module is triggered when being judged as YES.
16. control device as claimed in claim 10, it is characterised in that described image acquiring device includes front-facing camera.
17. control device as claimed in claim 10, it is characterised in that described image acquiring device includes multiple, Mei Gesuo
State image acquiring device and obtain at least one described ambient image;
Described judge module is for sentencing detecting that described ambient image that any one described image acquiring device is corresponding meets
Fixed described electronic installation judges that described electronic installation is in highlighted environment when being in the condition of highlighted environment.
18. control device as claimed in claim 10, it is characterised in that described protection module is at described electronic installation
When the time of highlighted environment reached for the first permission time, send warning or be in the time of highlighted environment at described electronic installation
Reach to close during the second permission time described screen;Described second allows the time to allow the time more than described first.
19. 1 kinds of electronic installations, it is characterised in that include screen and the dress of the control as described in claim 10-18 any one
Put.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507737.1A CN106200932A (en) | 2016-06-28 | 2016-06-28 | Control method, control device and electronic installation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507737.1A CN106200932A (en) | 2016-06-28 | 2016-06-28 | Control method, control device and electronic installation |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106200932A true CN106200932A (en) | 2016-12-07 |
Family
ID=57462810
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610507737.1A Pending CN106200932A (en) | 2016-06-28 | 2016-06-28 | Control method, control device and electronic installation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106200932A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135341A (en) * | 2017-05-03 | 2017-09-05 | 广东欧珀移动通信有限公司 | Image sensor, camera module and electronic installation |
CN112235513A (en) * | 2020-09-29 | 2021-01-15 | 三一专用汽车有限责任公司 | Image processing device, method and vehicle |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299807A (en) * | 2007-04-30 | 2008-11-05 | 深圳Tcl新技术有限公司 | Display device capable of automatically regulating display parameter as well as implementation method thereof |
CN103516875A (en) * | 2012-06-25 | 2014-01-15 | 百度在线网络技术(北京)有限公司 | Method for remising user of mobile terminal and mobile terminal |
CN103685691A (en) * | 2012-09-11 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Mobile terminal capable of guarding against theft and mobile terminal anti-theft method |
CN104347018A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Method and electronic equipment for adjusting backlight |
CN104394278A (en) * | 2014-11-28 | 2015-03-04 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for regulating screen brightness |
CN105118476A (en) * | 2015-09-29 | 2015-12-02 | 联想(北京)有限公司 | Control method, electronic equipment and electronic device |
CN105430292A (en) * | 2015-12-03 | 2016-03-23 | 上海卓易科技股份有限公司 | Method and device for improving effect of photographing against light |
-
2016
- 2016-06-28 CN CN201610507737.1A patent/CN106200932A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101299807A (en) * | 2007-04-30 | 2008-11-05 | 深圳Tcl新技术有限公司 | Display device capable of automatically regulating display parameter as well as implementation method thereof |
CN103516875A (en) * | 2012-06-25 | 2014-01-15 | 百度在线网络技术(北京)有限公司 | Method for remising user of mobile terminal and mobile terminal |
CN103685691A (en) * | 2012-09-11 | 2014-03-26 | 上海斐讯数据通信技术有限公司 | Mobile terminal capable of guarding against theft and mobile terminal anti-theft method |
CN104347018A (en) * | 2013-08-09 | 2015-02-11 | 联想(北京)有限公司 | Method and electronic equipment for adjusting backlight |
CN104394278A (en) * | 2014-11-28 | 2015-03-04 | 广东欧珀移动通信有限公司 | Method, device and mobile terminal for regulating screen brightness |
CN105118476A (en) * | 2015-09-29 | 2015-12-02 | 联想(北京)有限公司 | Control method, electronic equipment and electronic device |
CN105430292A (en) * | 2015-12-03 | 2016-03-23 | 上海卓易科技股份有限公司 | Method and device for improving effect of photographing against light |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107135341A (en) * | 2017-05-03 | 2017-09-05 | 广东欧珀移动通信有限公司 | Image sensor, camera module and electronic installation |
CN107135341B (en) * | 2017-05-03 | 2019-12-27 | Oppo广东移动通信有限公司 | Image sensor, camera module and electronic device |
US11134195B2 (en) | 2017-05-03 | 2021-09-28 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Image sensor, camera module and electronic device |
CN112235513A (en) * | 2020-09-29 | 2021-01-15 | 三一专用汽车有限责任公司 | Image processing device, method and vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101393603B (en) | Method for recognizing and detecting tunnel fire disaster flame | |
CN101419498B (en) | Operation input device | |
ES2243699T3 (en) | FIRE DETECTION PROCEDURE AND DEVICE BASED ON IMAGE ANALYSIS. | |
CN100417223C (en) | Intelligent safety protector based on omnibearing vision sensor | |
US20120280626A1 (en) | Method and system for adjusting brightness | |
US20090315869A1 (en) | Digital photo frame, information processing system, and control method | |
CN104380369B (en) | Image display and method for displaying image | |
CN104134352A (en) | Video vehicle characteristic detection system and detection method based on combination of long exposure and short exposure | |
CN102118554B (en) | Monitoring system | |
US11052287B2 (en) | Digital-optical object tracker | |
CN104333654A (en) | Danger warning method, danger warning device and portable electronic equipment | |
CN104282169A (en) | Embedded integration parking space detector and detecting method thereof | |
JP2000222673A (en) | Vehicle color discriminating device | |
KR101453806B1 (en) | Dimming Control System Using Image Data | |
US20210117658A1 (en) | Motion-based human video detection | |
AU2020207707A1 (en) | Fish monitoring system and camera unit | |
CN203554563U (en) | Infrared monitoring camera | |
KR101173542B1 (en) | All-in Sensor Lamp and CCTV camera system | |
CN106125934A (en) | Control method, control device and electronic installation | |
CN106200932A (en) | Control method, control device and electronic installation | |
CN109410270A (en) | A kind of damage identification method, equipment and storage medium | |
CN108341049A (en) | Home intelligent unmanned plane | |
CN106200935A (en) | Control method, control device and electronic installation | |
US11750781B2 (en) | Projection apparatus and projection method | |
CN106331465A (en) | Image acquisition device and auxiliary shooting method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161207 |
|
RJ01 | Rejection of invention patent application after publication |