CN105847767B - A kind of alarm method, apparatus and system - Google Patents
A kind of alarm method, apparatus and system Download PDFInfo
- Publication number
- CN105847767B CN105847767B CN201610379033.0A CN201610379033A CN105847767B CN 105847767 B CN105847767 B CN 105847767B CN 201610379033 A CN201610379033 A CN 201610379033A CN 105847767 B CN105847767 B CN 105847767B
- Authority
- CN
- China
- Prior art keywords
- image
- block
- monitoring
- pixel value
- likelihood
- 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.)
- Active
Links
Classifications
-
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
Abstract
The present invention provides a kind of alarm method, apparatus and system, wherein, the method includes:S0:Pre-set likelihood threshold value and, the initial pictures of service area are set;S1:It obtains and monitors the monitoring image that the external camera of the service area is shot during the work time;S2:According to the initial pictures and the monitoring image, the feature likelihood of the initial pictures and the monitoring image is calculated;S3:Compare the feature likelihood and the likelihood threshold value, when the feature likelihood is less than the likelihood threshold value, generate the warning information of corresponding external camera;S4:The warning information is sent to external monitoring center, so that monitoring center shows the warning information.By technical scheme of the present invention, it can be achieved that being alerted when the camera site of video camera or shooting angle are changed.
Description
Technical field
The present invention relates to technical field of information communication, more particularly to a kind of alarm method, apparatus and system.
Background technology
Growing for destabilizing factor of economic fast-developing growth-promoting, in order to preferably build one stablizes harmonious society
Meeting, it usually needs be monitored using video camera to particular service scene.
At present, when being monitored to particular service scene, it usually needs video camera in specific position is installed, and sets and takes the photograph
For the shooting angle of camera so that video camera can shoot specific service area, video camera can regarding corresponding service area
Frequency information is sent to monitoring center, realizes through monitoring center monitoring business region.
But during camera operation or during power-off restarting, there may be the bats that video camera is maliciously changed by other people
It acts as regent and puts and shooting angle, cause monitoring center that can not carry out effective monitoring to service area by video camera, it is therefore, how real
The camera site of present video camera or shooting angle carry out alarm when changing becomes urgent problem to be solved.
Invention content
An embodiment of the present invention provides a kind of alarm method, apparatus and system, it can be achieved that in the camera site of video camera or
It is alerted when shooting angle is changed.
In a first aspect, an embodiment of the present invention provides a kind of alarm method, including:
S0:Pre-set likelihood threshold value and, the initial pictures of service area are set;
S1:It obtains and monitors the monitoring image that the external camera of the service area is shot during the work time;
S2:According to the initial pictures and the monitoring image, the spy of the initial pictures and the monitoring image is calculated
Levy likelihood;
S3:Compare the feature likelihood and the likelihood threshold value, when the feature likelihood is less than the likelihood
During threshold value, the warning information of corresponding external camera is generated;
S4:The warning information is sent to external monitoring center, so that external monitoring center shows the warning information.
Further,
It is described to pre-set likelihood threshold value, further comprise:Pre-set picture analyzing strategy;
It is described according to the initial pictures and the monitoring image, calculate the spy of the initial pictures and the monitoring image
Likelihood is levied, including:
According to the picture analyzing strategy, the initial pictures and the monitoring image are respectively divided into to have logic suitable
N the first image blocks and n the second image blocks of sequence;
The pixel value of each first image block and each the second image image in the block is calculated respectively;
M-th of first image blocks are determined as the first reference image block, m-th of second image blocks are determined as the second reference
Image block;
It is respectively compared the pixel value of each the first image image in the block and the first reference picture image in the block
Pixel value, current first image image in the block pixel value be more than the first reference picture image in the block pixel
During value, the condition code for marking current first image block is fisrt feature code, and otherwise, the condition code for marking current first image block is
Second feature code;And it is respectively compared the pixel value of each the second image image in the block and second reference image block
In image pixel value, current second image image in the block pixel value be more than the second reference picture figure in the block
During the pixel value of picture, the condition code for marking current second image block is fisrt feature code, otherwise, marks current second image block
Condition code is second feature code;
The corresponding condition code of the first image block and n for having logical order according to n have logical order
The corresponding condition code of second image block calculates n the first images for having identity logic sequence and corresponding same characteristic features code
The quantity of second image block in block and n the second image blocks;
Will be provided with identity logic sequence and corresponding same characteristic features code n the first image blocks and n the second image blocks in the
The quantity of two image blocks and the ratio of n determine to be characterized likelihood;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
Further, described obtain monitors the monitoring figure that the external camera of the service area is shot during the work time
Picture, including:
It obtains and monitors the monitor video that the external camera of the service area is shot during the work time;
L-th frame image in the monitor video is extracted, L-th frame image is determined as monitoring image;
Wherein, L is the integer more than 0.
Further,
Described obtain monitors the monitoring image that the external camera of the service area is shot during the work time, further
Including:Obtain the identification information of external camera;
The warning information of the corresponding external camera of generation, including:Generation carries the identification information of external camera
Warning information.
Second aspect, an embodiment of the present invention provides a kind of alarm device, including:
Setup module, for pre-set likelihood threshold value and, the initial pictures of service area are set;
Acquisition module, for obtaining the monitoring figure for monitoring the external camera of the service area and shooting during the work time
Picture;
Computing module, for according to the initial pictures and the monitoring image, calculating the initial pictures and the prison
Control the feature likelihood of image;
Processing module, for the feature likelihood and the likelihood threshold value, when the feature likelihood is less than
During the likelihood threshold value, the warning information of corresponding external camera is generated;
Information sending module, for the warning information to be sent to external monitoring center, so that external monitoring center is shown
Show the warning information.
Further,
The setup module is further used for pre-setting picture analyzing strategy;
The computing module, including:
Image procossing subelement, for according to the picture analyzing strategy, by the initial pictures and the monitoring image
It is respectively divided into n the first image blocks and n the second image blocks for having logical order;
First computation subunit, for calculating each first image block and each the second image image in the block respectively
Pixel value;
First determination subelement, for m-th of first image blocks to be determined as the first reference image block, by m-th second
Image block is determined as the second reference image block;
Condition code indexing unit, for being respectively compared the pixel value of each the first image image in the block and described first
The pixel value of reference picture image in the block is more than first reference chart in the pixel value of current first image image in the block
As image in the block pixel value when, the condition code for marking current first image block is fisrt feature code, otherwise, label current the
The condition code of one image block is second feature code;And be respectively compared the pixel value of each the second image image in the block with
The pixel value of the second reference picture image in the block is more than described the in the pixel value of current second image image in the block
During the pixel value of two reference pictures image in the block, the condition code for marking current second image block is fisrt feature code, otherwise, mark
The condition code for remembering current second image block is second feature code;
Second computation subunit, for having the corresponding condition code of the first image block of logical order according to n, with
And the n corresponding condition codes of the second image block for having logical order, calculating has identity logic sequence and correspondence is identical
The quantity of second image block in n the first image blocks and n the second image blocks of condition code;
Second determination subelement, for will be provided with n the first image blocks of identity logic sequence and corresponding same characteristic features code
It determines to be characterized likelihood with the quantity of the second image block and the ratio of n in n the second image blocks;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
Further,
The acquisition module, including:
Subelement is obtained, for obtaining the monitoring for monitoring the external camera of the service area and shooting during the work time
Video;
Subelement is extracted, for extracting L-th frame image in the monitor video, L-th frame image is determined as monitoring image;
Wherein, L is the integer more than 0.
Further,
The acquisition module is further used for obtaining the identification information of external camera;
The processing module, for generating the warning information for the identification information for carrying external camera.
The third aspect, an embodiment of the present invention provides a kind of warning system, including:
Monitoring center and the alarm device as described in any in above-mentioned second aspect;
Wherein, the monitoring center, including:
Display device for receiving the warning information for the correspondence external camera that the alarm device is sent, and shows institute
State warning information.
Further,
The monitoring center, further comprises:
Database, for storing the warning information for the correspondence external camera that the alarm device is sent.
An embodiment of the present invention provides a kind of alarm method, apparatus and system, by pre-setting the initial of service area
Image and corresponding likelihood threshold value are being monitored business by comparing for monitoring the video camera of the service area
The monitoring image shot in the course of work and the initial pictures of setting, it is similar to the feature of initial pictures to calculate monitoring image
Rate when the feature likelihood calculated is less than pre-set likelihood threshold value, then illustrates that video camera is real during the work time
The region of border monitoring and service area are not exactly the same, i.e., video camera during the work time, send out by camera site or shooting angle
Variation has been given birth to, correspondingly, the warning information of the corresponding video camera of generation, and warning information is sent to monitoring center to show
Show, it can be achieved that being alerted when the camera site of video camera or shooting angle are changed.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart for alarm method that one embodiment of the invention provides;
Fig. 2 is a kind of structure chart for alarm device that one embodiment of the invention provides;
Fig. 3 is the structure chart for another alarm device that one embodiment of the invention provides;
Fig. 4 is a kind of structure chart for warning system that one embodiment of the invention provides;
Fig. 5 is the structure chart for another warning system that one embodiment of the invention provides;
Fig. 6 is the flow chart for another alarm method that one embodiment of the invention provides;
Fig. 7 is a kind of image block partition structure schematic diagram for initial pictures that one embodiment of the invention provides;
Fig. 8 is a kind of image block partition structure schematic diagram for monitoring image that one embodiment of the invention provides.
Specific embodiment
Purpose, technical scheme and advantage to make the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
The all other embodiments obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of alarm method, including:
S0:Pre-set likelihood threshold value and, the initial pictures of service area are set;
S1:It obtains and monitors the monitoring image that the external camera of the service area is shot during the work time;
S2:According to the initial pictures and the monitoring image, the spy of the initial pictures and the monitoring image is calculated
Levy likelihood;
S3:Compare the feature likelihood and the likelihood threshold value, when the feature likelihood is less than the likelihood
During threshold value, the warning information of corresponding external camera is generated;
S4:The warning information is sent to external monitoring center, so that external monitoring center shows the warning information.
In the above embodiment of the present invention, pass through the initial pictures for pre-setting service area and corresponding likelihood threshold
Value, the monitoring image that the video camera of the service area is shot in the course of work for being monitored business is monitored by comparing
With the initial pictures of setting, the feature likelihood of monitoring image and initial pictures is calculated, when the feature likelihood calculated is small
When pre-set likelihood threshold value, then illustrating video camera, the region of actual monitored and service area are endless during the work time
Exactly the same, i.e., during the work time, camera site or shooting angle are changed video camera, should correspondingly, generation is corresponding
The warning information of video camera, and warning information is sent to monitoring center to be shown, it can be achieved that in the shooting position of video camera
It puts or when shooting angle is changed is alerted.
In the above embodiment of the present invention, likelihood threshold value is used to limit the minimum similar of two pictures of corresponding business scenario
Degree can rationally be set according to camera supervised practical business region, be compared in the site environment of service area
When stablizing, such as the interior of light stability, likelihood threshold value can be set it is more relatively high, such as between 0.975 to 1
Arbitrary value, in this way, the movement or small for the shooting angle progress of video camera for video camera camera site progress small distance
The change of amplitude can generate corresponding warning information to realize alarm;Opposite, if the room that site environment is easily varied
Outside, in order to reduce wrong report, likelihood threshold value can be set to more relatively low, such as the arbitrary value between 0.95 to 0.975,
In this way, fault alarm caused by shaking or light variation can be generated due to outdoor environment changes greatly to avoid video camera, only
Warning information can be just generated during with the presence of the larger scene changes of the service area in video camera time monitoring.
Further, in order to realize according to the monitoring image that video camera is shot in practical work process with it is pre-set
Initial pictures, calculate the feature likelihood between monitoring image and initial pictures, described in a preferred embodiment of the invention
Likelihood threshold value is pre-set, is further comprised:It is described to pre-set likelihood threshold value, further comprise:Pre-set picture
Analysis strategy;
It is described according to the initial pictures and the monitoring image, calculate the spy of the initial pictures and the monitoring image
Likelihood is levied, including:
According to the picture analyzing strategy, the initial pictures and the monitoring image are respectively divided into to have logic suitable
N the first image blocks and n the second image blocks of sequence;
The pixel value of each first image block and each the second image image in the block is calculated respectively;
M-th of first image blocks are determined as the first reference image block, m-th of second image blocks are determined as the second reference
Image block;
It is respectively compared the pixel value of each the first image image in the block and the first reference picture image in the block
Pixel value, current first image image in the block pixel value be more than the first reference picture image in the block pixel
During value, the condition code for marking current first image block is fisrt feature code, and otherwise, the condition code for marking current first image block is
Second feature code;And it is respectively compared the pixel value of each the second image image in the block and second reference image block
In image pixel value, current second image image in the block pixel value be more than the second reference picture figure in the block
During the pixel value of picture, the condition code for marking current second image block is fisrt feature code, otherwise, marks current second image block
Condition code is second feature code;
The corresponding condition code of the first image block and n for having logical order according to n have logical order
The corresponding condition code of second image block calculates n the first images for having identity logic sequence and corresponding same characteristic features code
The quantity of second image block in block and n the second image blocks;
Will be provided with identity logic sequence and corresponding same characteristic features code n the first image blocks and n the second image blocks in the
The quantity of two image blocks and the ratio of n determine to be characterized likelihood;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
Further, since video camera is in the practical work process for carrying out corresponding monitoring business, typically for business
Region carries out continuing shooting, i.e., video camera shooting is typically video, therefore, any frame in the video that video camera can be shot
It is determined as monitoring image;Specifically, in a preferred embodiment of the invention, the outside for obtaining the monitoring service area is taken the photograph
The monitoring image that camera is shot during the work time, including:
It obtains and monitors the monitor video that the external camera of the service area is shot during the work time;
L-th frame image in the monitor video is extracted, L-th frame image is determined as monitoring image;
Wherein, L is the integer more than 0.
Further, determined in order to facilitate the warning information that user shows according to monitoring center for corresponding video camera
To maintenance, in a preferred embodiment of the invention, the external camera for monitoring the service area that obtains is in the course of work
The monitoring image of middle shooting, further comprises:Obtain the identification information of external camera;
The warning information of the corresponding external camera of generation, including:Generation carries the identification information of external camera
Warning information.
In the above embodiment of the present invention, the identification information of external camera can be the name of product of external camera, type
Number and the corresponding network address of video camera etc..
As shown in Fig. 2, an embodiment of the present invention provides a kind of alarm device 10, including:
Setup module 101, for pre-set likelihood threshold value and, the initial pictures of service area are set;
Acquisition module 102, for obtaining the prison for monitoring the external camera of the service area and shooting during the work time
Control image;
Computing module 103, for according to the initial pictures and the monitoring image, calculating initial pictures and described
The feature likelihood of monitoring image;
Processing module 104, for the feature likelihood and the likelihood threshold value, when the feature likelihood is small
When the likelihood threshold value, the warning information of corresponding external camera is generated;
Information sending module 105, for the warning information to be sent to external monitoring center, so that external monitoring center
Show the warning information.
In the above embodiment of the present invention, alarm device can pass through corresponding software module or the side of software module combination hardware
Formula realizes that software module corresponding can be arranged on video camera or monitoring center, and combine the hardware of video camera or monitoring center
Equipment realizes corresponding business;For example, it is setup module by integrating corresponding software module in video camera, you can
The likelihood threshold value of setup module setting and the initial graph of service area are stored in the memory of video camera by setup module
Picture;Correspondingly, setup module may also be arranged on monitoring center, storing setup module by corresponding non-volatile memory medium sets
The likelihood threshold value and the initial pictures of service area put;It should be understood that alarm device can also pass through software combination hardware
Mode form independent device, which connects video camera and monitoring center respectively.
Further, in order to realize according to the monitoring image that video camera is shot in practical work process with it is pre-set
Initial pictures calculate the feature likelihood between monitoring image and initial pictures, as shown in figure 3, the present invention one is preferred real
It applies in example, the setup module 101 is further used for pre-setting picture analyzing strategy;
The computing module 103, including:
Image procossing subelement 1031, for according to the picture analyzing strategy, by the initial pictures and the monitoring
Image is respectively divided into n the first image blocks and n the second image blocks for having logical order;
First computation subunit 1032, it is in the block for calculating each first image block and each second image respectively
The pixel value of image;
First determination subelement 1033, for m-th of first image blocks to be determined as the first reference image block, by m-th
Second image block is determined as the second reference image block;
Condition code indexing unit 1034, for be respectively compared the pixel value of each the first image image in the block with it is described
The pixel value of first reference picture image in the block is more than the described first ginseng in the pixel value of current first image image in the block
When examining the pixel value of image image in the block, the condition code for marking current first image block is fisrt feature code, and otherwise, label is worked as
The condition code of preceding first image block is second feature code;And it is respectively compared the pixel of each the second image image in the block
Value and the pixel value of the second reference picture image in the block are more than institute in the pixel value of current second image image in the block
When stating the pixel value of the second reference picture image in the block, the condition code for marking current second image block is fisrt feature code, no
Then, the condition code for marking current second image block is second feature code;
Second computation subunit 1035, for having the corresponding feature of the first image block of logical order according to n
Code and the n corresponding condition codes of the second image block for having logical order, calculating have identity logic sequence and correspond to
The quantity of second image block in n the first image blocks and n the second image blocks of same characteristic features code;
Second determination subelement 1036, for will be provided with n the first figures of identity logic sequence and corresponding same characteristic features code
As the quantity of the second image block and the ratio of n determine to be characterized likelihood in block and n the second image blocks;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
Further, since video camera is in the practical work process for carrying out corresponding monitoring business, typically for business
Region carries out continuing shooting, i.e., video camera shooting is typically video, therefore, any frame in the video that video camera can be shot
It is determined as monitoring image;Correspondingly, in a preferred embodiment of the invention, the acquisition module 102, including:
Subelement 1021 is obtained, what the external camera for obtaining the monitoring service area was shot during the work time
Monitor video;
Subelement 1022 is extracted, for extracting L-th frame image in the monitor video, L-th frame image is determined as monitoring
Image;
Wherein, L is the integer more than 0.
Further, determined in order to facilitate the warning information that user shows according to monitoring center for corresponding video camera
To maintenance, in a preferred embodiment of the invention, the acquisition module is further used for obtaining the mark letter of external camera
Breath;
The processing module 104, for generating the warning information for the identification information for carrying external camera.
The contents such as the information exchange between each unit, implementation procedure in above device, due to implementing with the method for the present invention
Example can be found in the narration in the method for the present invention embodiment based on same design, particular content, and details are not described herein again.
As shown in figure 4, an embodiment of the present invention provides a kind of warning system, including:
Monitoring center 20 and the alarm device 10 as described in any in above-described embodiment;
Wherein, the monitoring center 20, including:
Display device 201 for receiving the warning information for the correspondence external camera that the alarm device 10 is sent, and is shown
Show the warning information.
Further, as shown in figure 5, in a preferred embodiment of the invention, the monitoring center 20 further comprises:
Database 202, for storing the warning information for the correspondence external camera that the alarm device 10 is sent.
In the above embodiment of the present invention, when warning information is stored to database, it can be stored with database of record current
The time point of warning information;The identification information of video camera is carried in warning information, staff is facilitated to be deposited according in database
The working condition of the corresponding video camera of warning information analysis current alarm information of storage.
As shown in fig. 6, an embodiment of the present invention provides a kind of alarm method, the announcement with reference to described in the above embodiment of the present invention
Alert system, and for alarm device is integrated in video camera, may include steps of.
Step 601, likelihood threshold value and picture analyzing strategy are stored in video camera in advance.
In one embodiment of the invention, can likelihood threshold rationally be set according to the stability of camera supervised service area
Likelihood threshold value, for example, when camera supervised service area is the interior for having stabilized light source, can be set as by value
0.975;Opposite, if when camera supervised service area is the outdoor that site environment is easily varied, it can be by likelihood
Threshold value is set as 0.95.
Step 602, at the camera site and shooting angle for setting video camera, a service area is shot using video camera
The picture in domain, and be set to initial pictures and store into the non-volatile memory medium of video camera.
Step 603, it is monitored in the course of work of business for service area in video camera, obtains video camera shooting
Video, and obtain the identification information of video camera.
Here, the identification information of video camera can include name of product, model and the corresponding network address of video camera.
Step 604, the L-th frame image in video is extracted, is determined as monitoring image.
Here, L is the integer more than 0.
Step 605, according to picture analyzing strategy, initial pictures and monitoring image is respectively divided into and have logical order
N the first image blocks and n the second image blocks.
Here, n is the positive integer not less than 2.
It for example, as shown in Figure 7, Figure 8, can be by initial pictures A and monitoring image B with the image analysis strategy of 3*3
It is respectively divided into 9 the first image blocks for having logical order:A1, A2, A3, A4, A5, A6, A7, A8, A9 and 9 have
Second image block B1, B2, B3, B4, B5, B6, B7, B8, B9 of logical order, here using the ordering rule above and below left and right as figure
As the logical order ordering rule of block.
It should be understood that in the case that in the cards, initial pictures A and monitoring image B can be divided into quantity
More image block, for example initial pictures and monitoring image are respectively divided by 900 images with the image analysis strategy of 30*30
Block.
Step 606, the pixel value of each first image block and each the second image image in the block is calculated respectively.
Here, i.e., respectively calculate A1, A2, A3, A4, A5, A6, A7, A8, A9 and B1, B2, B3, B4, B5, B6, B7,
The pixel value of image in B8, B9.
Step 607, m-th of first image blocks are determined as the first reference image block, m-th of second image blocks is determined as
Second reference image block.
Here, m is more than 0 and less than or equal to positive integers such as n.
For example, A3 and B3 can be identified as the first reference image block and the second reference image block here.
Step 608, according to the pixel value of each image image in the block and corresponding reference picture pixel value in the block
Size, mark the condition code of each image block.
Specifically, it is respectively compared in pixel value and first reference image block of each the first image image in the block
Image pixel value, current first image image in the block pixel value be more than the first reference picture image in the block
Pixel value when, the condition code for marking current first image block is fisrt feature code, otherwise, marks the spy of current first image block
Sign code is second feature code;And it is respectively compared pixel value and the described second reference of each the second image image in the block
The pixel value of image image in the block is more than second reference image block in the pixel value of current second image image in the block
In image pixel value when, the condition code for marking current second image block is fisrt feature code, otherwise, marks current second figure
As the condition code of block is second feature code.
For example, when the pixel value of image in A1 is more than the pixel value of image in A3, then the condition code for marking A1 is
Fisrt feature code, such as labeled as 1;Opposite, when the pixel value of image in A1 is less than or equal to the pixel value of image in A3,
The condition code for then marking A1 is second feature code, such as labeled as 0.
Step 609, the corresponding condition code of the first image block and n for having logical order according to n, which have, patrols
The corresponding condition code of the second image block of sequence is collected, calculates have identity logic sequence and corresponding same characteristic features code n
The quantity of second image block in first image block and n the second image blocks.
For example, when the corresponding condition code of A1, A2, A3, A4, A5, A6, A7, A8, A9 is:1、1、0、1、1、1、
1st, 1,0, and the corresponding condition code of B1, B2, B3, B4, B5, B6, B7, B8, B9 is:1st, 1,0,0,0,1,1,1,0 when, have
Identity logic sequence and have in the first image block and the second image block of same characteristic features code, the number of the second image money is 7.
Step 610, n the first image blocks and n the second figures of identity logic sequence and corresponding same characteristic features code be will be provided with
As the quantity of the second image block in block and the ratio of n determine to be characterized likelihood.
Here, it may be determined that it is 7/9 to go out feature likelihood.
Step 611, comparative feature likelihood and likelihood threshold value, when feature likelihood is less than likelihood threshold value, generation
Carry the warning information of the identification information of external camera.
As it can be seen that feature likelihood 7/9 is much smaller than pre-set likelihood threshold value 0.975 or 0.95, illustrate video camera reality
The region of border shooting and service area are not exactly the same, i.e., the camera site of video camera or shooting angle change.
Step 612, the warning information for the identification information for carrying video camera is sent to monitoring center.
Step 613, monitoring center display carries the warning information of the identification information of video camera, and passes through database purchase and take
The warning information of identification information with video camera.
The each embodiment of the present invention at least has the advantages that:
1st, it by the initial pictures for pre-setting service area and corresponding likelihood threshold value, is supervised by comparing
Monitoring image and the initial pictures of setting that the video camera of the service area is shot in the course of work for being monitored business are controlled,
The feature likelihood of monitoring image and initial pictures is calculated, when the feature likelihood calculated is less than pre-set likelihood
During threshold value, then illustrating video camera, the region of actual monitored is not exactly the same with service area during the work time, i.e., video camera exists
In the course of work, camera site or shooting angle are changed, correspondingly, the warning information of the corresponding video camera of generation,
And warning information is sent to monitoring center to be shown, it can be achieved that occurring more in the camera site of video camera or shooting angle
It is alerted when changing.
2nd, generation carries the warning information of the identification information of video camera, and monitoring center display carries the identification information of video camera
Warning information, the video camera that staff changes camera site or shooting angle is facilitated to be oriented maintenance.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those elements,
But also it including other elements that are not explicitly listed or further includes solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including
Also there is other identical factor in the process of the element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and aforementioned program can be stored in computer-readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is performed;And aforementioned storage medium includes:ROM, RAM, magnetic disc or light
In the various media that can store program code such as disk.
It is last it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention,
Equivalent replacement, improvement etc., are all contained in protection scope of the present invention.
Claims (6)
1. a kind of alarm method, which is characterized in that including:
Pre-set likelihood threshold value and, the initial pictures of service area are set;
It further includes:
It obtains and monitors the monitoring image that the external camera of the service area is shot during the work time;
According to the initial pictures and the monitoring image, it is similar with the feature of the monitoring image to calculate the initial pictures
Rate;
Compare the feature likelihood and the likelihood threshold value, when the feature likelihood is less than the likelihood threshold value,
The warning information of the corresponding external camera of generation;
The warning information is sent to external monitoring center, so that external monitoring center shows the warning information;
It is described to pre-set likelihood threshold value, further comprise:Pre-set picture analyzing strategy;
It is described according to the initial pictures and the monitoring image, calculate the feature phase of the initial pictures and the monitoring image
Like rate, including:
According to the picture analyzing strategy, the initial pictures and the monitoring image are respectively divided into and have logical order
N the first image blocks and n the second image blocks;
The pixel value of each first image block and each the second image image in the block is calculated respectively;
M-th of first image blocks are determined as the first reference image block, m-th of second image blocks are determined as the second reference picture
Block;
It is respectively compared the pixel value of each the first image image in the block and the picture of the first reference picture image in the block
Element value is more than the pixel value of the first reference picture image in the block in the pixel value of current first image image in the block
When, the condition code for marking current first image block is fisrt feature code, and otherwise, it is the to mark the condition code of current first image block
Two condition codes;And it is respectively compared in pixel value and second reference image block of each the second image image in the block
Image pixel value, current second image image in the block pixel value be more than the second reference picture image in the block
Pixel value when, the condition code for marking current second image block is fisrt feature code, otherwise, marks the spy of current second image block
Sign code is second feature code;
The corresponding condition code of the first image block and n for having logical order according to n have the second of logical order
The corresponding condition code of image block calculates n the first image blocks and n for having identity logic sequence and corresponding same characteristic features code
The quantity of second image block in a second image block;
It will be provided with the second figure in a second image blocks of n the first image blocks and n of identity logic sequence and corresponding same characteristic features code
As the quantity of block and the ratio of n determine to be characterized likelihood;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
2. alarm method according to claim 1, which is characterized in that the outside for obtaining the monitoring service area is taken the photograph
The monitoring image that camera is shot during the work time, including:
It obtains and monitors the monitor video that the external camera of the service area is shot during the work time;
L-th frame image in the monitor video is extracted, L-th frame image is determined as monitoring image;
Wherein, L is the integer more than 0.
3. according to the alarm method any in claims 1 or 2, which is characterized in that
Described obtain monitors the monitoring image that the external camera of the service area is shot during the work time, further wraps
It includes:Obtain the identification information of external camera;
The warning information of the corresponding external camera of generation, including:Generation carries the alarm of the identification information of external camera
Information.
4. a kind of alarm device, which is characterized in that including:
Setup module, for pre-set likelihood threshold value and, the initial pictures of service area are set;
Acquisition module, for obtaining the monitoring image for monitoring the external camera of the service area and shooting during the work time;
Computing module, for according to the initial pictures and the monitoring image, calculating the initial pictures and the monitoring figure
The feature likelihood of picture;
Processing module, for the feature likelihood and the likelihood threshold value, when the feature likelihood is less than described
During likelihood threshold value, the warning information of corresponding external camera is generated;
Information sending module, for the warning information to be sent to external monitoring center, so that external monitoring center shows institute
State warning information;
The setup module is further used for pre-setting picture analyzing strategy;
The computing module, including:
Image procossing subelement, for according to the picture analyzing strategy, the initial pictures and the monitoring image to be distinguished
It is divided into n the first image blocks and n the second image blocks for having logical order;
First computation subunit, for calculating the picture of each first image block and each the second image image in the block respectively
Element value;
First determination subelement, for m-th of first image blocks to be determined as the first reference image block, by m-th of second images
Block is determined as the second reference image block;
Condition code indexing unit, for being respectively compared the pixel value of each the first image image in the block and the described first reference
The pixel value of image image in the block is more than first reference image block in the pixel value of current first image image in the block
In image pixel value when, the condition code for marking current first image block is fisrt feature code, otherwise, marks current first figure
As the condition code of block is second feature code;And be respectively compared the pixel value of each the second image image in the block with it is described
The pixel value of second reference picture image in the block is more than the described second ginseng in the pixel value of current second image image in the block
When examining the pixel value of image image in the block, the condition code for marking current second image block is fisrt feature code, and otherwise, label is worked as
The condition code of preceding second image block is second feature code;
Second computation subunit, for having the corresponding condition code of the first image block and n of logical order according to n
A corresponding condition code of the second image block for having logical order, calculating have identity logic sequence and corresponding same characteristic features
The quantity of second image block in n the first image blocks and n the second image blocks of code;
Second determination subelement, for will be provided with n the first image blocks of identity logic sequence and corresponding same characteristic features code and n
The quantity of the second image block and the ratio of n determine to be characterized likelihood in second image block;
Wherein, n is the integer not less than 2, and m is the integer more than 0 and less than or equal to n.
5. alarm device according to claim 4, which is characterized in that
The acquisition module, including:
Subelement is obtained, the monitoring that the external camera for obtaining the monitoring service area is shot during the work time regards
Frequently;
Subelement is extracted, for extracting L-th frame image in the monitor video, L-th frame image is determined as monitoring image;
Wherein, L is the integer more than 0.
6. any alarm device according to claim 4 or 5, which is characterized in that
The acquisition module is further used for obtaining the identification information of external camera;
The processing module, for generating the warning information for the identification information for carrying external camera.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379033.0A CN105847767B (en) | 2016-05-31 | 2016-05-31 | A kind of alarm method, apparatus and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379033.0A CN105847767B (en) | 2016-05-31 | 2016-05-31 | A kind of alarm method, apparatus and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105847767A CN105847767A (en) | 2016-08-10 |
CN105847767B true CN105847767B (en) | 2018-07-06 |
Family
ID=56595345
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379033.0A Active CN105847767B (en) | 2016-05-31 | 2016-05-31 | A kind of alarm method, apparatus and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847767B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109120906A (en) * | 2018-10-30 | 2019-01-01 | 信利光电股份有限公司 | A kind of intelligent monitor system |
CN112087593B (en) * | 2019-06-14 | 2022-10-14 | 富士通株式会社 | Video configuration updating device and method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001048696A1 (en) * | 1999-12-23 | 2001-07-05 | Wespot Ab | Method, device and computer program for monitoring an area |
CN101184241A (en) * | 2007-12-03 | 2008-05-21 | 中兴通讯股份有限公司 | Image automatic detection method and apparatus |
CN101207803A (en) * | 2006-12-20 | 2008-06-25 | 安讯士有限公司 | Camera tampering detection |
CN102231223A (en) * | 2011-06-02 | 2011-11-02 | 深圳中兴力维技术有限公司 | Foreign object blocking and alarming method used for camera |
CN104240235A (en) * | 2014-08-26 | 2014-12-24 | 北京君正集成电路股份有限公司 | Method and system for detecting whether camera is covered or not |
CN105427529A (en) * | 2015-12-04 | 2016-03-23 | 北京奇虎科技有限公司 | In-vehicle environment monitoring method and terminal |
-
2016
- 2016-05-31 CN CN201610379033.0A patent/CN105847767B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001048696A1 (en) * | 1999-12-23 | 2001-07-05 | Wespot Ab | Method, device and computer program for monitoring an area |
CN101207803A (en) * | 2006-12-20 | 2008-06-25 | 安讯士有限公司 | Camera tampering detection |
CN101184241A (en) * | 2007-12-03 | 2008-05-21 | 中兴通讯股份有限公司 | Image automatic detection method and apparatus |
CN102231223A (en) * | 2011-06-02 | 2011-11-02 | 深圳中兴力维技术有限公司 | Foreign object blocking and alarming method used for camera |
CN104240235A (en) * | 2014-08-26 | 2014-12-24 | 北京君正集成电路股份有限公司 | Method and system for detecting whether camera is covered or not |
CN105427529A (en) * | 2015-12-04 | 2016-03-23 | 北京奇虎科技有限公司 | In-vehicle environment monitoring method and terminal |
Also Published As
Publication number | Publication date |
---|---|
CN105847767A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111507283B (en) | Student behavior identification method and system based on classroom scene | |
US20120114198A1 (en) | Facial image gender identification system and method thereof | |
WO2015188035A1 (en) | Systems and methods for detecting, identifying and tracking objects and events over time | |
CN105847767B (en) | A kind of alarm method, apparatus and system | |
CN110298819A (en) | A kind of quality detecting method and edge calculations equipment of target object | |
CN110472516A (en) | A kind of construction method, device, equipment and the system of character image identifying system | |
CN108734808A (en) | A kind of night watching method and system | |
WO2023279785A1 (en) | Method and apparatus for detecting whether staff member is compatible with post, computer device, and storage medium | |
CN106529456A (en) | Information matching and information transmitting/receiving method, device and target object finding system | |
CN105933707A (en) | Compression method and device for panoramic video | |
CN110210274A (en) | Safety cap detection method, device and computer readable storage medium | |
CN109508652A (en) | Viewing number statistical method, device and electronic equipment | |
CN110418148A (en) | Video generation method, video generating device and readable storage medium storing program for executing | |
CN109905670A (en) | A kind of multi-stage platform monitoring system | |
CN108921150A (en) | Face identification system based on network hard disk video recorder | |
CN107301373B (en) | Data processing method, device and storage medium | |
CN110390226A (en) | Crowd's event recognition method, device, electronic equipment and system | |
CN108230227A (en) | A kind of recognition methods of distorted image, device and electronic equipment | |
CN111538501A (en) | Artificial intelligence-based multivariate heterogeneous network data visualization method and system | |
CN113792324B (en) | Agricultural product data interaction method and device based on federal learning and electronic equipment | |
CN110110620A (en) | A kind of students ' behavior management system and design method based on recognition of face | |
CN114390200B (en) | Camera cheating identification method, device, equipment and storage medium | |
CN113872772B (en) | Video segment shooting device and time recording method and corresponding verification method | |
WO2022019324A1 (en) | Failure identification and handling method, and system | |
CN112270361B (en) | Face data processing method, system, storage medium and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |