The invention relates to a method and
system for realizing forbidden area forbidding detection in different environments, and belongs to the field of city management and
smart city construction. According to the
system, image feature enhancement in different environments is realized by performing
image conversion on real-
time data of a camera in a forbidden area and performing preprocessing operations such as filtering,
contrast enhancement and brightness adjustment, and features such as the number of image contours and the hierarchical relationship are extracted from preprocessed images by adopting a
feature extraction algorithm, so that the image feature enhancement is realized. And further
processing the image features through a
fitting algorithm, and finally comparing and matching the image features with a predefined prohibited region feature mode, thereby realizing accurate and low-
delay prohibited region prohibition detection. In the urban operation and comprehensive treatment process, the problem of prohibiting area control often occurs, and a traditional manpower coverage method is huge in cost and low in efficiency. According to the method, technologies of
computer vision,
image processing,
mode matching and the like are combined, an automatic solution for prohibited area target detection with high efficiency and real-time performance is provided, compared with a traditional manual coverage method, the method has the advantages of being low in cost and high in efficiency, and the problems existing in a traditional detection method are solved.