CN102883139A - Camera application system and method - Google Patents
Camera application system and method Download PDFInfo
- Publication number
- CN102883139A CN102883139A CN2011101948296A CN201110194829A CN102883139A CN 102883139 A CN102883139 A CN 102883139A CN 2011101948296 A CN2011101948296 A CN 2011101948296A CN 201110194829 A CN201110194829 A CN 201110194829A CN 102883139 A CN102883139 A CN 102883139A
- Authority
- CN
- China
- Prior art keywords
- video
- application program
- video data
- webcam driver
- application
- 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
- 238000000034 method Methods 0.000 title claims description 34
- 238000001514 detection method Methods 0.000 claims abstract description 67
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Abstract
The invention discloses a camera application system which comprises a camera device, an application program and a camera driving component, wherein the camera device is located at a hardware layer and used for collecting video data, the application program is located at an application layer, and the camera driving component is located at a driving layer and comprises a camera driving module and a video detecting module. When the video preview is carried out independently, the camera driving module provides the obtained video data for the application program of the application layer. When the video detection is carried out independently, the camera driving module provides the obtained video data for the video detecting module. When the video detection and the video preview are carried out at the same time, the camera driving module provides the video data for the video detecting module and the application program of the application layer. In the invention, the video detecting function is fulfilled at the driving layer, so that the video detecting function and the video previewing function can be fulfilled at the same time.
Description
[technical field]
The present invention relates to the camera field, particularly about a kind of camera application system and method.
[background technology]
When camera (Camera) carries out the video preview application under PC (Personal Computer) environment at present, can only be simultaneously for an application program.In other words, if an application program (such as video softwares such as MSN, QQ, SKYPE) is utilizing described camera to carry out the video preview functions such as video calling, video recording and photograph, other application program then can't utilize same camera to carry out the video preview function simultaneously so.
Except video preview is used, can also realize that based on described camera some are based on the function of analysis or the detection of video image, the immigration of certain certain objects whether occurs in the current environment or shift out, detect target in the current environment etc. such as detecting, this can be collectively referred to as the video measuring ability.If described video measuring ability is to be realized by the independently application program under the PC environment, this application program cannot be used described camera simultaneously with other application programs equally so.That is to say, under the PC environment, utilize described camera to carry out video when detect using, then have to stop video preview and use, and under the PC environment, utilize described camera to carry out video preview when using, then have to stop video and detect application, two kinds of application can not be carried out simultaneously.
For overcoming this problem, the video measuring ability can be added a certain application program, can when utilize this application program to carry out video preview, also can carry out simultaneously video and detect like this.Yet described video measuring ability must could start based on this application program, and when carrying out the video detection, can not utilize equally other application program to carry out video preview.
Therefore, wish to propose a kind of improved camera application scheme and overcome the problems referred to above.
[summary of the invention]
The object of the present invention is to provide a kind of camera application system, it can realize realizing video preview when video detects.
The object of the present invention is to provide a kind of camera application process, it can realize realizing video preview when video detects.
For addressing the above problem, according to an aspect of the present invention, the present invention proposes a kind of camera application system, and it comprises: be positioned at the camera device of hardware layer, it gathers video data; Be positioned at the application program of application layer; With the webcam driver assembly that is positioned at the driving layer, it comprises webcam driver module and video detection module.When carrying out video preview separately, described webcam driver module offers the video data that obtains the application program of application layer, when carrying out separately the video detection, described webcam driver module offers described video detection module with the video data that obtains, when carrying out at the same time video detection and video preview, described webcam driver module offers described video data the application program of described video detection module and application layer.
Further, described application program comprises the first application program and the second application program, described webcam driver module offers the first application program of application layer with the video data that obtains, and the first application program is used to carry out video preview from the video data of described webcam driver module; The utilization of described video detection module is carried out the video detection from the video data of described webcam driver module, and testing result is returned to the second application program.
Further, at described webcam driver assembly one sign is set, this sign shows that described video detection module is to open or close, and this sign is controlled by described the second application program.
According to another aspect of the present invention, the present invention proposes a kind of application process based on camera system, described camera system comprise the collection video data that is positioned at hardware layer camera device, be positioned at the application program of application layer and be positioned at the webcam driver assembly that comprises webcam driver module and video detection module that drives layer.Described method comprises: described webcam driver module obtains video data from described camera device; When carrying out video preview separately, described webcam driver module offers the video data that obtains the application program of application layer, when carrying out separately the video detection, described webcam driver module offers described video detection module with the video data that obtains, when carrying out at the same time video detection and video preview, described webcam driver module offers described video data the application program of described video detection module and application layer.
Further, described application program comprises the first application program and the second application program, described webcam driver module offers the first application program of application layer with the video data that obtains, and described method also comprises: the first application program is used to carry out video preview from the video data of described webcam driver module; The utilization of described video detection module is carried out the video detection from the video data of described webcam driver module, and testing result is returned to the second application program.
Further, at described webcam driver assembly one sign is set, this sign shows that described video detection module is to open or close, this sign is controlled by described the second application program, described method also comprises: the described sign of the second application program is set to open, if carrying out video preview this moment, described webcam driver module also offers described video data described video counts detection module when the video data that will obtain offers the first application program.
Further, described method also comprises: the first application program is opened video preview, detects if carrying out video this moment, and then described webcam driver module ends to detect to end ongoing video from camera device acquisition video data; Again ask to begin to obtain video data from camera device with described webcam driver module, and the video data that obtains offered carry out the first application program and video detection module.
Further, described method also comprises: the first application program is opened video preview, detect if carrying out video this moment, described webcam driver module also offers when will offering the video detection module from the video data that camera device obtains carries out the first application program.
Compared with prior art, pass through in the present invention driving a layer realization video measuring ability, thereby can realize simultaneously video measuring ability and video preview function.
[description of drawings]
In conjunction with reaching with reference to the accompanying drawings ensuing detailed description, the present invention will be more readily understood, structure member corresponding to same Reference numeral wherein, wherein:
Fig. 1 is the configuration diagram of camera application system of the present invention;
Fig. 2 is the flow example figure of the first application process of camera application process of the present invention; With
Fig. 3 is the flow example figure of the second application process of camera application process of the present invention.
[embodiment]
Below in conjunction with Figure of description the specific embodiment of the present invention is described.
Fig. 1 shows the configuration diagram of camera (Camera) application system among the present invention.Described camera application system comprises the camera device 110 that is positioned at hardware layer, is positioned at the webcam driver assembly 120 that drives layer and the application program 130 that is positioned at application layer.Described camera device 110 gathers video data.Described webcam driver assembly 120 comprises webcam driver module 121 and video detection module 122.Described webcam driver module 121 obtains video data from described camera device 110, and described video data is offered the application A of described video detection module 122 and/or application layer.Concrete, when carrying out video preview separately, described webcam driver module 121 offers the video data that obtains the application A of application layer, when carrying out separately the video detection, described webcam driver module 121 offers described video detection module 122 with the video data that obtains, when carrying out at the same time video detection and video preview, described webcam driver module 121 offers described video data the application A of described video detection module 122 and application layer.Described video detection module 122 utilizes described video data to carry out video and detects, and testing result is offered the application program B of application layer.Described application A can be the video softwares such as MSN, QQ, SKYPE, and described application A can utilize described video data to carry out the video preview functions such as video calling, video recording and photograph.Described application program B is that video detects application program, and it can be controlled described video detection module 122, also can record and use (such as warning prompt, target detection prompting etc.) according to the result that video detects.
Described application program B comprises the opening and closing of controlling described video detection module 122 to the control of described video detection module 122, also can comprise the relevant control parameters such as setting detects with video, the result returns.In one embodiment, at described webcam driver assembly 120 sign (sign) is set, this sign shows that described video detection module 122 is to open or close, and this sign is controlled by described application program B.Like this, described application program B just can control whether start the video measuring ability by controlling described sign.
When concrete the application, described application program B is set to startup with described sign, described webcam driver assembly 120 detect described be masked as startup after, described webcam driver module 121 can begin described video data is offered described video detection module 122,122 of described video detection modules utilize described video data to carry out video and detect, and testing result are offered the application program B of application layer.Described application program B is set to described sign and closes, described webcam driver assembly 120 detect described be masked as close after, described webcam driver module 121 can stop described video data is offered described video detection module 122.
Camera application system in the present invention comprises two kinds of Video Applications, and a kind of is the video preview of application A, and another kind is that the video of application program B detects, and two kinds of Video Applications can be carried out simultaneously.
Fig. 2 is the flow example figure of the first application process 200 of camera application process of the present invention, and described method 200 may further comprise the steps.
In one embodiment, described application program B opens described video measuring ability by the sign that arranges in the described webcam driver assembly 120.
Step 240,121 requests of webcam driver module begin to obtain video data from camera device 110, and the video data that obtains is offered video counts detection module 122.Described method enters step 260 subsequently, and described video counts detection module 122 begins to carry out video and detects.
Fig. 3 is the flow example figure of the second application process 300 of camera application process of the present invention, and described method 300 may further comprise the steps.
In one embodiment, when described application A is carried out video preview at needs, can open the video preview function to 121 requests of webcam driver module.
In another embodiment, webcam driver module 121 also can not end to obtain video data from camera device 110, do not end ongoing video yet and detect, when offering video detection module 122, offer the application A of carrying out video preview but directly just obtain video data from camera device 110 yet.
Step 340,121 requests of webcam driver module begin to obtain video data from camera device 110, and the video data that obtains is offered the application program 122 of carrying out video preview.Described method enters step 370 subsequently, and described application A begins to carry out video preview.
Can find out, when carrying out the video detection, do not carry out the transmission of video data between application program B and the video detection module 122, and just carry out the transmission of control signal and result data, video detects and does not take the transmission of video passage that drives layer and application layer like this, therefore can be so that video detects can carry out simultaneously with video preview, both are independent of each other.
Herein " and/or " expression " with " or "or".Described application A, B also can become and use module or modules A, B.
The above only is preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (8)
1. camera application system is characterized in that it comprises:
Be positioned at the camera device of hardware layer, it gathers video data;
Be positioned at the application program of application layer; With
Be positioned at the webcam driver assembly that drives layer, it comprises webcam driver module and video detection module, when carrying out video preview separately, described webcam driver module offers the video data that obtains the application program of application layer, when carrying out separately the video detection, described webcam driver module offers described video detection module with the video data that obtains, when carrying out at the same time video detection and video preview, described webcam driver module offers described video data the application program of described video detection module and application layer.
2. camera application system according to claim 1, it is characterized in that: described application program comprises the first application program and the second application program,
Described webcam driver module offers the first application program of application layer with the video data that obtains, and the first application program is used to carry out video preview from the video data of described webcam driver module;
The utilization of described video detection module is carried out the video detection from the video data of described webcam driver module, and testing result is returned to the second application program.
3. camera application system according to claim 2 is characterized in that: at described webcam driver assembly one sign is set, this sign shows that described video detection module is to open or close, and this sign is controlled by described the second application program.
4. application process based on camera system, described camera system comprise the collection video data that is positioned at hardware layer camera device, be positioned at the application program of application layer and be positioned at the webcam driver assembly that comprises webcam driver module and video detection module that drives layer, it is characterized in that described method comprises:
Described webcam driver module obtains video data from described camera device; With
When carrying out video preview separately, described webcam driver module offers the video data that obtains the application program of application layer, when carrying out separately the video detection, described webcam driver module offers described video detection module with the video data that obtains, when carrying out at the same time video detection and video preview, described webcam driver module offers described video data the application program of described video detection module and application layer.
5. application process according to claim 4, it is characterized in that: described application program comprises the first application program and the second application program, described webcam driver module offers the first application program of application layer with the video data that obtains, and described method also comprises:
The first application program is used to carry out video preview from the video data of described webcam driver module;
The utilization of described video detection module is carried out the video detection from the video data of described webcam driver module, and testing result is returned to the second application program.
6. application process according to claim 5, it is characterized in that: at described webcam driver assembly one sign is set, this sign shows that described video detection module is to open or close, and this sign is controlled by described the second application program, and described method also comprises:
The described sign of the second application program is set to open, if carrying out video preview this moment, described webcam driver module also offers described video data described video counts detection module when the video data that will obtain offers the first application program.
7. application process according to claim 5, it is characterized in that: described method also comprises:
The first application program is opened video preview, detects if carrying out video this moment, and then described webcam driver module ends to detect to end ongoing video from camera device acquisition video data; With
Described webcam driver module asks to begin to obtain video data from camera device again, and the video data that obtains offered carries out the first application program and video detection module.
8. application process according to claim 5, it is characterized in that: described method also comprises:
The first application program is opened video preview, detects if carrying out video this moment, and described webcam driver module also offers when will offering the video detection module from the video data that camera device obtains carries out the first application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101948296A CN102883139A (en) | 2011-07-12 | 2011-07-12 | Camera application system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011101948296A CN102883139A (en) | 2011-07-12 | 2011-07-12 | Camera application system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102883139A true CN102883139A (en) | 2013-01-16 |
Family
ID=47484258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011101948296A Pending CN102883139A (en) | 2011-07-12 | 2011-07-12 | Camera application system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102883139A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402055A (en) * | 2013-07-29 | 2013-11-20 | 广东欧珀移动通信有限公司 | Camera chip for mobile terminal, mobile terminal with image pick-up function, shooting method for mobile terminal and shooting device for mobile terminal |
CN106791356A (en) * | 2016-11-10 | 2017-05-31 | 北京智能管家科技有限公司 | For the method and device of camera data distribution |
CN109729271A (en) * | 2019-01-07 | 2019-05-07 | Oppo广东移动通信有限公司 | Camera label allocation processing method, device, electronic equipment, storage medium |
CN113489898A (en) * | 2021-06-29 | 2021-10-08 | 广州小鹏汽车科技有限公司 | Camera calling method and device, vehicle and storage medium |
WO2022001191A1 (en) * | 2020-06-30 | 2022-01-06 | 华为技术有限公司 | Camera calling method, electronic device and camera |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072301A (en) * | 2006-05-12 | 2007-11-14 | 富士胶片株式会社 | Method for displaying face detection frame, method for displaying character information, and image-taking device |
US20090106700A1 (en) * | 2007-10-05 | 2009-04-23 | Nobori Fujio | Information Processing Unit, Content Providing Server, Information Processing Method and Content Providing Method |
CN101840435A (en) * | 2010-05-14 | 2010-09-22 | 中兴通讯股份有限公司 | Method and mobile terminal for realizing video preview and retrieval |
CN201765643U (en) * | 2010-06-13 | 2011-03-16 | 秦小枢 | ATM (automatic telling machine) or CDM (cash deposit machine) with image monitoring, identifying and analyzing system |
-
2011
- 2011-07-12 CN CN2011101948296A patent/CN102883139A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101072301A (en) * | 2006-05-12 | 2007-11-14 | 富士胶片株式会社 | Method for displaying face detection frame, method for displaying character information, and image-taking device |
US20090106700A1 (en) * | 2007-10-05 | 2009-04-23 | Nobori Fujio | Information Processing Unit, Content Providing Server, Information Processing Method and Content Providing Method |
CN101840435A (en) * | 2010-05-14 | 2010-09-22 | 中兴通讯股份有限公司 | Method and mobile terminal for realizing video preview and retrieval |
CN201765643U (en) * | 2010-06-13 | 2011-03-16 | 秦小枢 | ATM (automatic telling machine) or CDM (cash deposit machine) with image monitoring, identifying and analyzing system |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103402055A (en) * | 2013-07-29 | 2013-11-20 | 广东欧珀移动通信有限公司 | Camera chip for mobile terminal, mobile terminal with image pick-up function, shooting method for mobile terminal and shooting device for mobile terminal |
CN106791356A (en) * | 2016-11-10 | 2017-05-31 | 北京智能管家科技有限公司 | For the method and device of camera data distribution |
CN109729271A (en) * | 2019-01-07 | 2019-05-07 | Oppo广东移动通信有限公司 | Camera label allocation processing method, device, electronic equipment, storage medium |
CN109729271B (en) * | 2019-01-07 | 2021-01-12 | Oppo广东移动通信有限公司 | Camera configuration label processing method and device, electronic equipment and storage medium |
WO2022001191A1 (en) * | 2020-06-30 | 2022-01-06 | 华为技术有限公司 | Camera calling method, electronic device and camera |
EP4161060A4 (en) * | 2020-06-30 | 2023-11-22 | Huawei Technologies Co., Ltd. | Camera calling method, electronic device and camera |
CN113489898A (en) * | 2021-06-29 | 2021-10-08 | 广州小鹏汽车科技有限公司 | Camera calling method and device, vehicle and storage medium |
CN113489898B (en) * | 2021-06-29 | 2023-10-31 | 广州小鹏汽车科技有限公司 | Camera calling method, device, vehicle and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102883139A (en) | Camera application system and method | |
US11270563B2 (en) | Configurable motion detection and alerts for audio/video recording and communication devices | |
US10372208B2 (en) | Power efficient image sensing apparatus, method of operating the same and eye/gaze tracking system | |
EP2950550B1 (en) | System and method for a follow me television function | |
US20110115924A1 (en) | Image pickup device | |
US20230055623A1 (en) | Video shooting method and electronic device | |
JP2013068615A (en) | Control system and control method of infrared thermographic device | |
CN105075237A (en) | Image processing apparatus, image processing method, and program | |
US10650247B2 (en) | Sharing video footage from audio/video recording and communication devices | |
CN102572238B (en) | Image pickup apparatus and control method therefor | |
KR20210150414A (en) | Techniques for constructing data pipelines using image comprehension | |
CN105183631A (en) | Equipment test methods and devices | |
CN101969575B (en) | A kind of method that the imageing sensor of camera head is detected and checkout gear | |
CN106572010A (en) | Data package grabbing method and device, and terminal | |
Pornpanomchai et al. | Vehicle detection and counting from a video frame | |
CN105589705A (en) | File updating method and device, and equipment | |
Salem et al. | Digital video recorder for Raspberry PI cameras with multi-camera synchronous acquisition | |
CN105279813A (en) | Electronic equipment and switching method and device of power supply modes of electronic equipment | |
CN103297698B (en) | Mobile terminal image pickup mode regulating power consumption method | |
CN105025240A (en) | Law enforcement recorder and control method thereof | |
CN106557403A (en) | TPE method of testings, device and equipment | |
CN109215161A (en) | A kind of drive test evidence taking equipment, method and drive test vehicle | |
US20120134534A1 (en) | Control computer and security monitoring method using the same | |
CN104142795A (en) | Information acquisition starting method, information acquisition starting device and mobile terminal | |
CN102572233A (en) | Electronic camera |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C41 | Transfer of patent application or patent right or utility model | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20160527 Address after: 519031 Guangdong city of Zhuhai province Hengqin Baohua Road No. 6 room 105 478 Applicant after: GUANGDONG ZHONGXING ELECTRONICS CO., LTD. Address before: 100191, Haidian District, Xueyuan Road, Beijing No. 35, Nanjing Ning building, 16 floor Applicant before: Beijing Vimicro Corporation |
|
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20130116 |
|
RJ01 | Rejection of invention patent application after publication |