CN107509059A - Camera lens occlusion detection method - Google Patents
Camera lens occlusion detection method Download PDFInfo
- Publication number
- CN107509059A CN107509059A CN201710857561.7A CN201710857561A CN107509059A CN 107509059 A CN107509059 A CN 107509059A CN 201710857561 A CN201710857561 A CN 201710857561A CN 107509059 A CN107509059 A CN 107509059A
- Authority
- CN
- China
- Prior art keywords
- image frame
- depth
- camera lens
- foreground image
- determined
- 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
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/50—Depth or shape recovery
- G06T7/55—Depth or shape recovery from multiple images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
-
- 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/10016—Video; Image sequence
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Image Analysis (AREA)
Abstract
Camera lens occlusion detection method provided by the invention, is primarily characterized in that, including:The first step:Determine the monitor area of video camera, acquisition monitoring video information;Second step:Foreground image frame is determined, the foreground image frame includes depth information;3rd step:The depth histogram of the foreground image frame is determined according to the depth information;4th step:The difference of the depth histogram of the foreground image frame and the depth histogram of background model is determined, the background model is determined according to background image frame, and the background image frame includes depth information;5th step:Determine whether camera lens is blocked according to the difference;6th step:It is determined that after blocking, alert.Camera lens occlusion detection method provided by the invention, depth information is based on come Statistic analysis foreground depth and background depth using depth histogram, the accuracy of camera lens occlusion detection can be effectively improved, there is important application value.
Description
Technical field
The invention belongs to security monitoring technology, more particularly to a kind of camera lens occlusion detection method.
Background technology
At present, the safety defense monitoring system of the various scales of China's every profession and trade is very universal, except public security, finance,
Outside the special dimensions such as bank, traffic, army and port, community, office building, hotel, public place are also mounted mostly
Safety monitoring equipment.When the camera lens in safety monitoring equipment are artificially maliciously blocked, if monitoring personnel fails in time
It was found that when, then monitoring can be caused to fail.
The method for solving the camera lens occlusion detection in the prior art is to obtain contextual data by camera lens, is established
RGB background models, the difference of foreground and background is counted to judge whether camera lens is blocked.Because the data that camera lens collects are
RGB data, the image restored are two-dimensional image, prospect can not be judged to the distance of camera lens, so cannot be distinguished by prospect
Pixel change be as caused by blocking camera lens, be also due in scene many objects move into, if for example, using one
When the photo of background blocks camera lens, scene and the real background seen in camera lens are no different, and are hidden due to can not preferably reduce camera lens
The physical process of gear, only it is the conjecture based on panel data change, therefore the accuracy rate of camera lens occlusion detection can be caused
It is relatively low, do not reach preferable safety monitoring effect.
The content of the invention
In consideration of it, camera lens occlusion detection method provided by the invention, can effectively solve the above problems.
Camera lens occlusion detection method provided by the invention, comprises the following steps:
The first step:Determine the monitor area of video camera, acquisition monitoring video information;
Second step:Foreground image frame is determined, the foreground image frame includes depth information;
3rd step:The depth histogram of the foreground image frame is determined according to the depth information;
4th step:Determine the difference of the depth histogram of the foreground image frame and the depth histogram of background model, the back of the body
Scape model is determined according to background image frame, and the background image frame includes depth information;
5th step:Determine whether camera lens is blocked according to the difference;
6th step:It is determined that after blocking, alert.
The beneficial effects of the present invention are:Camera lens occlusion detection method provided by the invention, utilizes depth Nogata
Figure is based on depth information come Statistic analysis foreground depth and background depth, and then detects whether camera lens is maliciously blocked.Compare
Judge the technical scheme that camera lens is blocked using RGB information in the prior art, due to adding depth information, the object of detection from
Two dimension becomes three-dimensional, and the content of detection is more abundant comprehensive, can preferably reduce the essence that camera lens block, can be effective
The accuracy of camera lens occlusion detection is improved, reliable guarantee is provided for security protection work, there is important application value.
Brief description of the drawings
, below will be to embodiment in order to illustrate more clearly of patent Example of the present invention or technical scheme of the prior art
Or the accompanying drawing used in description of the prior art is briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of the present invention.
Embodiment
Illustrate embodiments of the present invention below by way of specific instantiation, those skilled in the art can be by this specification
Disclosed content understands other advantages and effect of the present invention easily, and the present invention can also pass through specific realities different in addition
The mode of applying is embodied or practiced, the various details in this specification can also be based on different viewpoints with application, without departing from
Various modifications or alterations are carried out under the spirit of the present invention.
It should be noted that the diagram provided in the present embodiment only illustrates the basic conception of the present invention in a schematic way,
Only display and relevant component in the present invention in schematic diagram, its assembly layout kenel may also be increasingly complex during its actual implementation.
Camera lens occlusion detection method provided by the invention, comprises the following steps:
Step S101:Determine the monitor area of video camera, acquisition monitoring video image information;
Step S102:Foreground image frame is determined, the foreground image frame includes depth information;
Step S103:The depth histogram of the foreground image frame is determined according to the depth information;
Step S104:The difference of the depth histogram of the foreground image frame and the depth histogram of background model is determined, it is described
Background model is determined according to background image frame, and the background image frame includes depth information;
Step S105:Determine whether camera lens are blocked according to the difference;
Step S106:After determining that camera lens are blocked, alert.
Further, foreground image frame is determined in step S102, the foreground image frame is included in depth information, using mixed
Close Gauss model and establish background model, the foreground image frame can be determined according to predetermined period.
Further, in step S103 determines the depth histogram of the foreground image frame according to the depth information,
The depth histogram of the foreground image frame can be according to background model scaled down.
Further, the depth histogram of the foreground image frame and the depth Nogata of background model are determined in step S104
In the difference of figure, the difference of depth histogram is compared by way of given threshold.
The above-described embodiments merely illustrate the principles and effects of the present invention, any ripe not for the limitation present invention
Know the personage of this technology all can carry out modifications and changes under the spirit and scope without prejudice to the present invention to above-described embodiment, because
This, those of ordinary skill in the art is complete without departing from disclosed spirit and institute under technological thought such as
Into all equivalent modifications or change, should by the present invention claim be covered.
Claims (4)
1. camera lens occlusion detection method, is primarily characterized in that, including:
The first step:Determine the monitor area of video camera, acquisition monitoring video information;
Second step:Foreground image frame is determined, the foreground image frame includes depth information;
3rd step:The depth histogram of the foreground image frame is determined according to the depth information;
4th step:Determine the difference of the depth histogram of the foreground image frame and the depth histogram of background model, the back of the body
Scape model is determined according to background image frame, and the background image frame includes depth information;
5th step:Determine whether camera lens is blocked according to the difference;
6th step:It is determined that after blocking, alert.
2. camera lens occlusion detection method according to claim 1, is primarily characterized in that:It is determined that foreground image
Frame, the foreground image frame are included in depth information step, and background model, the foreground image are established using mixed Gauss model
Frame can be determined according to predetermined period.
3. camera lens occlusion detection method according to claim 1, is primarily characterized in that:According to the depth
Information determines in the depth histogram step of the foreground image frame that the depth histogram of the foreground image frame can be according to the back of the body
Scape model scaled down.
4. camera lens occlusion detection method according to claim 1, is primarily characterized in that:It is determined that the prospect
In the difference step of the depth histogram of picture frame and the depth histogram of background model, compared by way of given threshold
The difference of depth histogram.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710857561.7A CN107509059A (en) | 2017-09-21 | 2017-09-21 | Camera lens occlusion detection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710857561.7A CN107509059A (en) | 2017-09-21 | 2017-09-21 | Camera lens occlusion detection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107509059A true CN107509059A (en) | 2017-12-22 |
Family
ID=60698341
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710857561.7A Pending CN107509059A (en) | 2017-09-21 | 2017-09-21 | Camera lens occlusion detection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107509059A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109447000A (en) * | 2018-10-31 | 2019-03-08 | 北京旷视科技有限公司 | Biopsy method, spot detection method, electronic equipment and recording medium |
CN110647858A (en) * | 2019-09-29 | 2020-01-03 | 上海依图网络科技有限公司 | Video occlusion judgment method and device and computer storage medium |
CN112492158A (en) * | 2020-11-26 | 2021-03-12 | 歌尔科技有限公司 | Method, device and system for preventing deception of camera and camera system |
CN112561874A (en) * | 2020-12-11 | 2021-03-26 | 杭州海康威视数字技术股份有限公司 | Blocking object detection method and device and monitoring camera |
US11551465B2 (en) | 2020-06-30 | 2023-01-10 | Beijing Xiaomi Pinecone Electronics Co., Ltd. | Method and apparatus for detecting finger occlusion image, and storage medium |
-
2017
- 2017-09-21 CN CN201710857561.7A patent/CN107509059A/en active Pending
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109447000A (en) * | 2018-10-31 | 2019-03-08 | 北京旷视科技有限公司 | Biopsy method, spot detection method, electronic equipment and recording medium |
CN110647858A (en) * | 2019-09-29 | 2020-01-03 | 上海依图网络科技有限公司 | Video occlusion judgment method and device and computer storage medium |
US11551465B2 (en) | 2020-06-30 | 2023-01-10 | Beijing Xiaomi Pinecone Electronics Co., Ltd. | Method and apparatus for detecting finger occlusion image, and storage medium |
CN112492158A (en) * | 2020-11-26 | 2021-03-12 | 歌尔科技有限公司 | Method, device and system for preventing deception of camera and camera system |
CN112561874A (en) * | 2020-12-11 | 2021-03-26 | 杭州海康威视数字技术股份有限公司 | Blocking object detection method and device and monitoring camera |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107509059A (en) | Camera lens occlusion detection method | |
CN104657993B (en) | A kind of camera lens occlusion detection method and device | |
CN108805042B (en) | Detection method for monitoring video sheltered from leaves in road area | |
CN111931599B (en) | High altitude parabolic detection method, equipment and storage medium | |
CN105915846A (en) | Monocular and binocular multiplexed invading object monitoring method and system | |
CN107316312A (en) | A kind of video image occlusion detection method and system | |
WO2021212725A1 (en) | Method and apparatus for evaluating performance of facial recognition algorithm | |
CN106570478A (en) | Object loss determine method and device in visual tracking | |
CN104994374B (en) | Method for automatically detecting three-dimensional format of video | |
CN103280052B (en) | Be applied to the intrusion detection method of long distance track circuit intelligent video monitoring | |
CN105139016A (en) | Interference detection system for surveillance camera and application method of interference detection system | |
CN103729858A (en) | Method for detecting article left over in video monitoring system | |
CN109035278B (en) | Image-based fire door and detection method for opening and closing state of fire door | |
CN109740444A (en) | Flow of the people information displaying method and Related product | |
CN104506850B (en) | A kind of video shelter determination methods and device | |
CN104504707A (en) | Foreign matter blocking detecting method of monitoring camera video images | |
CN106530328A (en) | Method for detecting and smoothly following moving object based on video images | |
CN106295557B (en) | A kind of method and device of crowd density estimation | |
CN108628442A (en) | A kind of information cuing method, device and electronic equipment | |
CN207233038U (en) | Face is called the roll and number system | |
CN110310301A (en) | A kind of method and device detecting target image | |
CN109241977A (en) | A kind of camera lens occlusion detection method | |
CN114037087B (en) | Model training method and device, depth prediction method and device, equipment and medium | |
CN103324906B (en) | A kind of method and apparatus of legacy detection | |
CN103049919B (en) | A kind of embedded target detection algorithm |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20171222 |
|
WD01 | Invention patent application deemed withdrawn after publication |