The invention discloses a control method and
system for a monitoring camera, and relates to the technical field of
camera control, and by calculating a target out-of-focus rate Tbd in a time window T, a fuzzy state does not depend on instantaneous image judgment any more, but has a statistical trend characteristic, and the target out-of-focus rate Tbd does not depend on the statistical trend characteristic. The problem of false triggering caused by accidental factors such as temporary interference and shielding is effectively relieved, the target out-of-focus rate Tbd is compared with the out-of-focus rate judgment threshold value Thd, a focusing
control signal Foc is generated, automatic focusing of a key target area is completed, resource waste and focusing
delay caused by fixed periodic focusing of a traditional
system are avoided, and automatic focusing of the key target area is achieved. According to the focusing control method and device, the fuzzy feature of the focused image is recollected, a new
fuzzy vector sequence set Ftr4 is constructed, and the
fuzzy vector sequence set Ftr4 is compared with the
fuzzy vector sequence set Ftr2 to calculate the focusing effect value Qev, so that the quality closed-loop evaluation and optimal adjustment of the focusing behavior are realized, and the problem that the focusing control lacks a feedback
verification mechanism in the prior art is solved.