CN107360392B - A kind of adaptive ball machine control method, system and ball machine monitoring device - Google Patents

A kind of adaptive ball machine control method, system and ball machine monitoring device Download PDF

Info

Publication number
CN107360392B
CN107360392B CN201610305195.XA CN201610305195A CN107360392B CN 107360392 B CN107360392 B CN 107360392B CN 201610305195 A CN201610305195 A CN 201610305195A CN 107360392 B CN107360392 B CN 107360392B
Authority
CN
China
Prior art keywords
ball machine
ptz
information
scene
feedback information
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
Application number
CN201610305195.XA
Other languages
Chinese (zh)
Other versions
CN107360392A (en
Inventor
师小凯
邓一星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Elite Road Technology Co.,Ltd.
Original Assignee
BEIJING JAYA TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING JAYA TECHNOLOGY Co Ltd filed Critical BEIJING JAYA TECHNOLOGY Co Ltd
Priority to CN201610305195.XA priority Critical patent/CN107360392B/en
Publication of CN107360392A publication Critical patent/CN107360392A/en
Application granted granted Critical
Publication of CN107360392B publication Critical patent/CN107360392B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/66Remote control of cameras or camera parts, e.g. by remote control devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Length Measuring Devices By Optical Means (AREA)

Abstract

This application discloses a kind of adaptive ball machine control method, system and ball machine monitoring devices, this method comprises: judging whether contain effective PTZ feedback information in ball machine;If containing effective PTZ feedback information in ball machine, using the PTZ feedback information in ball machine, analyze and determine whether scene changes;If not containing effective PTZ feedback information in ball machine, the video image information monitored using ball machine analyzes and determines whether scene changes;When the scene of ball machine is there is no variation, then ball machine is controlled by intelligent control algorithm, when the scene of ball machine changes, then cut off the intelligent control algorithm in ball machine automatically.Technical solution provided by the present application can be effectively prevented from the interference for automatically controlling and generating mutually between ball machine and artificial control ball machine.

Description

A kind of adaptive ball machine control method, system and ball machine monitoring device
Technical field
The present invention relates to technical field of video monitoring, in particular to a kind of adaptive ball machine control method, system and ball machine Monitoring device.
Background technique
Currently, many city monitoring ball machines whether contain effective PTZ feedback information (PTZ, i.e. Pan/Tilt/Zoom) Ball machine, again without contain effective PTZ feedback information ball machine, all take into account intellectual analysis function, such as detect disobey stop, crimping and The acts of violating regulations such as retrograde.When ball machine carries out intellectual analysis, ball machine is carried out automatically controlling by intelligent control algorithm.When for To specific people, vehicle or place etc. monitored when needing, related police at any time can artificially control ball machine, Such case can to above-mentioned intelligent control algorithm generate interference, at the same time, intelligent control algorithm may also due to scene picture, Ball machine malfunction is generated, so that police be interfered to control ball machine operation.
In summary as can be seen that how to avoid automatically controlling the interference generated mutually between ball machine and artificial control ball machine It is current urgent problem to be solved.
Summary of the invention
In view of this, the purpose of the present invention is to provide the monitoring of a kind of adaptive ball machine control method, system and ball machine to set It is standby, it can be avoided the interference for automatically controlling and generating mutually between ball machine and artificial control ball machine.Its concrete scheme is as follows:
A kind of adaptive ball machine control method, comprising:
Judge whether contain effective PTZ feedback information in ball machine;
If containing effective PTZ feedback information in the ball machine, the PTZ feedback information in the ball machine, analysis are utilized Judge whether scene changes;If not containing effective PTZ feedback information in the ball machine, monitored using the ball machine Video image information, analyze and determine scene whether change;
When the ball machine scene there is no variation, then the ball machine is controlled by the intelligent control algorithm System then cuts off the intelligent control algorithm in the ball machine when the scene of the ball machine changes automatically.
Preferably, the process for judging whether to contain effective PTZ feedback information in ball machine, comprising:
Step S11: the PTZ information of presently described ball machine is obtained, the first PTZ information is obtained;
Step S12: judging whether the first PTZ information is reasonable, if it is, S13 is entered step, if it is not, then into Enter step S15;
Step S13: carrying out rotation control to the ball machine and zoom control, and then obtains the PTZ letter of the ball machine again Breath, obtains the 2nd PTZ information;
Step S14: whether the first PTZ information and the 2nd PTZ information are identical, if it is, determining institute It states without containing effective PTZ feedback information in ball machine, if it is not, then entering step S15;
Step S15: determine to contain effective PTZ feedback information in the ball machine.
Preferably, the PTZ feedback information using in the ball machine analyzes and determines the whether changed mistake of scene Journey, comprising:
Step S21: calling preset standard scene location information, then by the scene of the ball machine adjust to the standard The consistent position of scene location information, and the corresponding PTZ information of current scene is recorded, obtain first effective PTZ information;
Step S22: after preset period of time, the PTZ information of the ball machine at this time is recorded again, obtaining second has Imitate PTZ information;
Step S23: whether first effective PTZ information and second effective PTZ information are identical, if so, Then determining the scene of the ball machine, there is no variations, and enter step S22 again, if it is not, then determining the field of the ball machine Scape changes, and enters step S22 again.
Preferably, the video image information monitored using the ball machine, analyzes and determines whether scene changes Process, comprising:
Step S31: calling preset standard scene location information, and by the scene of the ball machine adjust to the pattern field Then the consistent position of scape location information utilizes background modeling algorithm, carry out background to the video pictures under current scene and build Mould obtains corresponding background model;
Step S32: obtaining the video pictures that the ball machine currently monitors, and obtains the first video pictures, and described in utilization Background model carries out feature extraction to first video pictures, obtains fisrt feature point set;
Step S33: after preset period of time, the video pictures that the ball machine currently monitors are obtained again, are obtained To the second video pictures, the fisrt feature point set is then utilized, matching primitives are carried out to second video pictures, with To the second feature point set with the fisrt feature point set Corresponding matching being located on second video pictures;
Step S34: the characteristic point sum in the second feature point set is counted, and calculates the fisrt feature point set With the average Euclidean distance between the second feature point set;
Step S35: judging whether the characteristic point sum is greater than default sum, and judges that the average Euclidean distance is It is no to be less than pre-determined distance;If the characteristic point sum is greater than the default sum and the average Euclidean distance less than described Pre-determined distance then enters step S36, otherwise, it is determined that the scene of the ball machine changes, and enters step S33;
Step S36: judging whether to need to be updated first video pictures, if it is, to first view Frequency picture and the fisrt feature point set are updated, subsequently into step S37, if it is not, then being directly entered step S37;
Step S37: determining the scene of the ball machine, there is no variations, and enter step S33.
Preferably, step S36 is specifically included:
Step S41: at the time of judging whether current time is corresponding with the default update cycle, if it is, entering step S42, if it is not, then being directly entered step S37;
Step S42: obtaining the video pictures that the ball machine currently monitors, and obtains third video pictures, and described in judgement Whether third video pictures are clear, if it is, S43 is entered step, if it is not, then being directly entered step S37;
Step S43: judging whether the foreground moving image accounting in the third video pictures is less than default accounting, if It is the video pictures then currently monitored in conjunction with the background model and the ball machine, to first video pictures and institute It states fisrt feature point set to be updated, subsequently into step S37, if it is not, then being directly entered step S37.
Preferably, the characteristic point in the fisrt feature point set includes image angle point and/or image inflection point.
The invention also discloses a kind of adaptive ball machine control systems, comprising:
Judgment module, for judging whether contain effective PTZ feedback information in ball machine;
First analysis module, for when containing effective PTZ feedback information in the ball machine, then utilizing in the ball machine PTZ feedback information, analyzes and determines whether scene changes;
Second analysis module, for when not containing effective PTZ feedback information in the ball machine, then being supervised using the ball machine Depending on the video image information arrived, analyze and determine whether scene changes;
Ball machine control module, for the scene when the ball machine, there is no variations, then pass through the intelligent control algorithm The ball machine is controlled, when the scene of the ball machine changes, then the intelligent control cut off automatically in the ball machine is calculated Method.
Preferably, the judgment module includes:
First information acquiring unit obtains the first PTZ information for obtaining the PTZ information of presently described ball machine;
Information judging unit, for judging whether the first PTZ information is reasonable;
Second information acquisition unit, for when the first PZT information it is reasonable, then to the ball machine carry out rotation control and Zoom control, then obtains the PTZ information of the ball machine again, obtains the 2nd PTZ information;
Whether information comparing unit is identical for the first PTZ information and the 2nd PTZ information;
Judging unit, it is identical with the 2nd PTZ information for working as the first PTZ information, then determine in the ball machine Without containing effective PTZ feedback information;When the first PZT information is unreasonable, or work as the first PTZ information and described second PTZ information is not identical, then determines to contain effective PTZ feedback information in the ball machine.
The present invention further discloses a kind of ball machine monitoring devices, including adaptive ball machine control system above-mentioned.
In the present invention, adaptive ball machine control method includes: to judge whether contain effective PTZ feedback information in ball machine; If containing effective PTZ feedback information in ball machine, using the PTZ feedback information in ball machine, analyze and determine whether scene occurs Variation;If not containing effective PTZ feedback information in ball machine, the video image information monitored using ball machine is analyzed and determined Whether scene changes;When ball machine scene there is no variation, then ball machine is controlled by intelligent control algorithm, when The scene of ball machine changes, then cuts off the intelligent control algorithm in ball machine automatically.As it can be seen that the present invention is first depending in ball machine is It is no containing effective PTZ feedback information, targetedly select different modes to analyze whether scene changes, then again Whether change according to scene, different ball machine control modes is chosen, that is, when scene changes, it is meant that at this time There are the situations of manual operation ball machine, so selection is automatic at this time in order to avoid the interference between artificially controlling and automatically controlling Cut off the intelligent control algorithm in ball machine for carrying out automatically controlling to ball machine;When scene there is no variation, then mean this When there is no the situations of manual operation ball machine, it is possible to ball machine is carried out automatically controlling by intelligent control algorithm.To sum up may be used See, the present invention can be effectively prevented from the interference for automatically controlling and generating mutually between ball machine and artificial control ball machine.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of adaptive ball machine control method flow chart disclosed by the embodiments of the present invention;
Fig. 2 is the sub-process figure of one of adaptive ball machine control method disclosed by the embodiments of the present invention specific steps;
Fig. 3 is the sub-process of another specific steps in adaptive ball machine control method disclosed by the embodiments of the present invention Figure;
Fig. 4 is the sub-process of another specific steps in adaptive ball machine control method disclosed by the embodiments of the present invention Figure;
Fig. 5 is a kind of adaptive ball machine control system architecture schematic diagram disclosed by the embodiments of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
It is shown in Figure 1 the embodiment of the invention discloses a kind of adaptive ball machine control method, this method comprises:
Step S01: judge whether contain effective PTZ feedback information in ball machine.
Step S02: if containing effective PTZ feedback information in ball machine, the PTZ feedback information in ball machine, analysis are utilized Judge whether scene changes;If not containing effective PTZ feedback information in ball machine, drawn using the video that ball machine monitors Face information, analyzes and determines whether scene changes.
It can be seen that in the present embodiment, according to the judging result for whether containing effective PTZ feedback information in ball machine, It will be different for analyzing the whether changed technological means of scene.Specifically, when being fed back in ball machine containing effective PTZ Information, then the present embodiment will be analyzed and determined using the PTZ feedback information in ball machine to whether scene changes, when Effective PTZ feedback information is not contained in ball machine, then the present embodiment is sentenced in order to not influence to the whether changed analysis of scene It is disconnected, it will using ball machine self monitor to video image information come deployment analysis judgement.In this way, regardless of ball machine is without effective The common ball machine of PTZ feedback information, or the ball machine with effective PTZ feedback information, using skill disclosed in the present embodiment Art scheme is analyzed and determined to whether scene changes, and improves the concrete application range of the present embodiment.
In addition, the result shows that, the scene in ball machine is changed when above-mentioned analytical judgment, it is meant that exist at this time artificial The situation of ball machine is operated, that is, ball machine is under artificial control in this case.When above-mentioned analytical judgment the result shows that, ball Scene in machine then means the case where there is no the work of man's activity ball machine at this time, that is, ball machine at this time there is no variation In automatic control state.
Step S03: when ball machine scene there is no variation, then ball machine is controlled by intelligent control algorithm, when The scene of ball machine changes, then cuts off the intelligent control algorithm in ball machine automatically.
It should be noted that above-mentioned intelligent control algorithm refers to when ball machine carries out intellectual analysis to act of violating regulations, it is used for The algorithm that ball machine is carried out automatically controlling.Wherein, this algorithm has been widely used in the prior art, herein not to its into Row expansion explanation.
It is understood that when needing to cut off the intelligent control algorithm in ball machine automatically, it can be by backstage from movable property The mode of algorithm interrupt thread is given birth to cut off above-mentioned intelligent control algorithm.Equally, when need to start above-mentioned intelligent control algorithm with When carrying out automatically controlling to ball machine, above-mentioned intelligence control can also be started by way of automatically generating algorithm from the background and starting thread Algorithm processed.The above-mentioned technological means interrupted certain algorithm automatically or start certain algorithm automatically in the prior art by It is widely used, expansion explanation is not carried out to it herein.
As it can be seen that whether the embodiment of the present invention is first depending in ball machine containing effective PTZ feedback information, targetedly select Different modes is selected to analyze whether scene changes, then whether changes according to scene again, chooses different ball machines Control mode, that is, when scene changes, it is meant that there is the situation of manual operation ball machine at this time, so in order to avoid Interference between artificial control and automatic control, the intelligence in ball machine for carrying out automatically controlling to ball machine is cut off in selection automatically at this time It can control algorithm;When scene is there is no variation, then mean the situation that manual operation ball machine is not present at this time, it is possible to logical Intelligent control algorithm is crossed to carry out automatically controlling ball machine.To sum up, the embodiment of the present invention can be effectively prevented from automatic control The interference generated mutually between ball machine and artificial control ball machine.
The embodiment of the invention discloses a kind of specific adaptive ball machine control methods, relative to a upper embodiment, this reality It applies example and further instruction and optimization has been made to technical solution.It is specific:
Shown in Figure 2, upper embodiment step S01 specifically can be specific as follows with below step S11~S15:
Step S11: the PTZ information of current ball machine is obtained, the first PTZ information is obtained.
Wherein, the PTZ information for obtaining current ball machine, which refers to, obtains PTZ information corresponding to current ball machine monitored state.Institute The PTZ information of meaning refers to the upper and lower position information, left-right position information and scalability information of ball machine, similarly hereinafter.For example, the prior art In some ball machines using the level angle of ball machine, vertical angle and zoom parameters as its PTZ information.
In addition, it is necessary to, it is noted that those without containing effective PTZ feedback information common ball machines in, and containing PTZ believe Breath, only the PTZ information in these ball machines is often fixed and invariable, and can not constitute effective PTZ feedback information.
Step S12: judging whether the first PTZ information is reasonable, if it is, S13 is entered step, if it is not, then entering step Rapid S15.
What needs to be explained here is that judging whether the first PTZ information rationally specifically refers to judge that the first PTZ information is corresponding Whether specific value is in preset reasonable value range, if it is, determining that the first PTZ information is reasonable, if it is not, then determining First PTZ information is unreasonable, that is, judging whether the P value in the first PTZ information, T value and Z value are in respective preset conjunction Numberical range is managed, if being in respective preset reasonable value range, determines that the first PTZ information is reasonable, otherwise, it is determined that the One PTZ information is unreasonable.
Step S13: rotation control is carried out to ball machine and zoom controls, then obtains the PTZ information of ball machine again, obtains the Two PTZ information.
It is understood why carrying out rotation control and zoom control to ball machine in the step, in order to Change the current monitored state of ball machine.If ball machine is can to carry out the ball machine of effective PTZ feedback, when the prison of the ball machine When changing depending on state, corresponding PTZ information can also change therewith.If ball machine is not can be carried out effective PTZ feedback Ball machine, then corresponding PTZ information can't change when the monitored state of the ball machine changes.
Step S14: comparing the first PTZ information and whether the 2nd PTZ information is identical, if it is, determining to be free of in ball machine There is effective PTZ feedback information, if it is not, then entering step S15.
Step S15: determine to contain effective PTZ feedback information in ball machine.
Further, shown in Figure 3, in upper embodiment step S02, utilize the PTZ feedback information in ball machine, analysis Judge the whether changed process of scene, specifically include below step S21~S23, specifically:
Step S21: calling preset standard scene location information, then by the scene of ball machine adjust to the standard scene The consistent position of location information, and the corresponding PTZ information of current scene is recorded, obtain first effective PTZ information.
It should be noted that the standard scene location information in step S21 refers in the ball with effective PTZ feedback information Pre-set scene location information in machine.For example, monitoring can be had a certain specific mesh in advance by way of artificial settings The monitoring scene of mark (such as school gate) is set as standard scene location information.
Step S22: after preset period of time, recording the PTZ information of ball machine at this time again, obtains second effectively PTZ information.
It should be noted that above-mentioned preset period of time is the artificial preset time cycle, for example, can be set It is 1 hour.
Step S23: comparing first effective PTZ information and whether second effective PTZ information is identical, if it is, determining ball There is no variations for the scene of machine, and enter step S22 again, if it is not, then determining that the scene of ball machine changes, and again Enter step S22.
Further, shown in Figure 4, in upper embodiment step S02, believed using the video pictures that ball machine monitors Breath analyzes and determines the whether changed process of scene, can specifically include below step S31~S37, specifically:
Step S31: calling preset standard scene location information, and by the scene of ball machine adjust to the standard scene bit Then the consistent position of confidence manner of breathing utilizes background modeling algorithm, carry out background modeling to the video pictures under current scene, obtain To corresponding background model.
It should be pointed out that the standard scene location information in step S31, which refers to, is not containing effective PTZ feedback information Pre-set scene location information in common ball machine.
In addition, above-mentioned background model is to carry out background modeling to the video pictures under current scene using background modeling algorithm The model obtained afterwards, usual this background model refer to the image being made of black region and white area, wherein black region Background is represented, white area represents movement.
Step S32: obtaining the video pictures that ball machine currently monitors, and obtains the first video pictures, and utilize background model, Feature extraction is carried out to the first video pictures, obtains fisrt feature point set.
Preferably, in order to improve the identification of characteristic point, to improve the matching stability of subsequent characteristics point, above-mentioned first is special The characteristic point levied in point set may include image angle point and/or image inflection point.Image angle point and image inflection point have abundant Textural characteristics, the identification of itself are higher.
Step S33: after preset period of time, obtaining the video pictures that currently monitor of ball machine again, obtains the Then two video pictures utilize fisrt feature point set, carry out matching primitives to the second video pictures, to obtain being located at the second view The second feature point set with fisrt feature point set Corresponding matching on frequency picture.
It should be noted that above-mentioned preset period of time is the artificial preset time cycle, it is not carried out herein It is specific to limit.
In addition, the characteristic point in above-mentioned second feature point set refers in above-mentioned first video pictures and above-mentioned second video Simultaneous characteristic point in picture.
Step S34: the characteristic point sum in statistics second feature point set, and calculate fisrt feature point set and the second spy Levy the average Euclidean distance between point set.
Step S35: whether judging characteristic point sum is greater than default sum, and it is pre- to judge whether average Euclidean distance is less than If distance;If characteristic point sum is greater than default sum and the Euclidean distance that is averaged is less than pre-determined distance, S36 is entered step, Otherwise, it is determined that the scene of ball machine changes, and enter step S33.
Step S36: judging whether to need to be updated the first video pictures, if it is, to the first video pictures and Fisrt feature point set is updated, subsequently into step S37, if it is not, then being directly entered step S37.
Step S37: determining the scene of ball machine, there is no variations, and enter step S33.
In addition, above-mentioned steps S36 specifically includes below step S41~S43, specifically:
Step S41: at the time of judging whether current time is corresponding with the default update cycle, if it is, entering step S42, if it is not, then being directly entered above-mentioned steps S37;
Step S42: the video pictures that ball machine currently monitors are obtained, obtain third video pictures, and judge third video Whether picture is clear, if it is, S43 is entered step, if it is not, then being directly entered above-mentioned steps S37;
Step S43: judging whether the foreground moving image accounting in third video pictures is less than default accounting, if so, The video pictures for then background model and ball machine being combined currently to monitor carry out the first video pictures and fisrt feature point set It updates, subsequently into above-mentioned steps S37, if it is not, then being directly entered above-mentioned steps S37.
Correspondingly, the embodiment of the invention also discloses a kind of adaptive ball machine control system, shown in Figure 5, the system Include:
Judgment module 51, for judging whether contain effective PTZ feedback information in ball machine;
First analysis module 52, for when containing effective PTZ feedback information in ball machine, then utilizing the PTZ in ball machine anti- Feedforward information, analyzes and determines whether scene changes;
Second analysis module 53, for when not containing effective PTZ feedback information in ball machine, then being monitored using ball machine Video image information, analyzes and determines whether scene changes;
Ball machine control module 54, for the scene when ball machine, there is no variations, then by intelligent control algorithm to ball machine It is controlled, when the scene of ball machine changes, then cuts off the intelligent control algorithm in ball machine automatically.
Wherein, it is more single to specifically include first information acquiring unit, the second information acquisition unit, information for above-mentioned judgment module Member and judging unit, wherein
First information acquiring unit obtains the first PTZ information for obtaining the PTZ information of current ball machine;
Information judging unit, for judging whether the first PTZ information is reasonable;
Second information acquisition unit, it is reasonable for working as the first PZT information, then rotation control and zoom control are carried out to ball machine Then system obtains the PTZ information of ball machine again, obtains the 2nd PTZ information;
Whether information comparing unit is identical for comparing the first PTZ information and the 2nd PTZ information;
Judging unit, it is identical with the 2nd PTZ information for working as the first PTZ information, then determine in ball machine without containing effective PTZ feedback information;When the first PZT information is unreasonable, or when the first PTZ information and the 2nd PTZ information is not identical, then ball machine is determined In contain effective PTZ feedback information.
And can refer to corresponding contents disclosed in previous embodiment about the more detailed course of work of above-mentioned modules, In This is no longer repeated one by one.
As it can be seen that whether the embodiment of the present invention is first depending in ball machine containing effective PTZ feedback information, targetedly select Different modes is selected to analyze whether scene changes, then whether changes according to scene again, chooses different ball machines Control mode, that is, when scene changes, it is meant that there is the situation of manual operation ball machine at this time, so in order to avoid Interference between artificial control and automatic control, the intelligence in ball machine for carrying out automatically controlling to ball machine is cut off in selection automatically at this time It can control algorithm;When scene is there is no variation, then mean the situation that manual operation ball machine is not present at this time, it is possible to logical Intelligent control algorithm is crossed to carry out automatically controlling ball machine.To sum up, the embodiment of the present invention can be effectively prevented from automatic control The interference generated mutually between ball machine and artificial control ball machine.
Further, the embodiment of the invention also discloses a kind of ball machine monitoring devices, including disclosed in previous embodiment Adaptive ball machine control system.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that the process, method, article or equipment for including a series of elements not only includes that A little elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or The intrinsic element of equipment.In the absence of more restrictions, the element limited by sentence "including a ...", is not arranged Except there is also other identical elements in the process, method, article or apparatus that includes the element.
A kind of adaptive ball machine control method provided by the present invention, system and ball machine monitoring device have been carried out in detail above Thin to introduce, used herein a specific example illustrates the principle and implementation of the invention, and above embodiments are said It is bright to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, foundation Thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification is not It is interpreted as limitation of the present invention.

Claims (9)

1. a kind of adaptive ball machine control method characterized by comprising
Judge whether contain effective PTZ feedback information in ball machine;Wherein, the ball machine contains effective PTZ feedback information, table The PTZ information for levying the ball machine changes with the variation of monitored state;The ball machine does not contain effective PTZ feedback letter Breath, characterizes the PTZ information of the ball machine as the variation of monitored state does not change;
If containing effective PTZ feedback information in the ball machine, using the PTZ feedback information in the ball machine, analyze and determine Whether scene changes;If not containing effective PTZ feedback information, the view monitored using the ball machine in the ball machine Frequency image information, analyzes and determines whether scene changes;
When the ball machine scene there is no variation, then the ball machine is controlled by intelligent control algorithm, when described The scene of ball machine changes, then cuts off the intelligent control algorithm in the ball machine automatically.
2. adaptive ball machine control method according to claim 1, which is characterized in that described to judge whether contain in ball machine The process of effective PTZ feedback information, comprising:
Step S11: the PTZ information of presently described ball machine is obtained, the first PTZ information is obtained;
Step S12: judging whether the first PTZ information is reasonable, if it is, S13 is entered step, if it is not, then entering step Rapid S15;Wherein, described to judge whether the first PTZ information is reasonable, specially judge the corresponding tool of the first PTZ information Whether body numerical value is in preset reasonable value range;
Step S13: rotation control is carried out to the ball machine and zoom controls, the PTZ information of the ball machine is then obtained again, obtains To the 2nd PTZ information;
Step S14: whether the first PTZ information and the 2nd PTZ information are identical, if it is, determining the ball Effective PTZ feedback information is not contained in machine, if it is not, then entering step S15;
Step S15: determine to contain effective PTZ feedback information in the ball machine.
3. adaptive ball machine control method according to claim 1, which is characterized in that described using in the ball machine PTZ feedback information analyzes and determines the whether changed process of scene, comprising:
Step S21: calling preset standard scene location information, then by the scene of the ball machine adjust to the standard scene The consistent position of location information, and the corresponding PTZ information of current scene is recorded, obtain first effective PTZ information;
Step S22: after preset period of time, recording the PTZ information of the ball machine at this time again, obtains second effectively PTZ information;
Step S23: whether first effective PTZ information and second effective PTZ information are identical, if it is, sentencing There is no variations for the scene of the fixed ball machine, and enter step S22 again, if it is not, then determining the scene hair of the ball machine Changing, and S22 is entered step again.
4. adaptive ball machine control method according to claim 1, which is characterized in that described to be monitored using the ball machine Video image information, analyze and determine the whether changed process of scene, comprising:
Step S31: calling preset standard scene location information, and by the scene of the ball machine adjust to the standard scene bit Then the consistent position of confidence manner of breathing utilizes background modeling algorithm, carry out background modeling to the video pictures under current scene, obtain To corresponding background model;
Step S32: obtaining the video pictures that the ball machine currently monitors, and obtains the first video pictures, and utilize the background Model carries out feature extraction to first video pictures, obtains fisrt feature point set;
Step S33: after preset period of time, obtaining the video pictures that the ball machine currently monitors again, obtains Then two video pictures utilize the fisrt feature point set, carry out matching primitives to second video pictures, to obtain in place In the second feature point set with the fisrt feature point set Corresponding matching on second video pictures;
Step S34: the characteristic point sum in the second feature point set is counted, and calculates the fisrt feature point set and institute State the average Euclidean distance between second feature point set;
Step S35: judging whether the characteristic point sum is greater than default sum, and judges whether the average Euclidean distance is small In pre-determined distance;If the characteristic point sum is greater than the default sum and the average Euclidean distance is less than described preset Distance then enters step S36, otherwise, it is determined that the scene of the ball machine changes, and enters step S33;
Step S36: judge whether to need to be updated first video pictures, if it is, drawing first video Face and the fisrt feature point set are updated, subsequently into step S37, if it is not, then being directly entered step S37;
Step S37: determining the scene of the ball machine, there is no variations, and enter step S33.
5. adaptive ball machine control method according to claim 4, which is characterized in that step S36 is specifically included:
Step S41: at the time of judging whether current time is corresponding with the default update cycle, if it is, S42 is entered step, If it is not, then being directly entered step S37;
Step S42: the video pictures that the ball machine currently monitors are obtained, third video pictures are obtained, and judge the third Whether video pictures are clear, if it is, S43 is entered step, if it is not, then being directly entered step S37;
Step S43: judging whether the foreground moving image accounting in the third video pictures is less than default accounting, if so, The video pictures then currently monitored in conjunction with the background model and the ball machine, to first video pictures and described One set of characteristic points are updated, subsequently into step S37, if it is not, then being directly entered step S37.
6. adaptive ball machine control method according to claim 4 or 5, which is characterized in that the fisrt feature point set In characteristic point include image angle point and/or image inflection point.
7. a kind of adaptive ball machine control system characterized by comprising
Judgment module, for judging whether contain effective PTZ feedback information in ball machine;Wherein, the ball machine contains effectively PTZ feedback information, the PTZ information for characterizing the ball machine change with the variation of monitored state;The ball machine does not contain Effective PTZ feedback information, characterizes the PTZ information of the ball machine as the variation of monitored state does not change;
First analysis module, for when containing effective PTZ feedback information in the ball machine, then utilizing the PTZ in the ball machine Feedback information, analyzes and determines whether scene changes;
Second analysis module, for when not containing effective PTZ feedback information in the ball machine, then being monitored using the ball machine Video image information, analyze and determine scene whether change;
Ball machine control module, for the scene when the ball machine, there is no variations, then by intelligent control algorithm to the ball Machine is controlled, and when the scene of the ball machine changes, then cuts off the intelligent control algorithm in the ball machine automatically.
8. adaptive ball machine control system according to claim 7, which is characterized in that the judgment module includes:
First information acquiring unit obtains the first PTZ information for obtaining the PTZ information of presently described ball machine;
Information judging unit, for judging whether the first PTZ information is reasonable;Wherein, judgement the first PTZ information Whether rationally, specially judge whether the corresponding specific value of the first PTZ information is in preset reasonable value range;
Second information acquisition unit, it is reasonable for working as the first PZT information, then rotation control and zoom are carried out to the ball machine Control, then obtains the PTZ information of the ball machine again, obtains the 2nd PTZ information;
Whether information comparing unit is identical for the first PTZ information and the 2nd PTZ information;
Judging unit, it is identical with the 2nd PTZ information for working as the first PTZ information, then determine to be free of in the ball machine There is effective PTZ feedback information;When the first PZT information is unreasonable, or work as the first PTZ information and the 2nd PTZ Information is not identical, then determines to contain effective PTZ feedback information in the ball machine.
9. a kind of ball machine monitoring device, which is characterized in that including adaptive ball machine control system as claimed in claim 7 or 8.
CN201610305195.XA 2016-05-10 2016-05-10 A kind of adaptive ball machine control method, system and ball machine monitoring device Active CN107360392B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610305195.XA CN107360392B (en) 2016-05-10 2016-05-10 A kind of adaptive ball machine control method, system and ball machine monitoring device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610305195.XA CN107360392B (en) 2016-05-10 2016-05-10 A kind of adaptive ball machine control method, system and ball machine monitoring device

Publications (2)

Publication Number Publication Date
CN107360392A CN107360392A (en) 2017-11-17
CN107360392B true CN107360392B (en) 2019-12-03

Family

ID=60271154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610305195.XA Active CN107360392B (en) 2016-05-10 2016-05-10 A kind of adaptive ball machine control method, system and ball machine monitoring device

Country Status (1)

Country Link
CN (1) CN107360392B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004201241A (en) * 2002-12-20 2004-07-15 Mitsubishi Electric Corp Composite integrated camera control apparatus and composite integrated camera control method
CN101500152A (en) * 2009-02-11 2009-08-05 深圳市景阳数码技术有限公司 Video monitoring method, system and intelligent dome camera
CN101847318A (en) * 2009-03-24 2010-09-29 杨占昆 Computer-aided video capture and identification system
CN103841313A (en) * 2012-11-27 2014-06-04 华为技术有限公司 Pan-tilt camera control method, system and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004201241A (en) * 2002-12-20 2004-07-15 Mitsubishi Electric Corp Composite integrated camera control apparatus and composite integrated camera control method
CN101500152A (en) * 2009-02-11 2009-08-05 深圳市景阳数码技术有限公司 Video monitoring method, system and intelligent dome camera
CN101847318A (en) * 2009-03-24 2010-09-29 杨占昆 Computer-aided video capture and identification system
CN103841313A (en) * 2012-11-27 2014-06-04 华为技术有限公司 Pan-tilt camera control method, system and device

Also Published As

Publication number Publication date
CN107360392A (en) 2017-11-17

Similar Documents

Publication Publication Date Title
CN105979210B (en) A kind of pedestrian's identifying system based on the more ball video camera arrays of multiple gun
US20190360177A1 (en) Surroundings monitoring system for work machine
CN109104561B (en) System and method for tracking moving objects in a scene
CN101866215B (en) Human-computer interaction device and method adopting eye tracking in video monitoring
CN109313840A (en) Construction machinery safety management system, managing device, method for managing security
EP0907940B1 (en) A security system with maskable motion detection and camera with an adjustable field of view
CN111242025B (en) Real-time action monitoring method based on YOLO
CN105635597A (en) Auto-exposure method and system for vehicle-mounted camera
CN109194873A (en) A kind of image processing method and device
CN112365522A (en) Method for tracking personnel in park across borders
AU2005227502A2 (en) Improvement in video analysis using segmentation gain by area
CN109754496A (en) Guard method and system
DE19955714A1 (en) Method and apparatus for photographing / recognizing a face
KR101036947B1 (en) The automatic guard system to prevent the crime and accident using computer video image analysis technology
CN103702024A (en) Image processing device and image processing method
US10931920B2 (en) Auto-learning smart tours for video surveillance
CN107784844B (en) Intelligent traffic signal lamp system and road environment detection method thereof
CN106060452A (en) Method and apparatus for controlling a surveillance system
WO2021189970A1 (en) Intelligent control method and system for traffic light, and storage medium and computing device
CN110532903A (en) A kind of method and apparatus of traffic lights image procossing
CN109840454A (en) Object localization method, device, storage medium and equipment
CN109300268A (en) A kind of warning light adjustment method and device based on image recognition
CN108881812A (en) The method, device and equipment of monitoring objective
KR102418823B1 (en) Deep learning-based illegal parking enforcement system using wide-area detection images
CN116129307A (en) Method, device, system and storage medium for managing visual personnel of closed scene

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200730

Address after: Room 101, 2 / F, building 17, No. 17, huanke Middle Road, Tongzhou District, Beijing

Patentee after: Beijing Elite Road Technology Co.,Ltd.

Address before: 100000 Beijing city Haidian District West Road No. 27 small business Qinghe small Haisheng C block second layer

Patentee before: BEIJING JAYA TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right