CN112597952A - Method, device and system for identifying monitoring state of camera and storage medium - Google Patents
Method, device and system for identifying monitoring state of camera and storage medium Download PDFInfo
- Publication number
- CN112597952A CN112597952A CN202011606522.8A CN202011606522A CN112597952A CN 112597952 A CN112597952 A CN 112597952A CN 202011606522 A CN202011606522 A CN 202011606522A CN 112597952 A CN112597952 A CN 112597952A
- Authority
- CN
- China
- Prior art keywords
- camera
- monitoring
- sub
- actual
- initial
- 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
- 238000012544 monitoring process Methods 0.000 title claims abstract description 224
- 238000000034 method Methods 0.000 title claims abstract description 68
- 238000012545 processing Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 12
- 230000002159 abnormal effect Effects 0.000 claims description 9
- 238000000605 extraction Methods 0.000 claims description 6
- 238000012935 Averaging Methods 0.000 claims description 4
- 230000002349 favourable effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003909 pattern recognition Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/52—Surveillance or monitoring of activities, e.g. for recognising suspicious objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/10—Segmentation; Edge detection
- G06T7/11—Region-based segmentation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/30—Determination of transform parameters for the alignment of images, i.e. image registration
- G06T7/33—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods
- G06T7/337—Determination of transform parameters for the alignment of images, i.e. image registration using feature-based methods involving reference images or patches
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Bioinformatics & Computational Biology (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- Life Sciences & Earth Sciences (AREA)
- Closed-Circuit Television Systems (AREA)
Abstract
The invention discloses a method, a device and a system for identifying the monitoring state of a camera and a computer readable storage medium, wherein the method comprises the following steps: pre-establishing a background model of a camera monitoring picture; acquiring an actual monitoring video in the monitoring process of the camera; judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model; according to the invention, whether the camera is shielded or not in the monitoring process can be determined through the actual monitoring video acquired by the camera in the monitoring process and the pre-established background model of the monitoring picture of the camera, so that the monitoring state of the camera can be known by workers in time, and the camera is convenient to maintain.
Description
Technical Field
The embodiment of the invention relates to the technical field of security monitoring, in particular to a method, a device and a system for identifying a monitoring state of a camera and a computer readable storage medium.
Background
With the rapid progress of image processing and pattern recognition technologies and the convenience of computer vision, a video image processing-based approach is practically applied in many fields in real life. However, in the practical application process, the problem that the camera is shielded by an object unintentionally or intentionally is often encountered, so that the camera cannot work normally, and certain problems are brought to the large-area application of monitoring. Therefore, how to find out whether the camera is blocked in time in the operation process of the camera is a problem to be solved by those skilled in the art at present.
Disclosure of Invention
The embodiment of the invention aims to provide a method, a device and a system for identifying the monitoring state of a camera and a computer readable storage medium, which can determine whether the camera is shielded or not in the monitoring process in the using process, are favorable for workers to know the monitoring state of the camera in time and are convenient for maintaining the camera.
In order to solve the above technical problem, an embodiment of the present invention provides a method for identifying a monitoring state of a camera, including:
pre-establishing a background model of a camera monitoring picture;
acquiring an actual monitoring video in the monitoring process of the camera;
and judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
Optionally, the method further includes:
dividing a preset area in the monitoring range of the camera into a plurality of sub-areas in advance;
then, the process of pre-establishing the background model of the camera monitoring picture is as follows:
acquiring an initial monitoring video of the camera, and obtaining a respective standard characteristic value of each sub-area according to the initial monitoring video;
taking the standard characteristic value corresponding to each sub-region as a background model of the camera;
then, the process of judging whether the camera is shielded in the monitoring process by the monitoring video and the background model is as follows:
acquiring an actual monitoring video of the camera, and obtaining an actual characteristic value of each sub-area according to the actual monitoring video;
and judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
Optionally, the process of obtaining the respective standard characteristic value of each sub-region according to the initial monitoring video is as follows:
acquiring a plurality of initial monitoring images from the initial monitoring video;
dividing each initial monitoring image according to a preset size and a preset dividing method to obtain a plurality of initial sub-images corresponding to each sub-area;
processing each initial sub-image to obtain an initial characteristic value corresponding to each initial sub-image;
averaging all the initial characteristic values corresponding to the same sub-region to obtain a standard characteristic value corresponding to the sub-region, so as to obtain a standard characteristic value corresponding to each sub-region.
Optionally, the process of obtaining the respective actual feature value of each sub-region according to the actual monitoring video is as follows:
acquiring 1 frame of actual monitoring image from the actual monitoring video;
dividing the actual monitoring image according to the preset size and the preset dividing method to obtain actual sub-images corresponding to each sub-area;
and processing each actual sub-image to obtain an actual characteristic value corresponding to each sub-area.
Optionally, the step of determining whether the camera is blocked in the monitoring process according to the actual characteristic value of each sub-region and the corresponding standard characteristic value is as follows:
matching the actual characteristic values of the sub-regions corresponding to the 1 frame of actual monitoring image with the corresponding standard characteristic values respectively to obtain the similarity corresponding to each sub-region;
judging whether the number of the similarity degrees smaller than the preset similarity degrees reaches a preset number, if so, determining that the actual monitored image is an abnormal image;
and judging whether the actual monitoring images with continuous M frames are all abnormal images, if so, determining that the camera is shielded in the monitoring process, and M is larger than 1.
Optionally, the method further includes:
and when the camera is determined to be shielded in the monitoring process, sending an alarm prompt.
The embodiment of the invention also provides a device for identifying the monitoring state of the camera, which comprises:
the establishing module is used for establishing a background model of a camera monitoring picture in advance;
the acquisition module is used for acquiring an actual monitoring video in the monitoring process of the camera;
and the judging module is used for judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
Optionally, the method further includes:
the dividing module is used for dividing a preset area in the monitoring range of the camera into a plurality of sub-areas in advance;
then, the establishing module includes:
the first extraction unit is used for acquiring an initial monitoring video of the camera and obtaining a respective standard characteristic value of each sub-area according to the initial monitoring video;
the determining unit is used for taking the standard characteristic value corresponding to each sub-region as a background model of the camera;
then, the judging module includes:
the second extraction unit is used for acquiring an actual monitoring video of the camera and obtaining an actual characteristic value of each sub-area according to the actual monitoring video;
and the judging unit is used for judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
The embodiment of the invention also provides a system for identifying the monitoring state of the camera, which comprises the following components:
a memory for storing a computer program;
and a processor for implementing the steps of the method for identifying the monitoring state of the camera when the computer program is executed.
The invention further provides a computer-readable storage medium, on which a computer program is stored, and when being executed by a processor, the computer program implements the steps of the method for identifying the monitoring state of the camera.
The embodiment of the invention provides a method, a device and a system for identifying a monitoring state of a camera and a computer readable storage medium, wherein the method comprises the following steps: pre-establishing a background model of a camera monitoring picture; acquiring an actual monitoring video in the monitoring process of the camera; and judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model. Therefore, the method and the device can determine whether the camera is shielded or not in the monitoring process through the actual monitoring video acquired by the camera in the monitoring process and the pre-established background model of the monitoring picture of the camera, are favorable for workers to know the monitoring state of the camera in time, and are convenient for maintaining the camera.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for identifying a monitoring state of a camera according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a sub-region division manner according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for recognizing a monitoring state of a camera according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device and a system for identifying the monitoring state of a camera and a computer readable storage medium, which can determine whether the camera is shielded or not in the monitoring process in the using process, are favorable for workers to know the monitoring state of the camera in time and are convenient for maintaining the camera.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for identifying a monitoring state of a camera according to an embodiment of the present invention. The method comprises the following steps:
s110: pre-establishing a background model of a camera monitoring picture;
specifically, after the camera is installed, the background of the monitoring picture of the camera is basically fixed, so that a background model of the monitoring picture of the camera can be established in advance according to the monitoring video without an object in the monitoring picture, and specifically, the background model can be established according to the initial monitoring picture after the camera is successfully installed.
It should be noted that, in a normal image acquired by actual video monitoring, the image is clear, and the image edge information is generally rich, and an object generally used for shielding after a camera is shielded is close to a camera lens, so that imaging is biased to be blurred, and thus edge and texture features are not easily presented. In addition, if the edge of the object used for shielding is clear, the background model can be briefly described by the monitoring video without the object in the monitoring picture, and if the camera is shielded for a long time, the difference between the characteristic values (edge and texture characteristics) in the monitoring video of the shielded camera and the background model is very large, so that whether the camera is shielded in the operation process can be determined.
Specifically, the method may further include:
dividing a preset area in a camera monitoring range into a plurality of sub-areas in advance;
specifically, because the peripheral region in the camera monitoring picture may have a situation that the edge area is not strongly indexed, and the size of the camera monitoring range, that is, the size of the camera monitoring picture, the preset region of the camera monitoring range may be divided into a plurality of sub-regions in advance, where the preset region may be a middle region of the camera monitoring range, for example, the middle region of the monitoring range is divided into N × N sub-regions, which may specifically refer to fig. 2.
Correspondingly, the process of establishing the background model of the camera monitoring picture in advance comprises the following steps:
acquiring an initial monitoring video of a camera, and obtaining respective standard characteristic values of each subarea according to the initial monitoring video;
taking the standard characteristic value corresponding to each subregion as a background model of the camera;
specifically, the initial monitoring video is a situation that no object exists in the monitoring picture and only a background picture exists, respective standard characteristic values of each sub-region in a preset region can be obtained through processing the initial monitoring video, and the standard characteristic values and the sub-regions are stored in a one-to-one correspondence manner to form a background model so as to be used as a judgment standard for subsequently judging the monitoring state of the camera.
Further, the process of obtaining the respective standard feature value of each sub-region according to the initial monitoring video may specifically be:
acquiring a plurality of initial monitoring images from an initial monitoring video;
dividing each initial monitoring image according to a preset size and a preset dividing method to obtain a plurality of initial sub-images corresponding to each sub-area;
processing each initial sub-image to obtain an initial characteristic value corresponding to each initial sub-image;
and averaging all the initial characteristic values corresponding to the same sub-region to obtain a standard characteristic value corresponding to the sub-region so as to obtain a standard characteristic value corresponding to each sub-region.
It should be noted that, in this embodiment, a plurality of initial monitoring images may be specifically obtained from an initial monitoring video, and since the resolutions of the sizes of the initial monitoring images may be inconsistent, the size of each initial monitoring image may be processed according to a preset size, so that the sizes of the processed initial monitoring images are consistent, and then the preset area portion in each initial monitoring image with the unified size is divided according to a preset dividing manner to obtain each initial sub-image, where each initial sub-image in the initial monitoring image corresponds to one sub-area. That is, for m initial monitoring images, one sub-region corresponds to m initial sub-images, each initial sub-image is processed to obtain a corresponding initial feature value, and the standard feature value corresponding to one sub-region is obtained by averaging the m initial feature values corresponding to the sub-region. After each initial sub-image can be subjected to graying processing, laplacian change and binarization processing are adopted to obtain an initial characteristic value of the initial sub-image, wherein the initial characteristic value comprises an edge sum texture value, and the further obtained standard characteristic value also comprises an edge value and a texture value.
Specifically, the preset size in this embodiment may be 300 × 300, and a portion of the initial monitoring image with the uniform size corresponding to the preset pre-divided region may be divided into a plurality of initial sub-images, where the middle region may be divided specifically, for example, a portion of the middle region 200 of the initial monitoring image with the size of 300 × 300 is divided into N × N initial sub-images, and each initial sub-image corresponds to one sub-region. Of course, the preset size in practical application may be determined according to practical situations, and this embodiment is not particularly limited.
S120: acquiring an actual monitoring video in the monitoring process of the camera;
s130: and judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
Specifically, in this embodiment, whether the camera is blocked in the monitoring process may be specifically determined according to the actual monitoring video acquired by the camera in the operation process and a pre-established background model, which is specifically as follows: acquiring an actual monitoring video of a camera, and obtaining respective actual characteristic value of each sub-area according to the actual monitoring video;
and judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
Specifically, the respective actual characteristic value of each sub-region can be obtained according to the actual monitoring video, that is, the actual edge value and texture value of each sub-region are obtained, and then whether the camera is blocked in the monitoring process can be determined by comparing the actual characteristic value of each sub-region with the standard characteristic value.
The process of obtaining the respective actual characteristic value of each sub-region according to the actual monitoring video is as follows:
acquiring 1 frame of actual monitoring image from the actual monitoring video;
dividing the actual monitoring image according to a preset size and a preset dividing method to obtain actual sub-images corresponding to each sub-area;
and processing each actual sub-image to obtain an actual characteristic value corresponding to each sub-area.
It can be understood that the actual monitoring image corresponding to 1 frame in the actual monitoring video is obtained, and the size of the actual monitoring image is processed according to the preset size, so that the size of the processed actual monitoring image is uniform with the size of the initial monitoring image adopted when the background model is established, and the actual monitoring image after size processing is divided to obtain actual sub-images corresponding to the sub-areas respectively, wherein the preset division method is the same as the method for dividing the preset area to obtain each sub-area, namely obtaining N × N actual sub-images, and graying each actual sub-image, and adopting Laplace change and binarization processing to the grayed actual sub-images, thereby extracting the actual feature value (including the actual edge value and the texture value) of each actual sub-image, and obtaining the actual feature value corresponding to each sub-area.
Then, the process of determining whether the camera is blocked in the monitoring process according to the actual characteristic value of each sub-region and the corresponding standard characteristic value is as follows:
matching the actual characteristic values of the sub-regions corresponding to the 1 frame of actual monitoring image with the corresponding standard characteristic values respectively to obtain the similarity corresponding to each sub-region;
judging whether the number of the similarity degrees smaller than the preset similarity degrees reaches a preset number, if so, determining that the actual monitored image is an abnormal image;
and judging whether the actual monitoring images with continuous M frames are all abnormal images, if so, determining that the camera is shielded in the monitoring process, and M is larger than 1.
It can be understood that, specifically, the actual monitored images corresponding to multiple frames may be obtained according to the above method, and the actual feature values corresponding to each actual monitored image are obtained, that is, the actual feature values of one actual monitored image correspond to each sub-region one to one. Aiming at each actual characteristic value of an actual monitoring image, matching each actual characteristic value with a corresponding standard characteristic value to obtain respective similarity, comparing each similarity with a preset similarity, and recording the number of similarities smaller than the preset similarity, wherein when the number reaches the preset number, the vision monitoring image is indicated to have an object for shielding a camera, and the vision monitoring image is taken as an abnormal image; in the practical life, an object passing through the camera temporarily shields the camera, or the camera installed outdoors can shield the camera temporarily due to environmental changes such as the condition that leaves are blown by wind, and the camera can normally work under the condition that the camera is not shielded for a long time.
For example, N is 10, that is, the preset region is divided into 10 × 10 sub-regions, the preset number may be 80, and the preset similarity may be 0.3, when the number of similarities, which are lower than 0.3, between each actual feature value corresponding to one actual video image and the corresponding standard feature value reaches 80, the actual video image is considered as an abnormal image, and specifically, when there are 50 consecutive actual video images which are abnormal images, the camera is considered to be blocked in the monitoring process.
In addition, when the camera is determined to be shielded in the monitoring process, an alarm prompt is sent out so as to remind workers of maintaining the camera in time.
Therefore, the method and the device can determine whether the camera is shielded or not in the monitoring process through the actual monitoring video acquired by the camera in the monitoring process and the pre-established background model of the monitoring picture of the camera, are favorable for workers to know the monitoring state of the camera in time, and are convenient for maintaining the camera.
On the basis of the foregoing embodiments, the present invention further provides an apparatus for identifying a monitoring state of a camera, which is specifically shown in fig. 3. The device includes:
the establishing module 21 is used for establishing a background model of a camera monitoring picture in advance;
an obtaining module 22, configured to obtain an actual monitoring video in a monitoring process of the camera;
and the judging module 23 is configured to judge whether the camera is blocked in the monitoring process according to the actual monitoring video and the background model.
Optionally, the apparatus may further include:
the dividing module is used for dividing a preset area in the monitoring range of the camera into a plurality of sub-areas in advance;
then, the establishing module 21 includes:
the first extraction unit is used for acquiring an initial monitoring video of the camera and obtaining a respective standard characteristic value of each subarea according to the initial monitoring video;
the determining unit is used for taking the standard characteristic value corresponding to each sub-area as a background model of the camera;
then, the judging module 23 includes:
the second extraction unit is used for acquiring the actual monitoring video of the camera and obtaining the respective actual characteristic value of each subarea according to the actual monitoring video;
and the judging unit is used for judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
It should be noted that the identification apparatus for a monitoring state of a camera provided in this embodiment has the same beneficial effects as the identification method for a monitoring state of a camera provided in the foregoing embodiment, and for the specific description of the identification method for a monitoring state of a camera provided in this embodiment, reference is made to the foregoing embodiment, and details of this application are not repeated herein.
On the basis of the above embodiment, the embodiment of the present invention further provides a system for identifying a monitoring state of a camera, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the camera monitoring state identification method when executing the computer program.
It should be noted that the processor in this embodiment may be specifically configured to implement pre-establishing a background model of a camera monitoring picture; acquiring an actual monitoring video in the monitoring process of the camera; and judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
On the basis of the foregoing embodiments, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for identifying the monitoring state of the camera as described above.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It should also be noted that in this specification, terms such as "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for identifying a monitoring state of a camera is characterized by comprising the following steps:
pre-establishing a background model of a camera monitoring picture;
acquiring an actual monitoring video in the monitoring process of the camera;
and judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
2. The method for recognizing the monitoring state of the camera according to claim 1, further comprising:
dividing a preset area in the monitoring range of the camera into a plurality of sub-areas in advance;
then, the process of pre-establishing the background model of the camera monitoring picture is as follows:
acquiring an initial monitoring video of the camera, and obtaining a respective standard characteristic value of each sub-area according to the initial monitoring video;
taking the standard characteristic value corresponding to each sub-region as a background model of the camera;
then, the process of judging whether the camera is shielded in the monitoring process by the monitoring video and the background model is as follows:
acquiring an actual monitoring video of the camera, and obtaining an actual characteristic value of each sub-area according to the actual monitoring video;
and judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
3. The method for identifying the monitoring status of the camera according to claim 2, wherein the process of obtaining the respective standard feature value of each sub-region according to the initial monitoring video comprises:
acquiring a plurality of initial monitoring images from the initial monitoring video;
dividing each initial monitoring image according to a preset size and a preset dividing method to obtain a plurality of initial sub-images corresponding to each sub-area;
processing each initial sub-image to obtain an initial characteristic value corresponding to each initial sub-image;
averaging all the initial characteristic values corresponding to the same sub-region to obtain a standard characteristic value corresponding to the sub-region, so as to obtain a standard characteristic value corresponding to each sub-region.
4. The method for identifying the monitoring state of the camera according to claim 3, wherein the process of obtaining the respective actual feature value of each sub-region according to the actual monitoring video comprises:
acquiring 1 frame of actual monitoring image from the actual monitoring video;
dividing the actual monitoring image according to the preset size and the preset dividing method to obtain actual sub-images corresponding to each sub-area;
and processing each actual sub-image to obtain an actual characteristic value corresponding to each sub-area.
5. The method for identifying the monitoring state of the camera according to claim 4, wherein the step of judging whether the camera is blocked in the monitoring process according to the actual feature value of each sub-region and the corresponding standard feature value comprises:
matching the actual characteristic values of the sub-regions corresponding to the 1 frame of actual monitoring image with the corresponding standard characteristic values respectively to obtain the similarity corresponding to each sub-region;
judging whether the number of the similarity degrees smaller than the preset similarity degrees reaches a preset number, if so, determining that the actual monitored image is an abnormal image;
and judging whether the actual monitoring images with continuous M frames are all abnormal images, if so, determining that the camera is shielded in the monitoring process, and M is larger than 1.
6. The method for recognizing the monitoring state of the camera according to claim 4, further comprising:
and when the camera is determined to be shielded in the monitoring process, sending an alarm prompt.
7. An apparatus for recognizing a monitoring state of a camera, comprising:
the establishing module is used for establishing a background model of a camera monitoring picture in advance;
the acquisition module is used for acquiring an actual monitoring video in the monitoring process of the camera;
and the judging module is used for judging whether the camera is shielded in the monitoring process according to the actual monitoring video and the background model.
8. The apparatus for recognizing the monitoring state of a camera according to claim 7, further comprising:
the dividing module is used for dividing a preset area in the monitoring range of the camera into a plurality of sub-areas in advance;
then, the establishing module includes:
the first extraction unit is used for acquiring an initial monitoring video of the camera and obtaining a respective standard characteristic value of each sub-area according to the initial monitoring video;
the determining unit is used for taking the standard characteristic value corresponding to each sub-region as a background model of the camera;
then, the judging module includes:
the second extraction unit is used for acquiring an actual monitoring video of the camera and obtaining an actual characteristic value of each sub-area according to the actual monitoring video;
and the judging unit is used for judging whether the camera is shielded in the monitoring process according to the actual characteristic value of each sub-area and the corresponding standard characteristic value.
9. A system for recognizing a monitoring state of a camera, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for identifying a monitoring status of a camera according to any one of claims 1 to 6 when executing the computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for identifying a monitoring state of a camera according to any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011606522.8A CN112597952A (en) | 2020-12-28 | 2020-12-28 | Method, device and system for identifying monitoring state of camera and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011606522.8A CN112597952A (en) | 2020-12-28 | 2020-12-28 | Method, device and system for identifying monitoring state of camera and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112597952A true CN112597952A (en) | 2021-04-02 |
Family
ID=75204166
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011606522.8A Pending CN112597952A (en) | 2020-12-28 | 2020-12-28 | Method, device and system for identifying monitoring state of camera and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112597952A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114093117A (en) * | 2021-10-11 | 2022-02-25 | 北京精英***科技有限公司 | Fire control management and control method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104637068A (en) * | 2013-11-14 | 2015-05-20 | 华为技术有限公司 | Detection method and detection device for shielding of video frames and video pictures |
CN105491289A (en) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | Method and device for preventing photographing occlusion |
JP2017117244A (en) * | 2015-12-24 | 2017-06-29 | Kddi株式会社 | Image analysis device for detecting a person displayed in photographic image of camera |
CN107316312A (en) * | 2017-06-30 | 2017-11-03 | 深圳信路通智能技术有限公司 | A kind of video image occlusion detection method and system |
CN110636281A (en) * | 2019-09-23 | 2019-12-31 | 江西憶源多媒体科技有限公司 | Real-time monitoring camera shielding detection method based on background model |
CN111027398A (en) * | 2019-11-14 | 2020-04-17 | 深圳市有为信息技术发展有限公司 | Automobile data recorder video occlusion detection method |
CN111723644A (en) * | 2020-04-20 | 2020-09-29 | 北京邮电大学 | Method and system for detecting occlusion of surveillance video |
CN111898486A (en) * | 2020-07-14 | 2020-11-06 | 浙江大华技术股份有限公司 | Method and device for detecting abnormity of monitoring picture and storage medium |
-
2020
- 2020-12-28 CN CN202011606522.8A patent/CN112597952A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104637068A (en) * | 2013-11-14 | 2015-05-20 | 华为技术有限公司 | Detection method and detection device for shielding of video frames and video pictures |
CN105491289A (en) * | 2015-12-08 | 2016-04-13 | 小米科技有限责任公司 | Method and device for preventing photographing occlusion |
JP2017117244A (en) * | 2015-12-24 | 2017-06-29 | Kddi株式会社 | Image analysis device for detecting a person displayed in photographic image of camera |
CN107316312A (en) * | 2017-06-30 | 2017-11-03 | 深圳信路通智能技术有限公司 | A kind of video image occlusion detection method and system |
CN110636281A (en) * | 2019-09-23 | 2019-12-31 | 江西憶源多媒体科技有限公司 | Real-time monitoring camera shielding detection method based on background model |
CN111027398A (en) * | 2019-11-14 | 2020-04-17 | 深圳市有为信息技术发展有限公司 | Automobile data recorder video occlusion detection method |
CN111723644A (en) * | 2020-04-20 | 2020-09-29 | 北京邮电大学 | Method and system for detecting occlusion of surveillance video |
CN111898486A (en) * | 2020-07-14 | 2020-11-06 | 浙江大华技术股份有限公司 | Method and device for detecting abnormity of monitoring picture and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114093117A (en) * | 2021-10-11 | 2022-02-25 | 北京精英***科技有限公司 | Fire control management and control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108288027B (en) | Image quality detection method, device and equipment | |
US9064316B2 (en) | Methods of content-based image identification | |
EP2093697B1 (en) | Method and arrangement for retrieving information comprised in a barcode | |
JP5701005B2 (en) | Object detection apparatus, object detection method, surveillance camera system, and program | |
WO2022170702A1 (en) | Mold state monitoring method, apparatus and system, and industrial personal computer and storage medium | |
CN111339979B (en) | Image recognition method and image recognition device based on feature extraction | |
CN108280386B (en) | Monitoring scene detection method and device | |
CN106921804B (en) | Method and device for creating schedule in terminal and terminal equipment | |
US10445868B2 (en) | Method for detecting a defect on a surface of a tire | |
CN111222506B (en) | Color recognition method, apparatus, and computer-readable storage medium | |
CN110458790B (en) | Image detection method and device and computer storage medium | |
KR102006763B1 (en) | Method and System for Analyzing Road Congestion Using CCTV | |
KR20130000828A (en) | A method of detecting facial features | |
CN114049499A (en) | Target object detection method, apparatus and storage medium for continuous contour | |
CN112597952A (en) | Method, device and system for identifying monitoring state of camera and storage medium | |
CN113963153A (en) | Vehicle identification method, device, equipment and storage medium | |
CN113808087A (en) | Defect management and control method and device for surface of steel plate and computer readable storage medium | |
CN110855876A (en) | Image processing method, terminal and computer storage medium | |
CN111462188A (en) | Camera movement detection method and system | |
CN110807457A (en) | OSD character recognition method, device and storage device | |
CN115690892B (en) | Mitigation method and device, electronic equipment and storage medium | |
CN115661131B (en) | Image identification method and device, electronic equipment and storage medium | |
CN116452676A (en) | Camera calibration method, device, equipment and readable storage medium | |
KR101384784B1 (en) | Methods for detecting optimal position for mobile device | |
CN111091526B (en) | Video blurring detection method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20210402 |