CN104780309A - Camera module, electronic device and method for determining operation mode of electronic device - Google Patents

Camera module, electronic device and method for determining operation mode of electronic device Download PDF

Info

Publication number
CN104780309A
CN104780309A CN201410018094.5A CN201410018094A CN104780309A CN 104780309 A CN104780309 A CN 104780309A CN 201410018094 A CN201410018094 A CN 201410018094A CN 104780309 A CN104780309 A CN 104780309A
Authority
CN
China
Prior art keywords
image frame
camera model
testing result
electronic installation
main frame
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
Application number
CN201410018094.5A
Other languages
Chinese (zh)
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.)
Realtek Semiconductor Corp
Original Assignee
Realtek Semiconductor Corp
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 Realtek Semiconductor Corp filed Critical Realtek Semiconductor Corp
Priority to CN201410018094.5A priority Critical patent/CN104780309A/en
Publication of CN104780309A publication Critical patent/CN104780309A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a camera module, an electronic device and a method for determining operation mode of the electronic device, wherein the camera module comprises a senor and a motion detecting module, in which the sensor is used for sensing outside light to generate a plurality of image frames and the motion detecting module is used for judging whether a moving object is detected according to the image frames and generating a detecting result accordingly; wherein the camera module is connected with a mainframe, the camera module can be initiatively started according to a specific instruction when the camera module receives the specific instruction from the mainframe, and the sensor and the motion detecting module come into operation so as to generate the image frames and the detecting result respectively; the detecting result is used for determining whether to operate the mainframe in power saving mode, in which the camera module will not transmit the image frames generated according to the specific instruction to the mainframe at this time.

Description

Camera model, electronic installation and determine the method for operator scheme of electronic installation
Technical field
The present invention relates to camera model and relevant electronic installation, particularly relate to and a kind ofly can carry out the electronic installation of determination operation pattern by the testing result of camera model and determine the method for operator scheme of electronic installation.
Background technology
Electronic installation usually often can not be in mode of operation in use, but have a lot of idle time, therefore, in order to reduce the power consumption of electronic installation between lay-up period, electronic installation can enter so-called battery saving mode or low-power consumption mode to save power consumption.With regard to current technology, usual electronic installation can use counting mode to judge when enter battery saving mode, and such as electronic installation, when wait still inputted without any user after 60 seconds, just can enter battery saving mode, but this method to judge on system idle time not quick and precisely.
Summary of the invention
Therefore, the invention discloses a kind of camera model, relevant electronic installation and a kind of method determining the operator scheme of electronic installation, wherein, electronic installation can detect front by camera model, and whether there are objects moving, and determine the operator scheme of electronic installation accordingly, to strengthen the accuracy judged on system idle time.
According to embodiments of the invention, a kind of camera model comprises transducer and motion detection block, wherein, transducer is for sensing extraneous light to produce multiple image frame, and motion detection block is used for having judged whether to detect that object moves according to multiple image frame, and produce testing result accordingly; Wherein, camera model is connected to main frame, and when camera model receives the specific instruction of from host, camera model can be opened on one's own initiative according to specific instruction, and transducer and motion detection block come into operation produce multiple image frame respectively and produce testing result, wherein the multiple image frames produced according to specific instruction now can not be sent to main frame by camera model.
According to another embodiment of the present invention, a kind of electronic installation comprises main frame and camera model, and wherein, camera model comprises: transducer, for sensing extraneous light to produce multiple image frame; And motion detection block, being coupled to transducer, for having judged whether to detect that object moves according to multiple image frame, and producing testing result accordingly; Wherein, main frame receives testing result from camera model, and determines whether to operate in battery saving mode according to testing result.
According to another embodiment of the present invention, a kind ofly determine that the method for the operator scheme of electronic installation comprises: sense extraneous light to produce multiple image frame; Judge whether to detect that object moves according to multiple image frame, and produced testing result accordingly; And determine whether electronic installation to operate in battery saving mode according to testing result.
Accompanying drawing explanation
Fig. 1 is the schematic diagram of electronic installation according to an embodiment of the invention.
Fig. 2 is the operational flowchart of electronic installation according to an embodiment of the invention.
Fig. 3 shows the schematic diagram of the first image frame that transducer returns and the second image frame.
Fig. 4 is a kind of according to an embodiment of the invention flow chart determining the method for the operator scheme of electronic installation.
Embodiment
Some vocabulary is employed to censure specific assembly in the middle of specification and claims.Those of ordinary skill in the art should be understood that hardware manufacturer may call same assembly with different nouns.This specification and claims are not used as with the difference of title the mode distinguishing assembly, but are used as the criterion of differentiation with assembly difference functionally." comprising " mentioned in the middle of entire description and claim is open term, therefore should be construed to " including but not limited to ".In addition, " couple " word comprise directly any at this and be indirectly electrically connected means, therefore, if describe first device in literary composition to be coupled to the second device, then represent that first device can directly be electrically connected to the second device, or be indirectly electrically connected to the second device by other device or connection means.
Please refer to Fig. 1, Fig. 1 is the schematic diagram of electronic installation 100 according to an embodiment of the invention.In FIG, electronic installation 100 comprises camera model 110 and main frame 120, and wherein, camera model 110 comprises transducer 112, automatic exposure processing unit 114, motion detection unit 116 and multiple pin 118.In the present embodiment, electronic installation 110 can be mobile computer, flat computer, desktop PC or other any electronic installation with camera model; Main frame 120 referred to herein as the primary clustering except camera model 110 in electronic installation 110, such as, comprise processor, relevant chipset, storage device and relevant program etc.; And camera model 110 can be in an electronic built-in, or assembly is connected to main frame 120 by USB (Universal Serial Bus, USB), and in FIG, camera model 110 can be communicated with main frame 120 by multiple pin 118.
It is noted that Fig. 1 only illustrates the assembly relevant to main contents in the present invention, those skilled in the art should recognize camera model 110 and separately comprise other relevant spare parts many in main frame 120.
In the operation of electronic installation 100, please refer to Fig. 2, Fig. 2 is the operational flowchart of electronic installation 100 according to an embodiment of the invention.In fig. 2, first, application program 122 in main frame 120 can transmit specific instruction to camera model 110 according to the startup/triggering of user, and when camera model 110 receives the specific instruction of from host 120, camera model 110 can be opened on one's own initiative according to specific instruction, and initializing sensor 112.After transducer 112 is initialised, transducer 112 just can return an image frame at set intervals to camera model 110, automatic exposure processing unit 114 now in camera model 110 can readjust the brightness of image frame, and according to received image frame, motion detection unit 116 can come before detection camera module 110 whether there are objects moving, and produce testing result (details of operation of motion detection unit 116 is described in detail in detail afterwards) accordingly.
Now, main frame 120 at set intervals (such as 2-3 second) just can send inquiry instruction to camera model 110, and when camera model 110 receives the inquiry instruction of from host 120, camera model 110 just can transmit testing result to main frame 120.And main frame 120 is after receiving the testing result from camera model 110, can whether there are objects moving camera model 110 front pointed by testing result determines the operator scheme of electronic installation 100, for example, when testing result is pointed out camera model 110 front there are objects moving, then represent that user may use electronic installation 100, therefore main frame 120 can be selected to operate in normal mode; Otherwise, when testing result points out that camera model 110 front does not have that there are objects moving, then represent that user is not using electronic installation 100, and electronic installation 100 itself should be in idle state, therefore main frame 120 can be selected to operate in battery saving mode or low-power consumption mode.In addition, in the present embodiment, so-called battery saving mode or low-power consumption mode can comprise any pattern that can reduce power consumption, such as close display, display screen defence program ... Deng.
In addition, the image frame produced according to specific instruction now can not be sent to main frame 120 by camera model 110.
Should be noted, after camera model 110 receives above-mentioned specific instruction, transducer 112 just just can return image at set intervals, and main frame 120 also can will transmit inquiry instruction to camera model 110 at set intervals to require to return testing result, no matter whether main frame 120 is in battery saving mode or normal mode, aforesaid operations all can continue to carry out.
Finally, the application program 122 in main frame 120 can transmit END instruction to camera model 110, with the operation of closure sensor 112 according to the startup/triggering of user.
As mentioned above, by means of the testing result that camera model 110 produces, main frame 120 can judge whether user is using electronic installation 100, and determine that electronic installation 100 will operate in normal mode or battery saving mode accordingly, therefore, compared to existing technology, the present embodiment can judge whether electronic installation 100 is in idle state accurately and quickly.
In addition, in the embodiment shown in Figure 2, testing result just can be sent to main frame 120 after needing to receive the inquiry instruction of from host 120 by camera model 110, but, this not restriction of the present invention.In another embodiment of the present invention, camera model 110 can arrange the voltage potential of a special pin in multiple pin 118 according to testing result, for example, when testing result instruction detects that object moves, camera model 110 controls this special pin and has the first voltage potential; And when testing result instruction does not detect that object moves, camera model 110 controls this special pin and has the second voltage potential.In the present embodiment, main frame 120 just can remove the voltage potential reading special pin at set intervals, to learn whether camera model 110 detects that object moves.
The details of operation of following account for motion detecting unit 116, please refer to the schematic diagram of the first image frame 310 that the transducer 112 shown in Fig. 3 returns and the second image frame 320.First, first image frame 310 and the second image frame 320 are divided into multiple region respectively, and motion detection unit 116 first can count the represent pixel value in each region, such as, represent the represent pixel value (R11 in first region of the first image frame 310 in icon, G11, B11), represent pixel value (the R12 of Two Areas, G12, B12), with the represent pixel value (R1n in the n-th region, G1n, B1n), and represent the represent pixel value (R21 in first region of the second image frame 320, G21, B21), represent pixel value (the R22 of Two Areas, G22, B22), with the represent pixel value (R2n in the n-th region, G2n, B2n).Above-mentioned represent pixel value can be done average computation to obtain by pixel values all in this region, such as all red pixel value in first region of the first image frame 310 are done average computation to obtain R11, all green pixel values in first region of the first image frame 310 are done average computation to obtain G11, and all blue pixel value in first region of the first image frame 310 are done average computation to obtain B11, by that analogy.
Then, motion detection unit 116 calculates the difference of the represent pixel value in each region in the first image frame 310 and the second image frame 320 to judge whether there are objects moving in each region, for first region of the first image frame 310 and the second image frame 320, motion detection unit 116 can use following formula to calculate first the difference Diff:Diff=|R11-R21|+|G11-G21|+|B11-B21| of region between two image frames, and Diff is judged compared with critical value TH1 in first area, whether there are objects moving.For example, suppose that Diff is greater than TH1, then represent in first area that there are objects moving; Otherwise then represent in first area and do not have that there are objects moving.
After determining in each region whether there are objects moving, motion detection unit 116 according to previously judge the region quantity that there are objects moving, can be determined whether whole image frame detects that object moves, and produces testing result accordingly.For example, suppose previously to judge that the region quantity that there are objects moving is M, then M is judged compared with critical value TH2 in whole image frame, whether there are objects moving, supposes that M is greater than TH2, then represent that in whole image frame, there are objects moving; Otherwise then represent in whole image frame not have that there are objects moving.
In addition, two above-mentioned critical value TH1 and TH2 can be supplied to motion detection unit 116 by main frame 120, particularly can transmit specific instruction in the application program 122 of main frame 120 and be supplied to motion detection unit 116 to during camera model 110 simultaneously.
There is it is noted that above-mentioned the details of operation about motion detection unit 116 to be only example to illustrate, and be not limitation of the present invention.It will be understood by a person skilled in the art that how to adopt other method to come before detection camera module 110 whether there are objects moving.
Please refer to Fig. 4, Fig. 4 is a kind of according to an embodiment of the invention flow chart determining the method for the operator scheme of electronic installation.Referring to above-mentioned Fig. 1-Fig. 3 and relevant disclosure, the flow process of Fig. 4 is as described below:
Step 400: start;
Step 402: sense extraneous light to produce multiple image frame;
Step 404: judged whether to detect that object moves according to multiple image frame, and produced testing result accordingly;
Step 406: determine whether electronic installation to operate in battery saving mode according to testing result.
Brief summary the present invention, at camera model of the present invention, relevant electronic installation with a kind ofly determine in the method for the operator scheme of electronic installation, whether there are objects moving to produce testing result to detect front by camera model, and according to this testing result, electronic installation can judge whether electronic installation itself is in idle state, and determine whether electronic installation to operate in battery saving mode accordingly.Compared to existing technology, the present embodiment can judge whether electronic installation is in idle state accurately and quickly, to determine electronic installation to operate in battery saving mode rapidly.
The foregoing is only the preferred embodiments of the present invention, with good grounds claims of the present invention make equalization change with amendment, coverage of the present invention all should be belonged to.

Claims (12)

1. a camera model, comprising:
Transducer, for sensing extraneous light to produce multiple image frame; And
Motion detection block, is coupled to described transducer, for having judged whether to detect that object moves according to described multiple image frame, and produces testing result accordingly;
Wherein, described camera model is connected to main frame, and when described camera model receives the specific instruction from described main frame, described camera model can be opened on one's own initiative according to described specific instruction, and described transducer and described motion detection block come into operation produce described multiple image frame respectively and produce described testing result, described testing result is used for determining whether described host service function at battery saving mode, wherein, the described multiple image frame produced according to described specific instruction now can not be sent to described main frame by described camera model.
2. camera model according to claim 1, comprises further:
Pin, is connected to described main frame;
Wherein, when described testing result instruction detects that object moves, described camera model controls described pin and has the first voltage potential; And when described testing result instruction does not detect that object moves, described camera model controls described pin and has the second voltage potential.
3. camera model according to claim 1, wherein, when described camera model receives the inquiry instruction from described main frame, described testing result just can be sent to described main frame by described camera model.
4. camera model according to claim 1, wherein, described multiple image frame comprises the first image frame and the second image frame, described first image frame and described second image frame are divided into multiple region respectively, described motion detection block calculates the represent pixel value in each region in described first image frame and described second image frame, and the difference calculating the represent pixel value in each region in described first image frame and described second image frame is to judge whether there are objects moving in each region, and according to judging that the region quantity that there are objects moving determines whether whole image frame detects that object moves, and produce described testing result accordingly.
5. an electronic installation, comprising:
Main frame; And
Camera model, comprising:
Transducer, for sensing extraneous light to produce multiple image frame; And
Motion detection block, is coupled to described transducer, for having judged whether to detect that object moves according to described multiple image frame, and produces testing result accordingly;
Wherein, described main frame receives described testing result from described camera model, and determines whether to operate in battery saving mode according to described testing result.
6. electronic installation according to claim 5, wherein, when described camera model receives the specific instruction from described main frame, described camera model can be opened on one's own initiative according to described specific instruction, and described transducer and described motion detection block come into operation produce described multiple image frame respectively and produce described testing result, wherein, the described multiple image frame produced according to described specific instruction now can not be sent to described main frame by described camera model.
7. electronic installation according to claim 5, wherein, described camera model comprises the pin being connected to described main frame further, and when described testing result instruction detects that object moves, described camera model controls described pin and has the first voltage potential and when the instruction of described testing result does not detect that object moves, described camera model controls described pin and has the second voltage potential; Described main frame determines whether to operate in described battery saving mode according to the voltage potential of described pin.
8. electronic installation according to claim 5, wherein, described main frame compartment of terrain sends inquiry instruction to described camera model, and when described camera model receives the described inquiry instruction from described main frame, described testing result just can be sent to described main frame by described camera model.
9. electronic installation according to claim 5, wherein, described multiple image frame comprises the first image frame and the second image frame, described first image frame and described second image frame are divided into multiple region respectively, described motion detection block calculates the represent pixel value in each region in described first image frame and described second image frame, and the difference calculating the represent pixel value in each region in described first image frame and described second image frame is to judge whether there are objects moving in each region, and according to judging that the region quantity that there are objects moving determines whether whole image frame detects that object moves, and produce described testing result accordingly.
10. electronic installation according to claim 5, wherein, when described electronic installation operates in described battery saving mode, described camera model still carries out operating with the described testing result of lasting generation.
11. 1 kinds of methods determining the operator scheme of electronic installation, comprising:
Sense extraneous light to produce multiple image frame;
Judge whether to detect that object moves according to described multiple image frame, and produced testing result accordingly; And
Determine whether described electronic installation to operate in battery saving mode according to described testing result.
12. methods according to claim 11, wherein, sense extraneous light to produce described multiple image frame and to judge whether to detect that the step that object moves to produce described testing result is performed by camera model according to described multiple image frame, and when described electronic installation operates in described battery saving mode, described camera model still carries out operating with the described testing result of lasting generation.
CN201410018094.5A 2014-01-15 2014-01-15 Camera module, electronic device and method for determining operation mode of electronic device Pending CN104780309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410018094.5A CN104780309A (en) 2014-01-15 2014-01-15 Camera module, electronic device and method for determining operation mode of electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410018094.5A CN104780309A (en) 2014-01-15 2014-01-15 Camera module, electronic device and method for determining operation mode of electronic device

Publications (1)

Publication Number Publication Date
CN104780309A true CN104780309A (en) 2015-07-15

Family

ID=53621525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410018094.5A Pending CN104780309A (en) 2014-01-15 2014-01-15 Camera module, electronic device and method for determining operation mode of electronic device

Country Status (1)

Country Link
CN (1) CN104780309A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989638A (en) * 2018-08-01 2018-12-11 Oppo(重庆)智能科技有限公司 Imaging device and its control method, electronic device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292975A (en) * 1998-03-06 2001-04-25 英特尔公司 Method and apparatus for powering on electronic device with video camera that detects motion
CN101059714A (en) * 2006-04-18 2007-10-24 明基电通股份有限公司 Computer system for prosecuting corresponding operation according to scene change and its method
CN101706673A (en) * 2009-12-04 2010-05-12 威盛电子股份有限公司 Power-saving display device, computer system and power-saving method
US20110285846A1 (en) * 2010-05-19 2011-11-24 Hon Hai Precision Industry Co., Ltd. Electronic device and method for monitoring specified area
CN102469280A (en) * 2010-11-05 2012-05-23 屈世虎 Intelligent television set
CN103175287A (en) * 2013-04-22 2013-06-26 清华大学 Energy-saving control method and device for detecting character movement for air conditioner based on background modeling

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1292975A (en) * 1998-03-06 2001-04-25 英特尔公司 Method and apparatus for powering on electronic device with video camera that detects motion
CN101059714A (en) * 2006-04-18 2007-10-24 明基电通股份有限公司 Computer system for prosecuting corresponding operation according to scene change and its method
CN101706673A (en) * 2009-12-04 2010-05-12 威盛电子股份有限公司 Power-saving display device, computer system and power-saving method
US20110285846A1 (en) * 2010-05-19 2011-11-24 Hon Hai Precision Industry Co., Ltd. Electronic device and method for monitoring specified area
CN102469280A (en) * 2010-11-05 2012-05-23 屈世虎 Intelligent television set
CN103175287A (en) * 2013-04-22 2013-06-26 清华大学 Energy-saving control method and device for detecting character movement for air conditioner based on background modeling

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989638A (en) * 2018-08-01 2018-12-11 Oppo(重庆)智能科技有限公司 Imaging device and its control method, electronic device and computer readable storage medium
CN108989638B (en) * 2018-08-01 2021-03-05 Oppo(重庆)智能科技有限公司 Imaging apparatus, control method thereof, electronic apparatus, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN103294161B (en) Electronic device
CN105025159B (en) proximity sensor adjusting method and device
CN111052035B (en) Electronic device and operation control method thereof
TW201133358A (en) System and method for detecting objects in a video image
WO2019000409A1 (en) Colour detection method and terminal
US11605965B2 (en) Electronic device for adaptive power management
CN103780938B (en) Touch television and control method and control device thereof
CN104375628A (en) Information processing method and electronic equipment
US20140267325A1 (en) Method for detecting display properties
CN109684944B (en) Obstacle detection method, obstacle detection device, computer device, and storage medium
CN103970628A (en) Automatic detection system and automatic detection method thereof
US20100053092A1 (en) Control Method for Touch Screen Device
US8504817B2 (en) Mechanism for adjusting system settings based on dynamic discovery of power usage
CN104461801A (en) Method and system for testing sensitiveness of touch screen
US11250759B1 (en) Systems and methods for adaptive color accuracy with multiple sensors to control a display's white point and to calibrate the display using pre-boot diagnostics
CN104780309A (en) Camera module, electronic device and method for determining operation mode of electronic device
CN112416172A (en) Electronic equipment control method and device and electronic equipment
CN109739339B (en) Control method and device
EP4202385B1 (en) Method and apparatus for detecting ambient light under display screen and electronic device
CN104063041A (en) Information processing method and electronic equipment
CN106444693A (en) Vehicle-mounted instrument and independent test method of hardware parts of vehicle-mounted instrument
CN105739780A (en) Method and equipment for quickly regulating various parameters through pressure touch technology
US20140292675A1 (en) Control system applied to touch and capable of switching two-dimensional/three-dimensional mode
CN108710037A (en) OPS condition detection methods, system and equipment
CN105468095B (en) A kind of angle detecting method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150715

WD01 Invention patent application deemed withdrawn after publication